summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* scripts/bootstrap-prefix: avoid USE=cet with binutils during bootstrapHEADmasterFabian Groffen19 min.1-0/+4
| | | | | | | | | | 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>
* scripts/bootstrap-prefix: workaround binutils being dep-cleanedFabian Groffen32 min.1-0/+5
| | | | | | | Thanks hsk17 for noticing and providing a patch. Bug: https://bugs.gentoo.org/936629 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: try and unify USE-flag disablingFabian Groffen51 min.1-14/+26
| | | | | | | | | | 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>
* scripts/bootstrap-prefix: set CPU_FLAGS_* when we canFabian Groffen8 days1-0/+41
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* eclass/java-utils-2: sync with gx86Fabian Groffen9 days1-22/+44
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* sys-devel/gcc: drop oldFabian Groffen9 days5-603/+1
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* eclass/toolchain: drop T variable hack from 2009Fabian Groffen9 days1-4/+1
| | | | | | | | | Drop hack to avoid T being defined due to interference with libgcc's makefiles. It seems it still references @T, but it seems non-Prefix should've picked up on that too, so I'm willing to try without this fix. Bug: https://bugs.gentoo.org/286494 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* eclass/toolchain: sync with gx86Fabian Groffen9 days1-106/+362
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* eclass/toolchain-funcs: use gx86 versionFabian Groffen9 days1-1277/+0
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* eclass/toolchain-funcs: sync with gx86Fabian Groffen9 days1-15/+17
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* eclass/toolchain-funcs: return arch from tc-ninja_magic_to_archFabian Groffen10 days1-9/+2
| | | | | | | For some reason Prefix has been returning whole keywords, but this doesn't seem to work very well on consumer, such as go-env.eclass Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* eclass/python-utils-r1: use gx86 versionFabian Groffen12 days1-1620/+0
| | | | | | | stacked prefix support is no longer in use, if we need it we should see about it then Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* eclass/python-utils-r1: sync with gx86Fabian Groffen12 days1-2/+69
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: bump snapshot for Solaris fixesFabian Groffen2024-07-301-1/+1
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* sys-apps/coreutils-9.5: version bump, add Solaris fixFabian Groffen2024-07-263-0/+365
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: use isainfo to pick up current archFabian Groffen2024-07-251-1/+7
| | | | | | | 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>
* scripts/bootstrap-prefix: disable USE=pie for Solaris bootstrapFabian Groffen2024-07-251-0/+7
| | | | | | | | 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>
* eclass/toolchain: avoid emitting pie arguments when unsetFabian Groffen2024-07-241-0/+5
| | | | | | | Like host-bind-now, the configure-foo for these pie arguments is messed up and whenever enabled/disabled enabled Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: make macOS Ventura and up skip GCC5Fabian Groffen2024-07-241-0/+1
| | | | | | | 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>
* scripts/bootstrap-prefix: emulate readlink -f behaviour for older macOSFabian Groffen2024-07-231-2/+9
| | | | | | | 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>
* scripts/bootstrap-prefix: be selective on where to use GCC-5 in stage1Fabian Groffen2024-07-221-9/+21
| | | | | | | 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>
* scripts/bootstrap-prefix: use GCC-5 on all Darwin bootstrapsFabian Groffen2024-07-211-50/+122
| | | | | | | | | | | | | | | | | 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>
* scripts/bootstrap-prefix: improve emake error reportingFabian Groffen2024-07-211-1/+4
| | | | | | | If make fails, run with forced -j1 to get a clearer error for debugging purposes. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* sys-devel/gcc-14.1.0: bring back src_configure for SolarisFabian Groffen2024-07-181-0/+47
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* sys-devel/gcc-14.1.0: version bumpFabian Groffen2024-07-173-154/+99
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* toolchain.eclass: handle quirky behaviour of --enable-host-bind-nowFabian Groffen2024-07-171-0/+5
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: define PORTAGE_INST_{UID,GID}Fabian Groffen2024-07-141-0/+9
| | | | | | | | | | 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>
* sys-libs/newlib: remove in favour of gx86 versionFabian Groffen2024-07-123-137/+0
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* pts/rsync-generation/update-rsync-master: fix PYTHONPATHFabian Groffen2024-07-101-1/+1
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: bump snapshot for xz-utils fixFabian Groffen2024-06-231-1/+1
| | | | | | | | 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>
* scripts/bootstrap-prefix: bump snapshot for zstd compile-fixFabian Groffen2024-06-171-1/+1
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/auto-bootstraps/analyse_result: fix syntax warningFabian Groffen2024-06-162-3/+3
| | | | | | this probably changed inbetween a Python release or two Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: bump snapshot to an existing oneFabian Groffen2024-06-141-1/+1
| | | | | Closes: https://bugs.gentoo.org/934308 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/rsync-generation/mksnapshot: don't download a crap 404 messageFabian Groffen2024-06-141-1/+1
| | | | | | | Fail instead of downloading a 404/403/500 whatever message. Bug: https://bugs.gentoo.org/934308 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* sys-devel/binutils-config-5.1-r12: drop eutils usageFabian Groffen2024-06-081-2/+2
| | | | | | | - don't use epatch, but eapply - don't rely on eutils for toolchain-funcs inclusion Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* dev-util/dialog: drop in favour of gx86Fabian Groffen2024-06-083-72/+0
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: bump bootstrap snapshotFabian Groffen2024-05-301-1/+1
| | | | | | | 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>
* scripts/bootstrap-prefix: attempt to fix b736fab6 do_emerge_pkgsFabian Groffen2024-05-281-7/+11
| | | | | | | | 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>
* scripts/bootstrap-prefix: unbreak bootstraps due to silly meson depFabian Groffen2024-05-281-4/+32
| | | | | | | | 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>
* bootstrap-prefix: use full path for `do_emerge_pkgs`Matt Jolly2024-05-281-2/+8
| | | | | | | | | | | | | 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>
* sys-devel/gcc-13.3.0: fix ld64/xtools detection fixFabian Groffen2024-05-271-1/+2
| | | | | | update for updated checks, fixes compiling on {x64,ppc}-macos Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* sys-devel/gcc-13.3.0: version bumpFabian Groffen2024-05-262-2/+177
| | | | | | | | This should fix compatibility with macOS Sanoma. Compiles and runs on OpenIndiana, macOS Sanoma. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* eclass/python-utils-r1: sync with gx86Fabian Groffen2024-05-081-6/+9
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* dev-lang/python-3.12.3: bump minor versionFabian Groffen2024-04-112-5/+5
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: bump snapshot for Darwin Python fixFabian Groffen2024-04-101-1/+1
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* dev-lang/python-3.12.2_p1: fix manifest for -r2 patchrevFabian Groffen2024-04-091-1/+1
| | | | | | Repoman I still miss you sometimes. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* dev-lang/python-3.12.2_p1: bump patchset for Darwin buildfixFabian Groffen2024-04-091-1/+1
| | | | | | | Fix linking against ncursesw because that's the lib that contains the symbols discovered when using -I.../ncursesw Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: bump bootstrap snapshotFabian Groffen2024-04-081-1/+1
| | | | | | fix upstream distfile change for darwin-miscutils Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* scripts/bootstrap-prefix: snapshot bump to fix Solaris bootstrapFabian Groffen2024-04-071-1/+1
| | | | | | | bump for binutils-config' -rpath handling, which affects probably more than just Solaris Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* dev-lang/python-3.12.2_p1: version bumpFabian Groffen2024-04-062-0/+609
| | | | | | | | Tested on OpenIndiana. This release actually seems to have improved things considerably for us with regards to build-system patching, which is hopeful. Signed-off-by: Fabian Groffen <grobian@gentoo.org>