From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5983615800A for ; Mon, 31 Jul 2023 00:53:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1D9F4E0C22; Mon, 31 Jul 2023 00:53:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E7733E0C1A for ; Mon, 31 Jul 2023 00:53:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B630133E622 for ; Mon, 31 Jul 2023 00:53:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F1C3CE9B for ; Mon, 31 Jul 2023 00:53:09 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1690764553.2979db2c1d18a27e1de54621afb330debe4f7649.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/php/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/php/php-8.2.8-r1.ebuild X-VCS-Directories: dev-lang/php/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 2979db2c1d18a27e1de54621afb330debe4f7649 X-VCS-Branch: master Date: Mon, 31 Jul 2023 00:53:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 964f288b-e222-4828-824a-7b6db82bd93d X-Archives-Hash: 1944269c94fb3a7c8e0d49a97a3375f2 commit: 2979db2c1d18a27e1de54621afb330debe4f7649 Author: Michael Orlitzky gentoo org> AuthorDate: Sun Jul 30 01:05:44 2023 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Mon Jul 31 00:49:13 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2979db2c dev-lang/php: new addpredict() for a rare corner case. Signed-off-by: Michael Orlitzky gentoo.org> dev-lang/php/php-8.2.8-r1.ebuild | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dev-lang/php/php-8.2.8-r1.ebuild b/dev-lang/php/php-8.2.8-r1.ebuild index af66d51134a2..506f0c099e6a 100644 --- a/dev-lang/php/php-8.2.8-r1.ebuild +++ b/dev-lang/php/php-8.2.8-r1.ebuild @@ -581,6 +581,17 @@ src_compile() { addpredict /usr/share/snmp/mibs/.index #nowarn addpredict /var/lib/net-snmp/mib_indexes #nowarn + if use oci8-instant-client && use kerberos && use imap && use phar; then + # A conspiracy takes place when the first three of these flags + # are set together, causing the newly-built "php" to open + # /dev/urandom with mode rw when it starts. That's not actually + # a problem... unless you also have USE=phar, which runs that + # "php" to build some phar thingy in src_compile(). Later in + # src_test(), portage (at least) sets "addpredict /" so the + # problem does not repeat. + addpredict /dev/urandom #nowarn + fi + local sapi for sapi in ${SAPIS} ; do use "${sapi}" && emake -C "${WORKDIR}/sapis-build/${sapi}"