Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949861 - net-misc/megatools-1.11.3 does not install with USE=verify-sig
Summary: net-misc/megatools-1.11.3 does not install with USE=verify-sig
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: John Helmert III
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-17 12:55 UTC by vm666
Modified: 2025-02-17 19:58 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vm666 2025-02-17 12:55:00 UTC
USE=verify-sig emerge -v =net-misc/megatools-1.11.3[/code] fails with:
File "/usr/lib/python3.13/site-packages/gemato/cli.py", line 138, in parse_args
    with open(args.openpgp_key, 'rb') as f:
         ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/openpgp-keys/ondrejjirman.asc'
 * ERROR: net-misc/megatools-1.11.3::gentoo failed (unpack phase):
 *   PGP signature verification failed

It works after copying the PGP key from https://xff.cz/key.txt to /usr/share/openpgp-keys/ondrejjirman.asc
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-02-17 17:42:05 UTC
The correct fix is to add the missing BDEPEND on sec-keys/openpgp-keys-ondrejjirman.
Comment 2 Larry the Git Cow gentoo-dev 2025-02-17 19:58:42 UTC
The bug has been closed via the following commit(s):

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

commit 855c4de155cdbceeb0275c061970ec8475aed5b4
Author:     John Helmert III <ajak@gentoo.org>
AuthorDate: 2025-02-17 19:55:01 +0000
Commit:     John Helmert III <ajak@gentoo.org>
CommitDate: 2025-02-17 19:58:19 +0000

    net-misc/megatools: add missing BDEPEND on keys package
    
    Closes: https://bugs.gentoo.org/949861
    Signed-off-by: John Helmert III <ajak@gentoo.org>

 net-misc/megatools/megatools-1.11.3.ebuild | 1 +
 1 file changed, 1 insertion(+)