Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411969 - games-board/aisleriot-3.2.3.1 - configure:15489: error: itstool not found
Summary: games-board/aisleriot-3.2.3.1 - configure:15489: error: itstool not found
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-14 14:39 UTC by Hanspeter Spalinger
Modified: 2012-04-16 11:14 UTC (History)
1 user (show)

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


Attachments
config.log (config.log,49.72 KB, text/plain)
2012-04-14 14:39 UTC, Hanspeter Spalinger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hanspeter Spalinger 2012-04-14 14:39:53 UTC
Created attachment 308889 [details]
config.log

games-board/aisleriot-3.2.3.1 from portage failes to build due to a unmet dependency:

checking for itstool... no
configure: error: itstool not found

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/games-board/aisleriot-3.2.3.1/work/aisleriot-3.2.3.1/config.log



adding "dev-util/itstool" to the DEPENDS in the ebuild worked for me, this installs itstools-1.1.1:

--- aisleriot-3.2.3.1.ebuild.orig	2012-04-14 16:35:35.398624788 +0200
+++ aisleriot-3.2.3.1.ebuild	2012-04-14 16:36:03.533625552 +0200
@@ -40,7 +40,8 @@
 	>=sys-devel/gettext-0.12
 	gnome? (
 		app-text/docbook-xml-dtd:4.3
-		>=app-text/yelp-tools-3.1.1 )"
+		>=app-text/yelp-tools-3.1.1 )
+	dev-util/itstool"
 
 pkg_setup() {
 	DOCS="AUTHORS ChangeLog TODO"
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-04-16 11:05:17 UTC
itstool is a required runtime dependency of yelp-tools. A package that has yelp-tools in DEPEND can legitimately assume that dev-lang/python and dev-util/itstool are also installed at build time - just like the dozens of packages that have dev-util/intltool in DEPEND do not need to explicitly add dependencies on dev-lang/perl and dev-perl/XML-Parser.

The only way you could have encountered the configure failure is by manually uninstalling itstool without uninstalling all the previously installed packages that depended on it, such as yelp-tools. Doing so is considered to be user error.

In order to avoid similar problems in the future, I recommend using the --deep argument to emerge; it forces portage to consider the full dependency tree of a package, not just the immediate dependency list.
Comment 2 Hanspeter Spalinger 2012-04-16 11:14:49 UTC
(In reply to comment #1)
> itstool is a required runtime dependency of yelp-tools. A package that has
Arg, correct. I played around with that some time ago.
Sorry for the noise.