#13966 closed defect (fixed)
silc-client 1.0.3_0 build failure
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | artie.ziff@… | |
Port: |
Description
silc-client 1.0.3_0 does not build for me, on Mac OS X 10.4.11, Xcode 2.4.1, MacPorts 1.7.0 from trunk, Intel Core 2 Duo. This was also reported on the macports-users list.
$ sudo port install silc-client Password: ---> Fetching silc-client ---> Attempting to fetch silc-client-1.0.3.tar.bz2 from http://silcnet.org/download/client/sources/ ---> Verifying checksum(s) for silc-client ---> Extracting silc-client ---> Applying patches to silc-client ---> Configuring silc-client ---> Building silc-client with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_irc_silc-client/work/silc-client-1.0.3" && make all " returned error 2 Command output: if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src/core/ -I../../src/fe-common/core/ -I../../src/fe-common/silc/ -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -DLOCALEDIR=\""/opt/local/share/locale"\" -I/opt/local/include -O2 -Wall -MT textbuffer-commands.o -MD -MP -MF ".deps/textbuffer-commands.Tpo" -c -o textbuffer-commands.o textbuffer-commands.c; \ then mv -f ".deps/textbuffer-commands.Tpo" ".deps/textbuffer-commands.Po"; else rm -f ".deps/textbuffer-commands.Tpo"; exit 1; fi if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src/core/ -I../../src/fe-common/core/ -I../../src/fe-common/silc/ -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -DLOCALEDIR=\""/opt/local/share/locale"\" -I/opt/local/include -O2 -Wall -MT textbuffer-reformat.o -MD -MP -MF ".deps/textbuffer-reformat.Tpo" -c -o textbuffer-reformat.o textbuffer-reformat.c; \ then mv -f ".deps/textbuffer-reformat.Tpo" ".deps/textbuffer-reformat.Po"; else rm -f ".deps/textbuffer-reformat.Tpo"; exit 1; fi if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src/core/ -I../../src/fe-common/core/ -I../../src/fe-common/silc/ -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -DLOCALEDIR=\""/opt/local/share/locale"\" -I/opt/local/include -O2 -Wall -MT textbuffer-view.o -MD -MP -MF ".deps/textbuffer-view.Tpo" -c -o textbuffer-view.o textbuffer-view.c; \ then mv -f ".deps/textbuffer-view.Tpo" ".deps/textbuffer-view.Po"; else rm -f ".deps/textbuffer-view.Tpo"; exit 1; fi if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src/core/ -I../../src/fe-common/core/ -I../../src/fe-common/silc/ -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -DLOCALEDIR=\""/opt/local/share/locale"\" -I/opt/local/include -O2 -Wall -MT utf8.o -MD -MP -MF ".deps/utf8.Tpo" -c -o utf8.o utf8.c; \ then mv -f ".deps/utf8.Tpo" ".deps/utf8.Po"; else rm -f ".deps/utf8.Tpo"; exit 1; fi if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src/core/ -I../../src/fe-common/core/ -I../../src/fe-common/silc/ -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -DLOCALEDIR=\""/opt/local/share/locale"\" -I/opt/local/include -O2 -Wall -MT silc.o -MD -MP -MF ".deps/silc.Tpo" -c -o silc.o silc.c; \ then mv -f ".deps/silc.Tpo" ".deps/silc.Po"; else rm -f ".deps/silc.Tpo"; exit 1; fi silc.c:82: warning: 'firsttimer_text' defined but not used if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src/core/ -I../../src/fe-common/core/ -I../../src/fe-common/silc/ -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -DLOCALEDIR=\""/opt/local/share/locale"\" -I/opt/local/include -O2 -Wall -MT module-formats.o -MD -MP -MF ".deps/module-formats.Tpo" -c -o module-formats.o module-formats.c; \ then mv -f ".deps/module-formats.Tpo" ".deps/module-formats.Po"; else rm -f ".deps/module-formats.Tpo"; exit 1; fi /bin/sh ../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -O2 -Wall -L/opt/local/lib -o silc -export-dynamic gui-entry.o gui-expandos.o gui-printtext.o gui-readline.o gui-windows.o lastlog.o mainwindows.o mainwindow-activity.o mainwindows-layout.o statusbar.o statusbar-config.o statusbar-items.o term.o term-dummy.o tparm.o term-terminfo.o terminfo-core.o textbuffer.o textbuffer-commands.o textbuffer-reformat.o textbuffer-view.o utf8.o silc.o module-formats.o ../fe-common/silc/libfe_common_silc.a ../fe-common/core/libfe_common_core.a ../silc/libsilc.a ../silc/core/libsilc_core.a ../core/libcore.a ../lib-config/libirssi_config.a ../lib-popt/libpopt.a -L/opt/local/var/macports/build/_Users_rschmidt_macports_dports_irc_silc-client/work/silc-client-1.0.3/lib -lsilcclient ../perl/libperl_core_static.la ../perl/libfe_perl_static.la -L/opt/local/lib -L/usr/local/lib /opt/local/lib/perl5/5.8.8/darwin-2level/auto/DynaLoader/DynaLoader.a -L/opt/local/lib/perl5/5.8.8/darwin-2level/CORE -lperl -ldl -lm -L/opt/local/lib -lgmodule -lglib -L/opt/local/lib -lgmodule -lglib -lncurses -L/opt/local/var/macports/build/_Users_rschmidt_macports_dports_irc_silc-client/work/silc-client-1.0.3/lib -lsilc -ldl -liconv -lpthread mkdir .libs /usr/bin/gcc-4.0 -O2 -Wall -o silc gui-entry.o gui-expandos.o gui-printtext.o gui-readline.o gui-windows.o lastlog.o mainwindows.o mainwindow-activity.o mainwindows-layout.o statusbar.o statusbar-config.o statusbar-items.o term.o term-dummy.o tparm.o term-terminfo.o terminfo-core.o textbuffer.o textbuffer-commands.o textbuffer-reformat.o textbuffer-view.o utf8.o silc.o module-formats.o -L/opt/local/lib ../fe-common/silc/libfe_common_silc.a ../fe-common/core/libfe_common_core.a ../silc/libsilc.a ../silc/core/libsilc_core.a ../core/libcore.a ../lib-config/libirssi_config.a ../lib-popt/libpopt.a -L/opt/local/var/macports/build/_Users_rschmidt_macports_dports_irc_silc-client/work/silc-client-1.0.3/lib /opt/local/var/macports/build/_Users_rschmidt_macports_dports_irc_silc-client/work/silc-client-1.0.3/lib/.libs/libsilcclient.a ../perl/.libs/libperl_core_static.a ../perl/.libs/libfe_perl_static.a -L/usr/local/lib /opt/local/lib/perl5/5.8.8/darwin-2level/auto/DynaLoader/DynaLoader.a -L/opt/local/lib/perl5/5.8.8/darwin-2level/CORE -lperl -lm /opt/local/lib/libgmodule.dylib /opt/local/lib/libglib.dylib -lncurses /opt/local/var/macports/build/_Users_rschmidt_macports_dports_irc_silc-client/work/silc-client-1.0.3/lib/.libs/libsilc.a -ldl /opt/local/lib/libiconv.dylib -lpthread /usr/bin/ld: multiple definitions of symbol _PL_na ../perl/.libs/libperl_core_static.a(perl-common.o) definition of _PL_na in section (__DATA,__common) /opt/local/lib/perl5/5.8.8/darwin-2level/CORE/libperl.a(globals.o) definition of _PL_na in section (__DATA,__common) /usr/bin/ld: warning multiple definitions of symbol _tparm tparm.o definition of _tparm in section (__TEXT,__text) /opt/local/lib/libncurses.dylib(lib_tparm.o) definition of _tparm collect2: ld returned 1 exit status make[6]: *** [silc] Error 1 make[5]: *** [all-recursive] Error 1 make[4]: *** [all-recursive] Error 1 make[3]: *** [all] Error 2 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing. $
I see that version 1.1.3 has been released. Updating the port might be a good place to start.
Change History (5)
comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
I see a problem like the one I see with silc-client 1.1.3 reported about irssi. They claim it's a bug in gcc versions before 4.0.2; Mac OS X 10.4 includes gcc 4.0.1. If I tell silc-client 1.1.3 to build with gcc 4.2 from MacPorts it succeeds.
comment:3 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|
comment:4 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
It's no coincidence this problem was reported against irssi: the silc-client source includes the irssi source. The problem was corrected in revision 4458 of irssi's repository, making it possible to build with gcc 4.0.1, so I added this as a local patch in the silc-client portfile. I will report this to the developers of silc-client. Updated silc-client to 1.1.3 in r33061.
I tried upgrading to 1.1.3 but I get a different problem: