Bug 17817 - binutils 2.25 no longer builds without makeinfo
Summary: binutils 2.25 no longer builds without makeinfo
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.25
: P2 normal
Target Milestone: ---
Assignee: Alan Modra
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-08 18:54 UTC by Bernd Edlinger
Modified: 2015-02-11 13:30 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Edlinger 2015-01-08 18:54:33 UTC
I want to build a released binutils tar ball on an embedded linux system.
Without makeinfo, flex, bison etc.

Oreviously this was possible with some hickups.

with 2.24 it was possible to do this.
make && make -k install
the make install had some problems, but only after all tools were installed.


with 2.25 this happens:

make
...
/bin/bash ../../../binutils-2.25/bfd/doc/../../move-if-change init.tmp init.texi
touch init.stamp
./chew -f ../../../binutils-2.25/bfd/doc/doc.str < ../../../binutils-2.25/bfd/doc/../hash.c >hash.tmp
/bin/bash ../../../binutils-2.25/bfd/doc/../../move-if-change hash.tmp hash.texi
touch hash.stamp
./chew -f ../../../binutils-2.25/bfd/doc/doc.str < ../../../binutils-2.25/bfd/doc/../linker.c >linker.tmp
/bin/bash ../../../binutils-2.25/bfd/doc/../../move-if-change linker.tmp linker.texi
touch linker.stamp
./chew -f ../../../binutils-2.25/bfd/doc/doc.str < ../../../binutils-2.25/bfd/doc/../mmo.c >mmo.tmp
/bin/bash ../../../binutils-2.25/bfd/doc/../../move-if-change mmo.tmp mmo.texi
touch mmo.stamp
restore=: && backupdir=".am$$" && \
	rm -rf $backupdir && mkdir $backupdir && \
	if (/home/ed/gnu/x/binutils-2.25/missing makeinfo --split-size=5000000 --split-size=5000000 --version) >/dev/null 2>&1; then \
	  for f in bfd.info bfd.info-[0-9] bfd.info-[0-9][0-9] bfd.i[0-9] bfd.i[0-9][0-9]; do \
	    if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
	  done; \
	else :; fi && \
	if /home/ed/gnu/x/binutils-2.25/missing makeinfo --split-size=5000000 --split-size=5000000   -I ../../../binutils-2.25/bfd/doc \
	 -o bfd.info `test -f 'bfd.texinfo' || echo '../../../binutils-2.25/bfd/doc/'`bfd.texinfo; \
	then \
	  rc=0; \
	else \
	  rc=$?; \
	  $restore $backupdir/* `echo "./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.
make[3]: *** [bfd.info] Error 1
make[3]: Leaving directory `/home/ed/gnu/x/b/bfd/doc'
Making info in po
make[3]: Entering directory `/home/ed/gnu/x/b/bfd/po'
( if test 'x../../../binutils-2.25/bfd/po' != 'x.'; then \
	    posrcprefix='../../../binutils-2.25/bfd/'; \
	  else \
	    posrcprefix="../"; \
	  fi; \
	  rm -f SRC-POTFILES-t SRC-POTFILES \
	    && (sed -e '/^#/d' \
	            -e '/^[ 	]*$/d' \
		    -e "s@.*@	$posrcprefix& \\\\@" < ../../../binutils-2.25/bfd/po/SRC-POTFILES.in \
		| sed -e '$s/\\$//') > SRC-POTFILES-t \
	    && chmod a-w SRC-POTFILES-t \
	    && mv SRC-POTFILES-t SRC-POTFILES )
( rm -f BLD-POTFILES-t BLD-POTFILES \
	    && (sed -e '/^#/d' \
	            -e '/^[ 	]*$/d' \
		    -e "s@.*@	../& \\\\@" < ../../../binutils-2.25/bfd/po/BLD-POTFILES.in \
		| sed -e '$s/\\$//') > BLD-POTFILES-t \
	    && chmod a-w BLD-POTFILES-t \
	    && mv BLD-POTFILES-t BLD-POTFILES )
cd .. \
	  && CONFIG_FILES=po/Makefile.in:po/Make-in \
	     CONFIG_HEADERS= /bin/bash ./config.status
config.status: creating po/Makefile.in
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing bfd_stdint.h commands
config.status: executing default commands
make[3]: Leaving directory `/home/ed/gnu/x/b/bfd/po'
make[3]: Entering directory `/home/ed/gnu/x/b/bfd/po'
make[3]: Nothing to be done for `info'.
make[3]: Leaving directory `/home/ed/gnu/x/b/bfd/po'
make[3]: Entering directory `/home/ed/gnu/x/b/bfd'
make[3]: Nothing to be done for `info-am'.
make[3]: Leaving directory `/home/ed/gnu/x/b/bfd'
make[2]: *** [info-recursive] Error 1
make[2]: Leaving directory `/home/ed/gnu/x/b/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/home/ed/gnu/x/b'
make: *** [all] Error 2
Comment 1 Sourceware Commits 2015-01-12 10:27:27 UTC
The master branch has been updated by Alan Modra <amodra@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bba33ab1e0f7d2ebd8f8435f92ed12e2a3c558a4

commit bba33ab1e0f7d2ebd8f8435f92ed12e2a3c558a4
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Jan 12 20:24:12 2015 +1030

    Fix build without makeinfo from release binutils tar
    
    	PR 17817
    	* Makefile.am (aoutx.stamp): cp -p $srcdir/aoutx.texi to keep
    	timestamps so that makeinfo need not be installed.
    	(archive.stamp, archures.stamp, bfdt.stamp, cache.stamp,
    	coffcode.stamp, core.stamp, elf.stamp, elfcode.stamp, mmo.stamp,
    	format.stamp, libbfd.stamp, bfdio.stamp, bfdwin.stamp,
    	opncls.stamp, reloc.stamp, section.stamp, syms.stamp, targets.stamp,
    	init.stamp, hash.stamp, linker.stamp): Similarly.
    	(bfdver.texi): Use test rather than [ ] in commands.
    	* Makefile.in: Regenerate.
Comment 2 Sourceware Commits 2015-02-11 12:52:58 UTC
The binutils-2_25-branch branch has been updated by Alan Modra <amodra@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8587b581f7343890b759c75971081264decc6857

commit 8587b581f7343890b759c75971081264decc6857
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Jan 12 20:24:12 2015 +1030

    Fix build without makeinfo from release binutils tar
    
    	PR 17817
    	* Makefile.am (aoutx.stamp): cp -p $srcdir/aoutx.texi to keep
    	timestamps so that makeinfo need not be installed.
    	(archive.stamp, archures.stamp, bfdt.stamp, cache.stamp,
    	coffcode.stamp, core.stamp, elf.stamp, elfcode.stamp, mmo.stamp,
    	format.stamp, libbfd.stamp, bfdio.stamp, bfdwin.stamp,
    	opncls.stamp, reloc.stamp, section.stamp, syms.stamp, targets.stamp,
    	init.stamp, hash.stamp, linker.stamp): Similarly.
    	(bfdver.texi): Use test rather than [ ] in commands.
    	* Makefile.in: Regenerate.
Comment 3 Alan Modra 2015-02-11 13:30:19 UTC
fixed