GNOME Bugzilla – Bug 410324
configure doesn't find gpg2
Last modified: 2007-08-21 00:04:04 UTC
Please describe the problem: gnupg 2.0.x installs bin/gpg2 instead of bin/gpg. Since seahorse supports the 2.0 version it should consider the different name. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Created attachment 83049 [details] [review] Attempt one Please try this patch. I don't have gpg2 installed to test it. If it doesn't work let me know, some messing with the sed lines may be required.
Created attachment 83050 [details] [review] Now one that builds Sorry, the last one didn't even build. Here's one that builds and with changes to the sed magic.
Something else to check, perhaps you already have ... When we actually run gpg, is the executable name ever hard coded?
I think as long as gpgme_get_engine_info returns the correct information we're good to go. I'm not sure if we need to bump the minimum gpgme version for this to work properly.
Created attachment 83095 [details] [review] updated patch The patch on comment 2 didn't work for, but this one does.
Given this link, I'm thinking that currently gpgme doesn't work with gpg2. http://www.gossamer-threads.com/lists/gnupg/gpa/38078 Christopher, Does your new patch just allow configure to proceed or does seahorse behave normally when run?
You're right Adam, gpgme doesn't yet support gpg2 and seahorses crashes on startup.
If you add a symbolic link from /usr/bin/gpg2 to /usr/bin/gpg does everything work properly?
It keeps crashing. Here comes a stacktrace: Distribution: Slackware Slackware 10.1.0 Gnome Release: 2.17.91 2007-02-19 (GNOME.Org) BugBuddy Version: 2.17.3 System: Linux 2.6.20 #53 PREEMPT Mon Feb 5 23:42:05 CET 2007 i686 X Vendor: The X.Org Foundation X Vendor Release: 70200000 Selinux: Enforcing Accessibility: Disabled GTK+ Theme: Clearlooks Icon Theme: Tango Memory status: size: 23650304 vsize: 23650304 resident: 7495680 share: 6332416 rss: 7495680 rss_rlim: 4294967295 CPU usage: start_time: 1172162667 rtime: 6 utime: 5 stime: 1 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/usr/local/bin/seahorse' Using host libthread_db library "/lib/tls/i686/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1223969088 (LWP 3483)] 0xb7f33410 in __kernel_vsyscall ()
+ Trace 112957
Thread 1 (Thread -1223969088 (LWP 3483))
As as been determined on the seahorse-devel mailing list, seahorse doesn't support GPG2. This is because a GPG library called 'gpgme' which seahorse uses doesn't support it.
Chris, I just built gpg-2.0.3 and all it's dependencies on Slackware 11.0. I symlinked gpg2 to gpg and everything appears to be working properly with the exception that it's complaining about the validity of my keyring. Could you upgrade to the latest gpg2 and all of it's dependencies(pth, libgpg-error, libassuan, libksba) and let us know if you're still having this crash? ----8<----- an mpi of size 0 is not allowed an mpi of size 0 is not allowed gpg: keyring_get_keyblock: read error: Invalid packet gpg: keyring_get_keyblock failed: Invalid keyring gpg: failed to rebuild keyring cache: Invalid keyring gpg: 3 marginal(s) needed, 1 complete(s) needed, classic trust model an mpi of size 0 is not allowed an mpi of size 0 is not allowed gpg: keyring_get_keyblock: read error: Invalid packet gpg: keydb_get_keyblock failed: Invalid keyring gpg: validate_key_list failed ----8<-----
Hi, I just installed: libgcrypt 1.2.4 libassuan 1.0.1 trunk gpgme 1.1.5 trunk gnupg 2.0.4 trunk libgpg-error 1.6 trunk libkasba 1.0.2 trunk opencdk 0.5.13 gnutls 1.6.1 I had to create the symlink you mentioned to compile gpgme and to delete it to compile seahorse. Unfortunatly I still get the same error. I installed all packages from source.
this is fixed since bug #444259 is closed right ?
Should be.