Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48995 - GCC 3.4.0 fails to install
Summary: GCC 3.4.0 fails to install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-25 20:52 UTC by David Nielsen
Modified: 2004-05-14 14:03 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 David Nielsen 2004-04-25 20:52:13 UTC
/bin/install -c -m 755 cpp /var/tmp/portage/gcc-3.4.0/image//usr//cpp: \
else true; fi
cp doc/gcc.1 doc/g++.1
cp: cannot stat `doc/gcc.1`: no such file or directory
make[1]: ***  [doc/g++.1] Error 1
make[1}: Leaving directory `/var/tmp/portage/gcc-3.4.0/work/build/gcc`
make: *** [install-gcc] Error 2

This bug was cleared with lv on IRC, as it happens with his masked ebuild in portage as well.

Reproducible: Always
Steps to Reproduce:
1.unmask gcc 3.4.0 prerelease
2.emerge gcc
3.
Comment 1 Travis Tilley (RETIRED) gentoo-dev 2004-04-25 20:57:53 UTC
i think we've figured out that this is a bootstrap bug. install perl and try again. if problems persist, let us know. :)
Comment 2 Travis Tilley (RETIRED) gentoo-dev 2004-04-25 21:06:28 UTC
errrrr..... that is, install gcc 3.3.3-r3 so that you can compile C++ code and compile perl
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2004-04-26 15:54:33 UTC
You removed all the code for the pre-created manpages - go figures it will
blow up.  Can you maybe use 3.3.3-r3 and try to keep the build fairly
intact with gcc-3.4.0-manpages.tar.bz2 included?
Comment 4 Travis Tilley (RETIRED) gentoo-dev 2004-04-27 11:08:17 UTC
re-added manpages.
Comment 5 Travis Tilley (RETIRED) gentoo-dev 2004-04-28 10:15:53 UTC
this should be fixed now. feel free to re-open this bug if you continue to have problems.
Comment 6 Stephen Bennett (RETIRED) gentoo-dev 2004-05-14 14:03:46 UTC
Still happening on x86 with 3.4.0-r2 (in bootstrap).

Bootstrap can be made to succeed by adding to the beginning of src_install:

use bootstrap && touch ${WORKDIR}/build/gcc/doc/gcc.1

The manpages are present in $WORKDIR/gcc/doc/, but not in $WORKDIR/build/gcc/doc, which is where src_install is looking for them.