Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 175787

Summary: net-im/gaim-2.0.0_beta6: SILC plugin does not load
Product: Gentoo Linux Reporter: ytiruceslaicos
Component: Current packagesAssignee: Gentoo net-im Herd <net-im>
Severity: normal CC: tacvbo
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 187736    
Attachments: Build log

Description ytiruceslaicos 2007-04-24 01:42:21 UTC
The SILC protocol is not available when GAIM is emerged with use=SILC. When gaim -d is run, the error message that appears to be pertinent is:
plugins: /usr/lib/gaim/ is not loadable: undefined symbol: silc_default_ciphers

Reproducible: Always

Steps to Reproduce:
1. Emerge gaim-2.0.0_beta6 with USE="silc"
2. Run gaim
3. Attempt to use SILC protocol

Actual Results:  
The SILC protocol was not available.

Expected Results:  
The SILC protocol should have been available.

An error message is displayed:
plugins: /usr/lib/gaim/ is not usable because the 'gaim_init_plugin' symbol could not be found.  Does the plugin call the GAIM_INIT_PLUGIN() macro?
plugins: probing /usr/lib/gaim/
plugins: /usr/lib/gaim/ is not loadable: undefined symbol: silc_default_ciphers
Comment 1 ytiruceslaicos 2007-04-24 01:44:07 UTC
emerge --info:
Portage (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, i686)
System uname: i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 24 Apr 2007 00:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
CFLAGS="-march=pentium4 -O2 -pipe -fno-ident"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -O2 -pipe -fno-ident -fvisibility-inlines-hidden"
FEATURES="distlocks metadata-transfer sandbox sfperms strict userfetch userpriv usersandbox"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="en en_US"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTDIR_OVERLAY="/usr/portage/local/layman/initng /usr/portage/local/layman/toolchain"
USE="16bit 7zip X X509 Xaw3d a52 aac aalib accessibility acpi aiglx aim alsa apache2 arts asf asm atk audacious auth automount bash-completion binary-drivers bitmap-fonts bittorrent blender-game bogofilter bonobo bonusscripts boost branding bzip2 cairo calendar caps cdda cddb cdio cdparanoia cdr cdrom cdsound cg cgi charconv chardet cjk cli compress cpio cpudetection cracklib crosscompile crypt cscope css csv cups curl curlwrappers cvs cxx dbus dga dio disassembler discard-path diskcache divx dri dts dvd dvdr dvdread eds emacs emboss encode epson esd ethereal fam ffmpeg figlet firefox flac foomaticdb force-cgi-redirect ftp gb gdbm general geoip gif gimp gimpprint glade glib glibc-omitfp glitz glut gmp gnome gnutls gpm grammar graphviz gs gsl gstreamer gtk gtk2 gvim gzip hal hash hpn http httpd hub iconv idea ieee1394 image imagemagick imlib ipv6 irc ithreads java java-external java5 javascript jce jikes jpeg jpeg2k justify jython kde kqemu lame latex ldap libcaca libg++ libgda libnotify libsexy libwww linuxthreads-tls logrotate lua lzw m17n-lib mad math md5sum midi mikmod mime mixer mmap mmx mmxext mng mod mode-force modperl modplug mozbranding moznopango mozsvg mp3 mp4 mpeg mpeg2 mpm-worker msn musepack mysql mysqli nautilus ncurses nls no-old-linux nptl nptlonly nsplugin ntp nvidia ogg opengl openssl opensslcrypt oscar oss pam pango pcntl pcre pdf pdo-external perforce perl physfs png pop posix ppds ps python qt3 qt4 quicktime quotas quotes rar readline real realmedia reflection reiserfs resolvconf rle roundrobin rplay rpm rss samba sdl session sftp sftplogging sid silc slang smime sndfile soap sockets speex spell spl sse sse2 ssl svg svgz symlink t1lib tcl tcpd test tetex theora thesaurus threads thunderbird tiff tk tools truetype truetype-fonts type1 type1-fonts ucs2 unicode usb vcd vdr vidix vim vim-pager vim-syntax vim-with-x visual visualization vlm vorbis vorbis-psy wavpack win32codecs wma x86 xbase xcb xchatdccserver xchattext xcomposite xerces-c xine xml xorg xpm xprint xrandr xscreensaver xsettings xskatcards xtended xterm xv xvid xvmc zip zlib" ALSA_CARDS="intel8x0 intel8x0m usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprove ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Comment 2 ytiruceslaicos 2007-04-24 01:44:50 UTC
Gaim debug information:
Arguments to ./configure:  '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--enable-nls' '--enable-perl' '--enable-startup-notification' '--enable-tcl' '--enable-sm' '--enable-gtkspell' '--enable-tk' '--enable-screensaver' '--disable-debug' '--enable-dbus' '--disable-meanwhile' '--enable-gevolution' '--enable-gstreamer' '--disable-cyrus-sasl' '--disable-doxygen' '--disable-mono' '--with-dynamic-prpls=irc,jabber,oscar,yahoo,zephyr,simple,silc,msn' '--enable-nss=no' '--enable-gnutls=yes' '--with-gnutls-includes=/usr/include/gnutls' '--with-gnutls-libs=/usr/lib' '--x-includes=/usr/include/X11' '--disable-consoleui' '--enable-gtkui' '--build=i686-pc-linux-gnu' 'CFLAGS=-march=pentium4 -O2 -pipe -fno-ident' 'CXXFLAGS=-march=pentium4 -O2 -pipe -fno-ident' 'LDFLAGS=-Wl,-O1,--sort-common,--hash-style=both' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu'
  Print debugging messages: No
  Binary relocation: Disabled
  Plugins: Enabled
  SSL: Gaim was compiled with SSL support.

  Library Support
    Cyrus SASL: Disabled
    D-BUS: Enabled
    Evolution Addressbook: Enabled
    Gadu-Gadu library (libgadu): Internal
    GtkSpell: Enabled
    GnuTLS: Enabled
    GStreamer: Enabled
    Mono: Disabled
    NetworkManager: Disabled
    Network Security Services (NSS): Disabled
    Perl: Enabled
    Startup Notification: Enabled
    Tcl: Enabled
    Tk: Enabled
    X Session Management: Enabled
    XScreenSaver: Enabled
    Zephyr library (libzephyr): Not External
    Zephyr uses Kerberos: No
