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)
Created attachment 485472 [details] emerge-info.txt
Created attachment 485474 [details] dev-python:psycopg-2.6.2:20170718-105932.log
Created attachment 485476 [details] emerge-history.txt
Created attachment 485478 [details] environment
Created attachment 485480 [details] etc.portage.tbz2
Created attachment 485482 [details] temp.tbz2
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.
I just got bit by the same bug except I'm on 10beta3
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(+)}