Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 499006 - dev-db/pygresql-4.1.1 should alternatively depend on dev-db/postgresql-base:9.3
Summary: dev-db/pygresql-4.1.1 should alternatively depend on dev-db/postgresql-base:9.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-01-23 07:52 UTC by Kristian Duus Østergaard
Modified: 2014-03-11 22:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pygresql ebuild that works with postgresql-9.3 (pygresql-4.1.1-r1.ebuild,1.70 KB, text/plain)
2014-01-23 07:53 UTC, Kristian Duus Østergaard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kristian Duus Østergaard 2014-01-23 07:52:42 UTC
dev-db/pygresql-4.1.1 wont build when dev-db/postgresql-base:9.3 is installed.

I have attached an ebuild that works.

Reproducible: Always
Comment 1 Kristian Duus Østergaard 2014-01-23 07:53:51 UTC
Created attachment 368524 [details]
pygresql ebuild that works with postgresql-9.3
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-23 11:51:37 UTC
Comment on attachment 368524 [details]
pygresql ebuild that works with postgresql-9.3

--- pygresql-4.1.1.ebuild       2014-01-21 23:02:39.823714303 +0100
+++ -   2014-01-23 12:51:25.402480832 +0100
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-POSTGRES_COMPAT=( 8.{3,4} 9.{0,1,2} )
+POSTGRES_COMPAT=( 8.{3,4} 9.{0,1,2,3} )
 PYTHON_COMPAT=( python{2_6,2_7} )
 
 inherit distutils-r1
@@ -26,6 +26,7 @@
        dev-db/postgresql-base:9.0
        dev-db/postgresql-base:9.1
        dev-db/postgresql-base:9.2
+       dev-db/postgresql-base:9.3
 )"
 
 RDEPEND="${DEPEND}"
Comment 3 Zhu Sha Zang 2014-02-02 12:19:56 UTC
Same here:

>>> Running pre-merge checks for dev-db/pygresql-4.1.1
 * PostgreSQL slot must be set to one of: 
 *     8.3 8.4 9.0 9.1 9.2

>>> Emerging (1 of 4) dev-db/pygresql-4.1.1
 * PyGreSQL-4.1.1.tgz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                                                                      [ ok ]
 * PostgreSQL slot must be set to one of: 
 *     8.3 8.4 9.0 9.1 9.2
 * ERROR: dev-db/pygresql-4.1.1::gentoo failed (setup phase):
 *   (no error message)
 * 
 * Call stack:
 *               ebuild.sh, line  93:  Called pkg_setup
 *   pygresql-4.1.1.ebuild, line  63:  Called die
 * The specific snippet of code:
 *      postgres_check_slot || die
 * 
 * If you need support, post the output of `emerge --info '=dev-db/pygresql-4.1.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-db/pygresql-4.1.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-db/pygresql-4.1.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/pygresql-4.1.1/temp/die.env'.
 * Working directory: '/usr/lib64/portage/pym'
 * S: '/var/tmp/portage/dev-db/pygresql-4.1.1/work/PyGreSQL-4.1.1'

>>> Failed to emerge dev-db/pygresql-4.1.1
Comment 4 Aaron W. Swenson gentoo-dev 2014-03-11 22:29:42 UTC
*pygresql-4.1.1-r1 (11 Mar 2014)

  11 Mar 2014; Aaron W. Swenson <titanofold@gentoo.org>
  +pygresql-4.1.1-r1.ebuild:
  4.1.1 is not actually compatible with <dev-db/postgresql-9.0. Updated
  POSTGRES_COMPAT to include 9.3. Fixes bug 499006.