Comment 3 Olivier Crete (RETIRED) gentoo-dev 2007-05-01 04:08:13 UTC
it works here with net-im/pidgin... can you reproduce with it ?
Comment 4 ytiruceslaicos 2007-05-03 03:46:41 UTC
(In reply to comment #3)
> it works here with net-im/pidgin... can you reproduce with it ?
Yes. Looking closer, it seems to be a problem with silc-toolkit: the sofiles have unrealistically small sizes (for example, has a filesize of only 5196). I attempted to emerge silc-toolkit again with no CFLAGS and no LDFLAGS, and the problem persisted (with same filesize).
Comment 5 Olivier Crete (RETIRED) gentoo-dev 2007-05-03 04:24:18 UTC
Please check the full build log of silc-toolkit and see if you find anything wrong.. even if you dont, can you please attach it here.. and why do yoiu have -fno-ident ???
Comment 6 ytiruceslaicos 2007-05-03 20:16:34 UTC
(In reply to comment #5)
> Please check the full build log of silc-toolkit and see if you find anything
> wrong.. even if you dont, can you please attach it here.. and why do yoiu have
> -fno-ident ???

As to -fno-ident: to be honest, I forget. I managed to build silc-toolkit successfully manually (without the small filesize problem) with that in CFLAGS, so I don't think that it's the problem.

Build log is attached. The package was emerged with null CFLAGS, CXXFLAGS, and LDFLAGS, and still had a filesize of 5196.
Comment 7 ytiruceslaicos 2007-05-03 20:17:05 UTC
Created attachment 118084 [details]
Build log
Comment 8 Matt 2007-07-07 09:52:33 UTC
have a look at:

you only need to modify silc-toolkit 1.0.2 ebuild to 1.1.2 (rename), ebuild silc-toolkit-1.1.2.ebuild digest, emerge it, then re-emerge pidgin / gaim

then it will work

it seems that a lot of apps depending on silc-toolkit needs this updated version
Comment 9 Octavio Ruiz (Ta^3) 2007-07-14 01:59:43 UTC
Maybe you want to take a look at Bug #185260 and close this one.
I wonder why you want to use gaim rather than pidgin?
Comment 10 Markus Ullmann (RETIRED) gentoo-dev 2007-09-14 15:35:07 UTC
please try to reproduce with pidgin
Comment 11 ytiruceslaicos 2007-09-15 02:02:22 UTC
(In reply to comment #10)
> please try to reproduce with pidgin
The silc plugin works for me with pidgin-2.1.1 and silc-toolkit-1.1.2-r2.
Comment 12 Olivier Crete (RETIRED) gentoo-dev 2007-09-15 15:12:19 UTC
thank you