texinfo 4.11 breaks binutils (at least)
Chris MacGregor
chris@bouncingdog.com
Sun Dec 2 19:17:00 GMT 2007
Building on Fedora 7, a relatively recent update brought texinfo 4.11
(Fedora's 4.11-1, though 4.11-2 is no better), replacing the 4.8-15
previously in place. This broke building binutils (2.17).
A non-exhaustive look through the relevant configure scripts did not
yield an explanation. Does anyone happen to already have or know of a
patch for this?
The symptom is that in the top-level configure, makeinfo is detected as
usual, but in the libiberty configure, it inexplicably decides that
makeinfo is missing:
...
checking where to find the target ranlib... just compiled
checking where to find the target strip... just compiled
checking where to find the target windres... just compiled
checking whether to enable maintainer-specific portions of Makefiles... no
updating cache ./config.cache
creating ./config.status
creating Makefile
+ make -j1 all
make[1]: Entering directory
`/export/toolchain1/new-tools/build-mipsel-071118-1835/crosstool-0.43/build/mipsel-digeo-linux/gcc-3.4.6-glibc-2.3.6/build-binutils'
make[2]: Entering directory
`/export/toolchain1/new-tools/build-mipsel-071118-1835/crosstool-0.43/build/mipsel-digeo-linux/gcc-3.4.6-glibc-2.3.6/build-binutils'
mkdir -p -- ./libiberty
Configuring in ./libiberty
configure: creating cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo...
/export/toolchain1/new-tools/build-mipsel-071118-1835/crosstool-0.43/build/mipsel-digeo-linux/gcc-3.4.6-glibc-2.3.6/binutils-2.17/missing
makeinfo --split-size=5000000
configure: WARNING:
*** Makeinfo is missing. Info documentation will not be built.
checking for perl... perl
checking build system type... x86_64-host_unknown-linux-gnu
checking host system type... x86_64-host_unknown-linux-gnu
checking for x86_64-host_unknown-linux-gnu-ar... ar
checking for x86_64-host_unknown-linux-gnu-ranlib... ranlib
checking for x86_64-host_unknown-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
...
and later bombs out with:
...
if
/export/toolchain1/new-tools/build-mipsel-071118-1835/crosstool-0.43/build/mipsel-digeo-linux/gcc-3.4.6-glibc-2.3.6/binutils-2.17/missing
makeinfo --split-size=5000000 --split-size=500\
0000 -I
/export/toolchain1/new-tools/build-mipsel-071118-1835/crosstool-0.43/build/mipsel-digeo-linux/gcc-3.4.6-glibc-2.3.6/binutils-2.17/bfd/doc
\
-o
/export/toolchain1/new-tools/build-mipsel-071118-1835/crosstool-0.43/build/mipsel-digeo-linux/gcc-3.4.6-glibc-2.3.6/binutils-2.17/bfd/doc/bfd.info
/export/toolchain1/new-tools/build-m\
ipsel-071118-1835/crosstool-0.43/build/mipsel-digeo-linux/gcc-3.4.6-glibc-2.3.6/binutils-2.17/bfd/doc/bfd.texinfo;
\
then \
rc=0; \
cd
/export/toolchain1/new-tools/build-mipsel-071118-1835/crosstool-0.43/build/mipsel-digeo-linux/gcc-3.4.6-glibc-2.3.6/binutils-2.17/bfd/doc;
\
else \
rc=$?; \
cd
/export/toolchain1/new-tools/build-mipsel-071118-1835/crosstool-0.43/build/mipsel-digeo-linux/gcc-3.4.6-glibc-2.3.6/binutils-2.17/bfd/doc
&& \
$restore $backupdir/* `echo
".//export/toolchain1/new-tools/build-mipsel-071118-1835/crosstool-0.43/build/mipsel-digeo-linux/gcc-3.4.6-glibc-2.3.6/binutils-2.17/bfd/doc/bfd.info"
| sed \
's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
WARNING: `makeinfo' is missing on your system. You should only need it if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy `make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package or
the `GNU make' package. Grab either from any GNU archive site.
mv: cannot move `.am15243/bfd.info' to
`.//export/toolchain1/new-tools/build-mipsel-071118-1835/crosstool-0.43/build/mipsel-digeo-linux/gcc-3.4.6-glibc-2.3.6/binutils-2.17/bfd/doc/':
No such file\
or directory
make[4]: ***
[/export/toolchain1/new-tools/build-mipsel-071118-1835/crosstool-0.43/build/mipsel-digeo-linux/gcc-3.4.6-glibc-2.3.6/binutils-2.17/bfd/doc/bfd.info]
Error 1
make[4]: Leaving directory
`/export/toolchain1/new-tools/build-mipsel-071118-1835/crosstool-0.43/build/mipsel-digeo-linux/gcc-3.4.6-glibc-2.3.6/build-binutils/bfd/doc'
Making info in po
make[4]: Entering directory
`/export/toolchain1/new-tools/build-mipsel-071118-1835/crosstool-0.43/build/mipsel-digeo-linux/gcc-3.4.6-glibc-2.3.6/build-binutils/bfd/po'
( if test
'x/export/toolchain1/new-tools/build-mipsel-071118-1835/crosstool-0.43/build/mipsel-digeo-linux/gcc-3.4.6-glibc-2.3.6/binutils-2.17/bfd/po'
!= 'x.'; then \
posrcprefix='/export/toolchain1/new-tools/build-mipsel-071118-1835/crosstool-0.43/build/mipsel-digeo-linux/gcc-3.4.6-glibc-2.3.6/binutils-2.17/bfd/';
\
else \
posrcprefix="../"; \
fi; \
rm -f SRC-POTFILES-t SRC-POTFILES \
&& (sed -e '/^#/d' \
-e '/^[ ]*$/d' \
-e "s@.*@ $posrcprefix& \\\\@" <
/export/toolchain1/new-tools/build-mipsel-071118-1835/crosstool-0.43/build/mipsel-digeo-linux/gcc-3.4.6-glibc-2.3.6/binutils-2.17/bfd/po/SRC\
-POTFILES.in \
| sed -e '$s/\\$//') > SRC-POTFILES-t \
&& chmod a-w SRC-POTFILES-t \
&& mv SRC-POTFILES-t SRC-POTFILES )
...
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list