build errors in silc-client

Ryan Schmidt ryandesign at macports.org
Wed Jan 16 21:53:36 PST 2008


On Jan 15, 2008, at 17:06, Artie Ziff wrote:

> Hello,
>
> Anyone build silc-client recently?
> I searched the previous year's posts. :)
> Hoping someone knows something.
>
> Below is the build output on:
>   System Version: Mac OS X 10.4.11 (8S2167)
>   Kernel Version: Darwin 8.11.1
>   gcc version: i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple
> Computer, Inc. build 5370)
>
> ###
>
> $ sudo /opt/local/bin/port install silc-client
> --->  Fetching silc-client
> --->  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/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_irc_s 
> ilc-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/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_irc_s 
> ilc-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/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_irc_s 
> ilc-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/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_irc_s 
> ilc-client/work/silc-client-1.0.3/lib
> /opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_irc_s 
> ilc-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/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_irc_s 
> ilc-client/work/silc-client-1.0.3/lib/.libs/libsilc.a
> -ldl /opt/local/lib/libiconv.dylib -lpthread
> /usr/libexec/gcc/i686-apple-darwin8/4.0.1/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/libexec/gcc/i686-apple-darwin8/4.0.1/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.


It looks like silc-client is unmaintained, and hasn't really been  
updated since r16416 on 2006-02-15.

I tried building it just now and I get the same errors as you. I  
filed a ticket and added you to the Cc list:

http://trac.macosforge.org/projects/macports/ticket/13966

The port is at version 1.0.3 but it looks like 1.1.3 has been  
released by the developers, so maybe the port should be updated.




More information about the macports-users mailing list