Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#13239 closed defect (duplicate)

irssi fails to build on Mac OS X 10.5 Leopard

Reported by: psychotic.anomaly@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: irssi leopard Cc: nox@…, psychotic.anomaly@…
Port:

Description (last modified by jmpp@…)

sudo port -v install irssi +perl

--->  Building irssi with target all
make  all-recursive
Making all in src
Making all in lib-popt
make[3]: Nothing to be done for `all'.
Making all in lib-config
make[3]: Nothing to be done for `all'.
Making all in core
make[3]: Nothing to be done for `all'.
Making all in irc
Making all in core
make[4]: Nothing to be done for `all'.
Making all in dcc
make[4]: Nothing to be done for `all'.
Making all in flood
make[4]: Nothing to be done for `all'.
Making all in notifylist
make[4]: Nothing to be done for `all'.
Making all in proxy
rm -f libirc_proxy.a
ln -s .libs/libirc_proxy.a libirc_proxy.a
/bin/sh ../../../libtool --tag=CC --mode=link gcc  -O2 -Wall -I/opt/local/include    -L/opt/local/lib -o libirc_proxy.la -rpath /opt/local/lib/irssi/modules -module proxy.lo dump.lo listen.lo  
gcc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libirc_proxy.0.0.0.so -bundle  .libs/proxy.o .libs/dump.o .libs/listen.o  -L/opt/local/lib
ld: duplicate symbol _g_bit_nth_lsf in .libs/dump.o and .libs/proxy.o

collect2: ld returned 1 exit status
make[4]: *** [libirc_proxy.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] 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_irc_irssi/work/irssi-0.8.11" && make all " returned error 2
Command output: make  all-recursive
Making all in src
Making all in lib-popt
make[3]: Nothing to be done for `all'.
Making all in lib-config
make[3]: Nothing to be done for `all'.
Making all in core
make[3]: Nothing to be done for `all'.
Making all in irc
Making all in core
make[4]: Nothing to be done for `all'.
Making all in dcc
make[4]: Nothing to be done for `all'.
Making all in flood
make[4]: Nothing to be done for `all'.
Making all in notifylist
make[4]: Nothing to be done for `all'.
Making all in proxy
rm -f libirc_proxy.a
ln -s .libs/libirc_proxy.a libirc_proxy.a
/bin/sh ../../../libtool --tag=CC --mode=link gcc  -O2 -Wall -I/opt/local/include    -L/opt/local/lib -o libirc_proxy.la -rpath /opt/local/lib/irssi/modules -module proxy.lo dump.lo listen.lo  
gcc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libirc_proxy.0.0.0.so -bundle  .libs/proxy.o .libs/dump.o .libs/listen.o  -L/opt/local/lib
ld: duplicate symbol _g_bit_nth_lsf in .libs/dump.o and .libs/proxy.o

collect2: ld returned 1 exit status
make[4]: *** [libirc_proxy.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Warning: the following items did not execute (for irssi): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History (8)

comment:1 Changed 16 years ago by nox@…

Cc: nox@… psychotic.anomaly@… added
Keywords: leopard added; ppc removed
Milestone: MacPorts 1.5Port Bugs
Resolution: duplicate
Status: newclosed
Summary: Irssi +perl 10.5 ppc Broken!irssi fails to build on Mac OS X 10.5 Leopard

Please update glib2:

sudo port upgrade glib2

This ticket is a duplicate of #13006.

comment:2 Changed 16 years ago by macosforge.org@…

Resolution: duplicate
Status: closedreopened

This isn't a duplicate of any glib bug - I get the same error (well, as far as I can tell - it's difficult to follow the non-<pre>'d text above) and I've done the upgrade glib2 suggestion above.

[Wed Jan 30 - 11:02:35] [elliottcable @ EFC-MP1] [/Library/Open_Source/irssi-0.8.12/]
-- sudo port install irssi +perl
--->  Building irssi with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_irc_irssi/work/irssi-0.8.11" && make all " returned error 2
Command output: Making all in core
make[4]: Nothing to be done for `all'.
Making all in dcc
make[4]: Nothing to be done for `all'.
Making all in flood
make[4]: Nothing to be done for `all'.
Making all in notifylist
make[4]: Nothing to be done for `all'.
Making all in proxy
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
Making all in fe-common
Making all in core
make[4]: Nothing to be done for `all'.
Making all in irc
Making all in dcc
make[5]: Nothing to be done for `all'.
Making all in notifylist
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
make[4]: Nothing to be done for `all-am'.
Making all in perl
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src/core -I../../src/fe-common/core -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include   -DSCRIPTDIR=\""/opt/local/share/irssi/scripts"\" -DPERL_USE_LIB=\""/opt/local/lib/perl5/darwin/darwin-thread-multi-2level"\" -DPERL_STATIC_LIBS=0 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after-statement -I/usr/local/include -I/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE  -I/opt/local/include -no-cpp-precomp  -O2 -Wall -I/opt/local/include   -MT perl-core.lo -MD -MP -MF ".deps/perl-core.Tpo" -c -o perl-core.lo perl-core.c; \
	then mv -f ".deps/perl-core.Tpo" ".deps/perl-core.Plo"; else rm -f ".deps/perl-core.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src/core -I../../src/fe-common/core -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DSCRIPTDIR=\"/opt/local/share/irssi/scripts\" -DPERL_USE_LIB=\"/opt/local/lib/perl5/darwin/darwin-thread-multi-2level\" -DPERL_STATIC_LIBS=0 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after-statement -I/usr/local/include -I/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE -I/opt/local/include -no-cpp-precomp -O2 -Wall -I/opt/local/include -MT perl-core.lo -MD -MP -MF .deps/perl-core.Tpo -c perl-core.c  -fno-common -DPIC -o .libs/perl-core.o
gcc-4.0: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
make[3]: *** [perl-core.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

comment:3 Changed 16 years ago by macosforge.org@…

Also worth noting, is that I receive the same error building irssi from source - so it may be in one of the other dependencies that I installed with Ports, i.e. GLIB2 or something.

comment:4 Changed 16 years ago by jmpp@…

Description: modified (diff)
Priority: HighNormal

comment:5 Changed 16 years ago by nox@…

Seems like irssi includes its own perl which it tries to build universally.

comment:6 Changed 16 years ago by raimue (Rainer Müller)

Has duplicate #13146.

comment:7 Changed 16 years ago by raimue (Rainer Müller)

Resolution: duplicate
Status: reopenedclosed

This perl error is already handled in another ticket.

Duplicate of #13004.

comment:8 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.