Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Postgis refuses to install for Postgresql 17
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
transsee
n00b
n00b


Joined: 26 Dec 2024
Posts: 2
Location: Toronto

PostPosted: Thu Dec 26, 2024 1:04 pm    Post subject: Postgis refuses to install for Postgresql 17 Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22876

PostPosted: Thu Dec 26, 2024 1:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
transsee
n00b
n00b


Joined: 26 Dec 2024
Posts: 2
Location: Toronto

PostPosted: Thu Dec 26, 2024 1:17 pm    Post subject: Reply with quote

Thank you very much. Setting the Keyword-accept for postgis-3.5.0-r1 got it working. :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum