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

Bug 409063

Summary: FreeBSD 9 bootstrap procedure broken by sys-devel/flex build failure [latest_tree]
Product: Gentoo/Alt Reporter: Richard Yao (RETIRED) <ryao>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: sys-devel/flex-2.5.35 build failure
sys-apps/help2man-1.40.7 build.log from failure

Description Richard Yao (RETIRED) gentoo-dev 2012-03-20 20:51:12 UTC
Created attachment 306049 [details]
sys-devel/flex-2.5.35 build failure

help2man is missing, which breaks flex when building with latest_tree

Installing help2man via ports will install it into /usr/local/bin/help2man and adding /usr/local/bin to $PATH will fix the flex failure, but cause sys-apps/help2man-1.40.7 to fail due to a /usr/local/bin/perl shebang:

 * QA Notice: the following files use invalid (possible non-prefixed) shebangs:
 *   root/gentoo/usr/bin/help2man:/usr/local/bin/perl (script help2man installed in PATH but interpreter /usr/local/bin/perl not found)
 * ERROR: sys-apps/help2man-1.40.7 failed:
 *   Aborting due to QA concerns: invalid shebangs found
 *
 * Call stack:
 *   misc-functions.sh, line 1748:  Called install_qa_check
 *   misc-functions.sh, line  210:  Called install_qa_check_prefix
 *   misc-functions.sh, line  893:  Called die
 * The specific snippet of code:
 *              die "Aborting due to QA concerns: invalid shebangs found"
 *
 * If you need support, post the output of 'emerge --info =sys-apps/help2man-1.40.7',
 * the complete build log and the output of 'emerge -pqv =sys-apps/help2man-1.40.7'.
 * The complete build log is located at '/root/gentoo/var/tmp/portage/sys-apps/help2man-1.40.7/temp/build.log'.
 * The ebuild environment file is located at '/root/gentoo/var/tmp/portage/sys-apps/help2man-1.40.7/temp/environment'.
 * S: '/root/gentoo/var/tmp/portage/sys-apps/help2man-1.40.7/work/help2man-1.40.7'
!!! post install failed; exiting.
Comment 1 Fabian Groffen gentoo-dev 2012-03-24 14:23:57 UTC
configure says:
checking for help2man... help2man

but your build says:
help2man: command not found
Comment 2 Richard Yao (RETIRED) gentoo-dev 2012-03-27 19:51:22 UTC
Created attachment 306903 [details]
sys-apps/help2man-1.40.7 build.log from failure

I just tried this inside a Gentoo/FreeBSD chroot where help2man is already provided and I get the following failure.

I am looking into what the configure script does.
Comment 3 Richard Yao (RETIRED) gentoo-dev 2012-03-27 20:53:44 UTC
I can no longer reproduce the flex issue in latest_tree, but the help2man issue is still present.
Comment 4 Richard Scott 2012-05-21 14:09:15 UTC
I've just had an issue upgradding flex from:
sys-devel/flex-2.5.35_p10 [2.5.35]

It needed to have CVS installed before I could install flex!
Comment 5 Fabian Groffen gentoo-dev 2012-08-10 09:42:04 UTC

*** This bug has been marked as a duplicate of bug 429990 ***