Gentoo Archives: gentoo-user

From: Alan Mackenzie <acm@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] I can't understand an emerge error. Help, please!
Date: Mon, 18 Apr 2011 21:04:53
Message-Id: 20110418202122.GB4024@acm.acm
In Reply to: Re: [gentoo-user] I can't understand an emerge error. Help, please! by Paul Hartman
1 Hi, Paul.
2
3 On Mon, Apr 18, 2011 at 11:52:17AM -0500, Paul Hartman wrote:
4 > On Mon, Apr 18, 2011 at 11:21 AM, Alan Mackenzie <acm@×××.de> wrote:
5 > > Hi, gentoo.
6
7 > > When I try to run an emerge world, I get this error:
8
9 > > # emerge --update --deep -p world
10
11 > > These are the packages that would be merged, in order:
12
13 > > Calculating dependencies... done!
14
15 > > emerge: there are no ebuilds built with USE flags to satisfy "dev-libs/libgcrypt[static-libs]".
16 > > !!! One of the following packages is required to complete your request:
17 > > - dev-libs/libgcrypt-1.4.6 (Change USE: +static-libs)
18
19 > One of the packages in your world requires dev-libs/libgcrypt which
20 > was built with the "static-libs" USE flag. So, the line above is
21 > telling you to add "static-libs" to your USE flag for that package.
22
23 OK.
24
25 > > (dependency required by "sys-fs/cryptsetup-1.1.3-r3[-dynamic]" [ebuild])
26 > > (dependency required by "sys-apps/hal-0.5.14-r4[crypt]" [ebuild])
27 > > (dependency required by "@selected" [set])
28 > > (dependency required by "@world" [argument])
29
30 > These are the items that require libgcrypt with static-libs USE flag
31 > set. Sometimes changing USE flags on thse packages will change the
32 > dependency requirements. Sometimes it's just something new that the
33 > maintainer added since a previous version.
34
35 OK. I was getting confused by "dependency required", which sounds
36 tautological. What it seems to mean is "package required".
37
38 > > What is this saying? ?That I need to locate a use flag "static-libs" and
39 > > change it for package libgcrypt? ?Presumably it is libgcrypt which is
40 > > dissatisfied. ?I'm having difficulty parsing the mssage.
41
42 > > Next question: what should I do about it?
43
44 > If you don't already have one, you can set package-specific USE flags
45 > in /etc/portage/package.use and in this case you'd add a line:
46 > dev-libs/libgcrypt static-libs
47
48 I've done that. It works. :-)
49
50 > > Thanks for the help!
51
52 > Good luck!
53
54 It's worked, at least for that error. I've had several more of the same
55 sort, and one or two blockages since. I've got stuck rebuilding xfce,
56 but that will have to wait till tomorrow.
57
58 --
59 Alan Mackenzie (Nuremberg, Germany)

Replies

Subject Author
Re: [gentoo-user] I can't understand an emerge error. Help, please! Alan McKinnon <alan.mckinnon@×××××.com>