Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 472048 - dev-vcs/git-cola-1.9.4 with USE=doc - dohtml: share/doc/git-cola/_build/html/ does not exist
Summary: dev-vcs/git-cola-1.9.4 with USE=doc - dohtml: share/doc/git-cola/_build/html/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-01 22:45 UTC by Martin von Gagern
Modified: 2014-02-21 14:52 UTC (History)
1 user (show)

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


Attachments
build log (dev-vcs:git-cola-1.8.2:20130601-194216.log,25.31 KB, text/plain)
2013-06-01 22:45 UTC, Martin von Gagern
Details
emerge --info (dev-vcs:git-cola-1.8.2.emerge--info,6.90 KB, text/plain)
2013-06-01 22:45 UTC, Martin von Gagern
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2013-06-01 22:45:10 UTC
Created attachment 349876 [details]
build log

Building the git-cola docs fails. Seems they already end up in image/usr/share/doc/git-cola-1.8.2/html, even without the help from dohtml. Tail end of the build log quoted here, full log attached.

No top level directories starting with an underscore were found in '/var/tmp/portage/dev-vcs/git-cola-1.8.2/work/git-cola-1.8.2/share/doc/git-cola/_build/html'

Build finished. The HTML pages are in _build/html.
test  -d /var/tmp/portage/dev-vcs/git-cola-1.8.2/image//usr/share/doc/git-cola-1.8.2/html || mkdir -p /var/tmp/portage/dev-vcs/git-cola-1.8.2/image//usr/share/doc/git-cola-1.8.2/html
rsync -ar --delete _build/html/ /var/tmp/portage/dev-vcs/git-cola-1.8.2/image//usr/share/doc/git-cola-1.8.2/html/
make -f Makefile.asciidoc prefix=/usr install-html
make[1]: Entering directory `/var/tmp/portage/dev-vcs/git-cola-1.8.2/work/git-cola-1.8.2/share/doc/git-cola'
install -d -m755 /var/tmp/portage/dev-vcs/git-cola-1.8.2/image//usr/share/doc/git-cola/html
install -m644 git-cola.html git-dag.html  /var/tmp/portage/dev-vcs/git-cola-1.8.2/image//usr/share/doc/git-cola/html
make[1]: Leaving directory `/var/tmp/portage/dev-vcs/git-cola-1.8.2/work/git-cola-1.8.2/share/doc/git-cola'
test  -d /var/tmp/portage/dev-vcs/git-cola-1.8.2/image//usr/share/doc/git-cola-1.8.2 || mkdir -p /var/tmp/portage/dev-vcs/git-cola-1.8.2/image//usr/share/doc/git-cola-1.8.2
cp *.txt /var/tmp/portage/dev-vcs/git-cola-1.8.2/image//usr/share/doc/git-cola-1.8.2
cp *.html /var/tmp/portage/dev-vcs/git-cola-1.8.2/image//usr/share/doc/git-cola-1.8.2
!!! dohtml: share/doc/git-cola/_build/html/. does not exist
 * ERROR: dev-vcs/git-cola-1.8.2 failed (install phase):
 *   dohtml failed
Comment 1 Martin von Gagern 2013-06-01 22:45:29 UTC
Created attachment 349878 [details]
emerge --info
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2013-06-04 13:56:53 UTC
+  04 Jun 2013; Justin Lecher <jlec@gentoo.org> git-cola-1.8.2.ebuild:
+  Fix installation of html docs, #472048
+
Comment 3 Martin von Gagern 2014-02-10 13:20:48 UTC
I didn't install the package after it got fixed. Tried to install it today, though, and found the issue back in version 1.9.4:

install -d -m755 /var/tmp/portage/dev-vcs/git-cola-1.9.4/image//usr/share/doc/git-cola/html
install -m644 git-cola.html git-dag.html  /var/tmp/portage/dev-vcs/git-cola-1.9.4/image//usr/share/doc/git-cola/html
make[1]: Leaving directory '/var/tmp/portage/dev-vcs/git-cola-1.9.4/work/git-cola-1.9.4/share/doc/git-cola'
test  -d /var/tmp/portage/dev-vcs/git-cola-1.9.4/image//usr/share/doc/git-cola-1.9.4 || mkdir -p /var/tmp/portage/dev-vcs/git-cola-1.9.4/image//usr/share/doc/git-cola-1.9.4
cp *.txt /var/tmp/portage/dev-vcs/git-cola-1.9.4/image//usr/share/doc/git-cola-1.9.4
cp *.html /var/tmp/portage/dev-vcs/git-cola-1.9.4/image//usr/share/doc/git-cola-1.9.4
!!! dohtml: share/doc/git-cola/_build/html/ does not exist
 * ERROR: dev-vcs/git-cola-1.9.4::gentoo failed (install phase):
 *   dohtml failed

Repeating the fix from http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-vcs/git-cola/git-cola-1.8.2.ebuild?r1=1.3&r2=1.4 on my git-cola-1.9.4 ebuild did resolve the issue. Even Help / Documentation seems to work as intended.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2014-02-21 14:52:15 UTC
+  21 Feb 2014; Justin Lecher <jlec@gentoo.org> -git-cola-1.8.3.ebuild,
+  -git-cola-1.8.5.ebuild, -git-cola-1.9.1.ebuild, -git-cola-1.9.3.ebuild,
+  -git-cola-1.9.3-r1.ebuild, git-cola-1.9.4.ebuild:
+  Fix html doc installation, #472048; drop old
+