emerge -uv gaim to the latest version fails and complains about silcgaim. I tried to remerge gaim without silc but the result was the same. silc-toolkit 1.0 installed Reproducible: Always Steps to Reproduce: 1.emerge -uv gaim 2.emerge --oneshot gaim 3. Actual Results: if /bin/sh ../../../libtool --silent --mode=compile --tag=CC i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/silc-toolkit -O2 -march=pentium3 -pipe -fprefetch-loop-arrays -g -g -g -Wall -g3 -MT chat.lo -MD -MP -MF ".deps/chat.Tpo" -c -o chat.lo chat.c; \ then mv -f ".deps/chat.Tpo" ".deps/chat.Plo"; else rm -f ".deps/chat.Tpo"; exit 1; fi if /bin/sh ../../../libtool --silent --mode=compile --tag=CC i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/silc-toolkit -O2 -march=pentium3 -pipe -fprefetch-loop-arrays -g -g -g -Wall -g3 -MT ft.lo -MD -MP -MF ".deps/ft.Tpo" -c -o ft.lo ft.c; \ then mv -f ".deps/ft.Tpo" ".deps/ft.Plo"; else rm -f ".deps/ft.Tpo"; exit 1; fi ft.c: In function `silcgaim_ftp_send_file': ft.c:367: error: `silc_debug' undeclared (first use in this function) ft.c:367: error: (Each undeclared identifier is reported only once ft.c:367: error: for each function it appears in.) make[4]: *** [ft.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/gaim-1.3.0/work/gaim-1.3.0/src/protocols/silc' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/gaim-1.3.0/work/gaim-1.3.0/src/protocols' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gaim-1.3.0/work/gaim-1.3.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gaim-1.3.0/work/gaim-1.3.0' make: *** [all] Error 2 make all-recursive make[1]: Entering directory `/var/tmp/portage/gaim-1.3.0/work/gaim-1.3.0' Making all in doc make[2]: Entering directory `/var/tmp/portage/gaim-1.3.0/work/gaim-1.3.0/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/gaim-1.3.0/work/gaim-1.3.0/doc' Making all in intl make[2]: Entering directory `/var/tmp/portage/gaim-1.3.0/work/gaim-1.3.0/intl' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/gaim-1.3.0/work/gaim-1.3.0/intl' Making all in pixmaps make[2]: Entering directory `/var/tmp/portage/gaim-1.3.0/work/gaim-1.3.0/pixmaps' Making all in silc make[4]: Entering directory `/var/tmp/portage/gaim-1.3.0/work/gaim-1.3.0/src/protocols/silc' if /bin/sh ../../../libtool --silent --mode=compile --tag=CC i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/silc-toolkit -O2 -march=pentium3 -pipe -fprefetch-loop-arrays -g -g -g -Wall -g3 -MT ft.lo -MD -MP -MF ".deps/ft.Tpo" -c -o ft.lo ft.c; \ then mv -f ".deps/ft.Tpo" ".deps/ft.Plo"; else rm -f ".deps/ft.Tpo"; exit 1; fi ft.c: In function `silcgaim_ftp_send_file': ft.c:367: error: `silc_debug' undeclared (first use in this function) ft.c:367: error: (Each undeclared identifier is reported only once ft.c:367: error: for each function it appears in.) make[4]: *** [ft.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/gaim-1.3.0/work/gaim-1.3.0/src/protocols/silc' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/gaim-1.3.0/work/gaim-1.3.0/src/protocols' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gaim-1.3.0/work/gaim-1.3.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gaim-1.3.0/work/gaim-1.3.0' make: *** [all] Error 2 !!! ERROR: net-im/gaim-1.3.0 failed. Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r7 i686) ================================================================= System uname: 2.6.11-gentoo-r7 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.11 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.6 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=2 -fprefetch-loop-arrays" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/locales.build /etc/modules.autoload.d/kernel-2.6 /etc/rc.conf /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=2 -fprefetch-loop-arrays" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ http://ftp.ceid.upatras.gr/pub/linux/gentoo/ ftp://ftp.uoi.gr/mirror/OS/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://mirror.hamakor.org.il/gentoo-portage" USE="16bit 3dnow S3TC X X509 a52 aac aalib accessibility acl acpi activefilter aim alsa amd ansi apache2 apm artworkextra audiofile authdaemond avantgo avi bash-completion bcmath bdf berkdb bidi bitmap-fonts blender-game bluetooth bzip2 bzlib cap cddb cdinstall cdparanoia cdr cdrom cgi chroot cjk clanJavaScript clanVoice client code crypt cups curl divx4linux dvb dvd dvdr dvdread eds emboss encode esd evo exif fam fbcon ffmpeg flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guil hal icq imagemagick imap imlib ipv6 jabber jack jpeg jython kadu-modules kadu-voice kakasi kerberos krb4 latex lcms ldap leim libcaca libclamav libdsk libg++ libgd libgda libsamplerate libwww live lua lufsusermount lzo lzw lzw-tiff m17n-lib mad maildir matroska mbox mcal mdb memlimit migemo mikmod mime mixer mjpeg mls mmap mmx mng monkey motif mozcalendar mozdevelop mozilla mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mpi mplayer msn mule music mysql mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh native ncurses net netcdf network neural nis nls nowin nptl ntlm nviz oav objc ocaml offensive ofx ogg oggvorbis openal opengl opie oscar ospfapi oss pam parse-clocks pcap pcntl pcre pdf pdflib perl pg-hier pg-intdatetime pg-vacuumdelay php physfs pic plotutils png portaudio posix postgresql povray ppds pri print procmail pthreads python quicktime quotas quotes readline real resperl rhino rogue rplay samba sasl sdl servlet-2.3 servlet-2.4 session sftplogging shared sharedmem silc simplexml skk slang slp smime sndfile snortsam sockets socks5 softquota sox spell spl sse ssl stencil-buffer stroke struts svg svga sysvipc szip t1lib tcltk tcpd tcsim tetex tga theora tidy tiff transcode truetype truetype-fonts type1-fonts uim underscores unicode usb v4l v4l2 vcd vda videos virus-scan vorbis wddx winbind wmf wxwindows x86 xanim xatrix xchatdccserver xchattext xemacs xface xgetdefault xine xml2 xmlrpc xmms xosd xpm xprint xrandr xscreensaver xsl xv xvid xvmc yahoo yaz yp yv12 zaptel zeo zlib zvbi userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Get the same here on SPARC when using silc-toolkit-1.0, which just came out. If gaim is compiled against silc-toolkit-0.9.13, everything is fine.
This happens even with USE=-silc emerge gaim. One would think it should completely skip silc if it's USE=-silc...
I get this same error, and I confirm that downgrading silc-toolkit to 0.9.13 seems to fix it.
I confirm problem with silc-toolkit 1.0, however I can build gaim just fine with USE="-silc".
Created attachment 58771 [details, diff] Fix compile vs silc 1.0 changed api The patch will break compile vs older versions of silc-toolkit (<1.0). will leave up to a gentoo gaim developer how to deal with that, so not attaching ebuild. Did not test functionality. Should be fine, patch changes according to release notes of silc toolkit 1.0 If you are hit by the bug, add use silc epatch ${FILESDIR}/gaim-silc-1.0.patch to src_unpack, download the patch into filesdir and run ebuild digest
Created attachment 58816 [details, diff] Official gaim silc plugin patch Here is the official patch supplied by Pekka. I will do some testing on old vs new silc before committing it. Feel free to test as well.
Just an FYI about that patch: Enclosed a small patch that makes the Gaim compile with SILC Toolkit 1.0. We had unfortunate timing when I released 1.0 at the same time you released Gaim 1.3 so I didn't have time to make the patch for 1.3. Anyway, the patch removes code that really isn't supposed to even be there... Pekka
Alright I've committed this patch to the already-stable gaim-1.3.0, since the patch only removes some windows code and gaim won't build without it. Harmless enough and only improves stability.
Can I please reiterate that this happens both with USE=-silc and USE=silc? The patch only gets applied if silc is used, but it needs to be applied regardless... because it still causes problems elsewise...