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: Thu, 17 Feb 2022 07:02:10
Message-Id: b3f94262-d84f-6cc2-65d6-4cb16b7ff3e2@gmail.com
In Reply to: Re: [gentoo-user] Kicad and complications from hdf5 and vtk USE flags. Not package specific tho. by Miles Malone
1 Miles Malone wrote:
2 > Well I just installed kicad-meta (6.0.1), and neither vtk nor hdf5 are
3 > pulled into the dep tree as a result... Given opencascade[vtk] is
4 > what's pulling in vtk in your emerge above, disabling the vtk
5 > useflag's probably going to help.
6 >
7 > In addition, I cant imagine why in a million years MPI should be
8 > getting pulled in unless you've explicitly enabled it somewhere else,
9 > MPI's hardly something you'd be using if you werent USING, i.e. on a
10 > distributed memory system. Looking at the dependency tree, the most
11 > likely place for an MPI use flag to be causing all kinds of mpi
12 > related shenanigans with other packages is Boost. If you've enabled
13 > MPI for Boost without actually needing it, that'll cause all kinds of
14 > tree problems. In my experience if you're using MPI you need to be
15 > really really careful about enabling it globally, it's incredibly hard
16 > for the devs to test given test systems are rarely clusters, so it's
17 > often got significant breakage. Of course if you're developing for a
18 > cluster, which I do from time to time, this can be a pain.
19 >
20 > So assuming you've got *absolutely no libraries* in your world file
21 > (there really shouldnt be), make sure you've got mpi and vtk disabled
22 > globally, and not per-package enabled for boost and opencascade. Get
23 > rid of vtk and hdf5, and try again? (Assuming you dont need hdf5 for
24 > something other than kicad that is, of course. It's the main format I
25 > use for data storage as it plays nicely with Matlab and okay with c++
26 > and python)
27 >
28 > That's my best guess as to what's causing your blockers, anyways.
29 > Give it a go and see where the error moves to
30 >
31 >
32
33 I'm fine with disabling it globally so I added it to make.conf.  I also
34 made sure any entries in package.use were commented out.  Now I get this:
35
36
37 root@fireball / # emerge -auDN world
38
39 These are the packages that would be merged, in order:
40
41 Calculating dependencies... done!
42
43 !!! The ebuild selected to satisfy "<sci-libs/hdf5-1.12:=[mpi=]" has
44 unmet requirements.
45 - sci-libs/hdf5-1.10.5-r1::gentoo USE="cxx hl threads zlib -debug
46 -examples -fortran -mpi -szip -unsupported" ABI_X86="(64)"
47
48   The following REQUIRED_USE flag constraints are unsatisfied:
49     !unsupported? ( threads? ( !cxx !hl ) )
50
51   The above constraints are a subset of the following complete expression:
52     !unsupported? ( at-most-one-of ( cxx mpi ) threads? ( !cxx !mpi
53 !fortran !hl ) )
54
55 (dependency required by "sci-libs/vtk-9.0.3-r4::gentoo" [ebuild])
56 (dependency required by "sci-libs/opencascade-7.5.2-r5::gentoo" [installed])
57 (dependency required by "sci-electronics/kicad-5.1.12-r2::gentoo[occ]"
58 [installed])
59 (dependency required by "sci-electronics/kicad-symbols-5.1.12::gentoo"
60 [installed])
61 (dependency required by "sci-electronics/kicad-meta-5.1.12::gentoo"
62 [installed])
63 (dependency required by "@selected" [set])
64 (dependency required by "@world" [argument])
65 root@fireball / #
66
67
68 Also, keep in mind I'm still on V5 of Kicad.  I'm wanting some more time
69 for bug fixes and such before I update to V6.  It's sort of a one way
70 street.  I might add tho, there was a update to V5 a few weeks ago that
71 started this whole mess.  Ever since that new version of V5 hit the
72 tree, I've had issues getting clean paths to upgrade with Kicad
73 installed.  If I could, I'd go back to the previous version but when
74 they did the update, they removed the previous version that was
75 working.  I've considered putting off my projects and just leaving Kicad
76 uninstalled for a while. 
77
78 Thanks for the help.  My decoder ring just can't figure out what emerge
79 is trying to say, especially when it conflicts with itself.
80
81 Dale
82
83 :-)  :-) 

Replies