Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230141 - texinfo 4.12 "can't get `--help' info from ../util/texi2pdf"
Summary: texinfo 4.12 "can't get `--help' info from ../util/texi2pdf"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Interix
: High normal (vote)
Assignee: Gentoo non-Linux Team
URL: http://lists.gnu.org/archive/html/bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-30 08:04 UTC by Markus Duft (RETIRED)
Modified: 2008-07-02 08:12 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Duft (RETIRED) gentoo-dev 2008-06-30 08:04:58 UTC
texinfo 4.8/4.11 build and install fine, but 4.12 gives the following (package.mask'ing it for now):

Making all in doc
make[2]: Entering directory `/opt/gentoo.binary.distribution-interix-6.0/var/tmp/portage/sys-apps/texinfo-4.12/work/texinfo-4.12/doc'
restore=: && backupdir=".am$$" && \
	rm -rf $backupdir && mkdir $backupdir && \
	if (..//makeinfo/makeinfo --version) >/dev/null 2>&1; then \
	  for f in texinfo texinfo-[0-9] texinfo-[0-9][0-9] texinfo.i[0-9] texinfo.i[0-9][0-9]; do \
	    if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
	  done; \
	else :; fi && \
	if ..//makeinfo/makeinfo   -I . \
	 -o texinfo `test -f 'texinfo.txi' || echo './'`texinfo.txi; \
	then \
	  rc=0; \
	else \
	  rc=$?; \
	  $restore $backupdir/* `echo "./texinfo" | sed 's|[^/]*$||'`; \
	fi; \
	rm -rf $backupdir; exit $rc
restore=: && backupdir=".am$$" && \
	rm -rf $backupdir && mkdir $backupdir && \
	if (..//makeinfo/makeinfo --version) >/dev/null 2>&1; then \
	  for f in info-stnd.info info-stnd.info-[0-9] info-stnd.info-[0-9][0-9] info-stnd.i[0-9] info-stnd.i[0-9][0-9]; do \
	    if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
	  done; \
	else :; fi && \
	if ..//makeinfo/makeinfo   -I . \
	 -o info-stnd.info `test -f 'info-stnd.texi' || echo './'`info-stnd.texi; \
	then \
	  rc=0; \
	else \
	  rc=$?; \
	  $restore $backupdir/* `echo "./info-stnd.info" | sed 's|[^/]*$||'`; \
	fi; \
	rm -rf $backupdir; exit $rc
restore=: && backupdir=".am$$" && \
	rm -rf $backupdir && mkdir $backupdir && \
	if (..//makeinfo/makeinfo --version) >/dev/null 2>&1; then \
	  for f in info.info info.info-[0-9] info.info-[0-9][0-9] info.i[0-9] info.i[0-9][0-9]; do \
	    if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
	  done; \
	else :; fi && \
	if ..//makeinfo/makeinfo   -I . \
	 -o info.info `test -f 'info.texi' || echo './'`info.texi; \
	then \
	  rc=0; \
	else \
	  rc=$?; \
	  $restore $backupdir/* `echo "./info.info" | sed 's|[^/]*$||'`; \
	fi; \
	rm -rf $backupdir; exit $rc
unset TEXI2DVI_BUILD_MODE; unset TEXI2DVI_BUILD_DIRECTORY; /bin/sh /opt/gentoo.binary.distribution-interix-6.0/var/tmp/portage/sys-apps/texinfo-4.12/work/texinfo-4.12/build-aux/missing --run help2man --name="convert Texinfo documents to DVI" ../util/texi2dvi >texi2dvi.1
unset TEXI2DVI_BUILD_MODE; unset TEXI2DVI_BUILD_DIRECTORY; /bin/sh /opt/gentoo.binary.distribution-interix-6.0/var/tmp/portage/sys-apps/texinfo-4.12/work/texinfo-4.12/build-aux/missing --run help2man --name="convert Texinfo documents to PDF" ../util/texi2pdf >texi2pdf.1
help2man: can't get `--help' info from ../util/texi2pdf
make[2]: *** [texi2pdf.1] Error 1
make[2]: Leaving directory `/opt/gentoo.binary.distribution-interix-6.0/var/tmp/portage/sys-apps/texinfo-4.12/work/texinfo-4.12/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/gentoo.binary.distribution-interix-6.0/var/tmp/portage/sys-apps/texinfo-4.12/work/texinfo-4.12'
make: *** [all] Error 2
Comment 1 Fabian Groffen gentoo-dev 2008-06-30 09:11:53 UTC
it may be using an invalid shebang
Comment 2 Markus Duft (RETIRED) gentoo-dev 2008-06-30 09:19:59 UTC
(In reply to comment #1)
> it may be using an invalid shebang

playing around in the fresh prefix i use, i get something like:

line 19: texi2dvi: command not found

the texi2dvi script is in the current dir, but i don't have . in PATH. i suspect this is the problem. maybe the ../util/texi2pdf would need to add . to PATH? uah.. hackish...
Comment 3 Michael Haubenwallner (RETIRED) gentoo-dev 2008-07-01 08:51:57 UTC
very same on AIX, maybe because while bootstrapping?
Comment 4 Michael Haubenwallner (RETIRED) gentoo-dev 2008-07-01 11:03:29 UTC
Upstream bug, triggered by prefix patch.

The trigger is the prefix.patch, which touches util/texi2{dvi,pdf}, and their manpages want to be recreated. When restoring their original timestamps, they're not recreated.

The upstream bug is that in doc/Makefile, PATH needs to be extended by ../util to let ../util/texi2pdf find ../util/texi2dvi for its --help output. This does not show up until texi2dvi is found somewhere else. Will report it upstream.
Comment 5 Michael Haubenwallner (RETIRED) gentoo-dev 2008-07-01 15:04:01 UTC
Fixed in r26688.

Upstream report: http://lists.gnu.org/archive/html/bug-texinfo/2008-07/msg00000.html
Comment 6 Fabian Groffen gentoo-dev 2008-07-01 19:07:22 UTC
Ok, you forgot to unmask though.

Weird enough my Interix 3.5 says it needs to downgrade texinfo-4.12 to 4.11 now, so apparently it was able to compile it somehow.
Comment 7 Michael Haubenwallner (RETIRED) gentoo-dev 2008-07-02 08:12:35 UTC
(In reply to comment #6)
> Ok, you forgot to unmask though.

Ohw, used the latest snapshot to bootstrap on AIX, and there it wasn't masked.

> Weird enough my Interix 3.5 says it needs to downgrade texinfo-4.12 to 4.11
> now, so apparently it was able to compile it somehow.

Maybe during initial bootstrap, you had 4.11 already. And when there's some 'texi2dvi' available, the problem doesn't appear.

Btw: fixed upstream now.