[MacPorts] #31463: beanstalkd build failure in stdio.h, upstream fix available

MacPorts noreply at macports.org
Fri Sep 30 00:47:11 PDT 2011


#31463: beanstalkd build failure in stdio.h, upstream fix available
---------------------------------------+------------------------------------
 Reporter:  marcus@…                   |       Owner:  macports-tickets@…                   
     Type:  defect                     |      Status:  new                                  
 Priority:  Normal                     |   Milestone:                                       
Component:  ports                      |     Version:  2.0.3                                
 Keywords:                             |        Port:  beanstalkd                           
---------------------------------------+------------------------------------
 When I try to install beanstalkd from latest macports on OS 10.7.1, I get
 this error:
 {{{

 :info:build make[1]: Entering 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 /Developer/usr/bin/llvm-gcc-4.2 -DHAVE_CONFIG_H -I.
 -I/opt/local/include  -O2 -arch x86_64  -Wall -Werror
 -I/opt/local/include/libevent1 -c -o tube.o tube.c
 :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 -j8 -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
 }}}

 It looks like the error is in `/usr/include/stdio.h` rather than
 beanstalkd, however I've just rebuilt 538 ports (for Lion) without a
 single error, many of which will be using stdio.h, so I'm inclined to
 think it's how beanstalkd is using it.

 I've seen [https://gist.github.com/1103246 an identical report] from
 someone building beanstalkd via homebrew, suggesting it's down to
 beanstalk itself and not the build system.

 Further searches led me to [http://groups.google.com/group/beanstalk-
 talk/browse_thread/thread/5a4bd4452a0d2f26 this discussion] and
 [https://github.com/kr/beanstalkd/issues/49 an upstream fix in beanstalk],
 which I guess we don't have in macports. Can we have it please?

-- 
Ticket URL: <https://trac.macports.org/ticket/31463>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list