Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657048 - dev-php/pecl-gnupg: package is not installable due to conflicting dependencies
Summary: dev-php/pecl-gnupg: package is not installable due to conflicting dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-01 14:08 UTC by Hanno Böck
Modified: 2018-07-16 09:04 UTC (History)
2 users (show)

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


Attachments
pecl-gnupg-1.4.0-r2.ebuild (pecl-gnupg-1.4.0-r2.ebuild,691 bytes, text/plain)
2018-06-16 09:29 UTC, Hanno Böck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2018-06-01 14:08:49 UTC
pecl-gnupg has the following dependencies:

DEPEND="app-crypt/gpgme <app-crypt/gnupg-2"

With the current portage tree it's impossible to fulfill these dependencies. All versions of gpgme depend on >=gnupg-2.

CCing grknight who was the last one to actively touch that package.
Comment 1 Brian Evans (RETIRED) gentoo-dev 2018-06-01 14:33:00 UTC
The current version simply doesn't work with gnupg-2.

Activity has started up again in the upstream repo, but the promised support of gnupg-2 is uncertain until the next release
Comment 2 Hanno Böck gentoo-dev 2018-06-01 14:36:10 UTC
Yeah I saw the same, I just pinged the upstream developer to get a state.

Question is what to do with it right now. In the current state it's broken, so it should be masked and lastrited if there's no fix available. However if we can expect a new version soon (or at least a git snapshot that works in a modern stack) that would of course be preferable.
Comment 3 Hanno Böck gentoo-dev 2018-06-14 09:00:23 UTC
@Brian: Can you say what exactly doesn't work with gpg 2?

I did a brief test and basic functionality seems to work. The upstream bugs indicate test failures, but if this is just a "it basically works, but some of the less common features will fail" we may be better off with using RESTRICT="test".
Comment 4 Hanno Böck gentoo-dev 2018-06-16 09:28:34 UTC
So after further tests it seems to me this package mostly works with gnupg-2.1, it's just test failures due to unexpected outputs.

I think we can commit an update that removes the restriction to gnupg 1 and has a RESTRICT="test" until upstream situation improves. Not ideal, but certainly better than having a broken package.

Looking at the ebuild I also wondered about the patch that gets applied from
files/1.3.2/01-large_file_system.patch

I found no indication what it's supposed to do, there's bug #350018, but that doesn't have a lot of info either. If it's serving a purpose we should upstream it, if not drop it.
Comment 5 Hanno Böck gentoo-dev 2018-06-16 09:29:43 UTC
Created attachment 536044 [details]
pecl-gnupg-1.4.0-r2.ebuild

proposed ebuild, changes:
1. remove dependency restriction for gnupg
2. RESTRICT="test" as long as upstream tests fail
3. remove largefile patch with unclear purpose
Comment 6 Hanno Böck gentoo-dev 2018-07-15 13:07:32 UTC
If there are no objections I'd commit an updated ebuild with RESTRICT="test" and relaxed dependencies. While the situation is not ideal I think it's better to have something that works than the current broken state. At least all basic functionality still works with gpg 2. Ideally we can hope that we'll get a better upstream release soon.

I'd leave the largefile patch in, it seems to be some 32 bit thing I can't test because I don't have an active 32 bit x86 machine any more.
Comment 7 Larry the Git Cow gentoo-dev 2018-07-16 09:04:21 UTC
The bug has been closed via the following commit(s):

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

commit c38e9c07638d7db84e8e98b3e999cefaf50745db
Author:     Hanno <hanno@gentoo.org>
AuthorDate: 2018-07-16 09:03:59 +0000
Commit:     Hanno <hanno@gentoo.org>
CommitDate: 2018-07-16 09:03:59 +0000

    dev-php/pecl-gnupg: Allow gnupg 2.
    
    The existing package is not installable due to conflicting
    dependencies.
    Basic functionality works with gnupg 2. Some tests fail,
    therefore restricting tests.
    
    Closes: https://bugs.gentoo.org/657048
    Package-Manager: Portage-2.3.42, Repoman-2.3.9

 dev-php/pecl-gnupg/pecl-gnupg-1.4.0-r2.ebuild | 33 +++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)