Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540996 - dev-python/psycopg-2.6 USE=doc - No rule to make target 'html'
Summary: dev-python/psycopg-2.6 USE=doc - No rule to make target 'html'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-22 09:14 UTC by Martin von Gagern
Modified: 2018-04-25 08:50 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2015-02-22 09:14:46 UTC
* python2_7: running distutils-r1_run_phase python_compile_all
make -j5 -C doc -j1 html text 
make: Entering directory '/var/tmp/portage/dev-python/psycopg-2.6/work/psycopg2-2.6/doc'
make: *** No rule to make target 'html'.  Stop.
make: Leaving directory '/var/tmp/portage/dev-python/psycopg-2.6/work/psycopg2-2.6/doc'
 * ERROR: dev-python/psycopg-2.6::gentoo failed (compile phase):
 *   emake failed

The tarball only contains a doc/src/Makefile, so I guess we should execute make in that directory. In this, this issue looks very similar to bug 540986 which I just filed earlier, even though I don't know if the two packages are related in any way, or whether this is mere coincidence.

The upstream git reporitory contains a doc/Makefile, but its main task appears managing a virtual environment for sphinx, and I doubt we want that on Gentoo builds. Nevertheless, I filed https://github.com/psycopg/psycopg2/issues/291 for the fact that that Makefile is missing and the doc/README is inaccurate.
Comment 1 Larry the Git Cow gentoo-dev 2018-01-12 21:01:17 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(+)}