summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* profiles: Clean outdated entries upMichał Górny2024-10-181-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* profiles: fix make.defaults quoting, part 2Jannik Glückert2024-07-073-7/+7
| | | | | | | | | | quoting is required as per PMS 5.2.4 amends 916cafa15adec6ebe8898b424ca345c8bb907161 Bug: https://bugs.gentoo.org/935685 Signed-off-by: Jannik Glückert <jannik.glueckert@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/37472 Signed-off-by: Sam James <sam@gentoo.org>
* profiles: Remove obsolete flag masksMichał Górny2024-06-081-2/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* media-libs/opencv: add 4.9.0Paul Zander2024-03-181-1/+5
| | | | | | | | Closes: https://bugs.gentoo.org/921968 Closes: https://bugs.gentoo.org/924005 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35322 Signed-off-by: Sam James <sam@gentoo.org>
* sys-apps/debianutils: drop installkernel use flagAndrew Ammerlaan2024-03-121-4/+0
| | | | | | | | | | | | | | | | | | | | | | | Random packages requiring some tool from Debian should not cause the kernel installation process to change. The dropping of the debianutils dependency in ca-certificates has already caused some surprises due to installkernel being depcleaned. The origin of the problem lies here in debianutils, users unknowingly use and rely on installkernel but do not have it in their world file because it was implicitly pulled in by some package that happens to use the run-parts command. And also the other way around. If I am one of the users that wants to do everything manually, I should not have my 'make install' unknowingly altered by some package that I installed which pulled debianutils into the depgraph. Drop this unused runtime dependency (which is against policy to begin with) and its accompanying flag. A news item will be posted to notify users of this change and instruct them to add installkernel to their world file. Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/35533 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* sys-kernel/installkernel-systemd: treecleanAndrew Ammerlaan2024-02-241-1/+0
| | | | Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* Move {dev-util → dev-build}/cmakeMichał Górny2024-01-142-3/+3
| | | | | | Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/34792 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* profiles: Move debianutils[installkernel] mask to cover all prefix typesJames Le Cuirot2024-01-131-0/+4
| | | | | | It pulls in sys-apps/sysvinit, which doesn't respect EPREFIX at all. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* Move {sys-devel → dev-build}/makeMichał Górny2024-01-131-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* */*: move sys-kernel/installkernel-systemd-boot to ↵Andrew Ammerlaan2023-11-091-1/+1
| | | | | | | | | sys-kernel/installkernel-systemd This reflects better that we don't necessarily need the systemd bootloader to use the systemd kernel-install system. Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* profiles/features/prefix: remove obsolete sys-fs/eudev entryFlorian Schmaus2023-10-131-5/+1
| | | | Signed-off-by: Florian Schmaus <flow@gentoo.org>
* profiles: Update standalone prefix glibc sed callJames Le Cuirot2023-09-111-1/+1
| | | | | | nis/nss_compat moved to nss/nss_compat some years ago. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* profiles: remove dead implicit userland_* flagsDavid Seifert2023-05-163-13/+3
| | | | | Closes: https://github.com/gentoo/gentoo/pull/31034 Signed-off-by: David Seifert <soap@gentoo.org>
* profiles/features/prefix/standalone: mask getentropyBart Oldeman2023-03-041-1/+5
| | | | | | | | | | | | | | | | | | When bootstrapping on a 3.10 kernel (e.g. CentOS 7.x), libgcrypt notes the following: ``` * Messages for package dev-libs/libgcrypt-1.10.1-r3: * The getentropy function requires the getrandom syscall. * This was introduced in Linux 3.17. * Your system is currently running Linux 3.10.0-1160.45.1.el7.x86_64. * Disable the 'getentropy' USE flag or upgrade your kernel. * ERROR: dev-libs/libgcrypt-1.10.1-r3::gentoo failed (pretend phase): * Kernel is too old for getentropy ``` Since without getrandom it will do a runtime check it's ok to mask. Signed-off-by: Bart Oldeman <bart.oldeman@calculquebec.ca> Closes: https://github.com/gentoo/gentoo/pull/29906 Signed-off-by: Sam James <sam@gentoo.org>
* profiles: Don't prefixify /etc/ld.so.conf path in binutilsJames Le Cuirot2023-02-111-10/+0
| | | | | | | | Now that the compiler's sysroot is being respected, prefixifying the path to /etc/ld.so.conf results in a double prefix. Bug: https://bugs.gentoo.org/892549 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* sys-devel/clang: Move clang prefix tweaks from profileJames Le Cuirot2023-01-281-10/+1
| | | | Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* toolchain.eclass: Move remaining gcc prefix tweaks from profileJames Le Cuirot2023-01-281-13/+1
| | | | Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* toolchain.eclass: Fix cross-compiling gcc for standalone prefixJames Le Cuirot2023-01-281-3/+0
| | | | | | | | | | | | | | | | Standalone prefix has always configured gcc with a sysroot, but the location of this sysroot is different at build time when cross-compiling. gcc has a separate configure option for that. prefix-guest systems do not have a sysroot applied, as they use the host's libc. Move this code from the prefix profile into the eclass so that it's less of a special case. We can avoid relying on the `BOOTSTRAP_RAP_STAGE2` variable by checking for the `prefix-guest` USE flag instead, as a prefix-guest profile is now used for RAP stage 2. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* sys-libs/glibc: Strip prefix from ld scripts for better cross-compilingJames Le Cuirot2023-01-281-8/+1
| | | | | | | | | | | | | | | | | The toolchain expects to find the libc's files under its own sysroot. This sysroot is automatically prepended to paths found in ld scripts, such as those installed with glibc. We configure standalone prefix systems with a sysroot, so these paths should not be prefixed. However, Gentoo Prefix has traditionally left them prefixed and stopped the compiler from passing the sysroot to the linker instead. It is better to strip the prefix and let the sysroot do its job, as this makes cross-compiling much less awkward. prefix-guest systems do not have a sysroot applied, as they use the host's libc, but they would not install glibc anyway. This change is not needed for musl, as it does not install any ld scripts. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* */*: Update copyright line for files touched after 2018Ulrich Müller2023-01-161-1/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* dev-lang/python: Fix cross-compiling for prefixed systemsJames Le Cuirot2022-12-291-11/+0
| | | | | | | | | | | Cross-compiling Python involves doing a native build first. The prefix profile prefixifies setup.py, but this has been done before the native build when it needs to be done after. Handle this in the ebuild with hprefixify instead of with sed in the profile. Also drop some other obsolete Python prefix hacks from the profile. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* app-admin/abrt: treecleanJakov Smolić2022-11-011-1/+0
| | | | | | | Closes: https://bugs.gentoo.org/849095 Closes: https://bugs.gentoo.org/849305 Closes: https://bugs.gentoo.org/849092 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
* app-admin/gnome-abrt: treecleanJakov Smolić2022-11-011-1/+0
| | | | Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
* dev-libs/libreport: treecleanJakov Smolić2022-11-011-2/+1
| | | | Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
* profiles: Clean obsolete entriesMichał Górny2022-08-301-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* profiles/prefix: migrate from baselayout-prefix to baselayoutFabian Groffen2022-07-142-10/+2
| | | | | | | | This allows us to cleanup baselayout-prefix, which is using outdate practices (bug #836114). Bug: https://bugs.gentoo.org/836114 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* profiles/features/prefix/standalone: fix GCC sed for 12+Sam James2022-06-291-1/+1
| | | | | | GCC 12 renamed a bunch of .c -> .cc. Reported by Ionen. Signed-off-by: Sam James <sam@gentoo.org>
* profiles: Clean up obsolete entriesMichał Górny2022-02-121-4/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* profiles/features/prefix: drop obsolete sys-fs/eudev[hwdb] maskSam James2022-01-011-3/+3
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* profiles/features/prefix: disable su in util-linuxSam James2021-12-221-0/+5
| | | | | | | | | The default in util-linux changed recently which causes problems during Prefix (bootstrap). Let's disable it as su doesn't make sesne in Prefix _usually_ (and it requires PAM in util-linux anyway). Signed-off-by: Sam James <sam@gentoo.org>
* profiles/features/prefix: drop binutils maskSam James2021-11-221-6/+0
| | | | | | | It looks like the issue is glibc-2.34, not binutils. Bug: https://bugs.gentoo.org/824482 Signed-off-by: Sam James <sam@gentoo.org>
* profiles/features/prefix: mask problematic Binutils version (2.37_p1-r1)Sam James2021-11-201-0/+6
| | | | | | | | Doesn't seem to respect prefix search paths. Mask pending further investigation to fix bootstraps. Bug: https://bugs.gentoo.org/824482 Signed-off-by: Sam James <sam@gentoo.org>
* profiles: Remove masks/flags for removed packagesMichał Górny2021-09-211-2/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* profiles/*: Add missing eapi filesUlrich Müller2021-08-022-0/+2
| | | | | | In all dirs containing regular files. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* p/f/prefix/standalone/profile.bashrc: remove Debian magic.Benda Xu2021-07-161-1/+8
| | | | | | | | | | | | | | | | | We are Gentoo, and we unconditionally turn off Debian related tests. The upstreaming process has stalled and we work around this bug by hacking the profile. Remove this when upstream figure out how to deal with distributions. Reference: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/5047 Reference: https://gitlab.kitware.com/cmake/cmake/-/issues/18979 Bug: https://bugs.gentoo.org/733480 Closes: https://bugs.gentoo.org/757006 Closes: https://github.com/gentoo/gentoo/pull/20274 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* profiles: remove virtual/ssh from system on prefix, bug 395019Guilherme Amadio2021-06-141-0/+1
| | | | | | | | | virtual/ssh is not strictly required on prefix, and on some systems the ssh from prefix might not work properly, so it's better to pull it in explicitly when needed. Closes: https://bugs.gentoo.org/395019 Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
* profiles: prefixify dynamic linker for ppc64Alexei Colin2021-06-071-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: https://bugs.gentoo.org/755551 The issue: prefix stage3 fails because the binaries built by the stage3 GCC toolchain fail to run, because they refer to the host's dynamic linker: $ which gawk /myprefix/usr/bin/gawk $ gawk --version gawk: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by gawk) $ readelf -l $(which gawk) | grep -i 'program [Requesting program interpreter: /lib64/ld64.so.2] The cause is that the toolchain doesn't insert a prefixified path into the binary because the default -dynamic-linker is not prefixified: $ which powerpc64le-unknown-linux-gnu-gcc /myprefix/usr/bin/powerpc64le-unknown-linux-gnu-gcc $ echo 'int main() { return 0; }' > test.c $ powerpc64le-unknown-linux-gnu-gcc -v -o test test.c COLLECT_GCC_OPTIONS='-v' '-o' 'testx' /myprefix/usr/libexec/gcc/powerpc64le-unknown-linux-gnu/10.2.0/collect2 --eh-frame-hdr -V -m elf64lppc -dynamic-linker /libb64/ld64.so.2 ... The root cause: Prefixifying is done by patching the GCC source code with a sed expression in profile.bashrc. The pattern in that sed expression doesn't match the source file for ppc64 (aka. rs6000). The ppc64 file differs from the rest in that it has a macro for the prefix. Notes on fix: I opted to special-case another sed expression to set that unique DYNAMIC_LINKER_PREFIX macro rather than attempt to make a single sed expression that would modify the *_DYNAMIC_LINKER macros in ppc64. Rationale is that if someone happens to look at the patched source file, it would make more sense if the DYNAMIC_LINKER_PREFIX is set to our prefix, instead of if that macro is set to empty but the *_DYNAMIC_LINKER macros have effectively two prefixes, one hardcoded added by sed, one from the DYNAMIC_LINKER_PREFIX macro. Signed-off-by: Alexei Colin <ac@alexeicolin.com> Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
* profiles: normalise bug references in package.maskSam James2021-04-151-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* profiles/features/prefix: force rust[system-bootstrap]Georgy Yakovlev2021-04-031-0/+9
| | | | | | | Bug: https://bugs.gentoo.org/682370 Bug: https://bugs.gentoo.org/739574 Closes: https://github.com/gentoo/gentoo/pull/19815 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* dev-util/bazel: update prefix profile and package metedataYiyang Wu2021-03-061-0/+4
| | | | | | | | | | Add an entry in profiles/features/prefix/package.use, to enable static-libs USE flag by default when using prefix's profile. Closes: https://github.com/gentoo/gentoo/pull/19736 Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Zac Medico <zmedico@gentoo.org>
* profiles: More headersUlrich Müller2021-03-043-0/+9
| | | | | | | For now, add copyright headers to all files with 15 or more nonempty lines, unless they're trivial lists. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* profiles: install virtual/man as part of @systemFabian Groffen2021-02-051-1/+3
| | | | | | | | man-pages aren't terribly useful, but it is very useful to be able to read man-pages from prefix-installed packages, so install a man that knows where everything is. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* profiles/feature/prefix/package.mask: Revert "mask more PAM"Sam James2021-01-271-5/+0
| | | | | | | | This reverts commit f9801416c9a71404c96b192dc4d324c7f0227d83. This didn't have the desired effect in cleaning up pambase unfortunately. Signed-off-by: Sam James <sam@gentoo.org>
* profiles/feature/prefix/package.mask: mask more PAMSam James2021-01-271-0/+5
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* profiles/features/prefix: mask more PAM consumersSam James2021-01-271-0/+5
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* profiles: add sys-apps/groff[uchardet] bug refSam James2021-01-211-0/+1
| | | | | Bug: https://bugs.gentoo.org/750032 Signed-off-by: Sam James <sam@gentoo.org>
* profiles: mask groff[uchardet] on hppa, riscv and prefixGeorgy Yakovlev2021-01-191-0/+4
| | | | | | Bug: https://bugs.gentoo.org/709720 Bug: https://bugs.gentoo.org/750032 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* profiles/features/prefix/use.mask: mask USE=pamFabian Groffen2021-01-181-0/+3
| | | | | | | pam can't work in Prefix, mask it Closes: https://bugs.gentoo.org/702384 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* */*: Update copyright line for files touched in 2019 and 2020.Ulrich Müller2020-12-232-2/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* profiles/f/p/s/kernel-2.6.16+/p.bashrc: libuv compatibility.Benda Xu2020-11-241-1/+5
| | | | | | | | | libuv is a dependency of cmake. Switch off CLOEXEC related functions that are not introduced until linux-2.6.27. Signed-off-by: Benda Xu <heroxbd@gentoo.org>