Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 627398

Summary: sys-kernel/genkernel bundled gnupg-1.4.11 (for -genkernel --gpg) won't build on current systems
Product: Gentoo Hosted Projects Reporter: Ben Kohler <bkohler>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED FIXED    
Severity: normal CC: bkohler, tsmksubc
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: "genkernel --gpg --no-install initramfs" output on stable amd64
same genkernel command after fix

Description Ben Kohler gentoo-dev 2017-08-09 13:21:26 UTC
Created attachment 488400 [details]
"genkernel --gpg --no-install initramfs" output on stable amd64

The version of gnupg bundled with all recent genkernel versions is 1.4.11 and is too old to build on any current stable or unstable version.  I can try to track down the exact incompatibility and where it's fixed, but I can confirm already that bumping it to 1.4.21 in genkernel.conf works fine.

Thanks!
Comment 1 Ben Kohler gentoo-dev 2017-08-09 13:30:10 UTC
Created attachment 488402 [details]
same genkernel command after fix

And here's the successful build output after setting GPG_VER="1.4.21" in genkernel.conf and fetching the required tarball into /usr/share/genkernel/distfiles
Comment 2 Larry the Git Cow gentoo-dev 2017-09-03 06:44:25 UTC
Bug has been closed via the following commit:
    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed4c4b10e62a57129bb7da924f850e65bdf47b71

    commit ed4c4b10e62a57129bb7da924f850e65bdf47b71
Author:     Robin H. Johnson <robbat2@gentoo.org>
AuthorDate: 2017-09-03 06:34:32 +0000
Commit:     Robin H. Johnson <robbat2@gentoo.org>
CommitDate: 2017-09-03 06:44:08 +0000

    sys-kernel/genkernel: bump, lots of improvements
    
    - Improvements to the bincache system.
    - Updates initramfs tools to ensure they compile on ~arch glibc.
    -- busybox 1.27.2
    -- mdadm 4.0
    -- lvm 2.02.173
    -- gpg 1.4.22
    
    The following not well tested with new glibc at this time:
    - dmraid
    - fuse
    - iscsi
    - unionfs-fuse
    
    Closes: https://bugs.gentoo.org/442078
    Closes: https://bugs.gentoo.org/524346
    Closes: https://bugs.gentoo.org/596540
    Closes: https://bugs.gentoo.org/627398
    Closes: https://bugs.gentoo.org/628020
    Closes: https://bugs.gentoo.org/609342
    Package-Manager: Portage-2.3.6, Repoman-2.3.3

 sys-kernel/genkernel/Manifest                 |   5 +
 sys-kernel/genkernel/genkernel-3.5.2.0.ebuild | 165 ++++++++++++++++++++++++++
 sys-kernel/genkernel/genkernel-9999.ebuild    |  17 +--
 3 files changed, 179 insertions(+), 8 deletions(-)