Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912447 - profiles: USE flag postgres_targets_postgres15 is still masked but dev-db/postgresql:15 is stable and become the default target
Summary: profiles: USE flag postgres_targets_postgres15 is still masked but dev-db/pos...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-18 08:58 UTC by Xiami
Modified: 2023-08-18 14:38 UTC (History)
0 users

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 Xiami 2023-08-18 08:58:44 UTC
I see the following lines in profiles/base/use.stable.mask:

# Patrick Lauer <patrick@gentoo.org> (2022-10-13)
# Postgres:15 is not stable yet
postgres_targets_postgres15


This leads to the following emerge failure:

!!! The ebuild selected to satisfy "postgis" has unmet requirements.
- dev-db/postgis-3.3.2-r1::gentoo USE="-address-standardizer -doc -gtk -static-libs -topology" ABI_X86="(64)" POSTGRES_TARGETS="-postgres11 -postgres12 -postgres13 -postgres14 (-postgres15)"

  The following REQUIRED_USE flag constraints are unsatisfied:
    any-of ( postgres_targets_postgres15 postgres_targets_postgres14 postgres_targets_postgres13 postgres_targets_postgres12 postgres_targets_postgres11 )


And by default, POSTGRES_TARGETS is set to "postgres15" in profiles/base/make.defaults:

# Aaron W. Swenson <titanofold@gentoo.org> (2017-07-09)
# Default target(s) for postgres{,-multi}.eclass
POSTGRES_TARGETS="postgres15"


I have to add (the stable atom) "=dev-db/postgis-3.3.2-r1 ~arch" to /etc/portage/package.accept_keywords or add "-postgres_targets_postgres15" in /etc/portage/profile/use.stable.mask to override.


Is there any blockers or is it ok to remove the USE mask now?


Related commits:

commit 140d49ef571b4c73bc49e890a29b2c8ec53d6ab5
Author: Patrick Lauer <patrick@gentoo.org>
Date:   Thu Oct 13 15:40:48 2022 +0000

    profiles/base: Move postgresql_targets_15 mask to use.stable.mask

    Signed-off-by: Patrick Lauer <patrick@gentoo.org>

commit 94850fbb39ae8726c20f941c1cf8c9d6b4f91bb4
Author: Patrick Lauer <patrick@gentoo.org>
Date:   Thu Oct 6 17:46:37 2022 +0000

    profiles/base: Mask postgres_targets_postgres15 until postgres:15 is unmasked

    Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Comment 1 Larry the Git Cow gentoo-dev 2023-08-18 14:38:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b6b36ebe08555e5a2b6200de52f586d555da881

commit 2b6b36ebe08555e5a2b6200de52f586d555da881
Author:     Patrick Lauer <patrick@gentoo.org>
AuthorDate: 2023-08-18 14:38:03 +0000
Commit:     Patrick Lauer <patrick@gentoo.org>
CommitDate: 2023-08-18 14:38:03 +0000

    profiles/base: Remove obsolete postgres:15 use.stable.mask
    
    Closes: https://bugs.gentoo.org/912447
    Signed-off-by: Patrick Lauer <patrick@gentoo.org>

 profiles/base/use.stable.mask | 4 ----
 1 file changed, 4 deletions(-)