| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Fetch patch from upstream to address /usr/include/termcap.h requirement.
Closes: https://bugs.gentoo.org/946257
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
This is a slightly modified version of
https://github.com/gentoo/prefix/pull/34/commits/6319cbe1d15c3831bd4a2e5b52c4367abc68747d
Bug: https://bugs.gentoo.org/758167
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
- add timeout to wget (because defaults are unbearable, and gnu is down
for the moment)
- update snapshot including gcc-14.2.0 fix for macOS
- add sed-4.9 to the list of seds to try
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
We need include-fixed headers and the machinery around it, besides that
it is highly discouraged to skip bootstrapping on "foreign" envs as the
one we're in at stage2.
Rename USE=bootstrap to USE=system-bootstrap
Update coreutils bootstrap to 9.5
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
| |
When xcrun returns the latest SDK, no symlink is present, so don't use
that to decide whether or not to find a matching SDK on macOS.
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
| |
This has been fixed for some time, and for sure in GCC-14 versions we
use.
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
| |
This brings in a profile for Darwin24 (Sequoia) but not a working
bootstrap for that platform yet.
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
| |
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
| |
It doesn't do much, and turns the Prefix from generic to specific to the
running machine, which is an undesirable side-effect.
Closes: https://bugs.gentoo.org/939038
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Use set of USE-flags that are necessary to break circular deps, and
reduce more to just weed unnecessary dependencies. Use DISABLE_USE for
the circular ones so they can be properly reused.
Bug: https://bugs.gentoo.org/936629
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
| |
bring back the old code which used a minimal set of USE-flags to mask
which is necessary to break cycles such as one involving nghttp2 and
curl.
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Complete @system before trying to set default USE-flags.
This may cause re-compilations but is necessary to avoid circular deps
e.g. with curl, so take the extra step, much like how in the past we
would emerge -e @world after @system.
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
| |
The situation where we bootstrap with a non-C++ compiler is long gone.
Closes: https://bugs.gentoo.org/803551
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
| |
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
the host compiler used may not support CET, causing binutils to fail, so
wait for that later when we got our own compiler
Thanks hsk17 for the analysis and proposed fix.
Bug: https://bugs.gentoo.org/936629
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
| |
Thanks hsk17 for noticing and providing a patch.
Bug: https://bugs.gentoo.org/936629
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
As pointed out by hsk17, we have two places in which we disable
different sets of USE-flags, try to unify them.
In addition add http3, quic and curl_quic_openssl during bootstrap.
Bug: https://bugs.gentoo.org/936629
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
| |
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
| |
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
| |
uname -p on Solaris will return historical values, so use isainfo to get
the currently targetted architecture
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
| |
Host compiler doesn't like -pie in the workload it has to do during
bootstrap, so go through lengths to disable it.
(Why can't we just override masks/forces from base?)
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
| |
The host toolchain cannot compile GCC-5, but it *can* compile GCC-14,
which is exactly what we need, so skip GCC-5.
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
| |
Avoid some ugly warning and fallback to (likely) wrong SDK with failures
as result due to not expanding the MacOSX.sdk symlink properly.
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
| |
GCC-5 doesn't compile on ARM64, newer versions of macOS might also prove
to be capable of compiling GCC-14.
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With recent macOS we need GCC-14 in order to make sense of system
headers. However, GCC-14 gets confused by (older) Clang installed on
the host system. So we need GCC-5 to get us a C11/C++11 compiler that
can compile GCC-14 to do the real work.
Unfortunately for GCC-5 to work properly on systems that do not have
/usr/{include,lib} we need wrappers such as we use in Gentoo Prefix
proper, thus part of that needs to be pulled and put in place too in
order to get correctly compiled and running binaries.
This change succeeds bootstrap on Darwin 17, 19 and 20, 21 and 22
pending.
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
| |
If make fails, run with forced -j1 to get a clearer error for debugging
purposes.
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
Based on the patch by Etienne Buira <etienne.buira@free.fr> in bug #933100.
Mainline Portage doesn't set the Portage UID/GID, so define them in
make.conf during bootstrap for RAP targets.
Closes: https://bugs.gentoo.org/933100
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
| |
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
| |
We need 3f4b5440ef1e9b77b465dcaf0a0e104238ff6ed8 (from bug #934515) to
make the bootstrap succeed on macOS/Darwin.
Closes: https://bugs.gentoo.org/934757
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
| |
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
| |
this probably changed inbetween a Python release or two
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/934308
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
| |
Fail instead of downloading a 404/403/500 whatever message.
Bug: https://bugs.gentoo.org/934308
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
| |
This brings in gcc-13.3.0 which helps on macOS Sanoma, but we still
don't get up to success.
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
| |
Use ROOT, which should be the same between stages, such that we don't
reference tmp/tmp. Thanks huxnu for pointing out.
Bug: https://bugs.gentoo.org/933079
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
| |
gentoo-functions requires meson nowadays, which cannot be bootstrapped
this early because it requires a Python that the python eclass finds
so work around this by providing a dummy gentoo/functions.sh
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the stage3 bootstrap we always prefer to use tools that have been built for
stage3; to accomplish this we ensure that it is the first thing evaluated in PATH.
Unfortunately, Portage, Python, and Python-exec are often pulled into the depgraph
at some point before we're fully boostrapped. To ensure that we don't try and execute
${EPREFIX}/usr/bin/emerge before we're ready, always provide the full path to the
bootstrap Python interpreter and emerge script.
Signed-off-by: Matt Jolly <kangie@gentoo.org>
Closes: https://github.com/gentoo/prefix/pull/37
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
| |
fix upstream distfile change for darwin-miscutils
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
| |
bump for binutils-config' -rpath handling, which affects probably more
than just Solaris
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
| |
- binutils-config ld duplicate paths elimination
- gcc math.h fix for darwin
- openssl using --push-state --as-needed --pop-state LDFLAGS unconditional
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
| |
previous fix included some quotes in the output, making no sense and
failing portage down the line
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
| |
the quoting-eagerness of shellcheck isn't always resulting in the
desired output, in this case quoted empty strings broke where they
previously would be ignored as whitespace separators
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
| |
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
who am I kidding, the bootstrap and the mirror retaining is all
hardwired to bz2, and other compression formats don't really make a big
enough dent to warrant lots of changes to allow picking a different
compresion format
disable all but bz2, that's the only thing we use afterall
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
| |
lzip (lzma) compresses better than xz (lzma2) but xz can read/decompress
lzip archives, so drop the xz archive in favour of lzip
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
gzip compresses to around 75MB which is much higher than bzip2's 57MB
The gzip snapshot was historically never used ever by the bootstrap
script, it always used and hardcoded bz2. So don't bother creating a
gzip variant.
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Using -9 we end up at 58MB, which is more than gzip2's 57MB. So up the
level to -19 (the max, basically like how we configure the other
compressors too) to get 52MB, which is still much more than xz (48MB)
and lzip (47MB).
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
| |
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|