Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628874 - prefix-standalone (RAP) to be the default Prefix flavor on GNU/Linux
Summary: prefix-standalone (RAP) to be the default Prefix flavor on GNU/Linux
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on: 521140
Blocks: 636810
  Show dependency tree
 
Reported: 2017-08-25 02:45 UTC by Benda Xu
Modified: 2017-12-20 08:17 UTC (History)
1 user (show)

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 Benda Xu gentoo-dev 2017-08-25 02:45:10 UTC
With bug 521140, the bootstrap scripts for prefix-rpath and prefix-standalone has been unified, only with different names: bootstrap-prefix.sh and bootstrap-rap.sh.

Henceforward, the prefix-standalone has been widely tested to work on all the GNU/Linux distributions we could imagine[1]. The prefix-rpath for GNU/Linux has been less maintained and the bootstrap process is fragile.  In the past several months, the most repeated suggestion in #gentoo-prefix channel for bootstrap problems on GNU/Linux was "give RAP a try".  New users are easily get confused by classical Prefix vs RAP, rpath vs libc or standalone: we have too many names.

Considering the status quo, my action plan is:

a. Merge the Prefix/libc wiki page[1] back to Prefix[2] so that we have a central place of documentation.
b. When referring ourselves, prefer a plain "Prefix" to "RAP", at least on GNU/Linux hosts.
c. The bootstrap script collects user input to either make prefix-rpath or prefix-standalone, defaulting to the latter.

What do you think?

1. https://wiki.gentoo.org/wiki/Prefix/libc#Tested_distributions
2. https://wiki.gentoo.org/wiki/Project:Prefix

Reproducible: Always
Comment 1 Fabian Groffen gentoo-dev 2017-08-25 07:10:31 UTC
I see no drawbacks in making RAP the default for Linux hosts.  I bootstrapped on OL6 and OL5 not too long ago, so perhaps we can keep the code path behind some (secret) switch.  I don't think we really need to bother users with it (like LATEST_TREE=1 hacks).

And of course: way to go, congrats with the good results of your hard work!
Comment 2 Michael Haubenwallner (RETIRED) gentoo-dev 2017-08-25 10:08:26 UTC
ACK: I do still have need for the rpath variant here, but I do not care about our public visible default.
Comment 3 Benda Xu gentoo-dev 2017-12-20 08:17:33 UTC
Thanks a lot for your support Fabian and Michael.

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=c79d9272b631eadd79b5e81b0f3aef887d30eb63

author	Benda Xu <heroxbd@gentoo.org>	2017-12-20 17:03:13 +0900

bootstrap-prefix.sh: enable RAP on any linux-based installations.HEADmaster
  This can be disabled by setting envvar PREFIX_DISABLE_RAP=yes.

a. done
b. done
c. use PREFIX_DISABLE_RAP, a hidden switch.