View previous topic :: View next topic |
Author |
Message |
Nitro_146 Apprentice
Joined: 02 Mar 2005 Posts: 221 Location: Digne les bains, France
|
Posted: Mon Apr 22, 2013 3:43 pm Post subject: [SOLVED] "sci-libs/hdf5" has unmet requirements |
|
|
Hi,
I am trying to update world, and I have this message :
Quote: | # emerge -auvD world
These are the packages that would be merged, in order:
Calculating dependencies... done!
!!! The ebuild selected to satisfy "sci-libs/hdf5" has unmet requirements.
- sci-libs/hdf5-1.8.10::gentoo USE="cxx fortran (multilib) threads zlib -debug -examples -fortran2003 -mpi -static-libs -szip" ABI_X86="64"
The following REQUIRED_USE flag constraints are unsatisfied:
threads? ( !cxx !fortran )
The above constraints are a subset of the following complete expression:
cxx? ( !mpi ) mpi? ( !cxx ) threads? ( !cxx !mpi !fortran ) fortran2003? ( fortran )
(dependency required by "media-libs/vigra-1.8.0[hdf5]" [ebuild])
(dependency required by "media-gfx/enblend-4.1.1" [ebuild])
(dependency required by "media-gfx/hugin-2011.4.0-r1" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument]) |
I don't understand what are the USE flags I should enable/disable
Quote: | # equery uses sci-libs/hdf5-1.8.10
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for sci-libs/hdf5-1.8.10:
U I
+ + cxx : Builds support for C++ (bindings, extra libraries, code generation, ...)
- - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful
backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
- - examples : Install examples, usually source code
+ + fortran : Adds support for fortran (formerly f77)
- - fortran2003 : enable new features that require Fortran 2003
(http://www.hdfgroup.org/HDF5/doc/fortran/NewFeatures_F2003.pdf)
- - mpi : Adds MPI (Message Passing Interface) layer to the apps that support it
- - static-libs : Build static libraries
- - szip : Use the szip compression library
+ + threads : Adds threads support for various packages. Usually pthreads
+ + zlib : Adds support for zlib (de)compression |
_________________ Linux, cause booting is for adding new hardware
Last edited by Nitro_146 on Mon Apr 22, 2013 6:59 pm; edited 1 time in total |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Mon Apr 22, 2013 6:11 pm Post subject: |
|
|
First off, I don't even know what hdf5 is so I'm just guessing from the diagnostic error.
Looks like you can't have threads and fortran enabled at the same time. Disable one of them...
I think both of these USE flags are default so this is annoying indeed :( _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Mon Apr 22, 2013 6:52 pm Post subject: |
|
|
eccerr0r wrote: | Looks like you can't have threads and fortran enabled at the same time. Disable one of them... |
A little bit more than this :
Code: | REQUIRED_USE="
threads? ( !cxx !mpi !fortran ) |
So, either you want threads and then you must disable and cxx and mpi and fortran, or you want either cxx or mpi or fortran and then you must disable threads. (The latter being what I advise to do)
I agree it's annoying but... it does not cost much disabling the threads use flag for this package (unless you know you need to link it with an heavily multithreaded package) :
hdfgroup.org wrote: | The HDF5 library can be built in thread-safe mode. The thread-safe version of the HDF5 library effectively serializes the HDF5 library calls. It is thread-safe but not thread-efficient. |
_________________
Last edited by aCOSwt on Mon Apr 22, 2013 7:01 pm; edited 1 time in total |
|
Back to top |
|
|
Nitro_146 Apprentice
Joined: 02 Mar 2005 Posts: 221 Location: Digne les bains, France
|
Posted: Mon Apr 22, 2013 6:58 pm Post subject: |
|
|
Thank's for yours answers !
I disabled "threads" and it did the trick.
I still have to solve some blocks but this is another story. _________________ Linux, cause booting is for adding new hardware |
|
Back to top |
|
|
|