Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 634730 - dev-python/psycopg-2.7.3 will not build: Could not import extension dbapi_extension (exception: cannot import name 'make_admonition')
Summary: dev-python/psycopg-2.7.3 will not build: Could not import extension dbapi_ext...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-19 02:47 UTC by deference
Modified: 2018-08-14 15:16 UTC (History)
5 users (show)

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


Attachments
build.log (build-psycopg.txt,51.17 KB, text/plain)
2017-10-19 02:47 UTC, deference
Details
emerge --info (emergeinfo-psycopg.txt,31.92 KB, text/plain)
2017-10-19 02:47 UTC, deference
Details
psycopq-2.7.3-Sphinx-1.6.patch (psycopg-2.7.3-Sphinx-1.6.patch,1.14 KB, patch)
2017-12-21 18:46 UTC, Ervin Peters
Details | Diff
additional psycopg-2.7.3.2.ebuild (psycopg-2.7.3.2.ebuild,1.92 KB, text/plain)
2017-12-21 18:48 UTC, Ervin Peters
Details

Note You need to log in before you can comment on or make changes to this bug.
Description deference 2017-10-19 02:47:05 UTC
[ebuild     U ] dev-python/psycopg-2.7.3 [2.6.2] USE="doc examples -debug" PYTHON_TARGETS="python2_7 python3_4 (-python3_5) (-python3_6)" 

/usr/lib64/python3.4/site-packages/sphinx/util/compat.py:40: RemovedInSphinx17Warning: sphinx.util.compat.Directive is deprecated and will be removed in Sphinx 1.7, please use docutils' instead.
  RemovedInSphinx17Warning)

Extension error:
Could not import extension dbapi_extension (exception: cannot import name 'make_admonition')
make: *** [Makefile:38: html] Error 1
Comment 1 deference 2017-10-19 02:47:17 UTC
Created attachment 499222 [details]
build.log
Comment 2 deference 2017-10-19 02:47:24 UTC
Created attachment 499224 [details]
emerge --info
Comment 4 Ervin Peters 2017-12-21 18:46:12 UTC
Created attachment 511414 [details, diff]
psycopq-2.7.3-Sphinx-1.6.patch

Same problem in ~ 2.7.3.1 and 2.7.3.2.

The referenced patch transfered in an ebuild usable form.
Comment 5 Ervin Peters 2017-12-21 18:48:36 UTC
Created attachment 511416 [details]
additional psycopg-2.7.3.2.ebuild


...copied from 2.7.3.1, patch included and build. Compiles fine on amd64.

Now testing.

ervin
Comment 6 Larry the Git Cow gentoo-dev 2018-01-12 21:01:28 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(+)}