Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646992 - dev-python/paramiko-2.40[doc] fails install phase
Summary: dev-python/paramiko-2.40[doc] fails install phase
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-08 11:54 UTC by Marien Zwart
Modified: 2018-02-09 06:23 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,72.13 KB, text/x-log)
2018-02-08 11:54 UTC, Marien Zwart
Details
emerge --info (info,6.59 KB, text/plain)
2018-02-08 11:55 UTC, Marien Zwart
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marien Zwart 2018-02-08 11:54:41 UTC
Created attachment 518552 [details]
build.log

When installing dev-python/paramiko-2.4.0 with the following flags:

[ebuild     U ] dev-python/paramiko-2.4.0 [2.3.1] USE="doc -examples {-test%}" PYTHON_TARGETS="python2_7 python3_5 python3_6 -python3_4"

the install phase fails with:

 * python3_6: running distutils-r1_run_phase python_install_all
Traceback (most recent call last):
  File "/usr/lib/portage/python2.7/doins.py", line 611, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/lib/portage/python2.7/doins.py", line 602, in main
    os.path.dirname(source)):
  File "/usr/lib/portage/python2.7/doins.py", line 450, in _doins
    return install_runner.install_file(source, os.path.dirname(dest))
  File "/usr/lib/portage/python2.7/doins.py", line 386, in install_file
    return self._ins_runner.run(source, dest_dir)
  File "/usr/lib/portage/python2.7/doins.py", line 195, in run
    sstat = os.stat(source)
OSError: [Errno 2] No such file or directory: 'build/sphinx/html/.'
 * ERROR: dev-python/paramiko-2.4.0::gentoo failed (install phase):
 *   dodoc failed

The docs are actually in /var/tmp/portage/dev-python/paramiko-2.4.0/work/paramiko-2.4.0-python3_6/sphinx/html (no "build" directory).

This is probably triggered by the removal of DISTUTILS_IN_SOURCE_BUILD from the ebuild, which drops /build from the BUILD_DIR distutils runs with.
Comment 1 Marien Zwart 2018-02-08 11:55:12 UTC
Created attachment 518554 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2018-02-09 06:23:27 UTC
The bug has been closed via the following commit(s):

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

commit f6861ba7d2d2b839794d194645e9336e84422d81
Author:     Tim Harder <radhermit@gentoo.org>
AuthorDate: 2018-02-09 06:21:57 +0000
Commit:     Tim Harder <radhermit@gentoo.org>
CommitDate: 2018-02-09 06:22:59 +0000

    dev-python/paramiko: fix docs install
    
    Closes: https://bugs.gentoo.org/646992

 dev-python/paramiko/paramiko-2.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)