Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66362 - kdepim-3.3.0-r1 fails to compile with gpgme-1.0.0
Summary: kdepim-3.3.0-r1 fails to compile with gpgme-1.0.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 67580 68541 80619 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-04 16:04 UTC by Rui Malheiro
Modified: 2005-02-05 11:35 UTC (History)
7 users (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 Rui Malheiro 2004-10-04 16:04:07 UTC
When I try to emerge kdepim-3.3.0-r1 it fails to compile, complaining about undefined reference in /usr/lib/libgpgme.so. I reverted to gpgme-0.9.0-r1 and kdepim compiled successfuly.

Reproducible: Always
Steps to Reproduce:
1. emerge -vu gpgme
2. emerge --oneshot =kdepim-3.3.0-r1
3.

Actual Results:  
[...] 
Making all in kwatchgnupg 
make[3]: Entering directory 
`/var/tmp/portage/kdepim-3.3.0-r1/work/kdepim-3.3.0/certmanager/kwatchgnupg' 
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor 
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align 
-Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings 
-DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fomit-frame-pointer -msse -msse2 
-mmmx -funroll-loops -fprefetch-loop-arrays -pipe -Wformat-security 
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION -DLIBKLEOPATRA_NO_COMPAT   -o kwatchgnupg -L/usr/X11R6/lib 
-L/usr/qt/3/lib -L/usr/kde/3.3/lib  -R /usr/kde/3.3/lib -R /usr/qt/3/lib 
-R /usr/X11R6/lib kwatchgnupgmainwin.o kwatchgnupgconfig.o aboutdata.o tray.o 
main.o ../conf/libconf.la ../lib/libkleopatra.la -lkutils -lkabc 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../i686-pc-linux-gnu/bin/ld: 
warning: libstdc++.so.5, needed by /usr/lib/libfam.so, may conflict with 
libstdc++.so.6 
/usr/lib/libgpgme.so: undefined reference to `_gpgme_assuan_disconnect' 
/usr/lib/libgpgme.so: undefined reference to `_gpgme_assuan_transact' 
/usr/lib/libgpgme.so: undefined reference to `_gpgme_assuan_pipe_connect' 
/usr/lib/libgpgme.so: undefined reference to `_gpgme_assuan_read_line' 
/usr/lib/libgpgme.so: undefined reference to `_gpgme_assuan_write_line' 
/usr/lib/libgpgme.so: undefined reference to `_gpgme_assuan_pending_line' 
/usr/lib/libgpgme.so: undefined reference to `_gpgme_assuan_get_active_fds' 
collect2: ld returned 1 exit status 
make[3]: *** [kwatchgnupg] Error 1 
make[3]: Leaving directory 
`/var/tmp/portage/kdepim-3.3.0-r1/work/kdepim-3.3.0/certmanager/kwatchgnupg' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/kdepim-3.3.0-r1/work/kdepim-3.3.0/certmanager' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/kdepim-3.3.0-r1/work/kdepim-3.3.0' 
make: *** [all] Error 2 
 

Expected Results:  
 

vincent ~ # emerge info 
Portage 2.0.51_rc7 (default-x86-1.4, gcc-3.4.1, glibc-2.3.4.20040808-r0, 
2.6.8-gentoo-r4 i686) 
================================================================= 
System uname: 2.6.8-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz 
Gentoo Base System version 1.5.3 
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [disabled] 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 
Headers:  sys-kernel/linux-headers-2.4.22 
Libtools: sys-devel/libtool-1.5.2-r5 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -msse -msse2 -mmmx 
-funroll-loops -fprefetch-loop-arrays -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -msse -msse2 -mmmx 
-funroll-loops -fprefetch-loop-arrays -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs distlocks sandbox" 
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo 
http://ftp.easynet.nl/mirror/gentoo/ http://mirror.switch.ch/mirror/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/media/cdrom/" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="X aalib acpi alsa apache2 apm arts avi berkdb bitmap-fonts cdparanoia cdr 
crypt cups dba dv dvd encode flac flash foomaticdb gd gdbm gif gphoto2 gpm 
gtk2 imap imlib ipv6 java jpeg kde ldap libg++ libwww mad mikmod mmx motif 
mozilla mpeg mysql ncurses nls oggvorbis opengl pam pcmcia pdflib perl php png 
postgres pt pt_PT python qt quicktime radeon readline samba sdl slang smime 
spell sse ssl svg svga tcpd tiff truetype unicode x86 xine xinerama xml2 
xprint xv zlib linguas_pt"
Comment 1 Bill Puschmann 2004-10-05 08:38:58 UTC
Same thing here.  Reinstalled earlier version (0.9.0-r1) of gpgme and kmail is fine (runs and installs).
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2004-10-05 08:58:59 UTC
This will be fixed with gpgme-1.0.1:

http://marc.theaimsgroup.com/?l=gnupg-devel&m=109682025731166&w=2

see bug 66190
Comment 3 Daniel Black (RETIRED) gentoo-dev 2004-10-05 13:18:11 UTC
feel free to mask gpgme-1.0.0 - I've got to run now.
Comment 4 Konstantin Arkhipov (RETIRED) gentoo-dev 2004-10-13 10:26:43 UTC
fixed and committed as 1.0.0-r2
thanks to everyone
Comment 5 Prakash Punnoor 2004-10-13 14:10:27 UTC
gpgme 1.0.0-r2 doesn't work for me. (r1 did):

kmail: symbol lookup error: /usr/lib/libgpgme.so.11: undefined symbol: _gpgme_engine_ops_gpgsm

Comment 6 Gregorio Guidi (RETIRED) gentoo-dev 2004-10-13 16:13:03 UTC
Konstantin, you bumped gpgme-1.0.0-r2 from 1.0.0-r1, but
1.0.0-r1 was masked in package mask because it depends on
gnupg >= 1.9.x  --> bug 67453

I guess the bump for ~x86 should have been based on 1.0.0-r0
Comment 7 Tro 2004-10-13 19:59:01 UTC
Experiencing the same problem as #5. Had to revert to 1.0.0. 1.0.0-r1 is masked.
Recompiling kdepim now.
Comment 8 Tom Shaw 2004-10-14 10:49:50 UTC
kdepim won't compile with gpgme 1.0.0-r2 or -r3, but it compiled
and worked fine with 1.0.0. Also kdepim wouldn't work after -r2 or
-r3 was emerged.

I have these installed currently
gpgme 0.3.14-r1, 0.4.7, 1.0.0
gnupg 1.9.10
libgpg-error 1.0-r1

I can send and recieve signed/encryped emails with kmepim 3.3.1 with my
current setup.
Comment 9 Caleb Tennis (RETIRED) gentoo-dev 2004-10-14 13:33:19 UTC
*** Bug 67580 has been marked as a duplicate of this bug. ***
Comment 10 Daniel Black (RETIRED) gentoo-dev 2004-10-14 13:42:33 UTC
Please list details of "won't compile"? Same as bug 
67517 and bug 67580?

Have you dev-libs/libassuan installed? If you install it does it work?
My kmail (from kdepim-3.3.0-r1) is segfaulting when I send email and quit.

The difference between gpgme 1.0.0 and 1.0.0-r3 is the inclusion of a patch that handles gpgsm correctly. I can't see why it would make things not work.
Comment 11 Tom Shaw 2004-10-14 15:18:24 UTC
I unmerged the three gpgme versions, gnupg, libgpg-error, and cryptplug
then removed the unmask I had on gnupg, removed the smime use flag (-smime)
and emerged world and it pulled in the latest version of what I removed
except cryptplug. Kmail still worked, but I re-emerged kdepim and it finished
with no errors. I just don't have smime support in kmail anymore but I don't know that I need smime support.

I do have libassuan installed but it shows up in the list of things in a
depclean now as if the dependency is broke in the gnupg ebuild which I
believe is where the dependency comes from.

I lost the exact error on when kdepim failed but I'm think it was smime
related.

app-crypt/gpgme-1.0.0-r3
app-crypt/gnupg-1.2.6  +X -debug -idea -ldap +nls -static
dev-libs/libgpg-error-1.0-r1  +nls

I can send/recieve encrypted and signed emails with "OpenPGP/MIME" option
without any issues, just lacking the s/mime support I guess.
Comment 12 Nik Raub 2004-10-16 03:58:31 UTC
on my machine, I have gpgme-1.0.0-r3 and I have the same problem as #5. In detail, I get

/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DLIBKLEOPATRA_NO_COMPAT   -o kwatchgnupg -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib  -R /usr/kde/3.3/lib -R /usr/qt/3/lib -R /usr/X11R6/lib kwatchgnupgmainwin.o kwatchgnupgconfig.o aboutdata.o tray.o main.o ../conf/libconf.la ../lib/libkleopatra.la -lkutils -lkabc
/usr/lib/libgpgme.so: undefined reference to `_gpgme_engine_ops_gpgsm'
collect2: ld returned 1 exit status
make[3]: *** [kwatchgnupg] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdepim-3.3.1/work/kdepim-3.3.1/certmanager/kwatchgnupg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdepim-3.3.1/work/kdepim-3.3.1/certmanager'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdepim-3.3.1/work/kdepim-3.3.1'
make: *** [all] Error 2

!!! ERROR: kde-base/kdepim-3.3.1 failed.
!!! Function kde_src_compile, Line 142, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 13 Laurence Withers 2004-10-17 11:17:51 UTC
Nik, this error is caused because gpgme doesn't have S/MIME support. You have
to mess about by unmasking the latest version of GnuPG and hacking the ebuild
for gpgme-1.0.0-r3 to put the S/MIME stuff back in (it's commented out).

Then you can build kdepim.
Comment 14 Gregorio Guidi (RETIRED) gentoo-dev 2004-10-25 03:24:36 UTC
gpgme-1.0.1 is out; I installed it (with no patches applied, no libassuan 
installed, no gpgsm) and did a very quick test, it seems kdepim compiles fine.
Comment 15 Colin Tinker 2004-10-25 09:15:51 UTC
Same here all is working fine again.

Thanks

Colin
Comment 16 Tro 2004-10-25 18:32:29 UTC
Confirmed. The new version of GpgME fixed everything. Except for S/MIME support. :)
Comment 17 Daniel Black (RETIRED) gentoo-dev 2004-10-26 01:43:13 UTC
kde peoples - happy to close this with the addition of gpgme-1.0.1?
gpgme-1.0.0 has been removed.
Comment 18 Caleb Tennis (RETIRED) gentoo-dev 2004-10-28 08:58:30 UTC
*** Bug 68541 has been marked as a duplicate of this bug. ***
Comment 19 Gregorio Guidi (RETIRED) gentoo-dev 2005-01-02 08:58:15 UTC
closing.
Comment 20 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-05 11:35:34 UTC
*** Bug 80619 has been marked as a duplicate of this bug. ***