Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] "sci-libs/hdf5" has unmet requirements
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Nitro_146
Apprentice
Apprentice


Joined: 02 Mar 2005
Posts: 197
Location: Digne les bains, France

PostPosted: Mon Apr 22, 2013 3:43 pm    Post subject: [SOLVED] "sci-libs/hdf5" has unmet requirements Reply with quote

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
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3822
Location: USA

PostPosted: Mon Apr 22, 2013 6:11 pm    Post subject: Reply with quote

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@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
aCOSwt
Moderator
Moderator


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Mon Apr 22, 2013 6:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Nitro_146
Apprentice
Apprentice


Joined: 02 Mar 2005
Posts: 197
Location: Digne les bains, France

PostPosted: Mon Apr 22, 2013 6:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum