Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261233 - www-client/midori-0.1.2 fails to install without dev-python/docutils
Summary: www-client/midori-0.1.2 fails to install without dev-python/docutils
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Markus Ullmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-04 21:28 UTC by Johannes Buchner
Modified: 2009-04-05 15:49 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 Johannes Buchner 2009-03-04 21:28:50 UTC
If you try to install midori 0.1.2 from portage, you get:

* installing README as /mnt/tmp/portage/www-client/midori-0.1.2/image/usr/share/doc/midori/README
* installing TRANSLATE as /mnt/tmp/portage/www-client/midori-0.1.2/image/usr/share/doc/midori/TRANSLATE
Traceback (most recent call last):
  File "/usr/bin/rst2html.py", line 4, in <module>
    import pkg_resources
  File "/usr/lib64/python2.5/site-packages/pkg_resources.py", line 2561, in <module>
    working_set.require(__requires__)
  File "/usr/lib64/python2.5/site-packages/pkg_resources.py", line 626, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib64/python2.5/site-packages/pkg_resources.py", line 524, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: docutils==0.4
Unable to install the file `_build_/docs/user/midori.html': not found in dir:///mnt/tmp/portage/www-client/midori-0.1.2/work/midori-0.1.2
 * 
 * ERROR: www-client/midori-0.1.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line  926:  Called die
 * The specific snippet of code:
 *       DESTDIR=${D} ./waf install || die "install failed";
 *  The die message:
 *   install failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/mnt/tmp/portage/www-client/midori-0.1.2/temp/build.log'.
 * The ebuild environment file is located at '/mnt/tmp/portage/www-client/midori-0.1.2/temp/environment'.
 * 

Emerge dev-python/docutils and the install works.
The issue is also pointed out here: http://cgit.openembedded.net/cgit.cgi?url=openembedded/commit/&id=e25d86b54fdc9caee8ae5c4a8982373211853196

May I suggest something like 
--- /usr/portage/www-client/midori/midori-0.1.2.ebuild.orig	2009-03-04 22:23:22.000000000 +0100
+++ /usr/portage/www-client/midori/midori-0.1.2.ebuild	2009-03-04 22:23:46.000000000 +0100
@@ -21,7 +21,8 @@
 	dev-libs/libxml2
 	nls? ( sys-devel/gettext )
 	soup? ( >=net-libs/libsoup-0.9 )
-	sqlite? ( >=dev-db/sqlite-3.0 )"
+	sqlite? ( >=dev-db/sqlite-3.0 )
+	dev-python/docutils"
 RDEPEND="${DEPEND}"
 
 src_configure() {


Reproducible: Always

Steps to Reproduce:
Comment 1 Patrick Lauer gentoo-dev 2009-04-01 13:15:33 UTC
That seems to fix 0.1.2, 0.1.3 has a different failure.
Comment 2 Markus Ullmann (RETIRED) gentoo-dev 2009-04-05 15:49:32 UTC
looks like it's fixed in 0.1.5, waiting for that to be available unmasked