Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52648 - Gaim 0.78 fails to compile with silc plugin
Summary: Gaim 0.78 fails to compile with silc plugin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gaim Bugs Crew
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-31 20:24 UTC by Patrick
Modified: 2004-06-01 06:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick 2004-05-31 20:24:35 UTC
make[4]: Entering directory `/var/tmp/portage/gaim-0.78/work/gaim-0.78/src/protocols/silc'
if /bin/sh ../../../libtool --silent --mode=compile 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 -march=athlon -O3 -pipe -Wall -g3 -MT buddy.lo -MD -MP -MF ".deps/buddy.Tpo" \
  -c -o buddy.lo `test -f 'buddy.c' || echo './'`buddy.c; \
then mv -f ".deps/buddy.Tpo" ".deps/buddy.Plo"; \
else rm -f ".deps/buddy.Tpo"; exit 1; \
fi
buddy.c: In function `silcgaim_buddy_resetkey':
buddy.c:351: error: structure has no member named `prv_resp'
buddy.c: In function `silcgaim_buddy_privkey_cb':
buddy.c:395: error: structure has no member named `prv_resp'
buddy.c:396: error: structure has no member named `prv_resp'
buddy.c:397: warning: implicit declaration of function `silc_client_send_private_message_key_request'
buddy.c: In function `silcgaim_buddy_getkey_cb':
buddy.c:513: error: structure has no member named `public_key'
buddy.c:519: error: structure has no member named `public_key'
buddy.c: In function `silcgaim_add_buddy_save':
buddy.c:863: error: structure has no member named `public_key'
buddy.c: In function `silcgaim_add_buddy_getkey_cb':
buddy.c:1052: error: structure has no member named `public_key'
buddy.c:1062: error: structure has no member named `public_key'
buddy.c: In function `silcgaim_add_buddy_resolved':
buddy.c:1208: error: structure has no member named `public_key'
buddy.c:1223: error: structure has no member named `public_key'
buddy.c:1226: error: structure has no member named `public_key'
buddy.c:1227: error: structure has no member named `public_key'
buddy.c:1229: error: structure has no member named `public_key'
buddy.c:1240: error: structure has no member named `public_key'
buddy.c:1252: error: structure has no member named `public_key'
buddy.c: In function `silcgaim_add_buddy_i':
buddy.c:1318: warning: implicit declaration of function `silc_client_get_clients_whois'
make[4]: *** [buddy.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/gaim-0.78/work/gaim-0.78/src/protocols/silc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gaim-0.78/work/gaim-0.78/src/protocols'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gaim-0.78/work/gaim-0.78/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gaim-0.78/work/gaim-0.78'
make: *** [all] Error 2

!!! ERROR: net-im/gaim-0.78 failed.
!!! Function src_compile, Line 92, Exitcode 2
!!! Make failed

Reproducible: Always
Steps to Reproduce:
1. emerge gaim



# emerge info
Portage 2.0.50-r7 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.
2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.
org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 apm arts avi berkdb caps cdr crypt cups dga directfb 
divx4linux dvd encode fam fbcon flac foomaticdb gd ggi gif gmp gphoto2 gpm gtk2 idea 
imagemagick imap imlib ipv6 javascript jikes joystick jpeg kde lcms libwww linguas_ru 
live mad matroska mbox memlimit mikmod mpeg mpi mysql nas ncurses nls oggvorbis pam 
pdflib perl png qt quicktime readline samba scanner sdl silc speex spell sse ssl svga 
tcpd theora tiff truetype unicode usb wifi wmf x86 xinerama xml xml2 xmms xv xvid 
zlib"
Comment 1 Dylan Carlson (RETIRED) gentoo-dev 2004-05-31 21:40:14 UTC
Somewhat related:  amd64 issue with the silc plugin.  simple -fPIC workaround doesn't work...

/bin/sh ../../../libtool --silent --mode=link gcc -I/usr/include/silc-toolkit -O2 -march=k8 -g -g -g -Wall -g3   -o libsilcgaim.la -rpath /usr/lib/gaim -module -avoid-version silc.lo buddy.lo chat.lo ft.lo ops.lo pk.lo util.lo -L/usr/lib -lsilc -lsilcclient -lpthread -ldl -lnsl
libtool: link: warning: library `/usr/lib/libsilc.la' was moved.
libtool: link: warning: library `/usr/lib/libsilcclient.la' was moved.
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libsilc.a(silcidcache.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/lib/libsilc.a(silcidcache.o): could not read symbols: Bad value
collect2: ld returned 1 exit status
Comment 2 Don Seiler (RETIRED) gentoo-dev 2004-05-31 21:41:38 UTC
Just to clarify, are you gentlemen able to build and use gaim fine with USE="-silc"?
Comment 3 Patrick 2004-05-31 21:51:25 UTC
Yes, no problem building it this morning
before you updated the ebuild (and before
I added silc to my USE flags).
Comment 4 Don Seiler (RETIRED) gentoo-dev 2004-05-31 21:53:16 UTC
Patrick what version of silc-toolkit do you have installed?
Comment 5 Patrick 2004-05-31 21:59:55 UTC
$ qpkg -I -v silc
net-im/silc-toolkit-0.9.11-r1 *

I just installed it yesterday when
I found out that Gaim 0.78 supported
it. :)
Comment 6 Don Seiler (RETIRED) gentoo-dev 2004-05-31 22:04:54 UTC
I tested with 0.9.12.  Is it possible for you to upgrade to that?  Also did you pass USE="client" or anything else to `emerge silc-toolkit`?
Comment 7 Patrick 2004-05-31 22:13:05 UTC
> I tested with 0.9.12.  Is it possible
> for you to upgrade to that?

Working on it now. Will report in about
twenty minutes.

> Also did you pass USE="client" or
> anything else to `emerge silc-toolkit`?

No.
Comment 8 Patrick 2004-05-31 22:42:28 UTC
Both compiled OK, and Gaim now shows
options for Silc (didn't test anything
beyond that), so it looks like that
solved it. Thanks.
Comment 9 Dylan Carlson (RETIRED) gentoo-dev 2004-06-01 02:11:35 UTC
works on amd64 now.

silc-toolkit is somewhat crudely patched to use -fPIC for amd64 since it ignores append-flags.  amd64 users will see the new version bump of silc-toolkit.  once installed, you may then (re)install Gaim 0.78 using the USE=silc... and all should work, at least in my testing on amd64 with gcc 3.3 and gcc 3.4.
Comment 10 Don Seiler (RETIRED) gentoo-dev 2004-06-01 06:42:13 UTC
OK then I will define the DEPEND as >=net-im/silc-toolkit-0.9.12.  Change is committed to portage.