Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 928312

Summary: dev-lang/php-8.3.3-r1 fails to compile: checking ORACLE_HOME library validity.. configure: error: Oracle library directory not found in client
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: mjo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=928386
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
1-config.log

Description Agostino Sarubbo gentoo-dev 2024-03-31 20:30:43 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/php-8.3.3-r1 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
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-31 20:30:44 UTC
Created attachment 889141 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-31 20:30:45 UTC
Created attachment 889142 [details]
1-config.log

1-config.log
Comment 3 Larry the Git Cow gentoo-dev 2024-04-01 12:29:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b48069d406937f13bc10d14c0c8ad66b136e103

commit 8b48069d406937f13bc10d14c0c8ad66b136e103
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2024-04-01 11:57:00 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2024-04-01 11:59:27 +0000

    dev-lang/php: add 8.3.4, drop 8.3.3-r1
    
    In addition to the version bump, this commit drops support for the oci8
    extension within PHP itself. This extension no longer builds with the
    latest dev-db/oracle-instantclient (bug 928312, the ./configure check is
    looking for 32-bit libs), and upstream PHP has moved the extension to
    a separate PECL repository:
    
     * https://github.com/php/php-src/pull/13327
     * https://wiki.php.net/rfc/unbundle_imap_pspell_oci8
    
    Anyone interested in Oracle support should work on packaging those two
    PECL extensions.
    
    Closes: https://bugs.gentoo.org/928312
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 dev-lang/php/Manifest                              |  2 +-
 .../php/{php-8.3.3-r1.ebuild => php-8.3.4.ebuild}  | 28 +---------------------
 2 files changed, 2 insertions(+), 28 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2024-04-21 15:13:23 UTC
The bug has been referenced in 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(-)
Comment 5 Larry the Git Cow gentoo-dev 2024-04-21 17:20:50 UTC
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(+)