[MacPorts] #22246: libmemcached and -Wno-attributes
MacPorts
noreply at macports.org
Mon Oct 26 08:32:55 PDT 2009
#22246: libmemcached and -Wno-attributes
--------------------------------------+-------------------------------------
Reporter: gtaylor@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: libmemcached
--------------------------------------+-------------------------------------
After recently doing a port upgrade, I found that the latest versions of
libmemcached seem to be broken using the standard gcc4.0 included with
Leopard 10.5.8.
{{{
apache1:~ admin$ sudo port install libmemcached
---> Computing dependencies for libmemcached
---> Fetching libmemcached
---> Attempting to fetch libmemcached-0.34.tar.gz from
http://distfiles.macports.org/libmemcached
---> Verifying checksum(s) for libmemcached
---> Extracting libmemcached
---> Configuring libmemcached
---> Building libmemcached
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libmemcached/work/libmemcached-0.34"
&& /usr/bin/make -j1 all " returned error 2
Command output: CC memcat.o
CCLD memcat
CC memdump.o
CCLD memdump
CC memcp.o
CCLD memcp
CC memstat.o
CCLD memstat
CC memrm.o
CCLD memrm
CC memflush.o
CCLD memflush
CC memslap-memslap.o
CCLD memslap
CC memerror.o
CCLD memerror
CC memcapable.o
CCLD memcapable
Making all in tests
CC server.lo
CCLD libserver.la
CC test.lo
CCLD libtest.la
CC testapp-function.o
CCLD testapp
CXX plus.o
cc1plus: error: unrecognized command line option "-Wno-attributes"
make[2]: *** [plus.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Status 1 encountered during processing.
}}}
I suspect this may have been introduced upstream, but am not sure. I don't
see that flag specified in the port file, but figured I'd report it here
just in case.
--
Ticket URL: <http://trac.macports.org/ticket/22246>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list