nicolasbock / ebuildtester

A dockerized approach to test a Gentoo package within a clean stage3
http://ebuildtester.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
33 stars 16 forks source link

binhost issue with default Gentoo binhost #215

Closed stkw0 closed 5 months ago

stkw0 commented 1 year ago

Now Gentoo stage3 provides a default binhost. If getbinpkg FEATURE is enabled portage will try to use first the default binhost, which requires setting up the keys. Because of that currently if trying to use ebuildtester with a binhost it gives the next error:

2023-11-21 12:06:58,184 - 8d60ee (stderr): !!!
2023-11-21 12:06:58,184 - 8d60ee (stderr): gpg: keyblock resource '/etc/portage/gnupg/pubring.kbx': No such file or directory
2023-11-21 12:06:58,184 - 8d60ee (stderr): [GNUPG:] ERROR add_keyblock_resource 33587281
2023-11-21 12:06:58,184 - 8d60ee (stderr): [GNUPG:] PLAINTEXT 74 0
2023-11-21 12:06:58,184 - 8d60ee (stderr): [GNUPG:] NEWSIG
2023-11-21 12:06:58,184 - 8d60ee (stderr): gpg: Signature made Sat Nov  4 17:21:50 2023 -00
2023-11-21 12:06:58,184 - 8d60ee (stderr): gpg:                using RSA key 534E4209AB49EEE1C19D96162C44695DB9F6043D
2023-11-21 12:06:58,184 - 8d60ee (stderr): [GNUPG:] ERROR keydb_search 33554445
2023-11-21 12:06:58,184 - 8d60ee (stderr): [GNUPG:] ERROR keydb_search 33554445
2023-11-21 12:06:58,184 - 8d60ee (stderr): [GNUPG:] ERRSIG 2C44695DB9F6043D 1 10 01 1699118510 9 534E4209AB49EEE1C19D96162C44695DB9F6043D
2023-11-21 12:06:58,184 - 8d60ee (stderr): [GNUPG:] NO_PUBKEY 2C44695DB9F6043D
2023-11-21 12:06:58,184 - 8d60ee (stderr): gpg: Can't check signature: No public key
2023-11-21 12:06:58,185 - 8d60ee (stderr): gpg: can't create `/etc/portage/gnupg/random_seed': No such file or directory
2023-11-21 12:06:58,185 - 8d60ee (stderr): !!! Invalid binary package: '/var/cache/binpkgs/dev-python/sip/sip-6.7.12-3.gpkg.tar.partial', GPG verify failed