Summary: | Prefix: insufficient bootstrap checks / bootstrap is brittle | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Matt Jolly <kangie> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | eschwartz |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=932600 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Matt Jolly
2024-05-24 06:10:05 UTC
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bdb31ed5381d8d37c372758bb4c877260f28ab8 commit 8bdb31ed5381d8d37c372758bb4c877260f28ab8 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-05-24 06:11:21 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-05-24 06:11:21 +0000 dev-libs/libgpg-error: drop need for eautoreconf Prefix doesn't bootstrap gettext so autopoint run as part of autoreconf fails. Changes: * We can replace the need for patch with a stub script which always exits w/ 0. * Update the sed for Solaris to work on both configure.ac & configure (while it does assume /bin/sh is a suitable shell, the old fix did too, as the case statement would fallback to it, so this is functionally equivalent). Bug: https://bugs.gentoo.org/932598 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/libgpg-error/libgpg-error-1.49.ebuild | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) Yes bootstrap is very brittle. Perhaps one day we can start from a stage3 to simply re-compile into the final EPREFIX. That said, I thought there was a check and warning or two about having to install g++ if you don't have it. Perhaps this was removed when I cleaned this up because a c++11 compiler is now required, and without it you cannot do anything but going through GCC-5, for which there is a bootstrap path (wired to ppc-macos for the moment, but perhaps we can use it here?) > - Identify the _absolute minimum_ requirements to bootstrap a modern
> compiler and come up with a path to building intermediate compilers as
> necessary, beginning with only than a basic C compiler (with well defined
> version reqs)
So basically, guix and mescc? :D
|