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)
Have the same issue
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(-)