Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629864 - app-crypt/seahorse-3.20.0: cannot build with app-crypt/gnupg-2.2.0
Summary: app-crypt/seahorse-3.20.0: cannot build with app-crypt/gnupg-2.2.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: TESTFAILURE
: 633886 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-09-04 09:02 UTC by Francesco Turco
Modified: 2017-10-12 08:42 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,247.92 KB, text/x-log)
2017-09-04 09:02 UTC, Francesco Turco
Details
emerge --info seahorse (emerge-info-seahorse.txt,7.58 KB, text/plain)
2017-09-04 09:02 UTC, Francesco Turco
Details
munged upstrem patch (seahorse-3.20.0-gnupg-configure.patch,896 bytes, patch)
2017-09-06 17:47 UTC, Austin English (RETIRED)
Details | Diff
ebuild patch (0001-app-crypt-seahorse-add-upstream-patch-allowing-build.patch,3.75 KB, patch)
2017-09-06 17:47 UTC, Austin English (RETIRED)
Details | Diff
Renich's build log (build.log,7.64 KB, text/x-log)
2017-09-26 18:14 UTC, Renich Bon Ciric
Details
Renich's config log (config.log,60.59 KB, text/x-log)
2017-09-26 18:15 UTC, Renich Bon Ciric
Details
emerge-info.txt (emerge-info.txt,15.87 KB, text/plain)
2017-10-05 16:46 UTC, Toralf Förster
Details
app-crypt:seahorse-3.20.0:20171005-033636.log (app-crypt:seahorse-3.20.0:20171005-033636.log,7.46 KB, text/plain)
2017-10-05 16:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,121.39 KB, text/plain)
2017-10-05 16:46 UTC, Toralf Förster
Details
environment (environment,106.42 KB, text/plain)
2017-10-05 16:46 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.70 KB, application/x-bzip)
2017-10-05 16:46 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.64 KB, application/x-bzip)
2017-10-05 16:46 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.66 KB, application/x-bzip)
2017-10-05 16:46 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Turco 2017-09-04 09:02:10 UTC
Created attachment 492234 [details]
build.log

I cannot emerge app-crypt/seahorse-3.20.0 when app-crypt/gnupg-2.2.0 is installed:

> configure: error: Appropriate version of GnuPG not found. Please install one of the following versions (or later): 2.0.12 2.1.4

Workaround: downgrade app-crypt/gnupg to version 2.1.23-r1
Comment 1 Francesco Turco 2017-09-04 09:02:49 UTC
Created attachment 492236 [details]
emerge --info seahorse
Comment 2 Francesco Riosa 2017-09-05 08:09:23 UTC
upstream is taking care of it:
https://git.gnome.org/browse/seahorse/commit/?id=31a9a6ffc10f9737e70d7f0051ff590ff284ad07

the patch in the commit work replacing "GPGME_REQUIRED=1.7.0" with "GPGME_REQUIRED=1.0.0".

Sadly I cannot test the package at the moment
Comment 3 Austin English (RETIRED) gentoo-dev 2017-09-06 17:47:00 UTC
Created attachment 492860 [details, diff]
munged upstrem patch
Comment 4 Austin English (RETIRED) gentoo-dev 2017-09-06 17:47:28 UTC
Created attachment 492862 [details, diff]
ebuild patch

austin@austin2:~/src/gentoo/app-crypt/seahorse$ diff -ur seahorse-3.20.0*
--- seahorse-3.20.0.ebuild	2017-02-28 13:50:50.000000000 -0600
+++ seahorse-3.20.0-r1.ebuild	2017-09-06 12:45:12.684173541 -0500
@@ -1,7 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
+GNOME2_EAUTORECONF="yes"
 inherit gnome2
 
 DESCRIPTION="A GNOME application for managing encryption keys"
@@ -10,19 +11,18 @@
 LICENSE="GPL-2+ FDL-1.1+"
 SLOT="0"
 IUSE="debug ldap zeroconf"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
 
 COMMON_DEPEND="
 	>=app-crypt/gcr-3.11.91:=
-	>=dev-libs/glib-2.10:2
-	>=x11-libs/gtk+-3.4:3
+	>=app-crypt/gnupg-2.0.12
+	>=app-crypt/gpgme-1
 	>=app-crypt/libsecret-0.16
+	>=dev-libs/glib-2.10:2
 	>=net-libs/libsoup-2.33.92:2.4
-	x11-misc/shared-mime-info
-
 	net-misc/openssh
-	>=app-crypt/gpgme-1
-	>=app-crypt/gnupg-2.0.12
+	>=x11-libs/gtk+-3.4:3
+	x11-misc/shared-mime-info
 
 	ldap? ( net-nds/openldap:= )
 	zeroconf? ( >=net-dns/avahi-0.6:= )
@@ -41,10 +41,13 @@
 "
 
 src_prepare() {
+	# Bug #629864
+	eapply "${FILESDIR}/seahorse-3.20.0-gnupg-configure.patch"
+
 	# Do not mess with CFLAGS with USE="debug"
 	sed -e '/CFLAGS="$CFLAGS -g/d' \
 		-e '/CFLAGS="$CFLAGS -O0/d' \
-		-i configure.ac configure || die "sed 1 failed"
+		-i.bak configure.ac || die "sed 1 failed"
 
 	gnome2_src_prepare
 }
Comment 5 Renich Bon Ciric 2017-09-26 18:14:27 UTC
Created attachment 496598 [details]
Renich's build log

In my case, it's not merging due to:

...
checking for strsep... yes
checking for gpg2... /usr/bin/gpg2
checking for appropriate GnuPG version... no
checking for gpgme-config... /usr/bin/gpgme-config
checking for GPGME - version >= 1.0.0... yes
configure: error: Appropriate version of GnuPG not found. Please install one of the following versions (or later): 2.0.12 2.1.4
...

I will attach my build and config logs.
Comment 6 Renich Bon Ciric 2017-09-26 18:15:01 UTC
Created attachment 496600 [details]
Renich's config log
Comment 7 Francesco Turco 2017-09-27 16:17:42 UTC
Patch from comment 4 works on my system.
Comment 8 Toralf Förster gentoo-dev 2017-10-05 16:46:10 UTC
appeared recently at the tinderbox image 20171005-053808_app-crypt_seahorse-3.20.0
Comment 9 Toralf Förster gentoo-dev 2017-10-05 16:46:13 UTC
Created attachment 497748 [details]
emerge-info.txt
Comment 10 Toralf Förster gentoo-dev 2017-10-05 16:46:16 UTC
Created attachment 497750 [details]
app-crypt:seahorse-3.20.0:20171005-033636.log
Comment 11 Toralf Förster gentoo-dev 2017-10-05 16:46:19 UTC
Created attachment 497752 [details]
emerge-history.txt
Comment 12 Toralf Förster gentoo-dev 2017-10-05 16:46:22 UTC
Created attachment 497754 [details]
environment
Comment 13 Toralf Förster gentoo-dev 2017-10-05 16:46:25 UTC
Created attachment 497756 [details]
etc.portage.tbz2
Comment 14 Toralf Förster gentoo-dev 2017-10-05 16:46:28 UTC
Created attachment 497758 [details]
logs.tbz2
Comment 15 Toralf Förster gentoo-dev 2017-10-05 16:46:32 UTC
Created attachment 497760 [details]
temp.tbz2
Comment 17 Larry the Git Cow gentoo-dev 2017-10-07 17:32:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39287641452c0686648f4536b058e8e3e5c1293e

commit 39287641452c0686648f4536b058e8e3e5c1293e
Author:     Francesco Turco <fturco@fastmail.fm>
AuthorDate: 2017-09-05 11:54:04 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2017-10-07 17:30:08 +0000

    app-crypt/seahorse: accept GnuPG 2.2.0.
    
    Upstream commit:
    https://git.gnome.org/browse/seahorse/commit/?id=31a9a6ffc10f9737e70d7f0051ff590ff284ad07.
    
    Closes: https://bugs.gentoo.org/629864
    Closes: https://github.com/gentoo/gentoo/pull/5620

 app-crypt/seahorse/seahorse-3.20.0.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Comment 18 Arfrever Frehtes Taifersar Arahesis 2017-10-10 00:57:36 UTC
*** Bug 633886 has been marked as a duplicate of this bug. ***
Comment 19 Larry the Git Cow gentoo-dev 2017-10-12 08:42:36 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75b141295b7c962d6daf0d6461bc0c6587e217e9

commit 75b141295b7c962d6daf0d6461bc0c6587e217e9
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2017-10-12 08:37:13 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2017-10-12 08:37:13 +0000

    Revert "app-crypt/seahorse: add upstream patch allowing building with GnuPG 2.2.0"
    
    This reverts commit 2c808eedc775a1f663cd61afa87e070c68c69faa.
    
    A better version without requiring eautoreconf was actually ACKed in parallel by
    GNOME team and merged later into existing revision. This revision bump is not
    needed (over fixing existing revision as a pure build fix), wrongly reorders
    *DEPEND against GNOME standards and was not ACKed by the maintainers.
    
    Bug: https://bugs.gentoo.org/629864

 .../files/seahorse-3.20.0-gnupg-configure.patch    | 32 -----------
 app-crypt/seahorse/seahorse-3.20.0-r1.ebuild       | 67 ----------------------
 2 files changed, 99 deletions(-)}