emerge sys-apps/texinfo-4.13-r1 failed with warnings about help2man Reproducible: Always Steps to Reproduce: 1. emerge sys-apps/texinfo-4.13-r1 Actual Results: emake failed * ERROR: sys-apps/texinfo-4.13-r1 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2647: Called die * The specific snippet of code: * emake || die * * If you need support, post the output of 'emerge --info =sys-apps/texinfo-4.13-r1', * the complete build log and the output of 'emerge -pqv =sys-apps/texinfo-4.13-r1'. * The complete build log is located at '/var/tmp/portage/sys-apps/texinfo-4.13-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/texinfo-4.13-r1/temp/environment'. * S: '/var/tmp/portage/sys-apps/texinfo-4.13-r1/work/texinfo-4.13' >>> Failed to emerge sys-apps/texinfo-4.13-r1, Log file: >>> '/var/tmp/portage/sys-apps/texinfo-4.13-r1/temp/build.log' Updating man page install-info.1 cd ..//install-info && make ginstall-info /var/tmp/portage/sys-apps/texinfo-4.13-r1/work/texinfo-4.13/build-aux/missing: line 54: help2man: command not found make[3]: Entering directory `/var/tmp/portage/sys-apps/texinfo-4.13-r1/work/texinfo-4.13/install-info' make[3]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. WARNING: `help2man' is missing on your system. You should only need it if you modified a dependency of a manual page. You may need the `Help2man' package in order for those modifications to take effect. You can get `Help2man' from any GNU archive site. make[3]: `ginstall-info' is up to date. make[3]: Leaving directory `/var/tmp/portage/sys-apps/texinfo-4.13-r1/work/texinfo-4.13/install-info' /bin/sh /var/tmp/portage/sys-apps/texinfo-4.13-r1/work/texinfo-4.13/build-aux/missing --run help2man --name="update info/dir entries" ..//install-info/ginstall-info -o install-info.1 make[2]: *** [texi2dvi.1] Error 1 make[2]: *** Waiting for unfinished jobs.... /var/tmp/portage/sys-apps/texinfo-4.13-r1/work/texinfo-4.13/build-aux/missing: line 54: help2man: command not found WARNING: `help2man' is missing on your system. You should only need it if you modified a dependency of a manual page. You may need the `Help2man' package in order for those modifications to take effect. You can get `Help2man' from any GNU archive site. make[2]: Leaving directory `/var/tmp/portage/sys-apps/texinfo-4.13-r1/work/texinfo-4.13/doc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-apps/texinfo-4.13-r1/work/texinfo-4.13' make: *** [all] Error 2
Created attachment 262213 [details] build.log
devil ago # qfile help2man sys-apps/help2man (/usr/bin/help2man) Try to install help2man and it should go fine. @base-system, please add it to depend :)
Created attachment 262217 [details, diff] adding help2man depend $DEP poped up as xz.patch touches install-info and forces .info regeneration with help2man
(In reply to comment #3) > Created an attachment (id=262217) [details] > adding help2man depend > > $DEP poped up as xz.patch touches install-info and forces .info regeneration > with help2man > I confirm bug and solution.
Comment on attachment 262217 [details, diff] adding help2man depend better to avoid depends like this
http://sources.gentoo.org/sys-apps/texinfo/texinfo-4.13-r1.ebuild?r1=1.1&r2=1.2
*** Bug 354691 has been marked as a duplicate of this bug. ***
(In reply to comment #6) > http://sources.gentoo.org/sys-apps/texinfo/texinfo-4.13-r1.ebuild?r1=1. > 1&r2=1.2 For some reason, this fix doesn't work on mips-uclibc. There I'm finding the build dying with what appears to be a race condition (happens about 50% of the time) during catalyst builds mostly at stage2 but I've seen it happen at stage1 and 3. If I manually go in and touch those files after the failure, the build continues fine.
Created attachment 343556 [details] failed build on mipsel uclibc
Created attachment 343906 [details] texinfo-4.13-r2 failed build log on x86 texinfo-4.13-r2 emerging is still failing with help2man missing errors on x86.
(In reply to comment #10) > Created attachment 343906 [details] > texinfo-4.13-r2 failed build log on x86 > > texinfo-4.13-r2 emerging is still failing with help2man missing errors on > x86. This doesn't surprise me. I just added that it was on mips-uclibc for completeness, but there is no arch or libc dependency to this bug that I can see. I think its some kind of a race because I don't hit it all the time.
*** Bug 429990 has been marked as a duplicate of this bug. ***
*** Bug 464062 has been marked as a duplicate of this bug. ***
*** Bug 464506 has been marked as a duplicate of this bug. ***
(In reply to comment #8) > (In reply to comment #6) > > http://sources.gentoo.org/sys-apps/texinfo/texinfo-4.13-r1.ebuild?r1=1. > > 1&r2=1.2 > > For some reason, this fix doesn't work on mips-uclibc. There I'm finding > the build dying with what appears to be a race condition (happens about 50% > of the time) during catalyst builds mostly at stage2 but I've seen it happen > at stage1 and 3. If I manually go in and touch those files after the > failure, the build continues fine. It broke in this commit from bug #457556 since ${P}-tinfo.patch touched configure.ac: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/texinfo/texinfo-4.13-r2.ebuild?view=log#rev1.2 I've committed this fix to cvs: Index: texinfo-4.13-r2.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-apps/texinfo/texinfo-4.13-r2.ebuild,v retrieving revision 1.9 diff -u -b -B -r1.9 texinfo-4.13-r2.ebuild --- texinfo-4.13-r2.ebuild 2 Apr 2013 13:18:41 -0000 1.9 +++ texinfo-4.13-r2.ebuild 4 Apr 2013 05:35:36 -0000 @@ -26,12 +26,13 @@ epatch "${FILESDIR}"/${P}-xz.patch #269742 touch doc/install-info.1 #354589 epatch "${FILESDIR}"/${P}-texi2dvi-regexp-range.patch #311885 - touch doc/{texi2dvi,texi2pdf,pdftexi2dvi}.1 #354589 epatch "${FILESDIR}"/${P}-accentenc-test.patch # waiting to be sent upstream for my copyright assignment form to be # ready - Flameeyes epatch "${FILESDIR}"/${P}-docbook.patch epatch "${FILESDIR}"/${P}-tinfo.patch #457556 + # timestamps must be newer than configure.ac touched by ${P}-tinfo.patch + touch doc/{texi2dvi,texi2pdf,pdftexi2dvi}.1 #354589 }
(In reply to comment #15) > I've committed this fix to cvs: > retrieving revision 1.9 > diff -u -b -B -r1.9 texinfo-4.13-r2.ebuild > --- texinfo-4.13-r2.ebuild 2 Apr 2013 13:18:41 -0000 1.9 > +++ texinfo-4.13-r2.ebuild 4 Apr 2013 05:35:36 -0000 > @@ -26,12 +26,13 @@ > epatch "${FILESDIR}"/${P}-xz.patch #269742 > touch doc/install-info.1 #354589 > epatch "${FILESDIR}"/${P}-texi2dvi-regexp-range.patch #311885 > - touch doc/{texi2dvi,texi2pdf,pdftexi2dvi}.1 #354589 > epatch "${FILESDIR}"/${P}-accentenc-test.patch > # waiting to be sent upstream for my copyright assignment form to be > # ready - Flameeyes > epatch "${FILESDIR}"/${P}-docbook.patch > epatch "${FILESDIR}"/${P}-tinfo.patch #457556 > + # timestamps must be newer than configure.ac touched by > ${P}-tinfo.patch > + touch doc/{texi2dvi,texi2pdf,pdftexi2dvi}.1 #354589 > } This seems to work properly. My builds are moving again. I will let the assignees close when they are ready but I approve. thanks!