Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 625540 - dev-python/psycopg-2.6.2 : Error: could not determine PostgreSQL version from 10beta2 * ERROR: dev-python/psycopg-2.6.2::gentoo failed (compile phase):
Summary: dev-python/psycopg-2.6.2 : Error: could not determine PostgreSQL version from...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-18 16:55 UTC by Toralf Förster
Modified: 2018-08-14 15:13 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.59 KB, text/plain)
2017-07-18 16:55 UTC, Toralf Förster
Details
dev-python:psycopg-2.6.2:20170718-105932.log (dev-python:psycopg-2.6.2:20170718-105932.log,7.04 KB, text/plain)
2017-07-18 16:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,101.81 KB, text/plain)
2017-07-18 16:55 UTC, Toralf Förster
Details
environment (environment,149.18 KB, text/plain)
2017-07-18 16:55 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.52 KB, application/x-bzip)
2017-07-18 16:55 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,33.35 KB, application/x-bzip)
2017-07-18 16:55 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-07-18 16:55:34 UTC
running build_ext
Error: could not determine PostgreSQL version from '10beta2' * ERROR: dev-python/psycopg-2.6.2::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0_20170716-131855

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.5 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
  [2]   ruby22 (with Rubygems)
Comment 1 Toralf Förster gentoo-dev 2017-07-18 16:55:37 UTC
Created attachment 485472 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-07-18 16:55:40 UTC
Created attachment 485474 [details]
dev-python:psycopg-2.6.2:20170718-105932.log
Comment 3 Toralf Förster gentoo-dev 2017-07-18 16:55:43 UTC
Created attachment 485476 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-07-18 16:55:46 UTC
Created attachment 485478 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-07-18 16:55:50 UTC
Created attachment 485480 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-07-18 16:55:53 UTC
Created attachment 485482 [details]
temp.tbz2
Comment 7 Robert Marmorstein 2017-07-27 17:41:10 UTC
This seems to be an upstream bug.  Using "eselect" to go back to version 9.5 seems to allow psycopg to compile.  It also seems that after compiling, you can switch back to 10 with no trouble.
Comment 8 Sam Stone 2017-08-27 23:34:51 UTC
I just got bit by the same bug except I'm on 10beta3
Comment 9 Larry the Git Cow gentoo-dev 2018-01-12 21:01:23 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eeca29c1cbeec279c6cb5d572bc0518162f237e

commit 4eeca29c1cbeec279c6cb5d572bc0518162f237e
Author:     Aaron W. Swenson <titanofold@gentoo.org>
AuthorDate: 2018-01-12 21:01:04 +0000
Commit:     Aaron W. Swenson <titanofold@gentoo.org>
CommitDate: 2018-01-12 21:01:04 +0000

    dev-python/psycopg: Bump to 2.7.3.2 and many fixes
    
    Apply a couple patches. One for building documentation (634730) and
    another to avoid building against mxdatetime from the antiquated
    dev-python/egenix-mx-base (452028, 629430).
    
    This version knows how to parse the new PostgreSQL version scheme
    (625540).
    
    Docs build again (540996).
    
    Bug: https://bugs.gentoo.org/452028
    Bug: https://bugs.gentoo.org/540996
    Bug: https://bugs.gentoo.org/625540
    Bug: https://bugs.gentoo.org/629430
    Bug: https://bugs.gentoo.org/634730
    Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-python/psycopg/Manifest                        |  1 +
 .../files/psycopg-2.7.3-avoid-mxdatetime.patch     | 40 ++++++++++++
 .../psycopg/files/psycopg-2.7.3-sphinx-1.6.patch   | 29 +++++++++
 dev-python/psycopg/psycopg-2.7.3.2.ebuild          | 72 ++++++++++++++++++++++
 4 files changed, 142 insertions(+)}