Opened 14 years ago

Closed 6 years ago

#25513 closed defect (fixed)

tokyocabinet +debug: library not found for -lcrt0.o

Reported by: vaillant@… Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: mutt snowleopard Cc: kencu (Ken)
Port: tokyocabinet

Description (last modified by ryandesign (Ryan Carsten Schmidt))

tokyocabinet @1.4.45_0 +debug fails on linking to crt0 (hence mutt +debug+tokyocabinet fails).
OS: 10.6.4
XCode: 3.2.3

version:1
:debug:main epoch: in tree: 0 installed: 0
:debug:main zlib 1.2.5_0 exists in the ports tree
:debug:main zlib 1.2.5_0  is the latest installed
:debug:main zlib 1.2.5_0 +universal is active
:debug:main Merging existing variants '+universal' into variants
:debug:main new fully merged portvariants: universal +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
:debug:main OS darwin/10.4.0 (Mac OS X 10.6) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Executing variant universal provides universal
:debug:main No need to upgrade! zlib 1.2.5_0 >= zlib 1.2.5_0
:msg:main --->  Computing dependencies for tokyocabinet:msg:main 
:debug:main Searching for dependency: zlib
:debug:main Found Dependency: receipt exists for zlib
:debug:main Executing org.macports.main (tokyocabinet)
:msg:main --->  Fetching tokyocabinet
:debug:fetch fetch phase started at Sun Jul  4 06:01:41 EDT 2010
:debug:fetch Executing org.macports.fetch (tokyocabinet)
:msg:fetch --->  Verifying checksum(s) for tokyocabinet
:debug:checksum checksum phase started at Sun Jul  4 06:01:41 EDT 2010
:debug:checksum Executing org.macports.checksum (tokyocabinet)
:info:checksum --->  Checksumming tokyocabinet-1.4.45.tar.gz
:debug:checksum Correct (md5) checksum for tokyocabinet-1.4.45.tar.gz
:debug:checksum Correct (sha1) checksum for tokyocabinet-1.4.45.tar.gz
:debug:checksum Correct (rmd160) checksum for tokyocabinet-1.4.45.tar.gz
:msg:checksum --->  Extracting tokyocabinet
:debug:extract extract phase started at Sun Jul  4 06:01:41 EDT 2010
:debug:extract Executing org.macports.extract (tokyocabinet)
:info:extract --->  Extracting tokyocabinet-1.4.45.tar.gz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/tokyocabinet/tokyocabinet-1.4.45.tar.gz'
:debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_tokyocabinet/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_tokyocabinet/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/tokyocabinet/tokyocabinet-1.4.45.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -'
:debug:patch patch phase started at Sun Jul  4 06:01:41 EDT 2010
:debug:patch Executing org.macports.patch (tokyocabinet)
:msg:patch --->  Configuring tokyocabinet
:debug:patch Using compiler 'Mac OS X gcc 4.2'
:debug:configure configure phase started at Sun Jul  4 06:01:41 EDT 2010
:debug:configure Executing org.macports.configure (tokyocabinet)
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch x86_64' CXXFLAGS='-pipe -O2 -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_tokyocabinet/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2 -m64' LDFLAGS='-arch x86_64' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-pipe -O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -arch x86_64' FFLAGS='-pipe -O2 -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_tokyocabinet/work/tokyocabinet-1.4.45" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --datadir=/opt/local/share/doc --enable-debug'
:info:configure #================================================================
:info:configure # Configuring Tokyo Cabinet version 1.4.45 (debug).
:info:configure #================================================================
:info:configure checking for gcc... /usr/bin/gcc-4.2
:info:configure checking for C compiler default output file name... a.out
:info:configure checking whether the C compiler works... yes
:info:configure checking whether we are cross compiling... no
:info:configure checking for suffix of executables... 
:info:configure checking for suffix of object files... o
:info:configure checking whether we are using the GNU C compiler... yes
:info:configure checking whether /usr/bin/gcc-4.2 accepts -g... yes
:info:configure checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed
:info:configure checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E
:info:configure checking for grep that handles long lines and -e... /usr/bin/grep
:info:configure checking for egrep... /usr/bin/grep -E
:info:configure checking for ANSI C header files... yes
:info:configure checking for sys/types.h... yes
:info:configure checking for sys/stat.h... yes
:info:configure checking for stdlib.h... yes
:info:configure checking for string.h... yes
:info:configure checking for memory.h... yes
:info:configure checking for strings.h... yes
:info:configure checking for inttypes.h... yes
:info:configure checking for stdint.h... yes
:info:configure checking for unistd.h... yes
:info:configure checking whether byte ordering is bigendian... universal
:info:configure checking for main in -lc... yes
:info:configure checking for main in -lm... yes
:info:configure checking for main in -lpthread... yes
:info:configure checking for main in -lrt... no
:info:configure checking for main in -lz... yes
:info:configure checking for main in -lbz2... yes
:info:configure checking for main in -ltokyocabinet... no
:info:configure checking for stdlib.h... (cached) yes
:info:configure checking for stdint.h... (cached) yes
:info:configure checking for unistd.h... (cached) yes
:info:configure checking dirent.h usability... yes
:info:configure checking dirent.h presence... yes
:info:configure checking for dirent.h... yes
:info:configure checking regex.h usability... yes
:info:configure checking regex.h presence... yes
:info:configure checking for regex.h... yes
:info:configure checking glob.h usability... yes
:info:configure checking glob.h presence... yes
:info:configure checking for glob.h... yes
:info:configure checking pthread.h usability... yes
:info:configure checking pthread.h presence... yes
:info:configure checking for pthread.h... yes
:info:configure checking zlib.h usability... yes
:info:configure checking zlib.h presence... yes
:info:configure checking for zlib.h... yes
:info:configure checking bzlib.h usability... yes
:info:configure checking bzlib.h presence... yes
:info:configure checking for bzlib.h... yes
:info:configure configure: creating ./config.status
:info:configure config.status: creating Makefile
:info:configure config.status: creating tokyocabinet.pc
:info:configure #================================================================
:info:configure # Ready to make.
:info:configure #================================================================
:msg:configure --->  Building tokyocabinet
:debug:build build phase started at Sun Jul  4 06:01:46 EDT 2010
:debug:build Executing org.macports.build (tokyocabinet)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_tokyocabinet/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_tokyocabinet/work/tokyocabinet-1.4.45" && /usr/bin/make -j2 all'
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tcutil.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tchdb.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tcbdb.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tcfdb.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tctdb.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tcadb.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 myconf.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 md5.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tcutest.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tcumttest.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tcucodec.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tchtest.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tchmttest.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tchmgr.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tcbtest.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tcbmttest.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tcbmgr.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tcftest.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tcfmttest.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tcfmgr.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tcttest.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tctmttest.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tctmgr.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tcatest.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tcamttest.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tcamgr.c
:info:build /usr/bin/gcc-4.2 -c -I. -I/opt/local/include -I/Users/marc/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -D_TC_PREFIX="\"/opt/local\"" -D_TC_INCLUDEDIR="\"/opt/local/include\"" -D_TC_LIBDIR="\"/opt/local/lib\"" -D_TC_BINDIR="\"/opt/local/bin\"" -D_TC_LIBEXECDIR="\"/opt/local/libexec\"" -D_TC_APPINC="\"-I/opt/local/include\"" -D_TC_APPLIBS="\"-L/opt/local/lib -ltokyocabinet -lbz2 -lz -lpthread -lm -lc \"" -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 tcawmgr.c
:info:build ar rv libtokyocabinet.a tcutil.o tchdb.o tcbdb.o tcfdb.o tctdb.o tcadb.o myconf.o md5.o
:info:build ar: creating archive libtokyocabinet.a
:info:build /usr/bin/gcc-4.2 -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 -dynamiclib -o libtokyocabinet.9.8.0.dylib \
:info:build 	  -install_name /opt/local/lib/libtokyocabinet.9.dylib \
:info:build 	  -current_version 9.8.0 -compatibility_version 9 \
:info:build 	  tcutil.o tchdb.o tcbdb.o tcfdb.o tctdb.o tcadb.o myconf.o md5.o -arch x86_64 -L. -L/opt/local/lib -L/Users/marc/lib -L/usr/local/lib -lbz2 -lz -lpthread -lm -lc 
:info:build a - tcutil.o
:info:build a - tchdb.o
:info:build a - tcbdb.o
:info:build a - tcfdb.o
:info:build a - tctdb.o
:info:build a - tcadb.o
:info:build a - myconf.o
:info:build a - md5.o
:info:build ld: warning: directory '/usr/local/lib' following -L not found
:info:build ln -f -s libtokyocabinet.9.8.0.dylib libtokyocabinet.9.dylib
:info:build ln -f -s libtokyocabinet.9.8.0.dylib libtokyocabinet.dylib
:info:build LD_RUN_PATH=/lib:/usr/lib:/opt/local/lib:/Users/marc/lib:/usr/local/lib:/opt/local/lib:. /usr/bin/gcc-4.2 -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 -o tcutest tcutest.o -arch x86_64 -L. -L/opt/local/lib -L/Users/marc/lib -L/usr/local/lib -static -ltokyocabinet -lbz2 -lz -lpthread -lm -lc 
:info:build LD_RUN_PATH=/lib:/usr/lib:/opt/local/lib:/Users/marc/lib:/usr/local/lib:/opt/local/lib:. /usr/bin/gcc-4.2 -pipe -O2 -arch x86_64 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0 -o tcumttest tcumttest.o -arch x86_64 -L. -L/opt/local/lib -L/Users/marc/lib -L/usr/local/lib -static -ltokyocabinet -lbz2 -lz -lpthread -lm -lc 
:info:build ld: warning: directory '/usr/local/lib' following -L not found
:info:build ld: library not found for -lcrt0.o
:info:build ld: warning: directory '/usr/local/lib' following -L notcollect2: ld returned 1 exit status
:info:build  found
:info:build ld: library not found for -lcrt0.o
:info:build collect2: ld returned 1 exit status
:info:build make: *** [tcumttest] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build make: *** [tcutest] Error 1
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_tokyocabinet/work/tokyocabinet-1.4.45" && /usr/bin/make -j2 all " returned error 2
:error:build Target org.macports.build returned: shell command failed
:debug:build Backtrace: shell command failed
    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 tokyocabinet): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for tokyocabinet is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_tokyocabinet/main.log

