[MacPorts] #24021: make failed on libmemcached

MacPorts noreply at macports.org
Thu Mar 18 18:09:38 PDT 2010


#24021: make failed on libmemcached
--------------------------------+-------------------------------------------
 Reporter:  ben.xiao@…          |       Owner:  brett@…           
     Type:  defect              |      Status:  new               
 Priority:  Normal              |   Milestone:                    
Component:  ports               |     Version:  1.8.2             
 Keywords:                      |        Port:  libmemcached      
--------------------------------+-------------------------------------------

Comment(by touch.ung@…):

 I got the similar "undefined symbols" error (___sync_fetch_and_sub and
 ___sync_fetch_and_add).  Here's the debug output.

 {{{
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libmemcached
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: libmemcached 0.38_0 exists in the ports tree
 DEBUG: libmemcached 0.34_0  is the latest installed
 DEBUG: libmemcached 0.34_0  is active
 DEBUG: Merging existing variants  into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libmemcached
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 8.11.0
 DEBUG: Mac OS X Version: 10.4
 DEBUG: System Arch: powerpc
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: adding the default universal variant
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: Requested variant powerpc is not provided by port libmemcached.
 DEBUG: Requested variant darwin is not provided by port libmemcached.
 DEBUG: Requested variant macosx is not provided by port libmemcached.
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5
 DEBUG: perl5 is *not* installed by MacPorts
 DEBUG: Searching for dependency: perl5
 DEBUG: Didn't find receipt, going to depspec regex for: perl5
 DEBUG: Found Dependency: path: /opt/local/bin filename: pod2man regex:
 ^pod2man$
 DEBUG: Found Dependency: path: /usr/bin filename: pod2man regex: ^pod2man$
 DEBUG: perl5 not installed, soft dependency satisfied
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/sysutils/memcached
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: memcached 1.4.4_0 exists in the ports tree
 DEBUG: memcached 1.4.4_0  is the latest installed
 DEBUG: memcached 1.4.4_0  is active
 DEBUG: Merging existing variants  into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/sysutils/memcached
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 8.11.0
 DEBUG: Mac OS X Version: 10.4
 DEBUG: System Arch: powerpc
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: universal variant already exists, so not adding the default one
 DEBUG: Requested variant powerpc is not provided by port memcached.
 DEBUG: Requested variant darwin is not provided by port memcached.
 DEBUG: Requested variant macosx is not provided by port memcached.
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libevent
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: libevent 1.4.13_0 exists in the ports tree
 DEBUG: libevent 1.4.13_0  is the latest installed
 DEBUG: libevent 1.4.13_0  is active
 DEBUG: Merging existing variants  into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libevent
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 8.11.0
 DEBUG: Mac OS X Version: 10.4
 DEBUG: System Arch: powerpc
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: adding the default universal variant
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: Requested variant powerpc is not provided by port libevent.
 DEBUG: Requested variant darwin is not provided by port libevent.
 DEBUG: Requested variant macosx is not provided by port libevent.
 DEBUG: No need to upgrade! libevent 1.4.13_0 >= libevent 1.4.13_0
 DEBUG: No need to upgrade! memcached 1.4.4_0 >= memcached 1.4.4_0
 DEBUG: Attempting ln -sf
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libmemcached/work
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libmemcached/work
 --->  Computing dependencies for libmemcached
 DEBUG: Searching for dependency: memcached
 DEBUG: Found Dependency: receipt exists for memcached
 DEBUG: Searching for dependency: perl5
 DEBUG: Didn't find receipt, going to depspec regex for: perl5
 DEBUG: Found Dependency: path: /opt/local/bin filename: pod2man regex:
 ^pod2man$
 DEBUG: Found Dependency: path: /usr/bin filename: pod2man regex: ^pod2man$
 DEBUG: Executing org.macports.main (libmemcached)
 DEBUG: Skipping completed org.macports.fetch (libmemcached)
 DEBUG: Skipping completed org.macports.checksum (libmemcached)
 DEBUG: Skipping completed org.macports.extract (libmemcached)
 DEBUG: Skipping completed org.macports.patch (libmemcached)
 DEBUG: Skipping completed org.macports.configure (libmemcached)
 --->  Building libmemcached
 DEBUG: Executing org.macports.build (libmemcached)
 DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.4'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libmemcached/work/libmemcached-0.38"
 && /usr/bin/make -j1 all'
 /usr/bin/make  all-recursive
 Making all in docs
 ln -s ../docs/memcached_result_st.pod ../docs/memcached_result_cas.pop
 ln -s ../docs/memcached_result_st.pod ../docs/memcached_result_create.pop
 ln -s ../docs/memcached_result_st.pod ../docs/memcached_result_flags.pop
 ln -s ../docs/memcached_result_st.pod ../docs/memcached_result_free.pop
 ln -s ../docs/memcached_result_st.pod
 ../docs/memcached_result_key_length.pop
 ln -s ../docs/memcached_result_st.pod
 ../docs/memcached_result_key_value.pop
 ln -s ../docs/memcached_result_st.pod ../docs/memcached_result_length.pop
 ln -s ../docs/memcached_result_st.pod ../docs/memcached_result_st.pop
 ln -s ../docs/memcached_result_st.pod ../docs/memcached_result_value.pop
 /usr/bin/make  all-am
 make[3]: Nothing to be done for `all-am'.
   CCLD   clients/memslap
 /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
 ___sync_fetch_and_add
 ___sync_fetch_and_sub
 collect2: ld returned 1 exit status
 make[2]: *** [clients/memslap] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2
 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.38"
 && /usr/bin/make -j1 all " returned error 2
 DEBUG: Backtrace: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libmemcached/work/libmemcached-0.38"
 && /usr/bin/make -j1 all " returned error 2
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 9)
     invoked from within
 "$procedure $targetname"
 Warning: the following items did not execute (for libmemcached):
 org.macports.destroot org.macports.build
 DEBUG: Registry error: perl5 not registered as installed & active.
     while executing
 "registry::active $portname"
 Error: Unable to upgrade port: 1
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/24021#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list