Gentoo Archives: gentoo-user

From: Pavel Kazakov <nullishzero@g.o>
To: gentoo-user@l.g.o, mr.jarry@×××××.com
Subject: Re: [gentoo-user] x11-misc/shared-mime-info update problem...
Date: Sun, 05 Jan 2014 12:48:28
Message-Id: 52C95486.2090408@gentoo.org
In Reply to: [gentoo-user] x11-misc/shared-mime-info update problem... by Jarry
1 On 01/05/2014 04:32 AM, Jarry wrote:
2 > Hi Gentoo-users,
3 >
4 > while trying to update my box I ran into some problem with
5 > x11-misc/shared-mime-info (updating from 1.0 to 1.2-r1).
6 > Maybe someone could help me to understand what the problem is.
7 >
8 > I see it failed in config-phase with:
9 > "error: XML::Parser perl module is required for intltool"
10 >
11 > But why was XML::Parser not pulled as dependency, when it
12 > is required? What ebuild is it in?
13 >
14 > Jarry
15
16 The proper dependency should be pulled in (x11-misc/shared-mime-info
17 depends on dev-util/intltool, which depends on dev-perl/XML-Parser).
18
19 My guess is that you recently upgraded perl, which might require you to
20 rebuild the perl modules. You can try rebuilding just
21 dev-perl/XML-Parser, but I recommend using perl-cleaner [1] to rebuild
22 all the modules:
23 perl-cleaner --allmodules -v
24
25 And then try to rebuild shared-mime-info.
26
27 Regards,
28 Pavel
29
30 [1] http://www.gentoo.org/proj/en/perl/perl-cleaner.xml

Replies

Subject Author
Re: [gentoo-user] x11-misc/shared-mime-info update problem... Jarry <mr.jarry@×××××.com>