public inbox for gentoo-alt@lists.gentoo.org
 help / color / mirror / Atom feed
From: yegle <cnyegle@gmail.com>
To: gentoo-alt@lists.gentoo.org
Subject: Re: [gentoo-alt] What's the status of gentoo-prefix on latest Ubuntu/Debian?
Date: Sun, 22 Sep 2013 01:14:20 -0400	[thread overview]
Message-ID: <490700F6-C39F-453C-80D2-AD7E77F97F55@gmail.com> (raw)
In-Reply-To: <86zjr5efeb.fsf@moguhome00.in.awa.tohoku.ac.jp>

[-- Attachment #1: Type: text/plain, Size: 1689 bytes --]

Hi Benda,

Glad to know there's a bootstrap script for creating prefix/libc.

I tried the bootstrap script on Ubuntu 12.04 64bit, and here's some extra steps I used:

1. Modify the bootstrap-rap.sh script, change the freens.org domain name to gentooexperiments.org
2. Modify the bootstrap-rap.sh script, bypass the check for Ubuntu version
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
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)
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)
6. Edit portage-2.2.01.22124-r1.ebuild, change the code related to removing sed wrapper to look like this:

    if use userland_GNU; then
        rm "${ED}"${portage_base/lib64/lib}/bin/ebuild-helpers/bsd/sed || die "Failed to remove sed wrapper"                                          
    fi

After that, most thing works for me. Thank you Benda for the RAP project :-)


On Sep 21, 2013, at 10:53 PM, heroxbd@gmail.com wrote:

> Yes, that should work, but it's not tested. (redlizard is running a
> Debian, but it is an old version without multiarch.)
> 
> Yegle, you are encouraged to test out the RAP. We'd be happy to help
> supporting multiarch.
> 
>       http://article.gmane.org/gmane.linux.gentoo.alt/6663


[-- Attachment #2: Type: text/html, Size: 7082 bytes --]

  reply	other threads:[~2013-09-22  5:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-19 22:06 [gentoo-alt] What's the status of gentoo-prefix on latest Ubuntu/Debian? yegle
2013-09-20  8:14 ` Fabian Groffen
2013-09-22  2:53   ` heroxbd
2013-09-22  5:14     ` yegle [this message]
2013-09-22 23:49       ` Benda Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=490700F6-C39F-453C-80D2-AD7E77F97F55@gmail.com \
    --to=cnyegle@gmail.com \
    --cc=gentoo-alt@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox