Opened 14 years ago

Closed 11 years ago

#29103 closed defect (worksforme)

gperf @ 3.0.4 + build failure in ./getline.cc

Reported by: saegrov@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: gperf

Description

Hardware and software info:

Fresh 2011 macbook pro install
OS X Version: 10.6.7
Processor: 2.2 GHz Intel Core i7
Memory 4 GB 1333 MHz DDR3
XCode Version: 4.0.1

Build log:

DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf
DEBUG: OS darwin/10.7.3 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', 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: Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/work /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf/work
DEBUG: Starting logging for gperf
DEBUG: Executing org.macports.main (gperf)
--->  Fetching gperf
DEBUG: fetch phase started at Tue Apr 12 17:38:51 CEST 2011
DEBUG: Executing org.macports.fetch (gperf)
--->  Verifying checksum(s) for gperf
DEBUG: checksum phase started at Tue Apr 12 17:38:51 CEST 2011
DEBUG: Executing org.macports.checksum (gperf)
--->  Checksumming gperf-3.0.4.tar.gz
DEBUG: Correct (md5) checksum for gperf-3.0.4.tar.gz
DEBUG: Correct (sha1) checksum for gperf-3.0.4.tar.gz
DEBUG: Correct (rmd160) checksum for gperf-3.0.4.tar.gz
--->  Extracting gperf
DEBUG: extract phase started at Tue Apr 12 17:38:51 CEST 2011
DEBUG: Executing org.macports.extract (gperf)
--->  Extracting gperf-3.0.4.tar.gz
DEBUG: setting option extract.args to '/opt/local/var/macports/distfiles/gperf/gperf-3.0.4.tar.gz'
DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/gperf/gperf-3.0.4.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -'
DEBUG: patch phase started at Tue Apr 12 17:38:51 CEST 2011
DEBUG: Executing org.macports.patch (gperf)
--->  Configuring gperf
DEBUG: Using compiler 'Mac OS X gcc 4.2'
DEBUG: configure phase started at Tue Apr 12 17:38:51 CEST 2011
DEBUG: Executing org.macports.configure (gperf)
DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' 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_devel_gperf/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -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: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/work/gperf-3.0.4" && ./configure --prefix=/opt/local --infodir=/opt/local/share/info'
checking whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating Makefile
=== configuring in lib (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/work/gperf-3.0.4/lib)
configure: running /bin/sh ./configure '--prefix=/opt/local'  '--infodir=/opt/local/share/info' --cache-file=/dev/null --srcdir=.
checking whether make sets $(MAKE)... yes
checking for gcc... /usr/bin/gcc-4.2
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/g++-4.2 accepts -g... yes
checking how to run the C++ preprocessor... /usr/bin/g++-4.2 -E
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
=== configuring in src (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/work/gperf-3.0.4/src)
configure: running /bin/sh ./configure '--prefix=/opt/local'  '--infodir=/opt/local/share/info' --cache-file=/dev/null --srcdir=.
checking whether make sets $(MAKE)... yes
checking for gcc... /usr/bin/gcc-4.2
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/g++-4.2 accepts -g... yes
checking how to run the C++ preprocessor... /usr/bin/g++-4.2 -E
checking for a BSD compatible install... /usr/bin/install -c
checking for stack-allocated variable-size arrays... yes
checking for rand in -lm... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
=== configuring in tests (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/work/gperf-3.0.4/tests)
configure: running /bin/sh ./configure '--prefix=/opt/local'  '--infodir=/opt/local/share/info' --cache-file=/dev/null --srcdir=.
checking whether make sets $(MAKE)... yes
checking for gcc... /usr/bin/gcc-4.2
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/g++-4.2 accepts -g... yes
checking how to run the C++ preprocessor... /usr/bin/g++-4.2 -E
configure: creating ./config.status
config.status: creating Makefile
=== configuring in doc (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/work/gperf-3.0.4/doc)
configure: running /bin/sh ./configure '--prefix=/opt/local'  '--infodir=/opt/local/share/info' --cache-file=/dev/null --srcdir=.
checking whether make sets $(MAKE)... yes
checking for a BSD compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
--->  Building gperf
DEBUG: build phase started at Tue Apr 12 17:38:54 CEST 2011
DEBUG: Executing org.macports.build (gperf)
DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/work/gperf-3.0.4" && /usr/bin/make -j5 all'
cd lib; /usr/bin/make all
/usr/bin/gcc-4.2 -pipe -O2 -arch x86_64 -I. -c ./getopt.c
/usr/bin/gcc-4.2 -pipe -O2 -arch x86_64 -I. -c ./getopt1.c
/usr/bin/g++-4.2 -pipe -O2 -arch x86_64 -I. -c ./getline.cc
/usr/bin/g++-4.2 -pipe -O2 -arch x86_64 -I. -c ./hash.cc
./getopt.c: In function '_getopt_internal':
./getopt.c:646: warning: incompatible implicit declaration of built-in function 'strlen'
./getopt.c:670: warning: incompatible implicit declaration of built-in function 'strlen'
./getopt.c:700: warning: incompatible implicit declaration of built-in function 'strlen'
./getopt.c:716: warning: incompatible implicit declaration of built-in function 'strlen'
./getopt.c:721: warning: incompatible implicit declaration of built-in function 'strlen'
./getline.cc: In function 'int getstr(char**, size_t*, FILE*, char, size_t)':
./getline.cc:64: error: 'abort' was not declared in this scope
./getopt.c:832: warning: incompatible implicit declaration of built-in function 'strlen'
./getline.cc:81: error: 'abort' was not declared in this scope
./getopt.c:855: warning: incompatible implicit declaration of built-in function 'strlen'
./getopt.c:875: warning: incompatible implicit declaration of built-in function 'strlen'
./getopt.c:889: warning: incompatible implicit declaration of built-in function 'strlen'
./getopt.c:893: warning: incompatible implicit declaration of built-in function 'strlen'
make[1]: *** [getline.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/work/gperf-3.0.4" && /usr/bin/make -j5 all " returned error 2
Error: Target org.macports.build returned: shell command failed (see log for details)
DEBUG: Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for gperf): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Log for gperf is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (1)

main.log (10.8 KB) - added by saegrov@… 14 years ago.
main.log

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by saegrov@…

Attachment: main.log added

main.log

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

Cc: mcalhoun@… removed
Keywords: gperf-3.0.4 removed
Owner: changed from macports-tickets@… to mcalhoun@…

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

I can't reproduce this with either Xcode 3.2.6 or 4.3.2.

comment:3 Changed 11 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: worksforme
Status: newclosed

Without the ability to reproduce the problem and considering the age of the ticket, this seems unlikely to be fixed.

Note: See TracTickets for help on using tickets.