diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-10-06 17:49:32 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-11-26 23:36:10 +0000 |
commit | 1a96b82a76b8d7fb824d4a7b47f6b70c1808936c (patch) | |
tree | 1b18e4dcb57eda895fcd1d7b2b7a133641db13b9 /profiles | |
parent | media-video/pipewire: fix build w/ USE=-examples (diff) | |
download | gentoo-1a96b82a76b8d7fb824d4a7b47f6b70c1808936c.tar.gz gentoo-1a96b82a76b8d7fb824d4a7b47f6b70c1808936c.tar.bz2 gentoo-1a96b82a76b8d7fb824d4a7b47f6b70c1808936c.zip |
profiles/arch: Force multilib flags on sys-devel/gcc deps
Force enabling respective abi_* flags on sys-devel/gcc dependencies
in profiles where multiple MULTILIB_ABIS are used by default. This
prevents sys-devel/gcc build from failing late in the build with cryptic
error messages when USE=multilib (that is forced on) is used along with
USE=objc.
Bug: https://bugs.gentoo.org/617788
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/33216
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'profiles')
5 files changed, 34 insertions, 1 deletions
diff --git a/profiles/arch/amd64/no-multilib/package.use.force b/profiles/arch/amd64/no-multilib/package.use.force index 17acf1185e81..2897c534ec47 100644 --- a/profiles/arch/amd64/no-multilib/package.use.force +++ b/profiles/arch/amd64/no-multilib/package.use.force @@ -1,6 +1,11 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Michał Górny <mgorny@gentoo.org> (2023-10-06) +# Undo multilib forcing. +dev-libs/libatomic_ops -abi_x86_32 +dev-libs/boehm-gc -abi_x86_32 + # Michał Górny <mgorny@gentoo.org> (2017-04-08) # Undo multilib forcing. sys-apps/sandbox -abi_x86_32 diff --git a/profiles/arch/amd64/package.use.force b/profiles/arch/amd64/package.use.force index da0808237ad6..5c9f06cdb0c4 100644 --- a/profiles/arch/amd64/package.use.force +++ b/profiles/arch/amd64/package.use.force @@ -1,6 +1,12 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Michał Górny <mgorny@gentoo.org> (2023-10-06) +# Require ABIs matching MULTILIB_ABIS in gcc dependencies -- otherwise +# sys-devel/gcc[multilib] (which is forced) will fail late in build. +dev-libs/libatomic_ops abi_x86_32 +dev-libs/boehm-gc abi_x86_32 + # Michał Górny <mgorny@gentoo.org> (2017-12-30) # We have ready-to-use configs here. sys-kernel/gentoo-kernel -savedconfig diff --git a/profiles/arch/amd64/x32/package.use.force b/profiles/arch/amd64/x32/package.use.force index 388c2861e5f2..c414ca9911c3 100644 --- a/profiles/arch/amd64/x32/package.use.force +++ b/profiles/arch/amd64/x32/package.use.force @@ -1,6 +1,12 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +# Michał Górny <mgorny@gentoo.org> (2023-10-06) +# Require ABIs matching MULTILIB_ABIS in gcc dependencies -- otherwise +# sys-devel/gcc[multilib] (which is forced) will fail late in build. +dev-libs/libatomic_ops abi_x86_64 +dev-libs/boehm-gc abi_x86_64 + # Michał Górny <mgorny@gentoo.org> (2017-04-08) # Require sandbox to be multilib-capable to avoid failures when building # multilib packages, #611292. diff --git a/profiles/arch/mips/mips64/multilib/package.use.force b/profiles/arch/mips/mips64/multilib/package.use.force new file mode 100644 index 000000000000..b400461470d5 --- /dev/null +++ b/profiles/arch/mips/mips64/multilib/package.use.force @@ -0,0 +1,8 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Michał Górny <mgorny@gentoo.org> (2023-10-06) +# Require ABIs matching MULTILIB_ABIS in gcc dependencies -- otherwise +# sys-devel/gcc[multilib] (which is forced) will fail late in build. +dev-libs/libatomic_ops abi_mips_n32 abi_mips_n64 abi_mips_o32 +dev-libs/boehm-gc abi_mips_n32 abi_mips_n64 abi_mips_o32 diff --git a/profiles/arch/mips/mipsel/mips64el/multilib/package.use.force b/profiles/arch/mips/mipsel/mips64el/multilib/package.use.force new file mode 100644 index 000000000000..b400461470d5 --- /dev/null +++ b/profiles/arch/mips/mipsel/mips64el/multilib/package.use.force @@ -0,0 +1,8 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Michał Górny <mgorny@gentoo.org> (2023-10-06) +# Require ABIs matching MULTILIB_ABIS in gcc dependencies -- otherwise +# sys-devel/gcc[multilib] (which is forced) will fail late in build. +dev-libs/libatomic_ops abi_mips_n32 abi_mips_n64 abi_mips_o32 +dev-libs/boehm-gc abi_mips_n32 abi_mips_n64 abi_mips_o32 |