This ebuild should be updated to use virtual/postgresql-base instead of dev-db/postgresql-base-8.0 Fixed ebuild attached. Reproducible: Always
Created attachment 230629 [details] fixed ebuild
Postgres team, what is supposed to be the correct dep?
(In reply to comment #2) > Postgres team, what is supposed to be the correct dep? > It should depend on virtual/postgresql-base until we get rid of the old ebuilds from the tree. The, it won't matter really if it relies on the virtual or the real thing.
The virtual/postgresql-{base,server} ebuilds are unofficially deprecated as of a little bit ago.
Guess this got taken care by itself then ;)
I've disagree with this. Because pam-pgsql ebuild is still depends on postgresql-base-8.0 while currently base is 8.4.2-r1. If virtual-base/postgresql is deprectated then pam-pgsql ebuild should depend on 8.4.2.
(In reply to comment #6) > I've disagree with this. Because pam-pgsql ebuild is still depends on > postgresql-base-8.0 while currently base is 8.4.2-r1. If > virtual-base/postgresql is deprectated then pam-pgsql ebuild should depend on > 8.4.2. > The dependency is upon >=dev-db/postgresql-base-8.0. Note the 'greater than or equal to' atom. There are dev-db/postgresql-base-8.0.x+ ebuilds in the tree. 8.0 is only the minimum requirement to satisfy the dependency. The only purpose virtual/postgresql-base served was to ease the transition from dev-db/libpq to dev-db/postgresql-base. As all of the dev-db/libpq ebuilds are now masked in the tree and are slated for removal within the month, the virtual/postgresql-base ebuilds now serve no purpose. They're wasting space.
barzog@martin-cl2 ~ $ sudo emerge -va sys-auth/pam-pgsql These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] app-admin/eselect-postgresql-0.3 3 kB [0] [ebuild N ] dev-db/postgresql-base-8.4.2-r1 USE="nls pam readline ssl zlib -doc -kerberos -ldap -pg_legacytimestamp -threads" LINGUAS="ru -af -cs -de -es -fa -fr -hr -hu -it -ko -nb -pl -pt_BR -ro -sk -sl -sv -tr -zh_CN -zh_TW" 13,282 kB [0] [ebuild UD] sys-auth/pam-pgsql-0.7.1-r1 [0.7.1-r2] 0 kB [?=>0] [blocks B ] dev-db/libpq ("dev-db/libpq" is blocking dev-db/postgresql-base-8.4.2-r1) [blocks B ] dev-db/libpq ("dev-db/libpq" is blocking app-admin/eselect-postgresql-0.3) [blocks B ] dev-db/postgresql-base ("dev-db/postgresql-base" is blocking dev-db/libpq-8.1.11) Total: 3 packages (1 downgrade, 2 new), Size of downloads: 13,285 kB Conflict: 3 blocks (3 unsatisfied) Portage tree and overlays: [0] /usr/portage [?] indicates that the source repository could not be determined * Error: The above package list contains packages which cannot be * installed at the same time on the same system. ('ebuild', '/', 'dev-db/postgresql-base-8.4.2-r1', 'merge') pulled in by >=dev-db/postgresql-base-8.0 required by ('ebuild', '/', 'sys-auth/pam-pgsql-0.7.1-r1', 'merge') ('installed', '/', 'dev-db/libpq-8.1.11', 'nomerge') pulled in by =dev-db/libpq-8.1* required by ('installed', '/', 'virtual/postgresql-base-8.1', 'nomerge') When I try to uninstall libpq I have following: barzog@martin-cl2 ~ $ sudo emerge -pv --depclean libpq virtual/postgresql-base Calculating dependencies... done! dev-db/libpq-8.1.11 pulled in by: virtual/postgresql-base-8.1 virtual/postgresql-base-8.1 pulled in by: dev-libs/cyrus-sasl-2.1.23-r1 So in the end I will have two postgresql, one for pam-pgsql and one for cyrus-sasl. What should I do?
emerge -C dev-db/libpq emerge dev-db/postgresql-base revdep-rebuild
Ok, works well. Thanks.