[MacPorts] #39122: zmq @3.2.3 test error: ‘strndup’ was not declared in this scope

MacPorts noreply at macports.org
Thu May 16 05:40:10 PDT 2013


#39122: zmq @3.2.3 test error: ‘strndup’ was not declared in this scope
----------------------+--------------------------------
 Reporter:  deesto@…  |      Owner:  macports-tickets@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.1.3
 Keywords:            |       Port:  zmq
----------------------+--------------------------------
 On 10.6.8 w/Xcode 3.2.5

 {{{
 $ sudo port clean zmq && sudo port -d upgrade zmq

 ...

 test_disconnect_inproc.cpp: In function ‘int main(int, char**)’:
 test_disconnect_inproc.cpp:48: error: ‘strndup’ was not declared in this
 scope
 test_disconnect_inproc.cpp:52: error: ‘strndup’ was not declared in this
 scope
 test_disconnect_inproc.cpp:72: error: ‘strndup’ was not declared in this
 scope
 make[1]: *** [test_disconnect_inproc.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_devel_zmq/zmq/work/zeromq-3.2.3/tests'
 make: *** [all-recursive] Error 1
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_devel_zmq/zmq/work/zeromq-3.2.3'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_devel_zmq/zmq/work/zeromq-3.2.3"
 && /usr/bin/make -j4 -w all LIBTOOL=/opt/local/bin/glibtool
 Exit code: 2
 Error: org.macports.build for port zmq returned: command execution failed
 DEBUG: Error code: CHILDSTATUS 33732 2
 DEBUG: Backtrace: command execution failed
     while executing
 "system -nice 0 $fullcmdstring"
     ("eval" body line 1)
     invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 Warning: targets not executed for zmq: org.macports.install
 org.macports.build org.macports.destroot
 Please see the log file for port zmq for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_devel_zmq/zmq/main.log
 DEBUG: couldn't open
 "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex":
 no such file or directory
     while executing
 "open [file join $dir tclIndex]"
 Error: Unable to upgrade port: 1
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets

 }}}

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


More information about the macports-tickets mailing list