Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941606 - dev-lang/php-8.3.12 complains about missing pg_config despite USE="-postgresql"
Summary: dev-lang/php-8.3.12 complains about missing pg_config despite USE="-postgresql"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
: 941616 941631 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-10-16 07:33 UTC by Hanno Böck
Modified: 2024-10-17 05:50 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2024-10-16 07:33:04 UTC
Compilation of php 8.3.12 fails for me on a system where the postgresql use flag is not set.

>>> Emerging (1 of 1) dev-lang/php-8.3.12::gentoo
 * php-8.3.12.tar.xz BLAKE2B SHA512 size ;-) ...                         [ ok ]
 * ERROR: dev-lang/php-8.3.12::gentoo failed (setup phase):
 *   Could not find pg_config for 16. Is dev-db/postgresql:16 installed?
 * 
 * Call stack:
 *         ebuild.sh, line 136:  Called pkg_setup
 *         ebuild.sh, line 374:  Called postgres_pkg_setup
 *   postgres.eclass, line 165:  Called die
 * The specific snippet of code:
 *   		die "Could not find pg_config for ${PG_SLOT}. Is dev-db/postgresql:${PG_SLOT} installed?"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-16 07:39:37 UTC
commit a73cbe1159ef3ef349ba1c9329b88462345e71d0
Author: Matoro Mahri <matoro_gentoo@matoro.tk>
Date:   Tue Oct 15 20:05:54 2024 -0400

    dev-lang/php: make postgres_pkg_setup conditional

    Bug: https://bugs.gentoo.org/762370
    Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
    Signed-off-by: Sam James <sam@gentoo.org>
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-17 04:00:34 UTC
*** Bug 941631 has been marked as a duplicate of this bug. ***
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-17 05:50:17 UTC
*** Bug 941616 has been marked as a duplicate of this bug. ***