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

Bug 836009

Summary: dev-db/postgresql new ebuilds fail to build due to forced llvm_pkg_setup
Product: Gentoo Linux Reporter: Luca Santarelli <luca.santarelli>
Component: EclassesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Luca Santarelli 2022-03-25 18:13:13 UTC
Recent changes to postgres' ebuilds introduced llvm eclass inheritance and llvm14 support (e.g.: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d20f93beca38c9cfa9d8d9f23342a5cbf8a2cf72), however they broke existing upgrades when llvm USE is disabled due to a forced llvm_pkg_setup in pkg_setup().

[ebuild     U  ] dev-db/postgresql-13.5-r1:13::gentoo [13.5:13::gentoo] USE="nls pam readline server ssl threads zlib -debug -doc -icu -kerberos -ldap -llvm -perl -python (-selinux) -static-libs -systemd -tcl -uuid -xml" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10" 0 KiB

>>> Emerging (1 of 1) dev-db/postgresql-13.5-r1::gentoo
 * postgresql-13.5.tar.bz2 BLAKE2B SHA512 size ;-) ...                                          [ ok ]
 * ERROR: dev-db/postgresql-13.5-r1::gentoo failed (setup phase):
 *   No LLVM slot <= 14 satisfying the package's dependencies found installed!
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-25 18:18:45 UTC

*** This bug has been marked as a duplicate of bug 835985 ***