Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 699988

Summary: dev-python/mock-3.0.5 - src_install(): FileNotFoundError: [Errno 2] No such file or directory: b'docs/conf.py'
Product: Gentoo Linux Reporter: Mickaël Bucas <mbucas>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal Keywords: EBUILD
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge-info.txt
emerge -pqv '=dev-python/mock-3.0.5::gentoo'
mock-3.0.5.ebuild

Description Mickaël Bucas 2019-11-13 09:16:12 UTC
dev-python/mock-3.0.5 fails to install with error message :

FileNotFoundError: [Errno 2] No such file or directory: b'docs/conf.py'
 * ERROR: dev-python/mock-3.0.5::gentoo failed (install phase):
 *   dodoc failed

This file existed in mock-2.0.0, but doesn't exist anymore.

The new documentation files are : CHANGELOG.rst README.rst
I've modified the ebuild to use only these, and it installed correctly.

Reproducible: Always
Comment 1 Mickaël Bucas 2019-11-13 09:16:54 UTC
Created attachment 595950 [details]
build.log
Comment 2 Mickaël Bucas 2019-11-13 09:17:18 UTC
Created attachment 595952 [details]
emerge-info.txt
Comment 3 Mickaël Bucas 2019-11-13 09:17:52 UTC
Created attachment 595954 [details]
emerge -pqv '=dev-python/mock-3.0.5::gentoo'
Comment 4 Mickaël Bucas 2019-11-13 09:19:14 UTC
Created attachment 595956 [details]
mock-3.0.5.ebuild

The modified ebuild to include only existing documentation files.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-03-28 08:38:11 UTC
Old version removed.  Please reopen if it still happens.