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

Bug 704330

Summary: genkernel-4.0.0-2-g3f4aae3-git thin-provisioning-tools tries to use non-existent ksh
Product: Gentoo Hosted Projects Reporter: Robin Johnson <robbat2>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED FIXED    
Severity: normal CC: infra-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: sys-kernel:gentoo-infra-kernel-sources-4.19.91:20191230-220547.log.gz
gentoo-infra-kernel-sources-4.19.91.ebuild

Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2019-12-30 23:14:28 UTC
Created attachment 601974 [details]
sys-kernel:gentoo-infra-kernel-sources-4.19.91:20191230-220547.log.gz

Triggered this while trying to build a newer kernel for Gentoo infra.

genkernel call is wrapped in an ebuild that tries to produce a sterile environment.

*                 thin-provisioning-tools-0.8.5: >> Install to DESTDIR ...
COMMAND: nice -n10 make -j14 -l12 DESTDIR=/var/tmp/portage-tmpfs/portage/sys-kernel/gentoo-infra-kernel-sources-4.19.91/temp/tmp/gk.PFpYdn2u/thin-provisioning-tools.9ch2jNDk/image DATADIR=/var/tmp/portage-tmpfs/portage/sys-kernel/gentoo-infra-kernel-sources-4.19.91/temp/tmp/gk.PFpYdn2u/thin-provisioning-tools.9ch2jNDk/image/usr/share install
    [txt2man] man8/cache_check.txt
    [txt2man] man8/cache_dump.txt
    [txt2man] man8/cache_metadata_size.txt
    [txt2man] man8/cache_repair.txt
    [txt2man] man8/cache_restore.txt
    [txt2man] man8/cache_writeback.txt
bin/txt2man: line 2: exec: ksh: not found
    [txt2man] man8/thin_check.txt
    [txt2man] man8/thin_delta.txt
bin/txt2man: line 2: exec: ksh: not found
bin/txt2man: line 2: exec: ksh: not found
bin/txt2man: line 2: exec: ksh: not found
bin/txt2man: line 2: exec: ksh: not found
bin/txt2man: line 2: exec: ksh: not found
make: *** [Makefile:224: man8/cache_check.8] Error 127
make: *** Waiting for unfinished jobs....
make: *** [Makefile:224: man8/cache_metadata_size.8] Error 127
make: *** [Makefile:224: man8/cache_repair.8] Error 127
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2019-12-30 23:14:52 UTC
Created attachment 601976 [details]
gentoo-infra-kernel-sources-4.19.91.ebuild
Comment 2 Larry the Git Cow gentoo-dev 2019-12-31 02:41:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=c3afe9b0972272a1914dc981ba547a06ff693a38

commit c3afe9b0972272a1914dc981ba547a06ff693a38
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2019-12-31 02:27:58 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2019-12-31 02:35:31 +0000

    gkbuilds/thin-provisioning-tools: Don't generate man pages
    
    Package is shipping own txt2man utility which tries to use ksh in some
    situations causing a build failure when ksh isn't present.
    
    However, we don't need man pages. This commit will add a patch
    which will skip generation of man pages.
    
    Closes: https://bugs.gentoo.org/704330
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 ...thin-provisioning-tools-0.8.5-no-manpages.patch | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)