[MacPorts] #23359: ghostscript fails to install on 10.6.2 SnowLeopard
MacPorts
noreply at macports.org
Wed Jan 20 08:10:43 PST 2010
#23359: ghostscript fails to install on 10.6.2 SnowLeopard
----------------------------------+-----------------------------------------
Reporter: msom@… | Owner: mcalhoun@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: | Port: gperf
----------------------------------+-----------------------------------------
Changes (by macsforever2000@…):
* cc: msom@… (removed)
* owner: macports-tickets@… => mcalhoun@…
* port: ghostscript => gperf
Old description:
> 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.
New description:
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.
}}}
--
Comment:
This is an error building gperf.
--
Ticket URL: <http://trac.macports.org/ticket/23359#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list