* [gentoo-alt] What's the status of gentoo-prefix on latest Ubuntu/Debian? @ 2013-09-19 22:06 yegle 2013-09-20 8:14 ` Fabian Groffen 0 siblings, 1 reply; 5+ messages in thread From: yegle @ 2013-09-19 22:06 UTC (permalink / raw To: gentoo-alt@lists.gentoo.org [-- Attachment #1: Type: text/plain, Size: 285 bytes --] I just found that the bootstrap script refuses to run on Ubuntu >=11.04 and Debian >=7. http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/scripts/bootstrap-prefix.sh#L1289 So is it still impossible or any progress on this? Thank you. -- yegle http://about.me/yegle [-- Attachment #2: Type: text/html, Size: 637 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-alt] What's the status of gentoo-prefix on latest Ubuntu/Debian? 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 0 siblings, 1 reply; 5+ messages in thread From: Fabian Groffen @ 2013-09-20 8:14 UTC (permalink / raw To: gentoo-alt [-- Attachment #1: Type: text/plain, Size: 506 bytes --] On 19-09-2013 18:06:01 -0400, yegle wrote: > I just found that the bootstrap script refuses to run on Ubuntu >=11.04 and > Debian >=7. > > [1]http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/scripts/bootstrap-prefix.sh#L1289 > > So is it still impossible or any progress on this? Maybe heroxbd's work to get glibc inside the prefix works for these platforms. I don't have time to delve into that, unfortunately. Fabian -- Fabian Groffen Gentoo on a different level [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 194 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-alt] What's the status of gentoo-prefix on latest Ubuntu/Debian? 2013-09-20 8:14 ` Fabian Groffen @ 2013-09-22 2:53 ` heroxbd 2013-09-22 5:14 ` yegle 0 siblings, 1 reply; 5+ messages in thread From: heroxbd @ 2013-09-22 2:53 UTC (permalink / raw To: gentoo-alt Hi, Fabian Groffen <grobian@gentoo.org> writes: > On 19-09-2013 18:06:01 -0400, yegle wrote: >> I just found that the bootstrap script refuses to run on Ubuntu >=11.04 and >> Debian >=7. >> >> [1]http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/scripts/bootstrap-prefix.sh#L1289 >> >> So is it still impossible or any progress on this? > > Maybe heroxbd's work to get glibc inside the prefix works for these > platforms. I don't have time to delve into that, unfortunately. 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 Cheers, Benda ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-alt] What's the status of gentoo-prefix on latest Ubuntu/Debian? 2013-09-22 2:53 ` heroxbd @ 2013-09-22 5:14 ` yegle 2013-09-22 23:49 ` Benda Xu 0 siblings, 1 reply; 5+ messages in thread From: yegle @ 2013-09-22 5:14 UTC (permalink / raw To: gentoo-alt [-- 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 --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-alt] What's the status of gentoo-prefix on latest Ubuntu/Debian? 2013-09-22 5:14 ` yegle @ 2013-09-22 23:49 ` Benda Xu 0 siblings, 0 replies; 5+ messages in thread From: Benda Xu @ 2013-09-22 23:49 UTC (permalink / raw To: gentoo-alt [-- Attachment #1: Type: text/plain, Size: 212 bytes --] incredible! I guess this is the first Prefix on multiarch ever! Guys, compete for this if yours is earlier. Thank you for sharing the tricks. Enjoy your fresh Prefix. It's quite solid once bootstraped. Benda [-- Attachment #2: Type: text/html, Size: 247 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-09-22 23:49 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 2013-09-22 23:49 ` Benda Xu
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox