Gentoo Archives: gentoo-user

From: Dr Rainer Woitok <rainer.woitok@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] USE flag "unsupported" for "sci-libs/hdf5"
Date: Thu, 31 Dec 2020 16:54:47
Message-Id: 24558.589.740931.284027@tux.speedport.ip
1 Greetings,
2
3 after having decided to globally set the "threads" USE flag I get the
4 following:
5
6 These are the packages that would be merged, in order:
7
8 Calculating dependencies... done!
9
10 !!! The ebuild selected to satisfy "sci-libs/hdf5[mpi]" has unmet requirements.
11 - sci-libs/hdf5-1.10.5-r1::gentoo USE="fortran hl mpi threads zlib -cxx -debug -examples -szip -unsupported" ABI_X86="(64)"
12
13 The following REQUIRED_USE flag constraints are unsatisfied:
14 !unsupported? ( threads? ( !mpi !fortran !hl ) )
15
16 The above constraints are a subset of the following complete expression:
17 !unsupported? ( at-most-one-of ( cxx mpi ) threads? ( !cxx !mpi !fortran !hl ) )
18
19 (dependency required by "sci-libs/flann-1.9.1-r3::gentoo[mpi]" [installed])
20 ...
21
22 Since USE flag "mpi" is required by at least one other package, it seems
23 I have exactly two options:
24
25 - Set "-threads" for this package thus leaving everything as is,
26
27 - set "unsupported" for this package, without really knowing what the
28 consequences would be.
29
30 Asking "equery" isn't really enlighting in this case, is it?
31
32 $ equery --no-color --no-pipe uses sci-libs/hdf5
33 [ Legend : U - final flag setting for installation]
34 [ : I - package is installed with flag ]
35 [ Colors : set, unset ]
36 * Found these USE flags for sci-libs/hdf5-1.10.5-r1:
37 U I
38 - - cxx : Build support for C++ (bindings, extra libraries, code
39 generation, ...)
40 - - debug : Enable extra debug codepaths, like asserts and extra output.
41 If you want to get meaningful backtraces see https://wiki.ge
42 ntoo.org/wiki/Project:Quality_Assurance/Backtraces
43 - - examples : Install examples, usually source code
44 + + fortran : Add support for fortran
45 + + hl : Enable high level API
46 (https://support.hdfgroup.org/HDF5/doc/HL/index.html)
47 + + mpi : Add MPI (Message Passing Interface) layer to the apps that
48 support it
49 - - szip : Use the szip compression library
50 + - threads : Add threads support for various packages. Usually pthreads
51 - - unsupported : Enable unsupported combinations of configuration options
52 + + zlib : Add support for zlib (de)compression
53 $
54
55 Anybody having an educated guess what the risk would be? Is it save to
56 set a USE flag even if its name is "unsupported"?
57
58 Sincerely,
59 Rainer

Replies

Subject Author
Re: [gentoo-user] USE flag "unsupported" for "sci-libs/hdf5" netfab <netbox253@××××.eu>