summaryrefslogtreecommitdiff
path: root/dev-lang
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/Manifest.gzbin22640 -> 22638 bytes
-rw-r--r--dev-lang/php/Manifest6
-rw-r--r--dev-lang/php/php-8.2.28.ebuild2
-rw-r--r--dev-lang/php/php-8.4.5.ebuild (renamed from dev-lang/php/php-8.1.30.ebuild)368
-rw-r--r--dev-lang/ruby/Manifest8
-rw-r--r--dev-lang/ruby/ruby-3.2.7.ebuild2
-rw-r--r--dev-lang/ruby/ruby-3.3.7-r1.ebuild2
-rw-r--r--dev-lang/ruby/ruby-3.4.1-r1.ebuild1
-rw-r--r--dev-lang/ruby/ruby-3.4.2.ebuild1
-rw-r--r--dev-lang/spidermonkey/Manifest2
-rw-r--r--dev-lang/spidermonkey/spidermonkey-128.8.0.ebuild11
-rw-r--r--dev-lang/tcl/Manifest2
-rw-r--r--dev-lang/tcl/tcl-8.6.15.ebuild2
-rw-r--r--dev-lang/tk/Manifest2
-rw-r--r--dev-lang/tk/tk-8.6.15.ebuild2
15 files changed, 217 insertions, 194 deletions
diff --git a/dev-lang/Manifest.gz b/dev-lang/Manifest.gz
index a28ad8ce7e21..888c8002149b 100644
--- a/dev-lang/Manifest.gz
+++ b/dev-lang/Manifest.gz
Binary files differ
diff --git a/dev-lang/php/Manifest b/dev-lang/php/Manifest
index 5aacdc8a428d..f14bc6f9d4e0 100644
--- a/dev-lang/php/Manifest
+++ b/dev-lang/php/Manifest
@@ -12,12 +12,12 @@ AUX php-capstone-optional.patch 2497 BLAKE2B f23236130be88d28d933d5482f1925c4e32
AUX php-fpm_at-simple.service 316 BLAKE2B 0ba10f3e3b004fbf14956e1e4f04f59b8a127e6717fe6b92c09b9f931033a11551c75fbbee9010f6b694c5a8758ca0eec9eed457ae304ba0dea8f2c256c3b8d4 SHA512 7367a3f8d3874f8e0c76f331ba613a0250db02f60ad9f87affaf448dcb5bc34bcecb91d88f415764a12b24b46ae3d1b738a002af9f77a4b707e916e83a0021fd
AUX php-fpm_at.service 317 BLAKE2B f13fc38fcc0575a8517ee8d07b120efda37eabd2355061d0fdc303604c6b02ad42d7301180d86c977d5e585f5dd685343c592e37a6e0f44933707be79e0b77e0 SHA512 27982f9e2d958bfa75c89c7d3531e48d17fc388b1cdcbc8e09051b236b1184ee2baabdfcc567c19d9fcd067d4b3b86f171015616d8da42fccdabd89432d865e8
AUX php-iodbc-header-location.patch 481 BLAKE2B 9ea6a5d529dc7a8c78eeee800900372bc14309a05e352b2838da32e1384b61b507fdb623c9400094aa5b637eb1a87da92c72600eff79b18b8989ef90af56a0fa SHA512 86469f657d8807f005c28fd2149770c881add8f243fdfea087956c7987277597fe400a7af23f624f26da270356604717ed9cd04771154d7cf2ffe7237972372b
-DIST php-8.1.30.tar.xz 11850340 BLAKE2B 9053c57814f53ff694ea6cf1a87253e4f8f7c5af6965a85109eca143abd8dd6c733c7f70d1c6cdc34db8932dd7e9e8289cebce37eef385ea51dc0cd8a71267ef SHA512 cdca1c1671362272bf6c2abf45d097b42ca06c0abf962ee814bf478f8b346f274f42a1b1aa6603cdd59a1978a8b9d1971b589706f2909b6ea34594de0edaee1e
DIST php-8.2.24.tar.xz 12110000 BLAKE2B 0f5c47350b8914f87cfbee932ea2e24d29635a0bdfed111b02e81d05574ff973f657d077858c20497bdc380285305d6c0f632eee1bbc9358f84004019108e368 SHA512 19016bfb955892a9999f01a619ab26035afe1cfb6488c7d1774d6745b703afb99e59032728ab811024413757e50163cdc32b0e95fda7e1d4243deb96568c7e79
DIST php-8.2.28.tar.xz 12147756 BLAKE2B eb2c5ad888f98b217d553efaa5f9832c791d7dcb73e90c1f0a45b536f3cbfd8f76c0606f993ca39492e43f587f5c0be1f1adac80c3ae7281527b8b381176f3bb SHA512 af2a4f43da756a78f762dbd2b9e589e52864c7069fd55a6a2b900e32a08728a7d69b80577dc79b5d4a86993846a2232b809b75ae415344935610a3934b10c6ba
DIST php-8.3.19.tar.xz 12560852 BLAKE2B 19fb3ee207939b497ef65960a3b691beddaecfc70c2d408a9249e048605c2a3b4eb26da362c4e8283318c03c6464ba66537eafef854615db267886ff7a6351a0 SHA512 2872639f6a6de1680540da5a2df43db7ceeb7e25690b6f66d73373779ee3f9b0c2fe74aeeb7181749c9738b64f8d41b8a6f496751778c1df10b7f9aab43f21f7
-EBUILD php-8.1.30.ebuild 22586 BLAKE2B a35ef5ea9b28ea0c0d40082aa7a9750158477f173c4eae88bb2ef4a44687a329c5152879e9759a02df8c6ad12cdb8e6762b0750cae3cd04102e3bc0acf0826ad SHA512 f383cca672b5a647e52d1def2537411f3e44d791fcafc62a665a2d1a9aed779d116f4d4b5323b7a510b03a9296677462e53277b34e48efeb86fb76f61bccc40c
+DIST php-8.4.5.tar.xz 13604056 BLAKE2B d15b53abe74a1d22f17e8b799639daa66e6989b466e68cf045eb0ebe90a6b2f27190a40ead401b70a94f829ff3e860763e7c3945e3c2c5899aa2973d7e298b79 SHA512 02dc98ae1b8450eff1510bad40c790c1b0e79cb89cd63f40a43a0e538b7b19a70650105d01d6710bc4ecc1bc193f066c995f572f3b57f901f958db5a1f97c97c
EBUILD php-8.2.24.ebuild 26595 BLAKE2B 62bff19d9e738b5e8da960d6fc8d41ff35723356017ef048e7a45d54e07b62a43dcd632837f3917654e5600097fe2c50d2247137c693bf20627773fc6054fb36 SHA512 3df0a5705098463bedd5362af4b4ec1c06797932c1c3ad666fd6be115c601409ec3cdec75342e7da520966a17e3a4db30f975a5dbc6ff2d762a0234e639720ff
-EBUILD php-8.2.28.ebuild 26827 BLAKE2B eb64e3338a6ad134f8a8dc11b66b85164f15de59010207c426fcbbc6839a6529aecc6ee97e556ed5a6e12f58848bee81f6eef900859e2e8477b916b3f8af7975 SHA512 f17a796d5748e6045faf8650d2cc65dc67937052f4e8f6fc23bc20dbfccd0f89268bf051a088a333f1f6dd72cd206a526b3a93f047cb26aa63edc1982912820d
+EBUILD php-8.2.28.ebuild 26822 BLAKE2B 94e3f32d40b96aad82e917606b39c916752a6d77336f3dc9b9ba38306c279691a0b889395d5ee206bfd3397da4c768359babe26c7cf5f28b28e404e6eca421ff SHA512 0cf4881f8c4b05eea0311507e0207ca0e35209ead489197712d3a252573124b6d4751f1b073fb6c33b02d65aad796eb03408d1551e1f6bc49d91f3c42235f9f4
EBUILD php-8.3.19.ebuild 24512 BLAKE2B 2c29b88c098f403a2de3b2645dbf3390a1a4691c98f965764f2b541096d7ae1cf4ea35082f82688bde6a300311388de9c60bbd8727a180ebddc162ddc06ee4da SHA512 95fd342e2f708ccbefca98edf71c9eddec3532a5297506c17841f3bb22af034be0ee84d3daa50bf0d9c1c20088a1ad9cb216735bc8b6830abbfb7b0146b4f90f
+EBUILD php-8.4.5.ebuild 23664 BLAKE2B 42d0e49f58b797bc3f8834ee25d9c057e195de92094fe6c59324c16fb51c01641e038da28a89a776ed20bb849602b7f707d91afb2bec0ea438186334a98c6589 SHA512 fbf5f499e171f1965fb83aea339a7ddcea6eafe52d0aa1395d4bd46b6dfa3636e48348a2f81b299228fda603a5f942f68fde04d44a31761a6a5eecf257d88d8b
MISC metadata.xml 4249 BLAKE2B 11f9270fbc0cae280ec3ec62c9e6acfc643f4c7952822537664e8bcdbdfed64805b0e83fcbfb83111123745fadf64b276b51e1e27c9b5eb38ef8ffc30965d12b SHA512 39c59d31de21a66ca55a4816bebd901c8f2b28b7d1340605845c535cc979bca4d8641280bf45782d5d3eb94820e054e7f52491a23a4d1cf692774e11becc55c1
diff --git a/dev-lang/php/php-8.2.28.ebuild b/dev-lang/php/php-8.2.28.ebuild
index d7612d5e8ebb..13bf39dea366 100644
--- a/dev-lang/php/php-8.2.28.ebuild
+++ b/dev-lang/php/php-8.2.28.ebuild
@@ -20,7 +20,7 @@ LICENSE="PHP-3.01
unicode? ( BSD-2 LGPL-2.1 )"
SLOT="$(ver_cut 1-2)"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
# We can build the following SAPIs in the given order
SAPIS="embed cli cgi fpm apache2 phpdbg"
diff --git a/dev-lang/php/php-8.1.30.ebuild b/dev-lang/php/php-8.4.5.ebuild
index 3a8fb7290eb3..59e9a92dbefa 100644
--- a/dev-lang/php/php-8.1.30.ebuild
+++ b/dev-lang/php/php-8.4.5.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
WANT_AUTOMAKE="none"
-
-inherit flag-o-matic multilib systemd autotools
+POSTGRES_COMPAT=( {15..17} )
+inherit autotools flag-o-matic multilib postgres systemd
DESCRIPTION="The PHP language runtime engine"
HOMEPAGE="https://www.php.net/"
@@ -16,11 +16,10 @@ LICENSE="PHP-3.01
Zend-2.0
bcmath? ( LGPL-2.1+ )
fpm? ( BSD-2 )
- gd? ( gd )
unicode? ( BSD-2 LGPL-2.1 )"
SLOT="$(ver_cut 1-2)"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
# We can build the following SAPIs in the given order
SAPIS="embed cli cgi fpm apache2 phpdbg"
@@ -31,29 +30,22 @@ IUSE="${IUSE}
threads"
IUSE="${IUSE} acl apparmor argon2 avif bcmath berkdb bzip2 calendar
- cdb cjk coverage +ctype curl debug
- enchant exif ffi +fileinfo +filter firebird
- +flatfile ftp gd gdbm gmp +iconv imap inifile
- intl iodbc ipv6 +jit kerberos ldap ldap-sasl libedit lmdb
+ capstone cdb +ctype curl debug
+ enchant exif ffi +fileinfo +filter
+ +flatfile ftp gd gdbm gmp +iconv inifile
+ intl iodbc ipv6 +jit jpeg ldap ldap-sasl libedit lmdb
mhash mssql mysql mysqli nls
- oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
- readline selinux +session session-mm sharedmem
+ odbc +opcache +opcache-jit pcntl pdo +phar +posix postgres png
+ qdbm readline selinux +session session-mm sharedmem
+simplexml snmp soap sockets sodium spell sqlite ssl
- sysvipc systemd test tidy +tokenizer tokyocabinet truetype unicode webp
- +xml xmlreader xmlwriter xpm xslt zip zlib"
+ sysvipc systemd test tidy +tokenizer tokyocabinet truetype unicode
+ valgrind webp +xml xmlreader xmlwriter xpm xslt zip zlib"
# Without USE=readline or libedit, the interactive "php -a" CLI will hang.
-# The Oracle instant client provides its own incompatible ldap library.
REQUIRED_USE="
|| ( cli cgi fpm apache2 embed phpdbg )
- avif? ( gd zlib )
cli? ( ^^ ( readline libedit ) )
!cli? ( ?? ( readline libedit ) )
- truetype? ( gd zlib )
- webp? ( gd zlib )
- cjk? ( gd zlib )
- exif? ( gd zlib )
- xpm? ( gd zlib )
gd? ( zlib )
simplexml? ( xml )
soap? ( xml )
@@ -61,12 +53,12 @@ REQUIRED_USE="
xmlwriter? ( xml )
xslt? ( xml )
ldap-sasl? ( ldap )
- oci8-instant-client? ( !ldap )
qdbm? ( !gdbm )
session-mm? ( session !threads )
mysql? ( || ( mysqli pdo ) )
- firebird? ( pdo )
mssql? ( pdo )
+ test? ( cli )
+ postgres? ( ${POSTGRES_REQ_USE} )
"
RESTRICT="!test? ( test )"
@@ -75,58 +67,54 @@ RESTRICT="!test? ( test )"
# the ./configure script. Other versions *work*, but we need to stick to
# the ones that can be detected to avoid a repeat of bug #564824.
COMMON_DEPEND="
- >=app-eselect/eselect-php-0.9.7[apache2?,fpm?]
- >=dev-libs/libpcre2-10.30[jit?,unicode]
+ app-eselect/eselect-php[apache2?,fpm?]
+ dev-libs/libpcre2[jit?,unicode]
virtual/libcrypt:=
- fpm? ( acl? ( sys-apps/acl ) apparmor? ( sys-libs/libapparmor ) )
+ fpm? ( acl? ( sys-apps/acl ) apparmor? ( sys-libs/libapparmor ) selinux? ( sys-libs/libselinux ) )
apache2? ( www-servers/apache[apache2_modules_unixd(+),threads=] )
argon2? ( app-crypt/argon2:= )
- avif? ( media-libs/libavif:= )
berkdb? ( || ( sys-libs/db:5.3 sys-libs/db:4.8 ) )
bzip2? ( app-arch/bzip2:0= )
+ capstone? ( dev-libs/capstone )
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
- coverage? ( dev-util/lcov )
- curl? ( >=net-misc/curl-7.29.0 )
+ curl? ( net-misc/curl )
enchant? ( app-text/enchant:2 )
- ffi? ( >=dev-libs/libffi-3.0.11:= )
- firebird? ( dev-db/firebird )
- gd? ( media-libs/libjpeg-turbo:0= media-libs/libpng:0= )
- gdbm? ( >=sys-libs/gdbm-1.8.0:0= )
+ ffi? ( dev-libs/libffi:= )
+ gd? (
+ >=media-libs/gd-2.3.3-r4[avif?,jpeg?,png?,truetype?,webp?,xpm?]
+ )
+ gdbm? ( sys-libs/gdbm:0= )
gmp? ( dev-libs/gmp:0= )
iconv? ( virtual/libiconv )
- imap? ( net-libs/c-client[kerberos=,ssl=] )
intl? ( dev-libs/icu:= )
- kerberos? ( virtual/krb5 )
- ldap? ( >=net-nds/openldap-1.2.11:= )
+ ldap? ( net-nds/openldap:= )
ldap-sasl? ( dev-libs/cyrus-sasl )
libedit? ( dev-libs/libedit )
lmdb? ( dev-db/lmdb:= )
mssql? ( dev-db/freetds[mssql] )
nls? ( sys-devel/gettext )
- oci8-instant-client? ( dev-db/oracle-instantclient[sdk] )
- odbc? ( iodbc? ( dev-db/libiodbc ) !iodbc? ( >=dev-db/unixODBC-1.8.13 ) )
- postgres? ( >=dev-db/postgresql-9.1:* )
+ odbc? ( iodbc? ( dev-db/libiodbc ) !iodbc? ( dev-db/unixODBC ) )
+ postgres? ( ${POSTGRES_DEP} )
qdbm? ( dev-db/qdbm )
readline? ( sys-libs/readline:0= )
session-mm? ( dev-libs/mm )
- snmp? ( >=net-analyzer/net-snmp-5.2 )
+ snmp? ( net-analyzer/net-snmp )
sodium? ( dev-libs/libsodium:=[-minimal(-)] )
- spell? ( >=app-text/aspell-0.50 )
- sqlite? ( >=dev-db/sqlite-3.7.6.3 )
- ssl? ( >=dev-libs/openssl-1.0.2:0= )
+ spell? ( app-text/aspell )
+ sqlite? ( dev-db/sqlite )
+ ssl? ( dev-libs/openssl:0= )
tidy? ( app-text/htmltidy )
tokyocabinet? ( dev-db/tokyocabinet )
- truetype? ( =media-libs/freetype-2* )
+ truetype? ( media-libs/freetype )
unicode? ( dev-libs/oniguruma:= )
- webp? ( media-libs/libwebp:0= )
- xml? ( >=dev-libs/libxml2-2.9.0 )
- xpm? ( x11-libs/libXpm )
+ valgrind? ( dev-debug/valgrind )
+ xml? ( >=dev-libs/libxml2-2.12.5 )
xslt? ( dev-libs/libxslt )
- zip? ( >=dev-libs/libzip-1.2.0:= )
- zlib? ( >=sys-libs/zlib-1.2.0.4:0= )
+ zip? ( dev-libs/libzip:= )
+ zlib? ( sys-libs/zlib:0= )
"
-IDEPEND=">=app-eselect/eselect-php-0.9.7[apache2?,fpm?]"
+IDEPEND="app-eselect/eselect-php[apache2?,fpm?]"
RDEPEND="${COMMON_DEPEND}
virtual/mta
@@ -139,22 +127,17 @@ RDEPEND="${COMMON_DEPEND}
# have an incompatible version installed. See bug 593278.
DEPEND="${COMMON_DEPEND}
app-arch/xz-utils
- >=sys-devel/bison-3.0.1"
+ sys-devel/bison"
BDEPEND="virtual/pkgconfig"
-PHP_MV="$(ver_cut 1)"
-
PATCHES=(
- "${FILESDIR}/php-iodbc-header-location.patch"
- "${FILESDIR}/php-capstone-optional.patch"
- "${FILESDIR}/php-8.1.27-gcc14-libxml.patch"
- "${FILESDIR}/php-8.1.27-implicit-decls.patch"
- "${FILESDIR}/fix-musl-llvm.patch"
- "${FILESDIR}/php-8.1.29-gcc14-intl.patch"
+ "${FILESDIR}/php-bug75457-pcre2-backport.patch"
)
-# ARM/Windows functions that are expected to be undefined.
+PHP_MV="$(ver_cut 1)"
+
+# ARM/Windows functions (bug 923335)
QA_CONFIG_IMPL_DECL_SKIP=(
__crc32d
_controlfp
@@ -177,15 +160,14 @@ php_install_ini() {
local phpinisrc="php.ini-production-${phpsapi}"
cp php.ini-production "${phpinisrc}" || die
- # default to /tmp for save_path, bug #282768
- sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}" || die
-
- # Set the extension dir
- sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" \
- -i "${phpinisrc}" || die
-
- # Set the include path to point to where we want to find PEAR packages
- sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}" || die
+ # Set the include path to point to where we want to find PEAR
+ # packages
+ local sed_src='^;include_path = ".:/php.*'
+ local include_path="."
+ include_path+=":${EPREFIX}/usr/share/php${PHP_MV}"
+ include_path+=":${EPREFIX}/usr/share/php"
+ local sed_dst="include_path = \"${include_path}\""
+ sed -e "s|${sed_src}|${sed_dst}|" -i "${phpinisrc}" || die
insinto "${PHP_INI_DIR#${EPREFIX}}"
newins "${phpinisrc}" php.ini
@@ -198,7 +180,7 @@ php_install_ini() {
if use opcache; then
elog "Adding opcache to $PHP_EXT_INI_DIR"
- echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> \
+ echo "zend_extension = opcache.so" >> \
"${D}/${PHP_EXT_INI_DIR}"/opcache.ini
dosym "../ext/opcache.ini" \
"${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}/opcache.ini"
@@ -222,10 +204,14 @@ php_set_ini_dir() {
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
}
+pkg_setup() {
+ use postgres && postgres_pkg_setup
+}
+
src_prepare() {
default
- # In php-7.x, the FPM pool configuration files have been split off
+ # In php-8.x, the FPM pool configuration files have been split off
# of the main config. By default the pool config files go in
# e.g. /etc/php-fpm.d, which isn't slotted. So here we move the
# include directory to a subdirectory "fpm.d" of $PHP_INI_DIR. Later
@@ -235,36 +221,72 @@ src_prepare() {
sapi/fpm/php-fpm.conf.in \
|| die 'failed to move the include directory in php-fpm.conf'
- # Emulate buildconf to support cross-compilation
- rm -fr aclocal.m4 autom4te.cache config.cache \
- configure main/php_config.h.in || die
+ # fails in a network sandbox,
+ #
+ # https://github.com/php/php-src/issues/11662
+ #
+ rm ext/sockets/tests/bug63000.phpt || die
+
+ # Tests ignoring the "-n" flag we pass to run-tests.php,
+ #
+ # https://github.com/php/php-src/pull/11669
+ #
+ rm ext/standard/tests/file/bug60120.phpt \
+ ext/standard/tests/general_functions/proc_open_null.phpt \
+ ext/standard/tests/general_functions/proc_open_redirect.phpt \
+ ext/standard/tests/general_functions/proc_open_sockets1.phpt \
+ ext/standard/tests/general_functions/proc_open_sockets2.phpt \
+ ext/standard/tests/general_functions/proc_open_sockets3.phpt \
+ ext/standard/tests/ini_info/php_ini_loaded_file.phpt \
+ sapi/cli/tests/016.phpt \
+ sapi/cli/tests/023.phpt \
+ sapi/cli/tests/bug65275.phpt \
+ sapi/cli/tests/bug74600.phpt \
+ sapi/cli/tests/bug78323.phpt \
+ || die
+
+ # Most tests failing with an external libgd have been fixed,
+ # but there are a few stragglers:
+ #
+ # * https://github.com/php/php-src/issues/11252
+ #
+ rm ext/gd/tests/bug43073.phpt \
+ ext/gd/tests/bug48732.phpt \
+ ext/gd/tests/bug48732-mb.phpt \
+ ext/gd/tests/bug48801.phpt \
+ ext/gd/tests/bug48801-mb.phpt \
+ ext/gd/tests/bug53504.phpt \
+ ext/gd/tests/bug65148.phpt \
+ ext/gd/tests/bug73272.phpt \
+ || die
+
+ # Test currently fails in the sandbox and the test for this variant
+ # might be broken Upstream discusses removing the test again.
+ #
+ # - https://github.com/php/php-src/commit/930624899bb996efc2f6a24b992ede90
+ #
+ rm ext/standard/tests/file/bug72666_variation3.phpt || die
+
+ # One-off, somebody forgot to update a version constant
+ rm ext/reflection/tests/ReflectionZendExtension.phpt || die
+
eautoconf --force
- eautoheader
-
- # Remove false positive test failures
- # stream_isatty fails due to portage redirects
- # curl tests here fail for network sandbox issues
- # session tests here fail because we set the session directory to $T
- rm tests/output/stream_isatty_err.phpt \
- tests/output/stream_isatty_out-err.phpt \
- tests/output/stream_isatty_out.phpt \
- ext/curl/tests/bug76675.phpt \
- ext/curl/tests/bug77535.phpt \
- ext/curl/tests/curl_error_basic.phpt \
- ext/session/tests/bug74514.phpt \
- ext/session/tests/bug74936.phpt \
- ext/fileinfo/tests/bug78987.phpt || die
}
src_configure() {
addpredict /usr/share/snmp/mibs/.index #nowarn
addpredict /var/lib/net-snmp/mib_indexes #nowarn
- PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
-
# https://bugs.gentoo.org/866683, https://bugs.gentoo.org/913527
filter-lto
+ PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
+
+ # Don't allow ./configure to detect and use an existing version
+ # of PHP; this can lead to all sorts of weird unpredictability
+ # as in bug 900210.
+ export ac_cv_prog_PHP=""
+
# The php-fpm config file wants localstatedir to be ${EPREFIX}/var
# and not the Gentoo default ${EPREFIX}/var/lib. See bug 572002.
local our_conf=(
@@ -276,6 +298,7 @@ src_configure() {
--localstatedir="${EPREFIX}/var"
--without-pear
--without-valgrind
+ --with-external-libcrypt
$(use_enable threads zts)
)
@@ -286,11 +309,10 @@ src_configure() {
our_conf+=(
$(use_with apparmor fpm-apparmor)
$(use_with argon2 password-argon2 "${EPREFIX}/usr")
- $(use_with avif)
$(use_enable bcmath)
$(use_with bzip2 bz2 "${EPREFIX}/usr")
$(use_enable calendar)
- $(use_enable coverage gcov)
+ $(use_with capstone)
$(use_enable ctype)
$(use_with curl)
$(use_enable xml dom)
@@ -307,7 +329,6 @@ src_configure() {
$(use elibc_glibc || use elibc_musl || echo "${EPREFIX}/usr"))
$(use_enable intl)
$(use_enable ipv6)
- $(use_with kerberos)
$(use_with xml libxml)
$(use_enable unicode mbstring)
$(use_with ssl openssl)
@@ -315,9 +336,10 @@ src_configure() {
$(use_enable phar)
$(use_enable pdo)
$(use_enable opcache)
- $(use_with postgres pgsql "${EPREFIX}/usr")
+ $(use_enable opcache-jit)
+ $(use_with postgres pgsql "$("${PG_CONFIG:-true}" --bindir)/..")
$(use_enable posix)
- $(use_with spell pspell "${EPREFIX}/usr")
+ $(use_with selinux fpm-selinux)
$(use_enable simplexml)
$(use_enable sharedmem shmop)
$(use_with snmp snmp "${EPREFIX}/usr")
@@ -337,6 +359,18 @@ src_configure() {
$(use_with zip)
$(use_with zlib zlib "${EPREFIX}/usr")
$(use_enable debug)
+ $(use_with valgrind)
+ )
+
+ # Override autoconf cache variables for libcrypt algorithms.These
+ # otherwise cannot be detected when cross-compiling. Bug 931884.
+ our_conf+=(
+ ac_cv_crypt_blowfish=yes
+ ac_cv_crypt_des=yes
+ ac_cv_crypt_ext_des=yes
+ ac_cv_crypt_md5=yes
+ ac_cv_crypt_sha512=yes
+ ac_cv_crypt_sha256=yes
)
# DBA support
@@ -357,24 +391,20 @@ src_configure() {
$(use_with lmdb lmdb "${EPREFIX}/usr")
)
- # Support for the GD graphics library
+ # Use the system copy of GD. The autoconf cache variable overrides
+ # allow cross-compilation to proceed since the corresponding
+ # features cannot be detected by running a program.
our_conf+=(
- $(use_with truetype freetype)
- $(use_enable cjk gd-jis-conv)
- $(use_with gd jpeg)
- $(use_with xpm)
- $(use_with webp)
+ $(use_enable gd gd)
+ $(use_with gd external-gd)
+ php_cv_lib_gd_gdImageCreateFromAvif=$(usex avif)
+ php_cv_lib_gd_gdImageCreateFromBmp=yes
+ php_cv_lib_gd_gdImageCreateFromJpeg=$(usex jpeg)
+ php_cv_lib_gd_gdImageCreateFromPng=$(usex png)
+ php_cv_lib_gd_gdImageCreateFromTga=yes
+ php_cv_lib_gd_gdImageCreateFromWebp=$(usex webp)
+ php_cv_lib_gd_gdImageCreateFromXpm=$(usex xpm)
)
- # enable gd last, so configure can pick up the previous settings
- our_conf+=( $(use_enable gd) )
-
- # IMAP support
- if use imap ; then
- our_conf+=(
- $(use_with imap imap "${EPREFIX}/usr")
- $(use_with ssl imap-ssl "${EPREFIX}/usr")
- )
- fi
# LDAP support
if use ldap ; then
@@ -385,7 +415,7 @@ src_configure() {
fi
# MySQL support
- our_conf+=( $(use_with mysqli mysqli "mysqlnd") )
+ our_conf+=( $(use_with mysqli) )
local mysqlsock="${EPREFIX}/var/run/mysqld/mysqld.sock"
if use mysql || use mysqli ; then
@@ -394,10 +424,22 @@ src_configure() {
# ODBC support
if use odbc && use iodbc ; then
+ # Obtain the correct -l and -I flags for the actual build from
+ # pkg-config. We use the "generic" library type to avoid the
+ # (wrong) hard-coded include dir for iodbc.
+ #
+ # We set the pdo_odbc_def_incdir variable because the
+ # ./configure script checks for the headers using "test -f" and
+ # ignores your CFLAGS... and pdo_odbc_def_libdir prevents the
+ # build system from appending a nonsense -L flag.
+ local iodbc_ldflags=$(pkg-config --libs libiodbc)
+ local iodbc_cflags=$(pkg-config --cflags libiodbc)
our_conf+=(
+ pdo_odbc_def_libdir="${EPREFIX}/usr/$(get_libdir)"
+ pdo_odbc_def_incdir="${EPREFIX}/usr/include/iodbc"
--without-unixODBC
--with-iodbc
- $(use_with pdo pdo-odbc "iODBC,${EPREFIX}/usr")
+ $(use_with pdo pdo-odbc "generic,,iodbc,${iodbc_ldlags},${iodbc_cflags}")
)
elif use odbc ; then
our_conf+=(
@@ -413,9 +455,6 @@ src_configure() {
)
fi
- # Oracle support
- our_conf+=( $(use_with oci8-instant-client oci8) )
-
# PDO support
if use pdo ; then
our_conf+=(
@@ -423,8 +462,6 @@ src_configure() {
$(use_with mysql pdo-mysql "mysqlnd")
$(use_with postgres pdo-pgsql)
$(use_with sqlite pdo-sqlite)
- $(use_with firebird pdo-firebird "${EPREFIX}/usr")
- $(use_with oci8-instant-client pdo-oci)
)
fi
@@ -465,9 +502,20 @@ src_configure() {
# Support the Apache2 extras, they must be set globally for all
# SAPIs to work correctly, especially for external PHP extensions
+ # Create separate build trees for each enabled SAPI. The upstream
+ # build system doesn't do this, but we have to do it to use a
+ # different php.ini for each SAPI (see --with-config-file-path and
+ # --with-config-file-scan-dir below). The path winds up define'd
+ # in main/build-defs.h which is included in main/php.h which is
+ # included by basically everything; so, avoiding a rebuild after
+ # changing it is not an easy job.
+ #
+ # The upstream build system also does not support building the
+ # apache2 and embed SAPIs at the same time, presumably because they
+ # both produce a libphp.so.
local one_sapi
local sapi
- mkdir -p "${WORKDIR}/sapis-build" || die
+ mkdir "${WORKDIR}/sapis-build" || die
for one_sapi in $SAPIS ; do
use "${one_sapi}" || continue
php_set_ini_dir "${one_sapi}"
@@ -477,7 +525,6 @@ src_configure() {
# based on the autotools-utils eclass.
BUILD_DIR="${WORKDIR}/sapis-build/${one_sapi}"
cp -a "${S}" "${BUILD_DIR}" || die
- cd "${BUILD_DIR}" || die
local sapi_conf=(
--with-config-file-path="${PHP_INI_DIR}"
@@ -516,6 +563,7 @@ src_configure() {
myeconfargs+=( "${sapi_conf[@]}" )
pushd "${BUILD_DIR}" > /dev/null || die
+ einfo "Running econf in ${BUILD_DIR}"
econf "${myeconfargs[@]}"
popd > /dev/null || die
done
@@ -528,11 +576,7 @@ src_compile() {
local sapi
for sapi in ${SAPIS} ; do
- if use "${sapi}"; then
- cd "${WORKDIR}/sapis-build/$sapi" || \
- die "Failed to change dir to ${WORKDIR}/sapis-build/$1"
- emake
- fi
+ use "${sapi}" && emake -C "${WORKDIR}/sapis-build/${sapi}"
done
}
@@ -549,20 +593,15 @@ src_install() {
fi
done
- # Makefile forgets to create this before trying to write to it...
- dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
-
- # Install php environment (without any sapis)
+ # Install SAPI-independent targets
cd "${WORKDIR}/sapis-build/$first_sapi" || die
emake INSTALL_ROOT="${D}" \
install-build install-headers install-programs
-
- local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
+ use opcache && emake INSTALL_ROOT="${D}" install-modules
# Create the directory where we'll put version-specific php scripts
keepdir "/usr/share/php${PHP_MV}"
- local file=""
local sapi_list=""
for sapi in ${SAPIS}; do
@@ -628,12 +667,6 @@ src_install() {
fi
done
- # Installing opcache module
- if use opcache ; then
- into "${PHP_DESTDIR#${EPREFIX}}"
- dolib.so "modules/opcache$(get_libname)"
- fi
-
# Install env.d files
newenvd "${FILESDIR}/20php5-envd" "20php${SLOT}"
sed -e "s|/lib/|/$(get_libdir)/|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
@@ -655,14 +688,13 @@ src_install() {
}
src_test() {
- echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
- PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
- if [[ ! -x "${PHP_BIN}" ]] ; then
- ewarn "Test phase requires USE=cli, skipping"
- return
- else
- export TEST_PHP_EXECUTABLE="${PHP_BIN}"
- fi
+ export TEST_PHP_EXECUTABLE="${WORKDIR}/sapis-build/cli/sapi/cli/php"
+
+ # Sometimes when the sub-php launches a sub-sub-php, it uses these.
+ # Without an "-n" in all instances, the *live* php.ini can be loaded,
+ # pulling in *live* zend extensions. And those can be incompatible
+ # with the thing we just built.
+ export TEST_PHP_EXTRA_ARGS="-n"
if [[ -x "${WORKDIR}/sapis-build/cgi/sapi/cgi/php-cgi" ]] ; then
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis-build/cgi/sapi/cgi/php-cgi"
@@ -672,40 +704,16 @@ src_test() {
export TEST_PHPDBG_EXECUTABLE="${WORKDIR}/sapis-build/phpdbg/sapi/phpdbg/phpdbg"
fi
- SKIP_ONLINE_TESTS=1 REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d \
- "session.save_path=${T}" \
- "${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d \
- "session.save_path=${T}"
-
- for name in ${EXPECTED_TEST_FAILURES}; do
- mv "${name}.out" "${name}.out.orig" 2>/dev/null || die
- done
-
- local failed="$(find -name '*.out')"
- if [[ ${failed} != "" ]] ; then
- ewarn "The following test cases failed unexpectedly:"
- for name in ${failed}; do
- ewarn " ${name/.out/}"
- done
- else
- einfo "No unexpected test failures, all fine"
- fi
-
- if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
- local passed=""
- for name in ${EXPECTED_TEST_FAILURES}; do
- [[ -f "${name}.diff" ]] && continue
- passed="${passed} ${name}"
- done
- if [[ ${passed} != "" ]] ; then
- einfo "The following test cases passed unexpectedly:"
- for name in ${passed}; do
- ewarn " ${passed}"
- done
- else
- einfo "None of the known-to-fail tests passed, all fine"
- fi
- fi
+ # The IO capture tests need to be disabled because they fail when
+ # std{in,out,err} are redirected (as they are within portage).
+ #
+ # One -n applies to the top-level "php", while the other applies
+ # to any sub-php that get invoked by the test runner.
+ SKIP_IO_CAPTURE_TESTS=1 SKIP_PERF_SENSITIVE=1 REPORT_EXIT_STATUS=1 \
+ "${TEST_PHP_EXECUTABLE}" -n \
+ "${WORKDIR}/sapis-build/cli/run-tests.php" --offline -n -q \
+ -d "session.save_path=${T}" \
+ || die "tests failed"
}
pkg_postinst() {
diff --git a/dev-lang/ruby/Manifest b/dev-lang/ruby/Manifest
index f2b4895cef50..5484643adb13 100644
--- a/dev-lang/ruby/Manifest
+++ b/dev-lang/ruby/Manifest
@@ -33,11 +33,11 @@ EBUILD ruby-3.1.6-r1.ebuild 8908 BLAKE2B d1f784e2ed287491e3163fd02cc67e60041e0f4
EBUILD ruby-3.1.6-r3.ebuild 9203 BLAKE2B 216ceb045e2392a8e3966e80ef2fec25b6d7c534ec8cd69941ae4f74eab284899b71392f5c2fbd554b8eea7757816f90cb507afbde415aaee34c96e6a8933219 SHA512 dd4e8e81d6520c662cc5cd2fa2f3533c273f002644489e4cebc6291c8c7e858661d70d3e7d9bbf19460e23ecb52443757c2c970e40b7fe2da54b037cc1ce2ce1
EBUILD ruby-3.2.6-r2.ebuild 9380 BLAKE2B 6aeffba44f299f96c4e40ef626ad764bbb53674065108ccd64c92083107d2bb2ff43dca95efbbe5507011263b7a0cbec15b51557c8af5ea762af1f27b7e21e0c SHA512 dd3ec646360dea6eec0db0171fac65e1c05aa56e557b424684daf2efe6c9376fe410a8f9e218a1452340fc668966cfddf33c0d9a65c4511ff3f35cf7a03413ef
EBUILD ruby-3.2.6-r4.ebuild 9539 BLAKE2B ecac6bd70da9bbd450ef5527b1528a675e53924cf76f213b4fca961fb3b9a8961b41d83e6619930bf3070e5fe84606e9ea974a70804a58d24efba320d44d4fc3 SHA512 9727b97df85dcc1b0ae184e9c1bad66f8fcce1cfaf14da114401341c2a37a283ed48e2c807790d13d4fc418fbcfcac250b62c794fb089a2455498210d429eede
-EBUILD ruby-3.2.7.ebuild 9491 BLAKE2B b6ba59b3b88df73e69c7cacdbd4fb2c2e663d09ca1aa42a082d1ad74ad205ded072657263cae86159c5ef6dc46baf39840b4f18ecc1dc14745e42e3010912062 SHA512 daa0fd9d630087c581772e08e71f046ebf6028844ed957880f8f26f5182a75bc6740f62d0ab507d8a9f29f4426cf75737ba99d6414860b8aa4daae44e77bd342
+EBUILD ruby-3.2.7.ebuild 9563 BLAKE2B d67f4bdb6c1c68562b14b5601d1f15ea2a539a38765a88783faaf61bf2db80bc6481c45c5187d774b6539e3ee1e6de24ad3fca808c7e8262e1b3aecf530af3af SHA512 8e49eff72049bbd896afee342e6bd4f75b2b39ab89eb77bd6af24c2a2cb68cb2cada9ed82cc1f593af5335c3ee95e93ab18c2bf2ad77f731c18b43bb4257d5dc
EBUILD ruby-3.3.6-r1.ebuild 9566 BLAKE2B afce954e3ebc1bc8d3f3890cb21ee92a6349d1b9752a54d55d0a5cef67d2ce47aa779d658fe5b7574eb82294490c120b9cabb511d72332d9c41f9207fa93dda1 SHA512 47583e13a082a7e9600558108b66f07f20905ee3ea8dddbe2f7008ebc2389d6b0946a5cf3423e9da7e1c91f161d424a003d6b6ed5d0720a2db525488f8b97825
-EBUILD ruby-3.3.7-r1.ebuild 9661 BLAKE2B 2305b59565f7cd0d0e67e1a284c44eb23904f36de489e135651d9bc377ab6da60d2b3b00ba9d74fbdaf913fa19528cd12c4d78d673aad2fd9d3f1666053fb6e8 SHA512 1162ed37339f0ccb0883da63cc569a7754f5af801f9661ebe0f15f24541cbc0f904306380dc4f4d1c93b74989b16b94850d13f7277632e2a2c604c46f5aaa789
+EBUILD ruby-3.3.7-r1.ebuild 9733 BLAKE2B beb458dfb4305087b5b9c438a7b2101f15abee23a7589804a3288bce8017c60c043d25028d729f3a2ddc6da9ec8bcf587a47a5b2d35a9856fa13b58e12d612b4 SHA512 f3e1edb3c0fdb8c6081923cbe5b8ab327a29421420606f6157758186cb0f0df849064e44d905f549b031fdc4f74921adaa7df06e03bcc2574e1c8d477d36720d
EBUILD ruby-3.3.7.ebuild 9545 BLAKE2B 5b39ee480f314d821f2de3af5992db6a9b313f396804d9d9af26602cd135cd731a0a3536ff37c0e500e80eba32ef7659826c88584b683a27cb5b8f127260e132 SHA512 eec3947cbce0bf57c2aa140c2a19c1a13c68e0befe872321c00fbe9e32665da059a23f3c6db4e48b6ac68cd62a143ab1220feec3d7729c0fa4835b50e22b8680
-EBUILD ruby-3.4.1-r1.ebuild 10351 BLAKE2B 4210db7fecb64e268ca407b623e83260e280be15d1be7ac0c0bcb42e265fc9cb03c5971609ce74ab4f133bb4a8475fb4a65dd8ce56b699df9ebf02aea9614efb SHA512 98e763e3ad4c44e57764412015e0e97c02b9fb64ac4270985a29b1242e3d57f3e48dd15791b4ab1b38fadae07df6cbb0085b49c78a6d8d890de027e20cef58d2
+EBUILD ruby-3.4.1-r1.ebuild 10376 BLAKE2B 118bc9623bf4bae48178b7b30ea60565a75a282b367afd93b631fa8d927da2ef5390b5494e8234e8cac795bc20e5c4623946a9a97cff3424f4c2eb341ebf5ea1 SHA512 f6c58fa01e75e4dcc76d177f757b3ec9c767ad2a82915b602dcb8e072a7fa9850c06c437ee5d13bd1803fdae366dc58c3720f93564d1f747d9659caebd69621d
EBUILD ruby-3.4.1.ebuild 10235 BLAKE2B 29946e6df5b2a6b7f981399d0c49e81fc212cd19a67c2ea59b355c4a52a016ab3e2a244592ad5766e8846407f925e62a23124aedef53e5c01ec66116a760736d SHA512 191b74008848bb2b46e008448d093b92ce1a0b98d2bab8b4eba7856b7f5f226806f2c20a022b6dea9b7bd76928fb1f39ff7171141605aa276e69b2bfc2d7bbde
-EBUILD ruby-3.4.2.ebuild 10351 BLAKE2B 4210db7fecb64e268ca407b623e83260e280be15d1be7ac0c0bcb42e265fc9cb03c5971609ce74ab4f133bb4a8475fb4a65dd8ce56b699df9ebf02aea9614efb SHA512 98e763e3ad4c44e57764412015e0e97c02b9fb64ac4270985a29b1242e3d57f3e48dd15791b4ab1b38fadae07df6cbb0085b49c78a6d8d890de027e20cef58d2
+EBUILD ruby-3.4.2.ebuild 10398 BLAKE2B e2ce08756a804c613767d242cadfe1f4184c8acfcb169ece8001cd93abc20e089ad1c9ae8dd68eddc9fc5d69d93a85ab3857e246277caf1ac6d8d4d19e7877e8 SHA512 b36ebc0c3edd836682c163224a04910067f957bdde31b3b4c3aa3bce80ceffc22b0a537a4b432f77da613e06240867367daa56dbcb2243b1cec09751c9650be5
MISC metadata.xml 419 BLAKE2B 44eb344b51656aab76dd41ba649b241d985a83733b02d8ec147b8ff041cb492ec2704fe1d53d2a8e2c23f8e0c9351b6fcf0d63215d59703c034680605fc923b3 SHA512 eb72cd0c7ac5134a61a96ab8cf77d01911b7505a4932d322fe0583d72605ac3b1b2380a45e8f3316233401e676e818d734c6a45c44b7fbdf2720b16577326883
diff --git a/dev-lang/ruby/ruby-3.2.7.ebuild b/dev-lang/ruby/ruby-3.2.7.ebuild
index 04dd40b47479..93fbf78f2523 100644
--- a/dev-lang/ruby/ruby-3.2.7.ebuild
+++ b/dev-lang/ruby/ruby-3.2.7.ebuild
@@ -104,6 +104,7 @@ src_prepare() {
# Remove tests that are known to fail or require a network connection
rm -f test/ruby/test_process.rb test/rubygems/test_gem{,_path_support}.rb || die
+ rm -f test/rubygems/test_bundled_ca.rb || die
rm -f test/rinda/test_rinda.rb test/socket/test_tcp.rb \
test/fiber/test_address_resolve.rb spec/ruby/library/socket/tcpsocket/{initialize,open}_spec.rb|| die
@@ -233,6 +234,7 @@ src_compile() {
}
src_test() {
+ local -x USER=$(whoami)
local -x LD_LIBRARY_PATH="${S}${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
emake V=1 check
}
diff --git a/dev-lang/ruby/ruby-3.3.7-r1.ebuild b/dev-lang/ruby/ruby-3.3.7-r1.ebuild
index 7c460afeeb23..aec2261c4e01 100644
--- a/dev-lang/ruby/ruby-3.3.7-r1.ebuild
+++ b/dev-lang/ruby/ruby-3.3.7-r1.ebuild
@@ -104,6 +104,7 @@ src_prepare() {
# Remove tests that are known to fail or require a network connection
rm -f test/ruby/test_process.rb test/rubygems/test_gem{,_path_support}.rb || die
+ rm -f test/rubygems/test_bundled_ca.rb || die
rm -f test/rinda/test_rinda.rb test/socket/test_tcp.rb test/fiber/test_address_resolve.rb \
spec/ruby/library/socket/tcpsocket/{initialize,open}_spec.rb|| die
@@ -234,6 +235,7 @@ src_configure() {
}
src_compile() {
+ local -x USER=$(whoami)
local -x LD_LIBRARY_PATH="${S}${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
emake V=1 EXTLDFLAGS="${LDFLAGS}" MJIT_CFLAGS="${CFLAGS}" MJIT_OPTFLAGS="" MJIT_DEBUGFLAGS=""
}
diff --git a/dev-lang/ruby/ruby-3.4.1-r1.ebuild b/dev-lang/ruby/ruby-3.4.1-r1.ebuild
index 3f9f07ce7cb7..e18e9feaf1c5 100644
--- a/dev-lang/ruby/ruby-3.4.1-r1.ebuild
+++ b/dev-lang/ruby/ruby-3.4.1-r1.ebuild
@@ -248,6 +248,7 @@ src_configure() {
}
src_compile() {
+ local -x USER=$(whoami)
local -x LD_LIBRARY_PATH="${S}${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
emake V=1 EXTLDFLAGS="${LDFLAGS}" MJIT_CFLAGS="${CFLAGS}" MJIT_OPTFLAGS="" MJIT_DEBUGFLAGS=""
}
diff --git a/dev-lang/ruby/ruby-3.4.2.ebuild b/dev-lang/ruby/ruby-3.4.2.ebuild
index 3f9f07ce7cb7..b08126005b70 100644
--- a/dev-lang/ruby/ruby-3.4.2.ebuild
+++ b/dev-lang/ruby/ruby-3.4.2.ebuild
@@ -117,6 +117,7 @@ src_prepare() {
# Remove tests that are known to fail or require a network connection
rm -f test/ruby/test_process.rb test/rubygems/test_gem{,_path_support}.rb || die
+ rm -f test/rubygems/test_bundled_ca.rb || die
rm -f test/rinda/test_rinda.rb test/socket/test_tcp.rb test/fiber/test_address_resolve.rb \
spec/ruby/library/socket/tcpsocket/{initialize,open}_spec.rb \
spec/ruby/library/socket/socket/connect_spec.rb || die
diff --git a/dev-lang/spidermonkey/Manifest b/dev-lang/spidermonkey/Manifest
index 7f7633b59791..543dae649910 100644
--- a/dev-lang/spidermonkey/Manifest
+++ b/dev-lang/spidermonkey/Manifest
@@ -21,5 +21,5 @@ EBUILD spidermonkey-115.16.0-r1.ebuild 13395 BLAKE2B b6c7c5a512fe9e46374868e53b8
EBUILD spidermonkey-128.4.0-r1.ebuild 13747 BLAKE2B 91cec6c9062aa43824a389e2020cfac6dc24be106b923cdb036d4b9c14b0b71b2c2e07a298c43ecc77fbb9b89e7cad61c7eec1a0f21dfe6e79c4ea078a36eaea SHA512 5889eb2bb3b14f4d72b8bf50469b6b7fda0b60baa1fd9b27e36a421552e94549436c3afbe7d46d0246ea46888c56a8791c2c0050fc51e5a6845adfe8290d1f85
EBUILD spidermonkey-128.6.0.ebuild 12829 BLAKE2B 2c603b698773db903c6d56ea22d6d8fd774d0645d2291da6d70a7a360703c5263466883a2c2d10d46399d6681a07a28b673146c01c2b7ab283b5a4133ce63def SHA512 ce7760113b7ca8c2b12c4a481e831dc89d85abfcfad1a0becf56f0f0b53a72323141d50fd4b98044baccd9e366dd9619a10ad537513f7a62fe4a79daf9c68d8d
EBUILD spidermonkey-128.7.0.ebuild 12829 BLAKE2B 2c603b698773db903c6d56ea22d6d8fd774d0645d2291da6d70a7a360703c5263466883a2c2d10d46399d6681a07a28b673146c01c2b7ab283b5a4133ce63def SHA512 ce7760113b7ca8c2b12c4a481e831dc89d85abfcfad1a0becf56f0f0b53a72323141d50fd4b98044baccd9e366dd9619a10ad537513f7a62fe4a79daf9c68d8d
-EBUILD spidermonkey-128.8.0.ebuild 12829 BLAKE2B 60be3e5d54f91e24cf7decc9e163240e773bb73a8d6515770454d562ce004e2d087a52b37de8f535a001ed02400f205ded2eba763c887dc4f2ebbb9a0199e4fe SHA512 bb8d7192fb133bbbebc56a3a2d03d7516df936ec509e69dd5ad8ececb84110e5d271992854cd04f6bbe86c77acd277bd6c21285707f05f6853ec628ea07df9b7
+EBUILD spidermonkey-128.8.0.ebuild 13222 BLAKE2B 43db0e2206ac543af5a0a751da5c04767adf2782e09b5dfcf7a8b2939a5c51a098a3d7017dbf42edf434e91a649d9c364a77ac3f178b5b8961cde8f1ca3227bc SHA512 e71f79eff3cf991f31c0d4360eea4d05513f7baa2157697baa755dbda9c8609ad2d73553196246f10f0770507c2725857b0f1edbfcacb507d6d2bab35cf1a7d2
MISC metadata.xml 513 BLAKE2B 58ffd474492f03c16bda95e48511fb6281e03067d2ad77e994f8117345ecece5da9591dccedafe75b037d98e06851a3759caa4b993adc2910dbb76e1c01a7fa3 SHA512 1ee02bff37e2dabbd72b7f719463b12299270c7960b4cf5a92afab17c954c50e6acb826d4a91db4954fb4a7b0f8669988f2cdb5be991df90e3a605c6b35fdbfb
diff --git a/dev-lang/spidermonkey/spidermonkey-128.8.0.ebuild b/dev-lang/spidermonkey/spidermonkey-128.8.0.ebuild
index 908a8fd23c79..1039e6be8a28 100644
--- a/dev-lang/spidermonkey/spidermonkey-128.8.0.ebuild
+++ b/dev-lang/spidermonkey/spidermonkey-128.8.0.ebuild
@@ -59,7 +59,7 @@ DESCRIPTION="Mozilla's JavaScript engine written in C and C++"
HOMEPAGE="https://spidermonkey.dev https://firefox-source-docs.mozilla.org/js/index.html"
SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz
${PATCH_URIS[@]}"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
LICENSE="MPL-2.0"
SLOT="$(ver_cut 1)"
@@ -442,6 +442,15 @@ src_test() {
cp "${FILESDIR}"/spidermonkey-${SLOT}-known-test-failures.txt "${T}"/known_test_failures.list || die
+ if use ppc ; then
+ echo "non262/extensions/reviver-mutates-holder-object-nonnative.js" >> "${T}"/known_test_failures.list
+ echo "non262/extensions/typedarray-set-detach.js" >> "${T}"/known_test_failures.list
+ fi
+
+ if use ppc64 ; then
+ echo "test262/built-ins/TypedArray/prototype/set/typedarray-arg-set-values-same-buffer-other-type.js" >> "${T}"/known_test_failures.list
+ fi
+
if use x86 ; then
echo "non262/Intl/DateTimeFormat/timeZone_version.js" >> "${T}"/known_test_failures.list
echo "test262/intl402/Locale/constructor-non-iana-canon.js" >> "${T}"/known_test_failures.list
diff --git a/dev-lang/tcl/Manifest b/dev-lang/tcl/Manifest
index 5ae5813be02d..ee0189572c1c 100644
--- a/dev-lang/tcl/Manifest
+++ b/dev-lang/tcl/Manifest
@@ -8,6 +8,6 @@ DIST tcl-core8.6.15-src.tar.gz 7019390 BLAKE2B e88b974c005e3acd680f672a13b76bd73
DIST tcl-core8.6.16-src.tar.gz 7022932 BLAKE2B 9a20cc72a2654c8b4f2c9088fabef13321c414d4cc1125afbb0151ae198c6e665a7f18ffa798fcf2ed0ae1160e586819b834d745c5dfbb2b2ed5dc6d0e022d4d SHA512 b25de457523e1f884326db37acebc329d5f1a8ac2a2e0fbdfcefafc76de202ff8d1efe8ff687afa5da486c0a95ab4bde893aad6f70f0e570fa6911c5cf56d458
EBUILD tcl-8.6.13-r1.ebuild 3837 BLAKE2B f421a25f2a004bf64f1b12dab0d7f69df505140a94951a826640f322d794abc71b6b34da17ccf7d5364a98f7ab0dc791585768674872743860a5f12cbf6f9e47 SHA512 a4c88049a63a30af849175621aa6034f5fca33ea891b761a2f6b3b996ba7e0d8f42ce36b738865a4751615db663828724d6e3f066b6d31c9399f59ee5aec6b2b
EBUILD tcl-8.6.14.ebuild 3920 BLAKE2B b97a531cc91b840f1d50b1509555f94b964a1cf6e223be13bf9175a2d8c721c64bcfdbb17cd5899ab61960308dd5f1c0e3d51510bb7527a1f071b6bffb6ab674 SHA512 20837ebe035404c9dedbbf999d6eb958c318dc91a82bd71d881d7f074b80fc0556768e51f05016ce34cd6a8f306573de6277c724e2cb9eb3cb97658115eebf3b
-EBUILD tcl-8.6.15.ebuild 3840 BLAKE2B eb1d007b9c0830c4a4e68187155a19a9d4d15356f316db57d4a1f455df2622f14c133b51a634bb9e0c3febab2e6810cd5dd7dd913e3339af5f2c61bea2a0ac62 SHA512 87c4da22346e82682168360671d8778d211ddcb08303bd12721168671440f2b982dff3fdd858fa6db55233b7dbdc91d17013012dbbd694e1bb736c0c83e450a6
+EBUILD tcl-8.6.15.ebuild 3838 BLAKE2B 81c22821272adc0750cb4b7aa09d955e82bc80cf46ede68c154028242754204d03c58c0ca28cfe6247ea193e2ca685ac85187e7c4b4788f76064b1aed158773e SHA512 aedb1c7bf26b270c7d27f2b8bc6db773cdffb7b3e10d5df666dff3563dbd7195fd6e2d3b211629e3fe34b99a6b21073e62cc406d927e3ed304cd98a6f5d6b7e3
EBUILD tcl-8.6.16.ebuild 3846 BLAKE2B 914c45c12d14c1a2502d7a2f7bf997f8881d7068d3ac6c2a12f5cdd52d49178bac383a260f4bd66dc139bb1ba1ebed740b58d8efb4450b028346caa148fab74f SHA512 095405fbb6322f3755c861ec081d31cd845bd263981c6c4dee714be6dcc9d292fab8ee808f4d31f146f76c7011635732e36e63f39a3a029faccd716e71ef6239
MISC metadata.xml 421 BLAKE2B c056a7ae8f2deaddda9bb329d46ec4f322548f4d031479ba522f5d93add46bd47cc783e9876b398579898af2cbdedb053c6328433eacfd02df4bb6dcf0185766 SHA512 0e77b876a127d68c7b193db874b9d3ab38f8475abafec1d866f2a4158ea4334ae04fbd6cb1d9acc23c81e13e584fe667503e4d9352873e1880a2d6acf7dec59c
diff --git a/dev-lang/tcl/tcl-8.6.15.ebuild b/dev-lang/tcl/tcl-8.6.15.ebuild
index f9caee6586a6..737e31343388 100644
--- a/dev-lang/tcl/tcl-8.6.15.ebuild
+++ b/dev-lang/tcl/tcl-8.6.15.ebuild
@@ -18,7 +18,7 @@ S="${SPARENT}"/unix
LICENSE="tcltk Spencer-99"
SLOT="0/8.6"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="debug +threads"
RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]"
diff --git a/dev-lang/tk/Manifest b/dev-lang/tk/Manifest
index b979bf63870f..d95fbcd7af9c 100644
--- a/dev-lang/tk/Manifest
+++ b/dev-lang/tk/Manifest
@@ -10,6 +10,6 @@ DIST tk8.6.15-src.tar.gz 4590766 BLAKE2B 41cf8917fcc7ca8a5d82d86bce0c8034fec5cea
DIST tk8.6.16-src.tar.gz 4591625 BLAKE2B 80c1a87c4d8e0f2b57313a0f75568dfa877694dc2e82c64f62013317fbbb23930be3f221648768d382bf7e0cd63bb9318af104bc5fb792df70bd3a6e5be146c4 SHA512 b7d37bee25f826f156137a04859ac756c682f1dd155ec9629119dc3690509ce1b6e308e23b291f2debbc10f3b1650993fea66463e5445c505860a10acac901d0
EBUILD tk-8.6.13.ebuild 4221 BLAKE2B f9930585d1560d19a4076d5f6b5e9bf252447e40e6521fbcb3f5adb9b94efa33f3d00fc36f0276686e7b47a926d6edd6e91cd297fa7ca4dd0dbc4d73790e8588 SHA512 3038d439a0b2127bee9b9a890f16841dbd7700f85e9dc5c020c6c4c4f476f5eddc916fca6829fda9c39489da670458ee4c0528276ec4602ee6afd484869b9e11
EBUILD tk-8.6.14.ebuild 4199 BLAKE2B 8539e2ab495ce2e4ad8277780872c64d4ee85e4556d545bbab2aa7cfc4d5dea60fe5e6ab1640f95cb209109e3259e9bb3372fc0f1d9b2ee70bd9915b86079f47 SHA512 3d8e215d89961da85e8fe485eeca4a8531cd26894fb14e65d130ea973a4d7be2670ddf01a3868d15eeece2bf3fa8204d43dd281cdf4894dedd4cdb2a83c11d60
-EBUILD tk-8.6.15.ebuild 4209 BLAKE2B ed250a410c75bc401cb05f1cb241080b3a6224dc682f465e70979e89ed75a4a96521b660cd1eaddbebddf7f1cbfca6fd720fac9b514252c0da6aa88056e6e224 SHA512 9e08568e22a8b8355ca629d4419a1fd4252c4f51ad494239b380f214f3b41a6f70725ca92adc76a87a13951268920f84d44580bd8146f16479e90047fcef5c8d
+EBUILD tk-8.6.15.ebuild 4207 BLAKE2B 2109b14c39f30135bb5d1b2e9de861264e4a70cdbb2b5c3f9a07ec8e1c915a9752ce87ab3f9c46f06a00063a54bfe8b76341e8a65a1bf831a67f0d7b3f27e5e6 SHA512 af76b26bbae819e49adf4609aabfcc755626c6d6538dbd318c500cdde2b1b5abe4a2ec7607bd76c36f18312b5610b3e98b18048d19bddc90504f5b88ecd5365c
EBUILD tk-8.6.16.ebuild 4214 BLAKE2B 2a57f592690805fde02d14d3611aec16f9942e1f82e86eb0c593aa24631cf2f4a576ecdd64c243c07f14e4b4648b03559a8eda273f556c3ed73ed69cca716e76 SHA512 2ca2d345e38e1d4485a2bb57bbecd233c20a2a2b612a9f4ba910b832d907d038c4da3cebfe5799e5fa502bff1b7344a6daaffcce3657a1410fab4e14154acbe1
MISC metadata.xml 375 BLAKE2B bb3f40f5b72544625f38a6b5b17d4435d3b0bb1aef8f668f3a1e1ea7f84bf7a25651b7894abbadd66f554f68eae113c74d348b5c821f686ea78e3c1f72709ead SHA512 3e175a0631c7add79e33cf4bd1254d5f1d82da26aa26ff072d5295bbca7a9d81c760145c2cbd853e854b06e08fcadcc55ea5ef2cbd016aec73c55b97507afef9
diff --git a/dev-lang/tk/tk-8.6.15.ebuild b/dev-lang/tk/tk-8.6.15.ebuild
index 63b4f20a99a9..87d39b9548c6 100644
--- a/dev-lang/tk/tk-8.6.15.ebuild
+++ b/dev-lang/tk/tk-8.6.15.ebuild
@@ -18,7 +18,7 @@ S="${SPARENT}"/unix
LICENSE="tcltk"
SLOT="0/8.6"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="debug +threads truetype aqua xscreensaver"
RESTRICT="!test? ( test )"