@@ -, +, @@ fixes --- a/app-crypt/gpgme/gpgme-1.21.0.ebuild +++ a/app-crypt/gpgme/gpgme-1.21.0.ebuild @@ -14,7 +14,7 @@ DISTUTILS_OPTIONAL=1 PYTHON_COMPAT=( python3_{10..12} ) VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gnupg.asc -inherit distutils-r1 libtool flag-o-matic qmake-utils toolchain-funcs verify-sig +inherit autotools distutils-r1 flag-o-matic qmake-utils toolchain-funcs verify-sig DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use" HOMEPAGE="https://www.gnupg.org/related_software/gpgme" @@ -63,7 +63,7 @@ PATCHES=( src_prepare() { default - elibtoolize + eautoreconf # bug #697456 addpredict /run/user/$(id -u)/gnupg --- a/app-crypt/rhash/rhash-1.4.3.ebuild +++ a/app-crypt/rhash/rhash-1.4.3.ebuild @@ -46,7 +46,9 @@ multilib_src_configure() { # https://github.com/gentoo/gentoo/pull/28355 # mold needs this too but right now tc-ld-is-mold is also not available if tc-ld-is-lld; then - append-ldflags -Wl,--undefined-version + if ! use kernel_Darwin; then + append-ldflags -Wl,--undefined-version + fi fi set -- \ --- a/dev-libs/libgcrypt/libgcrypt-1.10.2.ebuild +++ a/dev-libs/libgcrypt/libgcrypt-1.10.2.ebuild @@ -110,7 +110,9 @@ multilib_src_configure() { # https://github.com/gentoo/gentoo/pull/28355 # mold needs this too but right now tc-ld-is-mold is also not available if tc-ld-is-lld; then - append-ldflags -Wl,--undefined-version + if ! use kernel_Darwin; then + append-ldflags -Wl,--undefined-version + fi fi local myeconfargs=( --- a/dev-libs/npth/npth-1.6-r1.ebuild +++ a/dev-libs/npth/npth-1.6-r1.ebuild @@ -25,7 +25,9 @@ src_configure() { # https://github.com/gentoo/gentoo/pull/28355 # mold needs this too but right now tc-ld-is-mold is also not available if tc-ld-is-lld; then - append-ldflags -Wl,--undefined-version + if ! use kernel_Darwin; then + append-ldflags -Wl,--undefined-version + fi fi econf \ --- a/dev-libs/popt/popt-1.19.ebuild +++ a/dev-libs/popt/popt-1.19.ebuild @@ -33,7 +33,9 @@ multilib_src_configure() { # https://github.com/gentoo/gentoo/pull/28355 # mold needs this too but right now tc-ld-is-mold is also not available if tc-ld-is-lld; then - append-ldflags -Wl,--undefined-version + if ! use kernel_Darwin ; then + append-ldflags -Wl,--undefined-version + fi fi local myeconfargs=( --- a/net-dns/libidn2/libidn2-2.3.4.ebuild +++ a/net-dns/libidn2/libidn2-2.3.4.ebuild @@ -41,7 +41,9 @@ multilib_src_configure() { # https://github.com/gentoo/gentoo/pull/28355 # mold needs this too but right now tc-ld-is-mold is also not available if tc-ld-is-lld; then - append-ldflags -Wl,--undefined-version + if ! use kernel_Darwin; then + append-ldflags -Wl,--undefined-version + fi fi local myconf=( --- a/net-libs/gnutls/gnutls-3.8.0.ebuild +++ a/net-libs/gnutls/gnutls-3.8.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gnutls.asc -inherit libtool multilib-minimal verify-sig +inherit autotools multilib-minimal verify-sig DESCRIPTION="A secure communications library implementing the SSL, TLS and DTLS protocols" HOMEPAGE="https://www.gnutls.org/" @@ -69,7 +69,7 @@ src_prepare() { sed -i -e 's/__APPLE__/__NO_APPLE__/' lib/system/certs.c || die # Use sane .so versioning on FreeBSD. - elibtoolize + eautoreconf } multilib_src_configure() { --- a/profiles/base/use.mask +++ a/profiles/base/use.mask @@ -4,6 +4,10 @@ # This file is only for generic masks. For arch-specific masks (i.e. # mask everywhere, unmask on arch/*) use arch/base. +# Alexey Sokolov (2023-08-07) +# Only needed during bootstrap of prefix +bootstrap-prefix + # Hans de Graaff (2023-04-10) # Ruby 2.7 is masked for removal. ruby_targets_ruby27 --- a/profiles/features/llvm/make.defaults +++ a/profiles/features/llvm/make.defaults @@ -11,7 +11,7 @@ CXX="clang++" LD="ld.lld" # linker flags -LDFLAGS="${LDFLAGS} -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed" +#LDFLAGS="${LDFLAGS} -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind" ## hardening flags #SOME_HARDENING_CFLAGS="-fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2" --- a/profiles/features/prefix/use.mask +++ a/profiles/features/prefix/use.mask @@ -16,3 +16,6 @@ pam # Andreas Sturmlechner (2020-06-06) # sci-libs/mkl does not have prefix keywords mkl + +# Allow bootstrapping the prefix +-bootstrap-prefix --- a/profiles/prefix/darwin/macos/13.0/arm64/clang/eapi +++ a/profiles/prefix/darwin/macos/13.0/arm64/clang/eapi @@ -0,0 +1, @@ +5 --- a/profiles/prefix/darwin/macos/13.0/arm64/clang/make.defaults +++ a/profiles/prefix/darwin/macos/13.0/arm64/clang/make.defaults @@ -0,0 +1,4 @@ +LD=ld64.lld +#CFLAGS="${CFLAGS} -Wl,-search_paths_first -L${EPREFIX}/usr/lib -Wl,-rpath,${EPREFIX}/usr/lib" +#CXXFLAGS="${CXXFLAGS} -Wl,-search_paths_first -L${EPREFIX}/usr/lib -Wl,-rpath,${EPREFIX}/usr/lib" +#LDFLAGS="${LDFLAGS} -Wl,-search_paths_first -L${EPREFIX}/usr/lib -Wl,-rpath,${EPREFIX}/usr/lib" --- a/profiles/prefix/darwin/macos/13.0/arm64/clang/package.mask +++ a/profiles/prefix/darwin/macos/13.0/arm64/clang/package.mask @@ -0,0 +1,2 @@ +# If installed, causes some miscompilation somewhere, and cmake crashes during bootstrap +sys-devel/binutils-apple --- a/profiles/prefix/darwin/macos/13.0/arm64/clang/package.unmask +++ a/profiles/prefix/darwin/macos/13.0/arm64/clang/package.unmask @@ -0,0 +1,4 @@ +# For Darwin bootstraps +sys-devel/native-cctools +# For Darwin bootstraps +sys-devel/native-cctools --- a/profiles/prefix/darwin/macos/13.0/arm64/clang/package.use +++ a/profiles/prefix/darwin/macos/13.0/arm64/clang/package.use @@ -0,0 +1,30 @@ +# Disable bootstrapping libcxx* with libunwind +sys-libs/libcxxabi -libunwind +sys-libs/libcxx -libunwind +# Most binary Linux distributions seem to fancy toolchains that +# do not do c++ support (need to install a separate package). +sys-libs/ncurses -cxx +sys-devel/binutils -cxx +# gmp has cxx flag enabled by default. When dealing with a host +# compiler without cxx support this causes configure failure. +# In addition, The stage2 g++ is only for compiling stage3 compiler, +# because the host libstdc++.so runtime may be not compatible and +# stage2 libstdc++.so might conflict with that of stage3. The +# trade-off is just not to use cxx. +dev-libs/gmp -cxx +sys-devel/binutils -gold +# Disable bootstrapping libcxx* with libunwind +sys-libs/libcxxabi -libunwind +sys-libs/libcxx -libunwind +# Most binary Linux distributions seem to fancy toolchains that +# do not do c++ support (need to install a separate package). +sys-libs/ncurses -cxx +sys-devel/binutils -cxx +# gmp has cxx flag enabled by default. When dealing with a host +# compiler without cxx support this causes configure failure. +# In addition, The stage2 g++ is only for compiling stage3 compiler, +# because the host libstdc++.so runtime may be not compatible and +# stage2 libstdc++.so might conflict with that of stage3. The +# trade-off is just not to use cxx. +dev-libs/gmp -cxx +sys-devel/binutils -gold --- a/profiles/prefix/darwin/macos/13.0/arm64/clang/packages +++ a/profiles/prefix/darwin/macos/13.0/arm64/clang/packages @@ -0,0 +1, @@ +-*sys-devel/binutils-apple --- a/profiles/prefix/darwin/macos/13.0/arm64/clang/parent +++ a/profiles/prefix/darwin/macos/13.0/arm64/clang/parent @@ -0,0 +1,2 @@ +.. +../../../../../../features/llvm --- a/profiles/prefix/darwin/macos/13.0/arm64/package.unmask +++ a/profiles/prefix/darwin/macos/13.0/arm64/package.unmask @@ -0,0 +1,10 @@ +# For Darwin bootstraps +sys-devel/native-cctools +# For Darwin bootstraps +sys-devel/native-cctools +# For Darwin bootstraps +sys-devel/native-cctools +# For Darwin bootstraps +sys-devel/native-cctools +# For Darwin bootstraps +sys-devel/native-cctools --- a/profiles/prefix/darwin/macos/13.0/arm64/package.use +++ a/profiles/prefix/darwin/macos/13.0/arm64/package.use @@ -0,0 +1,75 @@ +# Disable bootstrapping libcxx* with libunwind +sys-libs/libcxxabi -libunwind +sys-libs/libcxx -libunwind +# Most binary Linux distributions seem to fancy toolchains that +# do not do c++ support (need to install a separate package). +sys-libs/ncurses -cxx +sys-devel/binutils -cxx +# gmp has cxx flag enabled by default. When dealing with a host +# compiler without cxx support this causes configure failure. +# In addition, The stage2 g++ is only for compiling stage3 compiler, +# because the host libstdc++.so runtime may be not compatible and +# stage2 libstdc++.so might conflict with that of stage3. The +# trade-off is just not to use cxx. +dev-libs/gmp -cxx +sys-devel/binutils -gold +# Disable bootstrapping libcxx* with libunwind +sys-libs/libcxxabi -libunwind +sys-libs/libcxx -libunwind +# Most binary Linux distributions seem to fancy toolchains that +# do not do c++ support (need to install a separate package). +sys-libs/ncurses -cxx +sys-devel/binutils -cxx +# gmp has cxx flag enabled by default. When dealing with a host +# compiler without cxx support this causes configure failure. +# In addition, The stage2 g++ is only for compiling stage3 compiler, +# because the host libstdc++.so runtime may be not compatible and +# stage2 libstdc++.so might conflict with that of stage3. The +# trade-off is just not to use cxx. +dev-libs/gmp -cxx +sys-devel/binutils -gold +# Disable bootstrapping libcxx* with libunwind +sys-libs/libcxxabi -libunwind +sys-libs/libcxx -libunwind +# Most binary Linux distributions seem to fancy toolchains that +# do not do c++ support (need to install a separate package). +sys-libs/ncurses -cxx +sys-devel/binutils -cxx +# gmp has cxx flag enabled by default. When dealing with a host +# compiler without cxx support this causes configure failure. +# In addition, The stage2 g++ is only for compiling stage3 compiler, +# because the host libstdc++.so runtime may be not compatible and +# stage2 libstdc++.so might conflict with that of stage3. The +# trade-off is just not to use cxx. +dev-libs/gmp -cxx +sys-devel/binutils -gold +# Disable bootstrapping libcxx* with libunwind +sys-libs/libcxxabi -libunwind +sys-libs/libcxx -libunwind +# Most binary Linux distributions seem to fancy toolchains that +# do not do c++ support (need to install a separate package). +sys-libs/ncurses -cxx +sys-devel/binutils -cxx +# gmp has cxx flag enabled by default. When dealing with a host +# compiler without cxx support this causes configure failure. +# In addition, The stage2 g++ is only for compiling stage3 compiler, +# because the host libstdc++.so runtime may be not compatible and +# stage2 libstdc++.so might conflict with that of stage3. The +# trade-off is just not to use cxx. +dev-libs/gmp -cxx +sys-devel/binutils -gold +# Disable bootstrapping libcxx* with libunwind +sys-libs/libcxxabi -libunwind +sys-libs/libcxx -libunwind +# Most binary Linux distributions seem to fancy toolchains that +# do not do c++ support (need to install a separate package). +sys-libs/ncurses -cxx +sys-devel/binutils -cxx +# gmp has cxx flag enabled by default. When dealing with a host +# compiler without cxx support this causes configure failure. +# In addition, The stage2 g++ is only for compiling stage3 compiler, +# because the host libstdc++.so runtime may be not compatible and +# stage2 libstdc++.so might conflict with that of stage3. The +# trade-off is just not to use cxx. +dev-libs/gmp -cxx +sys-devel/binutils -gold --- a/profiles/use.desc +++ a/profiles/use.desc @@ -29,6 +29,7 @@ big-endian - Big-endian toolchain support bindist - Flag to enable or disable options for prebuilt (GRP) packages (eg. due to licensing issues) blas - Add support for the virtual/blas numerical library bluetooth - Enable Bluetooth Support +bootstrap-prefix - !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used for bootstrapping Gentoo Prefix branding - Enable Gentoo specific branding build - !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used for creating build images and the first half of bootstrapping [make stage1] bzip2 - Use the bzlib compression library --- a/sys-apps/debianutils/debianutils-4.11.2.ebuild +++ a/sys-apps/debianutils/debianutils-4.11.2.ebuild @@ -33,6 +33,7 @@ PATCHES=( src_prepare() { default eautoreconf + sed -i -e 's/int cleanup_tmpfile/void cleanup_tmpfile/' run-parts.c || die } src_configure() { --- a/sys-apps/portage/files/portage-3.0.49-prefix-stage2.patch +++ a/sys-apps/portage/files/portage-3.0.49-prefix-stage2.patch @@ -0,0 +1,16 @@ +During first part of stage3, some programs are installed from EPREFIX/tmp to EPREFIX which break this qa check +The check I'm adding is heavy-handed, but I don't know how to fix this better + +TODO: check whether portage-3.0.30-prefix-stack.patch fixes the same issue + +--- a/bin/install-qa-check.d/05prefix ++++ b/bin/install-qa-check.d/05prefix +@@ -95,6 +95,8 @@ install_qa_check_prefix() { + # reasons + sed -i -e '1s:^#! \?'"${line[0]}"':#!'"${EPREFIX}"${line[0]}':' "${rf}" + continue ++ elif [[ -n "${PORTAGE_OVERRIDE_EPREFIX}" ]] ; then ++ continue + else + # this is definitely wrong: script in ${PATH} and invalid shebang + echo "${fn#${D}}:${line[0]} (script ${fn##*/} installed in PATH but interpreter ${line[0]} not found)" \ --- a/sys-apps/portage/portage-3.0.49.ebuild +++ a/sys-apps/portage/portage-3.0.49.ebuild @@ -92,6 +92,7 @@ python_prepare_all() { # disabled in 3.0.24: does not apply, while useful, rarely used if ever # "${FILESDIR}"/${PN}-3.0.30-ebuildshell.patch # 155161 "${FILESDIR}"/${PN}-3.0.30-interrevisions.patch # 832062 + "${FILESDIR}"/${PN}-3.0.49-prefix-stage2.patch ) distutils-r1_python_prepare_all --- a/sys-devel/clang-common/clang-common-16.0.6-r1.ebuild +++ a/sys-devel/clang-common/clang-common-16.0.6-r1.ebuild @@ -10,10 +10,11 @@ HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" IUSE=" default-compiler-rt default-libcxx default-lld llvm-libunwind hardened stricter + bootstrap-prefix " PDEPEND=" @@ -67,6 +68,7 @@ src_install() { newbashcomp bash-autocomplete.sh clang insinto /etc/clang + newins - gentoo-runtimes.cfg <<-EOF # This file is initially generated by sys-devel/clang-runtime. # It is used to control the default runtimes using by clang. @@ -175,6 +177,25 @@ src_install() { @gentoo-common.cfg EOF done + + if use kernel_Darwin; then + cat >> "${ED}/etc/clang/gentoo-common.cfg" <<-EOF || die + # Gentoo Prefix on Darwin + -Wl,-search_paths_first + -Wl,-rpath,${EPREFIX}/usr/lib + -L ${EPREFIX}/usr/lib + -isystem ${EPREFIX}/usr/include + -isysroot ${EPREFIX}/MacOSX.sdk + EOF + if use bootstrap-prefix ; then + cat >> "${ED}/etc/clang/gentoo-common.cfg" <<-EOF || die + -Wl,-rpath,${EPREFIX}/../usr/lib + EOF + fi + cat >> "${ED}/etc/clang/clang++.cfg" <<-EOF || die + -lc++abi + EOF + fi } pkg_preinst() { --- a/sys-devel/clang-runtime/clang-runtime-16.0.6.ebuild +++ a/sys-devel/clang-runtime/clang-runtime-16.0.6.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://clang.llvm.org/" LICENSE="metapackage" SLOT="${PV%%.*}" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" IUSE="+compiler-rt libcxx openmp +sanitize" REQUIRED_USE="sanitize? ( compiler-rt )" --- a/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-16-r2.ebuild +++ a/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-16-r2.ebuild @@ -12,7 +12,7 @@ S=${WORKDIR} LICENSE="public-domain" SLOT="${PV}" -KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x64-macos" +KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~x64-macos" IUSE="gcc-symlinks multilib-symlinks +native-symlinks" # Blocker for bug #872416 --- a/sys-devel/clang/clang-16.0.6.ebuild +++ a/sys-devel/clang/clang-16.0.6.ebuild @@ -16,7 +16,7 @@ HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x64-macos" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~x64-macos" IUSE="debug doc +extra ieee-long-double +pie +static-analyzer test xml" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RESTRICT="!test? ( test )" --- a/sys-devel/libtool/libtool-2.4.7-r1.ebuild +++ a/sys-devel/libtool/libtool-2.4.7-r1.ebuild @@ -76,6 +76,7 @@ src_prepare() { # return the correct result for -print-search-dirs (doesn't # include prefix dirs ...). eapply "${FILESDIR}"/${PN}-2.2.10-eprefix.patch + sed -i -e 's/.*keep_private_externs.*/:/' m4/libtool.m4 || die eprefixify m4/libtool.m4 fi --- a/sys-devel/lld-toolchain-symlinks/lld-toolchain-symlinks-16-r2.ebuild +++ a/sys-devel/lld-toolchain-symlinks/lld-toolchain-symlinks-16-r2.ebuild @@ -12,7 +12,7 @@ S=${WORKDIR} LICENSE="public-domain" SLOT="${PV}" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv ~x86 ~arm64-macos" IUSE="multilib-symlinks +native-symlinks" RDEPEND=" --- a/sys-devel/lld/lld-16.0.6.ebuild +++ a/sys-devel/lld/lld-16.0.6.ebuild @@ -11,7 +11,7 @@ HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~arm64-macos" IUSE="debug test zstd" RESTRICT="!test? ( test )" --- a/sys-devel/llvm-common/llvm-common-16.0.6.ebuild +++ a/sys-devel/llvm-common/llvm-common-16.0.6.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" RDEPEND=" !sys-devel/llvm:0 --- a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-16-r1.ebuild +++ a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-16-r1.ebuild @@ -12,7 +12,7 @@ S=${WORKDIR} LICENSE="public-domain" SLOT="${PV}" -KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos" +KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" IUSE="multilib-symlinks +native-symlinks" RDEPEND=" --- a/sys-devel/llvm/llvm-16.0.6.ebuild +++ a/sys-devel/llvm/llvm-16.0.6.ebuild @@ -19,7 +19,7 @@ HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA BSD public-domain rc" SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" IUSE=" +binutils-plugin debug doc exegesis libedit +libffi ncurses test xar xml z3 zstd @@ -48,7 +48,6 @@ BDEPEND=" sys-devel/gnuconfig kernel_Darwin? ( =sys-devel/binutils-apple-5.1 ) doc? ( $(python_gen_any_dep ' dev-python/recommonmark[${PYTHON_USEDEP}] --- a/sys-devel/slibtool/slibtool-0.5.34.ebuild +++ a/sys-devel/slibtool/slibtool-0.5.34.ebuild @@ -18,7 +18,7 @@ else SRC_URI="https://dl.midipix.org/slibtool/${P}.tar.xz" SRC_URI+=" verify-sig? ( https://dl.midipix.org/slibtool/${P}.tar.xz.sig )" - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" BDEPEND="verify-sig? ( sec-keys/openpgp-keys-midipix )" fi --- a/sys-libs/binutils-libs/binutils-libs-2.40-r5.ebuild +++ a/sys-libs/binutils-libs/binutils-libs-2.40-r5.ebuild @@ -22,7 +22,7 @@ SRC_URI="mirror://gnu/binutils/${MY_P}.tar.xz LICENSE="|| ( GPL-3 LGPL-3 )" SLOT="0/${PV%_p?}" IUSE="64-bit-bfd cet multitarget nls static-libs test" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" RESTRICT="!test? ( test )" BDEPEND=" --- a/sys-libs/compiler-rt/compiler-rt-16.0.6.ebuild +++ a/sys-libs/compiler-rt/compiler-rt-16.0.6.ebuild @@ -11,7 +11,7 @@ HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" SLOT="${LLVM_MAJOR}" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos ~x64-macos" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" IUSE="+abi_x86_32 abi_x86_64 +clang debug test" RESTRICT="!test? ( test ) !clang? ( test )" --- a/sys-libs/libcxx/libcxx-16.0.6.ebuild +++ a/sys-libs/libcxx/libcxx-16.0.6.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://libcxx.llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~sparc ~x86 ~x64-macos" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~sparc ~x86 ~arm64-macos ~x64-macos" IUSE="+clang +libcxxabi static-libs test" REQUIRED_USE="test? ( clang )" RESTRICT="!test? ( test )" --- a/sys-libs/libcxxabi/libcxxabi-16.0.6.ebuild +++ a/sys-libs/libcxxabi/libcxxabi-16.0.6.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://libcxxabi.llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~sparc ~x86 ~x64-macos" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~sparc ~x86 ~arm64-macos ~x64-macos" IUSE="+clang static-libs test" REQUIRED_USE="test? ( clang )" RESTRICT="!test? ( test )" --- a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6.ebuild +++ a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html" LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~arm64-macos ~x64-macos" IUSE="+clang debug static-libs test" REQUIRED_USE="test? ( clang )" RESTRICT="!test? ( test )" --- a/sys-libs/zlib/zlib-1.2.13-r1.ebuild +++ a/sys-libs/zlib/zlib-1.2.13-r1.ebuild @@ -70,7 +70,9 @@ multilib_src_configure() { # https://github.com/gentoo/gentoo/pull/28355 # mold needs this too but right now tc-ld-is-mold is also not available if tc-ld-is-lld; then - append-ldflags -Wl,--undefined-version + if ! use kernel_Darwin; then + append-ldflags -Wl,--undefined-version + fi fi case ${CHOST} in