Opened 15 years ago

Closed 14 years ago

#23359 closed defect (worksforme)

gperf fails to install on 10.6.2 SnowLeopard

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

Description (last modified by mf2k (Frank Schima))

Yes, there were similar reports. I've found recommendations at the end of one of those:

sudo port selfupdate
sudo port upgrade --force installed

and no report wether it helped. It did not help me. sudo port -v install ghostscript left the following error messages:

/usr/bin/g++-4.2 -O2 -arch x86_64 -I. -I./../lib -c ./main.cc
./output.cc: In member function 'void Output::output_lookup_array() const':
./output.cc:1304: warning: format '%d' expects type 'int', but argument 3 has type 'long int'
/usr/bin/g++-4.2 -O2 -arch x86_64 -L/opt/local/lib -o gperf version.o positions.o options.o keyword.o keyword-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 "/Users/msom/.macports/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 -j8 all " returned error 2
DEBUG: Backtrace: shell command " cd "/Users/msom/.macports/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 -j8 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.macports.destroot org.macports.install
Error: The following dependencies failed to build: autoconf help2man gettext libiconv gperf ncurses ncursesw p5-locale-gettext perl5 perl5.8 m4 automake cairo fontconfig freetype zlib libpixman libpng pkgconfig xrender xorg-libX11 groff xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-renderproto jpeg libtool xorg-libXext xorg-libXt xorg-libsm xorg-libice
Error: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: msom@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to mcalhoun@…
Port: gperf added; ghostscript removed

This is an error building gperf.

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Summary: ghostscript fails to install on 10.6.2 SnowLeopardgperf fails to install on 10.6.2 SnowLeopard

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

Status: newassigned

I am sorry I have not had a chance to look at this until now.
Can you attach the following

port clean gperf
port -d install gperf

comment:4 Changed 14 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: assignedclosed

No response; works for me. Closing.

Note: See TracTickets for help on using tickets.