Bug 212280 - forced dependency of databases/pgadmin3 on specific postgresql version
Summary: forced dependency of databases/pgadmin3 on specific postgresql version
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: pgsql
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-31 09:46 UTC by rodrigo
Modified: 2021-09-22 11:47 UTC (History)
5 users (show)

See Also:
bugzilla: maintainer-feedback? (fjoe)


Attachments
Some shell log (4.21 KB, text/plain)
2016-08-31 09:46 UTC, rodrigo
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description rodrigo 2016-08-31 09:46:51 UTC
Created attachment 174244 [details]
Some shell log

Hello,


pgadmin3-1.22.1_2 from TrueOS-major (FreeBSD world ver:..12.0-CURRENT) can not be installed along with any postgresql version different than 9.3 because of dependency.

I believe that pgadmin III it's independent of the postgresql version.

As a new port user, excuse me if this is not the right place way to notify this.

Kind regards,
Rodrigo
Comment 1 Matthew Seaman freebsd_committer freebsd_triage 2016-08-31 10:00:42 UTC
This is a known problem with pkgs -- package dependencies are "baked in" and require a version of a specific package, which causes a problem when (as with postgresql) any of the postgresqlXY-client packages might be used, but those client packages conflict with each other.

The best solution at the moment is to build your own pgadmin3 package with 
DEFAULT_VERSIONS+= postgresql=95 in your make.conf.  Work is ongoing to make this work better with pkgs, but no indication when those changes will land in the tree.
Comment 2 rodrigo 2016-09-02 10:21:32 UTC
Thank you,
Rodrigo
Comment 3 Mathieu Arnold freebsd_committer freebsd_triage 2016-09-12 18:18:26 UTC
I think this is pkg's world.
Comment 4 Nathan 2018-09-19 11:42:21 UTC
(In reply to rodrigo from comment #2)
Did the suggestion solve this issue for you?
Comment 5 Baptiste Daroussin freebsd_committer freebsd_triage 2021-08-18 08:27:32 UTC
This is not pkg world at all, this is postgresql world, I have suggested a fix but noone ever implemented it:
https://lists.freebsd.org/pipermail/freebsd-ports/2015-August/099998.html
Comment 6 Palle Girgensohn freebsd_committer freebsd_triage 2021-08-18 08:31:27 UTC
(In reply to Baptiste Daroussin from comment #5)

You're both correct, really. This could be done in using pkg magic, but the postgresq
Comment 7 Palle Girgensohn freebsd_committer freebsd_triage 2021-08-18 08:38:31 UTC
(In reply to Baptiste Daroussin from comment #5)
(In reply to Palle Girgensohn from comment #6)

You're both correct, really. This could be done in using pkg magic, but the postgresql packages should be preferrably be installable in parallel.

If a port depends on a postgresql *server* port, it will still need to be built as a separate package for every version, as the pkg mechanism works at present. 

Very few ports should really depend on the server port, though.