1 |
I'm trying to bootstrap a prefix on an amd64 Red Hat 6 host. I |
2 |
followed the instructions online |
3 |
|
4 |
http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml |
5 |
|
6 |
which seem to have worked up to the stage3 part. During the stage3 |
7 |
bootstrap, portage tries to install "gcc-config", which fails with the |
8 |
following error message |
9 |
|
10 |
>>> Compiling source in .../var/tmp/portage/sys-devel/gcc-config-1.8-r00.1/work/gcc-config-1.8 ... |
11 |
make EPREFIX=... CC=x86_64-pc-linux-gnu-gcc |
12 |
make: *** No rule to make target `wrapper.c.in', needed by `wrapper.c'. Stop. |
13 |
emake failed |
14 |
|
15 |
Comparing the code for gcc-config in portage to that in gcc-config's |
16 |
git repo, it seems that the prefix-specific patch |
17 |
|
18 |
files/gcc-config-prefix-1.8-r221.patch |
19 |
|
20 |
is somehow related to the problem. Is it possible that this patch is |
21 |
just no longer necessary? A recent commit in gcc-config's repo make |
22 |
me think that's true |
23 |
|
24 |
commit deaecbb404c8a60f9aec3bc85a4fc1621a561687 |
25 |
Author: Fabian Groffen <grobian@g.o> |
26 |
Date: Sat Jan 5 17:12:34 2013 +0100 |
27 |
|
28 |
make aware of EPREFIX offset prefix |
29 |
|
30 |
- changed Makefile to expand @GENTOO_EPREFIX@ for gcc-config |
31 |
- defined EPREFIX and EROOT in gcc-config, and used them |
32 |
- made wrapper look in the offset for files |
33 |
|
34 |
Signed-off-by: Fabian Groffen <grobian@g.o> |
35 |
Signed-off-by: Mike Frysinger <vapier@g.o> |