Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Nov 2016 15:20:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 214417] [NEW PORT] databases/pg_partman: PostgreSQL Partition Manager
Message-ID:  <bug-214417-13-9qrd6bhv9X@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-214417-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-214417-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214417

--- Comment #3 from Lacey Powers <lacey.leanne@gmail.com> ---
(In reply to Wen Heping from comment #1)

Hello Wen. Thanks for looking.=20

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=3D91+ becomes USES=3Dpgsql:9.1+

I have updated the patch with that change.

Secondly, database/py-psycopg2 seems to only have a default of USES=3Dpgsql=
 and I
thought that defaulted to the DEFAULT_VERSION set in your /etc/make.conf fi=
le.
Since I specified multiple versions when I tested this with poudriere testp=
ort,
installs with 9.3 and earlier conflicted on the postgresql-client package (=
9.3
installed vs 9.4 being requested).

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: run-depends    >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>   pg_partman-2.6.1 depends on file:
/usr/local/lib/python2.7/site-packages/psycopg2/__init__.py - not found
=3D=3D=3D>   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).  Problemat=
ic
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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: Interactive    >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
[00:00:28] =3D=3D=3D=3D>> Installing packages
[00:00:28] =3D=3D=3D=3D>> Installing run-depends for databases/pg_partman
=3D=3D=3D>   pg_partman-2.6.1 depends on file:
/usr/local/lib/python2.7/site-packages/psycopg2/__init__.py - not found
=3D=3D=3D>   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).  Problemat=
ic
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=3Dpostgresql9[123]-client ?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214417-13-9qrd6bhv9X>