Bug 30899

Summary: [4.2/4.3 Regression] build failure with --enable-generated-files-in-srcdir
Product: gcc Reporter: Debian GCC Maintainers <debian-gcc>
Component: bootstrapAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED FIXED    
Severity: normal CC: gcc-bugs, tromey
Priority: P3 Keywords: build
Version: 4.3.0   
Target Milestone: 4.2.0   
Host: Target:
Build: Known to work:
Known to fail: Last reconfirmed:

Description Debian GCC Maintainers 2007-02-20 22:49:24 UTC
trunk 20070221, configured with

  Matthias

../trunk/configure --prefix=/home/packages/gcc/svn/tst/install --enable-languages=java --disable-static --enable-generated-files-in-srcdir

if test "xinfo" = xinfo; then \
          rm -f doc/gcj.info*; \
          makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000 --no-split -I ../../trunk/gcc/doc/include -o doc/gcj.info ../../trunk/gcc/java/gcj.texi; \
        else true; fi
cp -p doc/cpp.info doc/gcc.info doc/gccint.info ../../trunk/gcc/doc/gccinstall.info doc/cppinternals.info ../../trunk/gcc/doc
cp: `../../trunk/gcc/doc/gccinstall.info' and `../../trunk/gcc/doc/gccinstall.info' are the same file
make[3]: [srcinfo] Error 1 (ignored)
cp -p doc/gcj.info ../../trunk/gcc/doc
cp doc/gcc.1 doc/g++.1
cp: cannot stat `doc/gcc.1': No such file or directory
make[3]: *** [doc/g++.1] Error 1
make[3]: Leaving directory `/home/packages/gcc/svn/tst/build/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/home/packages/gcc/svn/tst/build'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/home/packages/gcc/svn/tst/build'
make: *** [all] Error 2
Comment 1 Mark Mitchell 2007-03-13 23:49:00 UTC
Subject: Bug 30899

Author: mmitchel
Date: Tue Mar 13 23:48:49 2007
New Revision: 122888

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122888
Log:
	PR bootstrap/30899
	* Make-lang.in (doc/g++.1): Use $< to specify the location from
	which to copy.

Modified:
    branches/gcc-4_2-branch/gcc/cp/ChangeLog

Comment 2 Mark Mitchell 2007-03-13 23:50:31 UTC
Fixed in 4.2.0, 4.3.0.
Comment 3 Mark Mitchell 2007-03-13 23:51:17 UTC
Subject: Bug 30899

Author: mmitchel
Date: Tue Mar 13 23:51:07 2007
New Revision: 122890

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122890
Log:
	PR bootstrap/30899
	* Make-lang.in (doc/g++.1): Use $< to specify the location from
	which to copy.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/Make-lang.in