[MacPorts] #32460: beanstalks failed to build
#32460: beanstalks failed to build --------------------------------+------------------------------------------- Reporter: conradwt@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: lion | Port: beanstalkd --------------------------------+------------------------------------------- beanstalks failed to build on Mac OS 10.7.2 using Xcode 4.2.1. -- Ticket URL: <https://trac.macports.org/ticket/32460> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32460: beanstalks failed to build --------------------------------+------------------------------------------- Reporter: conradwt@… | Owner: nick@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: lion | Port: beanstalkd --------------------------------+------------------------------------------- Changes (by nick@…): * owner: macports-tickets@… => nick@… Comment: Hi, could you also add in config.log ? That contains the exact problem you're seeing with the build. -- Ticket URL: <https://trac.macports.org/ticket/32460#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32460: beanstalkd failed to build --------------------------------+------------------------------------------- Reporter: conradwt@… | Owner: nick@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: lion | Port: beanstalkd --------------------------------+------------------------------------------- Changes (by ryandesign@…): * cc: nick@… (removed) Old description:
beanstalks failed to build on Mac OS 10.7.2 using Xcode 4.2.1.
New description: beanstalkd failed to build on Mac OS 10.7.2 using Xcode 4.2.1. -- Comment: The config log shows the not unexpected: {{{ /usr/bin/gcc-4.2: No such file or directory }}} Xcode 4.2 of course does not include GCC anymore. Nick, read PortfileRecipes#compiler for the correct solution. -- Ticket URL: <https://trac.macports.org/ticket/32460#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32460: beanstalkd failed to build ---------------------------------+------------------------------------------ Reporter: conradwt@… | Owner: nick@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: lion Port: beanstalkd | ---------------------------------+------------------------------------------ Changes (by nick@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:2 ryandesign@…]:
The config log shows the not unexpected: {{{ /usr/bin/gcc-4.2: No such file or directory }}} Xcode 4.2 of course does not include GCC anymore.
Nick, read PortfileRecipes#compiler for the correct solution.
Ryan, you're right I completely missed the line about missing gcc. Given there are issues with building this with clang, I think it's best to force this back to use llvm-gcc-4.2 rather than gcc-4.2. I've updated the Portfile appropriately. -- Ticket URL: <https://trac.macports.org/ticket/32460#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32460: beanstalkd failed to build ---------------------------------+------------------------------------------ Reporter: conradwt@… | Owner: nick@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: lion Port: beanstalkd | ---------------------------------+------------------------------------------ Comment(by conradwt@…): Has these changes been added to the port file? I ask because I'm seeing the following build errors: {{{ :info:build In file included from /opt/local/include/event2/event.h:195, :info:build from /opt/local/include/event.h:71, :info:build from conn.h:23, :info:build from prot.h:22, :info:build from tube.c:25: :info:build /usr/include/stdio.h:446: error: expected identifier or ‘(’ before ‘void’ :info:build /usr/include/stdio.h:446: error: expected ‘)’ before numeric constant :info:build make[1]: *** [tube.o] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_beanstalkd/beanstalkd/work/beanstalkd-1.4.6' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_beanstalkd/beanstalkd/work/beanstalkd-1.4.6' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_beanstalkd/beanstalkd/work/beanstalkd-1.4.6" && /usr/bin/make -j4 -w all " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for beanstalkd): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for beanstalkd is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_beanstalkd/beanstalkd/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/32460#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts