Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687982 - =app-portage/portage-utils-0.80_pre20190610 fails tests: gpg: can't connect to the agent: File name too long
Summary: =app-portage/portage-utils-0.80_pre20190610 fails tests: gpg: can't connect t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2019-06-13 07:25 UTC by Sergei Trofimovich (RETIRED)
Modified: 2019-06-13 18:42 UTC (History)
0 users

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


Attachments
app-portage:portage-utils-0.80_pre20190610:20190613-070331.log (app-portage:portage-utils-0.80_pre20190610:20190613-070331.log,178.51 KB, text/x-log)
2019-06-13 07:25 UTC, Sergei Trofimovich (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich (RETIRED) gentoo-dev 2019-06-13 07:25:20 UTC
Created attachment 579692 [details]
app-portage:portage-utils-0.80_pre20190610:20190613-070331.log

I have slightly larger than default
    PORTAGE_TMPDIR="/tmp/portage-tmpdir"

Tests fail on amd64 as:

gpg: can't connect to the agent: File name too long
gpg: error getting the KEK: No agent running
gpg: error reading '/tmp/portage-tmpdir/portage/app-portage/portage-utils-0.80_pre20190610/work/portage-utils-0.80_pre20190610/tests/qmanifest/key.gpg': No agent running
gpg: import from '/tmp/portage-tmpdir/portage/app-portage/portage-utils-0.80_pre20190610/work/portage-utils-0.80_pre20190610/tests/qmanifest/key.gpg' failed: No agent running
Comment 1 Fabian Groffen gentoo-dev 2019-06-13 08:04:40 UTC
Ah, yeah, the stupid path restriction from gpg again...  I'll have to disable the test like done for gnupg ebuild.  Thanks.
Comment 2 Larry the Git Cow gentoo-dev 2019-06-13 11:26:16 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=bcbcec8baad9790b8df4da526ad2d0cdd9f13fd1

commit bcbcec8baad9790b8df4da526ad2d0cdd9f13fd1
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2019-06-13 11:24:22 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2019-06-13 11:24:22 +0000

    tests/qmanifest: skip sign test if importing key fails
    
    gnupg's socket path may be too long due to T being somewhere too deep,
    so simply skip the signing test in that case
    
    Bug: https://bugs.gentoo.org/687982
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 tests/qmanifest/dotest          | 21 ++++++++++-----------
 tests/qmanifest/manifest01.good |  8 ++++----
 2 files changed, 14 insertions(+), 15 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2019-06-13 18:42:15 UTC
The bug has been closed via the following commit(s):

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

commit 6e61293852173070b2dc076198a895909799c667
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2019-06-13 18:42:01 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2019-06-13 18:42:01 +0000

    app-portage/portage-utils: version bump of 0.80 RC
    
    Closes: https://bugs.gentoo.org/687982
    Closes: https://bugs.gentoo.org/656550
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>
    Package-Manager: Portage-2.3.66, Repoman-2.3.11

 app-portage/portage-utils/Manifest                                      | 2 +-
 ...ls-0.80_pre20190610.ebuild => portage-utils-0.80_pre20190613.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)