[Bug 214417] [NEW PORT] databases/pg_partman: PostgreSQL Partition Manager
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Nov 11 15:20:31 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214417
--- Comment #3 from Lacey Powers <lacey.leanne at gmail.com> ---
(In reply to Wen Heping from comment #1)
Hello Wen. Thanks for looking.
After your comment, I double-checked this was correct, and looked over a few
other ports, and noticed that starting line 632 of the CHANGES file that I
should have done something like this instead:
WANT_PGSQL_VER=91+ becomes USES=pgsql:9.1+
I have updated the patch with that change.
Secondly, database/py-psycopg2 seems to only have a default of USES=pgsql and I
thought that defaulted to the DEFAULT_VERSION set in your /etc/make.conf file.
Since I specified multiple versions when I tested this with poudriere testport,
installs with 9.3 and earlier conflicted on the postgresql-client package (9.3
installed vs 9.4 being requested).
=======================<phase: run-depends >============================
===> pg_partman-2.6.1 depends on file:
/usr/local/lib/python2.7/site-packages/psycopg2/__init__.py - not found
===> Installing existing package /packages/All/py27-psycopg2-2.6.1_1.txz
[11point0-RELEASE-amd64-development] Installing py27-psycopg2-2.6.1_1...
[11point0-RELEASE-amd64-development] `-- Installing
postgresql93-client-9.3.15...
pkg-static: postgresql93-client-9.3.15 conflicts with
postgresql94-client-9.4.10 (installs files into the same place). Problematic
file: /usr/local/bin/clusterdb
Failed to install the following 1 package(s):
/packages/All/py27-psycopg2-2.6.1_1.txz
*** Error code 70
Stop.
make: stopped in /usr/ports/databases/pg_partman
=======================<phase: Interactive >============================
[00:00:28] ====>> Installing packages
[00:00:28] ====>> Installing run-depends for databases/pg_partman
===> pg_partman-2.6.1 depends on file:
/usr/local/lib/python2.7/site-packages/psycopg2/__init__.py - not found
===> Installing existing package /packages/All/py27-psycopg2-2.6.1_1.txz
[11point0-RELEASE-amd64-development] Installing py27-psycopg2-2.6.1_1...
[11point0-RELEASE-amd64-development] `-- Installing
postgresql93-client-9.3.15...
pkg-static: postgresql93-client-9.3.15 conflicts with
postgresql94-client-9.4.10 (installs files into the same place). Problematic
file: /usr/local/bin/clusterdb
Failed to install the following 1 package(s):
/packages/All/py27-psycopg2-2.6.1_1.txz
*** Error code 70
Stop.
make: stopped in /usr/ports/databases/pg_partman
Is there a different way the runtime version should be handled? Possibly a
CONFLICTS_INSTALL=postgresql9[123]-client ?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list