Opened 14 years ago

Closed 14 years ago

#24122 closed defect (invalid)

gperf: ld: in ../lib/libgp.a, file too small

Reported by: atm52558@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: gperf

Description

This task is to upgrade my libiconv version to 8.0.0. for my scientific software. But i actually got similar complaints for all my ports. I did sudo port clean libiconv before i install. I'm using 10.5.8 for my OSX and Xcode 3.0.

% sudo port -d install libiconv
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/li
biconv
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/text
proc/libiconv
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
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/port
1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/port
s/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port libiconv.
DEBUG: Requested variant i386 is not provided by port libiconv.
DEBUG: Requested variant macosx is not provided by port libiconv.
DEBUG: Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.or
g_release_ports_textproc_libiconv/work /opt/local/var/macports/sources/rsync.macports.org/release/ports/
textproc/libiconv/work
--->  Computing dependencies for libiconv
DEBUG: Searching for dependency: gperf
DEBUG: Didn't find receipt, going to depspec regex for: gperf
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/deve
l/gperf
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
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/port
1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/port
s/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port gperf.
DEBUG: Requested variant i386 is not provided by port gperf.
DEBUG: Requested variant macosx is not provided by port gperf.
DEBUG: Executing org.macports.main (gperf)
DEBUG: Skipping completed org.macports.fetch (gperf)
DEBUG: Skipping completed org.macports.checksum (gperf)
DEBUG: Skipping completed org.macports.extract (gperf)
DEBUG: Skipping completed org.macports.patch (gperf)
DEBUG: Skipping completed org.macports.configure (gperf)
--->  Building gperf
DEBUG: Executing org.macports.build (gperf)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macpo
rts.org_release_ports_devel_gperf/work/gperf-3.0.4" && /usr/bin/make -j1 all'
cd lib; /usr/bin/make all
make[1]: Nothing to be done for `all'.
cd src; /usr/bin/make all
/usr/bin/g++-4.0 -O2 -arch i386 -L/opt/local/lib -o gperf version.o positions.o options.o keyword.o keyw
ord-list.o input.o bool-array.o hash-table.o search.o output.o main.o ../lib/libgp.a -lm
ld: in ../lib/libgp.a, file too small
collect2: ld returned 1 exit status
make[1]: *** [gperf] 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_gperf/work/gperf-3.0.4" && /usr/bin/make -j1
 all " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsyn
c.macports.org_release_ports_devel_gperf/work/gperf-3.0.4" && /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 gperf): org.macports.activate org.macports.build org.m
acports.destroot org.macports.install
Error: The following dependencies failed to build: gperf
Error: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 14 years ago by atm52558@…

Cc: atm52558@… added

Cc Me!

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

Cc: ryandesign@… added; atm52558@… removed
Port: gperf added; libiconv removed
Summary: failed installing libiconvgperf: ld: in ../lib/libgp.a, file too small

Xcode 3.0 is probably too old. Please update to Xcode 3.1.4, clean gperf, and try again.

comment:3 in reply to:  2 Changed 14 years ago by atm52558@…

Replying to ryandesign@…:

Xcode 3.0 is probably too old. Please update to Xcode 3.1.4, clean gperf, and try again.

problem solved, thanks a lot!

comment:4 Changed 14 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.