View previous topic :: View next topic |
Author |
Message |
transsee n00b
Joined: 26 Dec 2024 Posts: 2 Location: Toronto
|
Posted: Thu Dec 26, 2024 1:04 pm Post subject: Postgis refuses to install for Postgresql 17 |
|
|
I am upgrading from Postgresql 16 to 17. I use the extension Postgis so I need it installed for Postgresql 17. I set POSTGRES_TARGETS="postgres17" in the make.conf and used eselect to switch to 17. I got it Postgresql 17 up and running, but when I try to rebuild postgis I get this error.
Code: | !!! The ebuild selected to satisfy "postgis" has unmet requirements.
- dev-db/postgis-3.5.0-r1::gentoo USE="-address-standardizer -doc -gtk -static-libs -topology" ABI_X86="(64)" POSTGRES_TARGETS="-postgres12 -postgres13 -postgres14 -postgres15 -postgres16 (-postgres17)"
The following REQUIRED_USE flag constraints are unsatisfied:
any-of ( postgres_targets_postgres17 postgres_targets_postgres16 postgres_targets_postgres15 postgres_targets_postgres14 postgres_targets_postgres13 postgres_targets_postgres12 ) |
It seems the POSTGRES_TARGETS for postgres17 is in brackets and refuses to be selected for some reason. How do I get this working? |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22876
|
Posted: Thu Dec 26, 2024 1:12 pm Post subject: |
|
|
Welcome to the forums. Per man emerge, this means: Code: | The
following symbols are affixed to USE flags in order to indicate
their status:
Symbol Location Meaning
──────────────────────────────────────────────────────────────
...
() circumfix forced, masked, or removed
| Looking deeper reveals profiles/base/use.stable.mask contains: Code: |
# Patrick Lauer <patrick@gentoo.org> (2024-09-26)
# Postgresql 17 isn't stable yet
postgres_targets_postgres17
|
Therefore, you cannot enable this flag on a stable package at this time. The comment looks to me to be stale, as postgres-17 itself is now stable on amd64. Your options are:- Override the use.stable.mask entry in a local profile
- Keyword-accept the version of postgis you want to use
- File a bug asking for the mask to be lifted, on the basis that postgres17 is stable now (albeit only for some architectures).
How would you like to proceed? |
|
Back to top |
|
|
transsee n00b
Joined: 26 Dec 2024 Posts: 2 Location: Toronto
|
Posted: Thu Dec 26, 2024 1:17 pm Post subject: |
|
|
Thank you very much. Setting the Keyword-accept for postgis-3.5.0-r1 got it working. |
|
Back to top |
|
|
|