https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-lang/php-8.2.18 fails to compile. Discovered on: amd64 (internal ref: gcc14_tinderbox) System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Created attachment 890964 [details] build.log build log and emerge --info
Created attachment 890965 [details] 1-config.log 1-config.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90806812741a118f53e94c5789c3c983f6ea83ee commit 90806812741a118f53e94c5789c3c983f6ea83ee Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2024-04-21 14:58:40 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2024-04-21 15:11:49 +0000 profiles/arch/amd64: un-unmask USE=oci8-instant-client on amd64 This flag controls Oracle support in PHP, but our oracle ebuilds are no longer multilib and PHP can't detect it (at least on amd64, bugs 928312 and 930141). Upstream has stopped supporting this extension anyway so it does not have a long life expectancy even on x86. Bug: https://bugs.gentoo.org/928312 Closes: https://bugs.gentoo.org/930141 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> profiles/arch/amd64/use.mask | 1 - 1 file changed, 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b181c7e3b99671bec0a609dd5282c254da3c9d9 commit 8b181c7e3b99671bec0a609dd5282c254da3c9d9 Author: Arthur Zamarin <arthurzam@gentoo.org> AuthorDate: 2024-04-21 17:19:48 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2024-04-21 17:20:41 +0000 Revert "profiles/arch/amd64: un-unmask USE=oci8-instant-client on amd64" This broke CI and gentoo, need some handling for dev-php/PEAR-MDB2_Driver_oci8 and net-analyzer/zabbix. Reverts: 90806812741a118f53e94c5789c3c983f6ea83ee Bug: https://bugs.gentoo.org/928312 Bug: https://bugs.gentoo.org/930141 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> profiles/arch/amd64/use.mask | 1 + 1 file changed, 1 insertion(+)
needed to revert since it broke 2 packages CI
FYI following workaround (for the time being until the split out pecl packages have any releas and have been packaged) allows us to successfully compile php 8.1.28 against dev-db/oracle-instantclient-21.13.0.0.0:0/21.1 on x86_64 again: --- php-8.1.28.ebuild 2024-04-24 17:10:30.000000000 +0200 +++ php-8.1.28.ebuild.new 2024-05-21 15:51:53.463020374 +0200 @@ -413,7 +412,7 @@ fi # Oracle support - our_conf+=( $(use_with oci8-instant-client oci8) ) + our_conf+=( $(use_with oci8-instant-client "oci8=instantclient,/usr/lib64/oracle/client/lib64") ) # PDO support if use pdo ; then @@ -423,7 +422,7 @@ $(use_with postgres pdo-pgsql) $(use_with sqlite pdo-sqlite) $(use_with firebird pdo-firebird "${EPREFIX}/usr") - $(use_with oci8-instant-client pdo-oci) + $(use_with oci8-instant-client "pdo-oci=instantclient,/usr/lib64/oracle/client/lib64") ) fi Can't say anything about x86 as I'm unable to test and don't care personally but this allowed our webapp to continue working for now. Would be nice to have this fixed in the ebuild in some way or another, maybe it proves viable and can be applied after making changes to also respect the arch or restrict it to x86_64.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92942d558340cd682462863582831146e28e1da0 commit 92942d558340cd682462863582831146e28e1da0 Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2024-11-24 03:32:28 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2024-11-24 03:37:33 +0000 profiles/arch/amd64: re-un-unmask USE=oci8-instant-client on amd64 I originally did this in April of 2024, but it broke CI because two packages still needed it, dev-php/PEAR-MDB2_Driver_oci8 and net-analyzer/zabbix. The former was removed in commit fca1c08b, and the latter dropped oracle support in ca8b5ad7. Closes: https://bugs.gentoo.org/930141 Closes: https://bugs.gentoo.org/944349 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> profiles/arch/amd64/use.mask | 1 - 1 file changed, 1 deletion(-)