Gentoo Archives: gentoo-alt

From: yegle <cnyegle@×××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] What's the status of gentoo-prefix on latest Ubuntu/Debian?
Date: Sun, 22 Sep 2013 05:14:27
Message-Id: 490700F6-C39F-453C-80D2-AD7E77F97F55@gmail.com
In Reply to: Re: [gentoo-alt] What's the status of gentoo-prefix on latest Ubuntu/Debian? by heroxbd@gmail.com
1 Hi Benda,
2
3 Glad to know there's a bootstrap script for creating prefix/libc.
4
5 I tried the bootstrap script on Ubuntu 12.04 64bit, and here's some extra steps I used:
6
7 1. Modify the bootstrap-rap.sh script, change the freens.org domain name to gentooexperiments.org
8 2. Modify the bootstrap-rap.sh script, bypass the check for Ubuntu version
9 3. Edit gcc-4.7.3.ebuild and add "export LD_LIBRARY_PATH=$EPREFIX/usr/lib64" when bootstrapping gcc in stage3. If not, cc1 can't find libgmp.so.X
10 4. Edit make.conf and add "CFLAGS=-L/usr/lib/x86_64-linux-gnu/". If not, emerge perl in stage3 would fail in configuration (compiler complain that -ldb not found)
11 5. Edit "Lib/plat-linux2/regen" file when emerging python {2.7.5,3.3.2} in stage3 because "sys/types.h" header in Debian/Ubuntu multiarch locates in /usr/include/x86_64-linux-gnu/sys/types.h (I just ctrl+z'ed the emerge process and edit the corresponding file, then fg to resume emerging)
12 6. Edit portage-2.2.01.22124-r1.ebuild, change the code related to removing sed wrapper to look like this:
13
14 if use userland_GNU; then
15 rm "${ED}"${portage_base/lib64/lib}/bin/ebuild-helpers/bsd/sed || die "Failed to remove sed wrapper"
16 fi
17
18 After that, most thing works for me. Thank you Benda for the RAP project :-)
19
20
21 On Sep 21, 2013, at 10:53 PM, heroxbd@×××××.com wrote:
22
23 > Yes, that should work, but it's not tested. (redlizard is running a
24 > Debian, but it is an old version without multiarch.)
25 >
26 > Yegle, you are encouraged to test out the RAP. We'd be happy to help
27 > supporting multiarch.
28 >
29 > http://article.gmane.org/gmane.linux.gentoo.alt/6663

Replies

Subject Author
Re: [gentoo-alt] What's the status of gentoo-prefix on latest Ubuntu/Debian? Benda Xu <heroxbd@×××××.com>