Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] slot conflict for the same package: how to add a USE flag?
Date: Wed, 20 May 2020 20:11:27
Message-Id: DB5E82E9-D59F-481D-BBEB-17C123EEF7CB@antarean.org
In Reply to: Re: [gentoo-user] slot conflict for the same package: how to add a USE flag? by n952162
1 Please don't toppost
2
3 On 20 May 2020 21:46:45 CEST, n952162 <n952162@×××.de> wrote:
4 >Good tip ... I was getting unconfortable that every time I tried one of
5 >these attempts to update things, it would say that the target got added
6 >to the world file.  You're saying, if I don't recognize it, I can
7 >remove
8 >it from the list?
9 >
10 >
11 >On 05/20/20 21:35, J. Roeleveld wrote:
12 >> On 20 May 2020 21:24:36 CEST, Daniel Frey <djqfrey@×××××.com> wrote:
13 >>> On 5/20/20 12:06 PM, n952162 wrote:
14 >>>> The command was:
15 >>>>
16 >>>> emerge -vu dev-qt/qtgui dev-qt/qtx11extras dev-qt/qtopengl
17 >>>> dev-qt/qtprintsupport dev-qt/qtwidgets dev-qt/qtxml
18 >>>> dev-qt/linguist-tools dev-qt/qtnetwork dev-qt/qtsvg dev-qt/qtcore
19 >>>>
20 >>>> The output to that is attached.
21 >>>>
22 >>>> I tried just emerging zlib with the static-libs USE flag ... that
23 >log
24 >>> is
25 >>>> also attached.
26 >>>>
27 >>>> On 05/20/20 18:59, Ashley Dixon wrote:
28 >>>>> On Wed, May 20, 2020 at 02:35:52PM +0200, n952162 wrote:
29 >>>>>> I have a slot conflict for sys-libs/zlib, whereby both users want
30 >>>>>> the same package.  Studying the USE variables shows that the new
31 >>>>>> package wants, additionally, the "static-libs" USE flag.
32 >>>>>>
33 >>>>>> I thought, the way to handle this is to add the static-libs USE
34 >>>>>> variable in /etc/portage/package.use and re-emerge with
35 >>>>>> --changed-use.  Unfortunately, that gives me the same conflict.
36 >>>>> Can you attach the full output of emerge ?
37 >>>>>
38 >>> This is most likely due to so many packages that need to be upgraded
39 >at
40 >>>
41 >>> the same time. You're only asking to update a few select packages
42 >and
43 >>> it's borking because it's finding packages outside your request that
44 >>> also need to be updated at the same time.
45 >>>
46 >>> Have you tried an `emerge -avuD world` to see if portage can
47 >backtrack
48 >>> far enough to sort dependencies out?
49 >>>
50 >>> Dan
51 >> I would also suggest a cleanup of the world-file as that command will
52 >add all that to the world file as well. Making updates where libraries
53 >are replaced impossible to negotiate by portage.
54 >>
55 >> The file can be found at:
56 >> /var/lib/portage/world
57 >>
58 >> Generally, only used applications, services and desktop environment
59 >packages should be listed.
60 >> Libraries should only be in there if needed for own projects.
61 >>
62 >> --
63 >> Joost
64
65 Yes, if you don't need it, remove it from the world file. Just double check the list of to be removed packages when running "emerge --depclean" once the updates have finished.
66
67 --
68 Sent from my Android device with K-9 Mail. Please excuse my brevity.