Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 354589 - =sys-apps/texinfo-4.13-r{12} fails ( Missing help2man )
Summary: =sys-apps/texinfo-4.13-r{12} fails ( Missing help2man )
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 354691 429990 464062 464506 (view as bug list)
Depends on:
Blocks: 432282
  Show dependency tree
 
Reported: 2011-02-12 09:28 UTC by Alexey Sychev
Modified: 2013-10-06 15:37 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,50.72 KB, text/plain)
2011-02-12 09:29 UTC, Alexey Sychev
Details
adding help2man depend (texinfo-4.13-r1.ebuild.patch,2.79 KB, patch)
2011-02-12 10:21 UTC, Sergei Trofimovich (RETIRED)
Details | Diff
failed build on mipsel uclibc (build.log,51.07 KB, text/plain)
2013-03-28 21:14 UTC, Anthony Basile
Details
texinfo-4.13-r2 failed build log on x86 (build.log,65.35 KB, text/plain)
2013-04-01 08:54 UTC, cyberbat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Sychev 2011-02-12 09:28:07 UTC
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
Comment 1 Alexey Sychev 2011-02-12 09:29:42 UTC
Created attachment 262213 [details]
build.log
Comment 2 Agostino Sarubbo gentoo-dev 2011-02-12 09:46:37 UTC
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 :)
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2011-02-12 10:21:11 UTC
Created attachment 262217 [details, diff]
adding help2man depend

$DEP poped up as xz.patch touches install-info and forces .info regeneration with help2man
Comment 4 Silvio 2011-02-12 21:29:31 UTC
(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 5 SpanKY gentoo-dev 2011-02-12 22:41:42 UTC
Comment on attachment 262217 [details, diff]
adding help2man depend

better to avoid depends like this
Comment 7 SpanKY gentoo-dev 2011-02-13 07:10:09 UTC
*** Bug 354691 has been marked as a duplicate of this bug. ***
Comment 8 Anthony Basile gentoo-dev 2013-03-28 21:10:13 UTC
(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.
Comment 9 Anthony Basile gentoo-dev 2013-03-28 21:14:20 UTC
Created attachment 343556 [details]
failed build on mipsel uclibc
Comment 10 cyberbat 2013-04-01 08:54:56 UTC
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.
Comment 11 Anthony Basile gentoo-dev 2013-04-01 13:00:04 UTC
(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.
Comment 12 SpanKY gentoo-dev 2013-04-01 16:27:05 UTC
*** Bug 429990 has been marked as a duplicate of this bug. ***
Comment 13 SpanKY gentoo-dev 2013-04-01 16:27:07 UTC
*** Bug 464062 has been marked as a duplicate of this bug. ***
Comment 14 Rick Farina (Zero_Chaos) gentoo-dev 2013-04-04 04:14:57 UTC
*** Bug 464506 has been marked as a duplicate of this bug. ***
Comment 15 Zac Medico gentoo-dev 2013-04-04 05:43:12 UTC
(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
 }
Comment 16 Rick Farina (Zero_Chaos) gentoo-dev 2013-04-04 16:34:47 UTC
(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!
Comment 17 SpanKY gentoo-dev 2013-04-04 18:13:06 UTC
*** Bug 464062 has been marked as a duplicate of this bug. ***