Opened 7 months ago

Last modified 6 months ago

#68454 assigned defect

Postgresql16 conflicts with postgresql15-doc

Reported by: rswail (Ron Wail) Owned by: dgilman (David Gilman)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: barracuda156
Port: postgresql16

Description

Postgresql16 package has "Conflicts with" that includes all of the 96/10/11/12/13/14/15 doc packages, which is different to the previous versions that are not dependent on or conflicted with the -doc packages of previous versions

Change History (3)

comment:1 Changed 7 months ago by jmroot (Joshua Root)

Cc: barracuda156 added
Owner: set to dgilman
Status: newassigned

comment:2 Changed 6 months ago by dgilman (David Gilman)

I changed the package documentation for PostgreSQL 16 to include docs in the main package. However, manpages are installed under /opt/local/share/doc/postgresql16/man and port select is now used to link the manpages into /opt/local/share/man. The old postgresXX-doc packages would put manpages directly in /opt/local/share/man which is why postgresql16 has to conflict with them. It is unfortunate that the change had to be done now, however I think the split between postgresXX and postgresXX-doc pre-dates the port select mechanism and you have to rip off the bandaid at some point. Going forward you will be able to have multiple versions of docs installed and accessible at the same time as port select can be used to switch between them instead of the more heavy-handed package conflict mechanism.

So I have to say this is a wontfix. If there is demand for switching the old postgres ports to this style of documentation packaging it could be done but I figured that's sort of a weird change to roll out years after a given version of postgresql has been released. I guess I could also just take off the conflict marker and let people shoot themselves in the foot occasionally but that seems like a bad idea.

comment:3 Changed 6 months ago by dgilman (David Gilman)

Also, this direct installation of manpages to /opt/local/share/man in the postgresXX-doc package is why all the -doc packages had to conflict with each other. It wasn't a great system, this is definitely an improvement, you just have to rip the bandaid off eventually.

Note: See TracTickets for help on using tickets.