Attachments (1)

patch-tokyocabinet-enable-debug-mode.diff (1.7 KB) - added by kencu (Ken) 6 years ago.
patch to enable the +debug variant to build on systems newer than Leopard.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: stromnov@… openmaintainer@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to stromnov@…
Summary: tokyocabinet @1.4.45_0+debug crt0 ld error - build failure snow leopardtokyocabinet +debug: library not found for -lcrt0.o

Confirmed, tokyocabinet +debug has this problem. Installing without +debug works, however, so I suggest you do that for now.

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Disabled the variant for the time being in r79802.

comment:3 Changed 10 years ago by jmroot (Joshua Root)

Keywords: snowleopard added; tokyocabinet +debug snow leopard removed

Might be worth checking if the variant still breaks things with 1.4.48?

comment:4 Changed 6 years ago by kencu (Ken)

Resolution: fixed
Status: newclosed

fixed somewhere along the line:

$ port -v installed tokyocabinet
The following ports are currently installed:
  tokyocabinet @1.4.48_0 (active) platform='darwin 10' archs='x86_64' date='2018-12-05T19:46:12-0800'

comment:5 in reply to:  4 Changed 6 years ago by jmroot (Joshua Root)

Cc: kencu added
Resolution: fixed
Status: closedreopened

Replying to kencu:

fixed somewhere along the line:

$ port -v installed tokyocabinet
The following ports are currently installed:
  tokyocabinet @1.4.48_0 (active) platform='darwin 10' archs='x86_64' date='2018-12-05T19:46:12-0800'

This ticket is about the debug variant.

comment:6 Changed 6 years ago by kencu (Ken)

sorry. I was cruising through quite a few of these and should have slowed up at a certain point. Thank you for looking over my shoulder. i'll see if I can sort this out soon.

comment:7 Changed 6 years ago by kencu (Ken)

Oh, I see what happened. Since 2011 this port hides the debug variant for anything newer than Leopard. So when I installed sudo port -v install tokyocabinet +debug MacPorts just went ahead and built and installed the non-debug variant. One might argue that a variant that hasn't worked since 2011 on anything newer than Leopard doesn't matter a great deal to anyone any more, and this ticket could be closed based on the "fix" in the Portfile.

But if someone out there really wants the debug version of tokyocabinet and has been waiting for this ticket to be resolved for just this reason, I will attach a patch that will allow that.

$ port -v installed tokyocabinet
The following ports are currently installed:
  tokyocabinet @1.4.48_0+debug (active) platform='darwin 18' archs='x86_64' date='2018-12-06T08:31:05-0800'

Changed 6 years ago by kencu (Ken)

patch to enable the +debug variant to build on systems newer than Leopard.

comment:8 Changed 6 years ago by kencu (Ken)

I submitted a PR for this here.

Last edited 6 years ago by kencu (Ken) (previous) (diff)

comment:9 Changed 6 years ago by ken-cunningham-webuse

Resolution: fixed
Status: reopenedclosed

In 5f045136a8978ef22c0e5812088ac5a517a6a69a/macports-ports (master):

tokyocabinet: enable debug build

macOS does not like -static linking for anything other
than building the kernel
closes: #25513

Note: See TracTickets for help on using tickets.