Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge not picking up USE flag in ceres-solver [SOLVED]
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
justin_brody
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 213

PostPosted: Fri Jan 11, 2019 2:52 pm    Post subject: Emerge not picking up USE flag in ceres-solver [SOLVED] Reply with quote

Hello,
I want to compile sci-libs/ceres-solver with the the "sparse" USE flag enabled. I set it in package.use but somehow it's not getting picked up at emerge time and doesn't even seem to be recognized as an option by equery:
Code:

~ # cat /etc/portage/package.use  | grep ceres
sci-libs/ceres-solver doc examples c++11 gflags sparse schur  lapack -abi_x86_32

~ # emerge -pv ceres-solver

 * IMPORTANT: 5 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ~] sci-libs/ceres-solver-1.12.0:0/1::gentoo  USE="c++11 doc examples gflags lapack openmp schur -cxsparse (-sparse) -test" ABI_X86="(64) -32 (-x32)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
~ # equery uses ceres-solver
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for sci-libs/ceres-solver-1.12.0:
 U I
 - - abi_x86_32 : 32-bit (x86) libraries
 + + c++11      : Build ceres-solver using the C++11 standard
 - - cxsparse   : Enable simple support for sparse matrix algebra from sci-libs/cxsparse with no LAPACK dependencies
 + + doc        : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
 + + examples   : Install examples, usually source code
 + + gflags     : Use dev-cpp/gflags for flag parsing
 + + lapack     : Add support for the virtual/lapack numerical library
 + + openmp     : Build support for the OpenMP (support parallel computing), requires >=sys-devel/gcc-4.2 built with USE="openmp"
 + + schur      : Enable fixed-size schur specializations (disable if binary size is an issue)
 - - test       : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be
                  toggled independently)


Am I just missing something stupid here?

Many thanks!

-Justin


Last edited by justin_brody on Fri Jan 11, 2019 3:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21121
Location: here

PostPosted: Fri Jan 11, 2019 3:02 pm    Post subject: Reply with quote

Use flag in parentheses means that are masked you can unmask using /etc/portage/profile/package.use.mask, but if masked there is a reason
/usr/portage/profiles/base/package.use.mask:
# Pacho Ramos <pacho@gentoo.org> (11 Nov 2018)
# sci-libs/spqr is going to be removed
dev-cpp/eigen test
kde-apps/cantor julia
sci-libs/ceres-solver sparse

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
justin_brody
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 213

PostPosted: Fri Jan 11, 2019 3:11 pm    Post subject: Reply with quote

Thanks so much!
Is there a good place for me to learn about the reason for masking it?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21121
Location: here

PostPosted: Fri Jan 11, 2019 3:17 pm    Post subject: Reply with quote

Yes I reported the reason in my previous post (see file /usr/portage/profiles/base/package.use.mask)
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
justin_brody
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 213

PostPosted: Fri Jan 11, 2019 3:22 pm    Post subject: Reply with quote

Many thanks fedeliallalinea! I see that there is a note that sci-libs/spqr will be removed. Do we know why it will be removed?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21121
Location: here

PostPosted: Fri Jan 11, 2019 3:31 pm    Post subject: Reply with quote

justin_brody wrote:
Many thanks fedeliallalinea! I see that there is a note that sci-libs/spqr will be removed. Do we know why it will be removed?

See
https://bugs.gentoo.org/627094
https://bugs.gentoo.org/654548
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
justin_brody
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 213

PostPosted: Fri Jan 11, 2019 3:33 pm    Post subject: Reply with quote

O.k. -- understood now. Thanks again!
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