Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 759496 - dev-libs/libusb-1.0.24 fails with USE=doc: FileNotFoundError: [Errno 2] No such file or directory: b'doc/html'
Summary: dev-libs/libusb-1.0.24 fails with USE=doc: FileNotFoundError: [Errno 2] No su...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-11 19:04 UTC by Torsten Kaiser
Modified: 2020-12-12 13:41 UTC (History)
2 users (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 Torsten Kaiser 2020-12-11 19:04:48 UTC
The cause is the following upstream commit:
https://github.com/libusb/libusb/commit/4a5540a925e47923ed20b4ea68aabe550dac976d

Among other things it changed the output dir of the docs:
"... Update the doxygen config file to
include the version, exclude irrelevant source files and create the
output into 'api-1.0' instead of 'html'. ..."

.gitignore:
- doc/html
+ doc/api-1.0

configure.ac:
+ dnl set name of html output directory for doxygen
+ AC_SUBST(DOXYGEN_HTMLDIR, [api-1.0])

And now "dodoc -r doc/html" fails, because the documentation gets generated into doc/api-1.0. (The folder api-1.0 itself seems to be filled correctly during the build)
Comment 1 Leonid Kopylov 2020-12-12 07:18:18 UTC
Have the same issue
Comment 2 Larry the Git Cow gentoo-dev 2020-12-12 13:41:09 UTC
The bug has been closed via the following commit(s):

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

commit aec2ed61819fe3ed2c905119828de732b6b3a5ab
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-12-12 13:40:54 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-12-12 13:41:07 +0000

    dev-libs/libusb: Fixed build/install with USE="doc"
    
    Closes: https://bugs.gentoo.org/759496
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 dev-libs/libusb/libusb-1.0.24.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)