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"
Same thing here. Reinstalled earlier version (0.9.0-r1) of gpgme and kmail is fine (runs and installs).
This will be fixed with gpgme-1.0.1: http://marc.theaimsgroup.com/?l=gnupg-devel&m=109682025731166&w=2 see bug 66190
feel free to mask gpgme-1.0.0 - I've got to run now.
fixed and committed as 1.0.0-r2 thanks to everyone
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
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
Experiencing the same problem as #5. Had to revert to 1.0.0. 1.0.0-r1 is masked. Recompiling kdepim now.
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.
*** Bug 67580 has been marked as a duplicate of this bug. ***
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.
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.
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
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.
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.
Same here all is working fine again. Thanks Colin
Confirmed. The new version of GpgME fixed everything. Except for S/MIME support. :)
kde peoples - happy to close this with the addition of gpgme-1.0.1? gpgme-1.0.0 has been removed.
*** Bug 68541 has been marked as a duplicate of this bug. ***
closing.
*** Bug 80619 has been marked as a duplicate of this bug. ***