Diff glibc-2.43 with a glibc-9999

/usr/portage/sys-libs/glibc/glibc-9999.ebuild 2026-04-18 12:17:39.115618350 +0300
6 6
# Bumping notes: https://wiki.gentoo.org/wiki/Project:Toolchain/sys-libs/glibc
7 7
# Please read & adapt the page as necessary if obsolete.
8 8

  
9
PYTHON_COMPAT=( python3_{10..14} )
9
PYTHON_COMPAT=( python3_{11..14} )
10 10
TMPFILES_OPTIONAL=1
11 11

  
12 12
EMULTILIB_PKG="true"
......
43 43
if [[ ${PV} == *9999 ]]; then
44 44
	inherit git-r3
45 45
else
46
	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
46
	#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
47 47
	SRC_URI="mirror://gnu/glibc/${P}.tar.xz"
48 48
	SRC_URI+=" verify-sig? ( mirror://gnu/glibc/${P}.tar.xz.sig )"
49 49
	SRC_URI+=" https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${P}-patches-${PATCH_VER}.tar.xz"
......
845 845
			[[ ${I_ALLOW_TO_BREAK_MY_SYSTEM} = yes ]] || die "Aborting to save your system."
846 846
		fi
847 847

  
848
		if ! do_run_test '#include <unistd.h>\n#include <sys/syscall.h>\nint main(){return syscall(1000)!=-1;}\n' ; then
848
		if is_linux && ! do_run_test '#include <unistd.h>\n#include <sys/syscall.h>\nint main(){return syscall(1000)!=-1;}\n' ; then
849 849
			eerror "Your old kernel is broken. You need to update it to a newer"
850 850
			eerror "version as syscall(<bignum>) will break. See bug 279260."
851 851
			[[ ${I_ALLOW_TO_BREAK_MY_SYSTEM} = yes ]] || die "Old and broken kernel."
......
902 902
			die "Found directory (${ESYSROOT}/usr/lib/include) which will break build (bug #833620)!"
903 903
		fi
904 904

  
905
		if [[ ${CTARGET} == *-linux* ]] ; then
905
		if is_linux ; then
906 906
			local run_kv build_kv want_kv
907 907

  
908 908
			run_kv=$(g_get_running_KV)
......
1027 1027

  
1028 1028
		# Patches we should apply only for Hurd to be conservative
1029 1029
		if is_hurd ; then
1030
			eapply "${FILESDIR}"/glibc-2.43-hurd-link-helpers.patch
1031 1030
			eapply "${FILESDIR}"/glibc-2.43-hurd-CLOCK_MONOTONIC.patch
1032
			eapply "${FILESDIR}"/glibc-2.43-hurd-ldconfig.patch
1033 1031
		fi
1034 1032
	fi
1035 1033

  
......
1594 1592

  
1595 1593
	if is_hurd && has amd64 $(get_install_abis) ; then
1596 1594
		# First, let's check for sanity
1597
		if [[ -f "$(alt_prefix)/lib/ld-x86-64.so.1" ]] ; then
1595
		if [[ -f "${D}/$(alt_prefix)/lib/ld-x86-64.so.1" ]] ; then
1598 1596
			die "Somehow your amd64 hurd glibc installed /lib/ld-x86-64.so.1 ... this should not happen."
1599 1597
		fi
1600 1598

  
......
1604 1602

  
1605 1603
	if is_hurd && has x86 $(get_install_abis) ; then
1606 1604
		# First, let's check for sanity
1607
		if [[ -f "$(alt_prefix)/$(get_abi_LIBDIR x86)/ld.so" ]] ; then
1605
		if [[ -f "${D}/$(alt_prefix)/$(get_abi_LIBDIR x86)/ld.so" ]] ; then
1608 1606
			die "Somehow your x86 hurd glibc installed ld.so ... this should not happen."
1609 1607
		fi
1610 1608

  
Thank you!