[MacPorts] #38604: memcached @1.4.14 build fails while libc-headers is active due to -Werror
#38604: memcached @1.4.14 build fails while libc-headers is active due to -Werror ---------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: memcached ---------------------+-------------------------------- An example from the log: {{{ In file included from memcached.c:43: /opt/local/include/string.h:172: warning: redundant redeclaration of ‘swab’ /opt/local/include/unistd.h:624: warning: previous declaration of ‘swab’ was here /usr/bin/llvm-gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -I/opt/local/include -I/opt/local/include -m64 -pipe -O2 -arch x86_64 -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing- declarations -Wredundant-decls -c -o memcached-assoc.o `test -f 'assoc.c' || echo './'`assoc.c make[2]: *** [memcached-items.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [memcached-slabs.o] Error 1 make[2]: *** [memcached-memcached.o] Error 1 cc1: warnings being treated as errors }}} I'd vote for just removing the `-Werror` flag. -- Ticket URL: <https://trac.macports.org/ticket/38604> MacPorts <http://www.macports.org/> Ports system for OS X
#38604: memcached @1.4.14 build fails while libc-headers is active due to -Werror ------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: memcached | ------------------------+-------------------------------- Comment (by egall@…): See also #37601 -- Ticket URL: <https://trac.macports.org/ticket/38604#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38604: memcached @1.4.14 build fails while libc-headers is active due to -Werror ------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: memcached | ------------------------+-------------------------------- Comment (by egall@…): Now that libc-headers installs elsewhere (as of r117043), this should no longer be an issue. To confirm, I have now been able to install newer versions of memcached successfully: {{{ $ port installed memcached The following ports are currently installed: memcached @1.4.15_0+sasl+umem+universal memcached @1.4.15_0+universal memcached @1.4.17_0+sasl+umem+universal (active) }}} -- Ticket URL: <https://trac.macports.org/ticket/38604#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38604: memcached @1.4.14 build fails while libc-headers is active due to -Werror -------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: worksforme | Keywords: Port: memcached | -------------------------+-------------------------------- Changes (by mf2k@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/38604#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts