Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643484 - x11-libs/wxGTK-3.0.3 USE="doc" install fails : No such file or directory
Summary: x11-libs/wxGTK-3.0.3 USE="doc" install fails : No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-04 20:28 UTC by Chris Mayo
Modified: 2018-01-07 19:56 UTC (History)
0 users

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 Chris Mayo 2018-01-04 20:28:18 UTC
/usr/bin/install: cannot stat '/var/tmp/portage/x11-libs/wxGTK-3.0.3/work/wxWidgets-3.0.3/docs/doxygen/out/html': No such file or directory
!!! dodoc: /var/tmp/portage/x11-libs/wxGTK-3.0.3/work/wxWidgets-3.0.3/docs/doxygen/out/html does not exist
 * ERROR: x11-libs/wxGTK-3.0.3::gentoo failed (install phase):
 *   dodoc failed
 * 


Fixed for me by:

--- wxGTK-3.0.3.ebuild.orig
+++ wxGTK-3.0.3.ebuild
@@ -126,7 +126,8 @@
 	newdoc gtk/readme.txt gtk_readme.txt
 
 	if use doc; then
-		dodoc -r "${S}"/docs/doxygen/out/html
+		docinto html
+		dodoc -r "${WORKDIR}"/wxWidgets-${PV}-docs-html/*
 	fi
 
 	# Stray windows locale file, causes collisions
Comment 1 Larry the Git Cow gentoo-dev 2018-01-04 22:01:06 UTC
The bug has been closed via the following commit(s):

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

commit d547e0758a717b36270b011bff286cea2aa4d7e0
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2018-01-04 21:54:36 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2018-01-04 22:00:57 +0000

    x11-libs/wxGTK: fix USE=doc html installation
    
    Actually adapt to the switch of the doc tarball. Apparently the old
    wxPython docs tarball was just pulled in and never used, as the old
    source paths came from the main wxPython tarball, not the doc one,
    and the doc seemed to just duplicate the docs already present in the
    main tarball for offline reading separate from code. As older versions
    should go away ASAP for security, this remains as-is in older ebuilds.
    
    Closes: https://bugs.gentoo.org/643484
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 x11-libs/wxGTK/wxGTK-3.0.3-r300.ebuild | 5 ++---
 x11-libs/wxGTK/wxGTK-3.0.3.ebuild      | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)
Comment 2 Mart Raudsepp gentoo-dev 2018-01-04 22:04:44 UTC
Please try the committed fix too if you can, once it reaches your mirror. Had to mostly cheat in the testing (skipped the compile phase), so maybe some unexpected issues.
Thanks for the report, embarrassing oversight
Comment 3 Chris Mayo 2018-01-07 19:56:46 UTC
That works. Thanks.