[opensuse-buildservice] have choice for postgresql-devel
Hi, when trying to build the package sumo depending on gdal-devel (from Application:Geo), I get "have choice for postgresql-devel needed by libgdal-devel: postgresql-devel postgresql92-devel" but only for the x86_64 versions of 12.3 and Factory https://build.opensuse.org/project/monitor?project=home%3Abehrisch . I know that I could add a prefer to work around this, but I wonder whether this is a bug because neither the gdal spec nor postgres or sumo have anything platform specific in their spec (as far as I can tell). Any hints? Best regards, Michael -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
postgresql-devel is a dummy package which installs postgresql92-devel
on opensuse > 12.1 with is installs postgresql91. This was done to
maintain compatibility with the old postgres package naming when it
was reworked to add the ability to install multiple versions of
postgres on the same system. This would allow you to build your app
for each version of PG if the devel packages were enabled for non-92
versions, last time I checked they were not at least in
server:database:postgresql.
For the packages I maintain in server:database:postgresql I create
spec's for each postgres version which are generated with a
pre_checkin.sh script. It's not fully implemented yet, which is
another issue, but take a look at the orafce or plproxy packages for
examples.
--
Later,
Darin
On Thu, Feb 14, 2013 at 1:49 PM, Michael Behrisch
Hi, when trying to build the package sumo depending on gdal-devel (from Application:Geo), I get "have choice for postgresql-devel needed by libgdal-devel: postgresql-devel postgresql92-devel" but only for the x86_64 versions of 12.3 and Factory https://build.opensuse.org/project/monitor?project=home%3Abehrisch . I know that I could add a prefer to work around this, but I wonder whether this is a bug because neither the gdal spec nor postgres or sumo have anything platform specific in their spec (as far as I can tell). Any hints?
Best regards, Michael -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
2013/2/14 Darin Perusich
postgresql-devel is a dummy package which installs postgresql92-devel on opensuse > 12.1 with is installs postgresql91. This was done to maintain compatibility with the old postgres package naming when it was reworked to add the ability to install multiple versions of postgres on the same system.
OK, I understand that this might be useful in some cases but does that mean that every package depending on postgres needs to make the required version explicit, so should I replace the requires: postgresql-devel by requires: postgresql92-devel (or even provide different versions with something like your checkin script)? This seems to me like a little overkill because it would essentially duplicate every package depending on postgres. And why does the dependency checker only fail in the 64bit case? Best regards, Michael -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am 15.02.13 22:56, schrieb Michael Behrisch:
2013/2/14 Darin Perusich
: postgresql-devel is a dummy package which installs postgresql92-devel on opensuse > 12.1 with is installs postgresql91. This was done to maintain compatibility with the old postgres package naming when it was reworked to add the ability to install multiple versions of postgres on the same system.
OK, I understand that this might be useful in some cases but does that mean that every package depending on postgres needs to make the required version explicit, so should I replace the requires: postgresql-devel by requires: postgresql92-devel (or even provide different versions with something like your checkin script)? This seems to me like a little overkill because it would essentially duplicate every package depending on postgres. And why does the dependency checker only fail in the 64bit case?
You could use a "Prefer" setting, which selects the desired version of Postgres.
Best regards, Michael
-- Johannes Weberhofer Weberhofer GmbH, Austria, Vienna -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Darin Perusich
-
Johannes Weberhofer
-
Michael Behrisch