Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Kicad and complications from hdf5 and vtk USE flags. Not package specific tho.
Date: Fri, 18 Feb 2022 11:24:12
Message-Id: ad2a0f90-d3f7-fd5f-8817-c993a112e471@gmail.com
In Reply to: Re: [gentoo-user] Kicad and complications from hdf5 and vtk USE flags. Not package specific tho. by Wol
1 Wol wrote:
2 > On 17/02/2022 07:42, Dale wrote:
3 >> I also commented out as much as I could in
4 >> package.use, the things I'd tried previously.  Now it has a clean path
5 >> to upgrade.
6 >
7 > Is package.use a file or a directory? If it's a file, convert it to a
8 > directory (you can just put the existing package.use file in the new
9 > directory).
10 >
11 > Then make sure every time you add new use flags they're either in a
12 > file dedicated to a particular package, or they're in a dated file and
13 > refer to particular package versions. That dated file, when etc-update
14 > wants to update package.use, I just rename its temporary file into a
15 > proper dated file, rather than let it mess with a file it's chosen at
16 > random.
17 >
18 > That way, you can delete packages you no longer use, clear out old
19 > package/use combos, and generally keep things tidy.
20 >
21 > And when you're trying to fix something, that all goes in one file you
22 > can ditch when it's all gone wrong :-)
23 >
24 > Cheers,
25 > Wol
26 >
27 >
28
29
30 I have them all as directories.  Some are specific to KDE, some are for
31 other things.  I organize them, sort of.  I also have a catch all with
32 the default name. 
33
34 As I continued to try to get everything up to date and a clean output
35 from emerge world, I started running into the same problems as before. 
36 So, I tried setting backtrack to a insanely high number but that didn't
37 help.  I then went back to a tried and generally true method, emerge -e
38 world.  I did that in a chroot first and am currently doing it with
39 emerge -ek world on my live system.  That seems to have sorted out
40 whatever was causing this USE flag circle.  It compiled everything fine
41 in the chroot. 
42
43 Maybe I will have a clean system in a few hours.  Even emerging binaries
44 seem to take longer than it used to for some reason.  Oh well. 
45
46 Dale
47
48 :-)  :-)