Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
octave depends on two version of llvm, which block
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
Xander314
n00b
n00b


Joined: 16 Apr 2012
Posts: 61

PostPosted: Thu Aug 20, 2015 9:59 am    Post subject: octave depends on two version of llvm, which block Reply with quote

I am trying to emerge sci-mathematics/octave-4.0.0, but am having trouble with blockers. In particular, portage is trying to emerge both sys-devel/llvm-3.5.2 and sys-devel/llvm-3.6.2, which block each other.

And indeed octave does appear to depend on both
Code:

cizin ~ # equery g octave-4.0.0
 * Searching for octave4.0.0 ...

 * dependency graph for sci-mathematics/octave-4.0.0
 `--  sci-mathematics/octave-4.0.0  ~amd64
...
   `--  sys-devel/llvm-3.6.2  (>=sys-devel/llvm-3.3) ~amd64
   `--  sys-devel/llvm-3.5.2  (<sys-devel/llvm-3.6) ~amd64
...


Here is the full output from emerge.
Code:

cizin ~ # emerge octave

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

Calculating dependencies                     ... done!
[ebuild     UD ] sys-devel/llvm-3.5.2:0/3.5::gentoo [3.6.2:0/3.6::gentoo] USE="clang libffi ncurses static-analyzer xml -debug -doc -gold -libedit -multitarget -ocaml -python {-test}" ABI_X86="(64) -32* (-x32)" PYTHON_TARGETS="python2_7 -pypy" VIDEO_CARDS="radeon" 20,985 KiB
[ebuild     UD ] sys-devel/clang-3.5.2-r100:0/3.5::gentoo [3.6.2-r100:0/3.6::gentoo] USE="static-analyzer -debug -multitarget -python" ABI_X86="(64) -32* (-x32)" 0 KiB
[ebuild  N     ] media-libs/qhull-2012.1-r4::gentoo  USE="-doc -static-libs" 700 KiB
[ebuild  N     ] x11-libs/gl2ps-1.3.8::gentoo  USE="png zlib -doc" 290 KiB
[ebuild  N     ] sci-mathematics/octave-4.0.0:0/4.0.0::gentoo  USE="X glpk gnuplot imagemagick java jit opengl qhull qrupdate readline sparse zlib -curl -doc -fftw -gui -hdf5 -postscript -static-libs" 15,390 KiB

Total: 5 packages (2 downgrades, 3 new), Size of downloads: 37,364 KiB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-devel/clang:0

  (sys-devel/clang-3.5.2-r100:0/3.5::gentoo, ebuild scheduled for merge) pulled in by
    =sys-devel/clang-3.5.2-r100 required by (sys-devel/llvm-3.5.2:0/3.5::gentoo, ebuild scheduled for merge)
    ^                ^^^^^^^^^^                                                                                                                                   

  (sys-devel/clang-3.6.2-r100:0/3.6::gentoo, installed) pulled in by
    =sys-devel/clang-3.6.2-r100 required by (sys-devel/llvm-3.6.2:0/3.6::gentoo, installed)
    ^                ^^^^^^^^^^                                                                                                                   
    >=sys-devel/clang-3.6 required by (dev-libs/libclc-0.1.0_pre20150305:0/0::gentoo, installed)
    ^^                ^^^                                                                                                                             

sys-devel/llvm:0

  (sys-devel/llvm-3.5.2:0/3.5::gentoo, ebuild scheduled for merge) pulled in by
    ~sys-devel/llvm-3.5.2[clang(-),debug=,multitarget?,python?,static-analyzer,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (sys-devel/clang-3.5.2-r100:0/3.5::gentoo, ebuild scheduled for merge)
    ^               ^^^^^                                                                                                                                                                                                                                                                                                                                                               
    <sys-devel/llvm-3.6:0= required by (sci-mathematics/octave-4.0.0:0/4.0.0::gentoo, ebuild scheduled for merge)
    ^               ^^^^^^                                                                                                                                                                 

  (sys-devel/llvm-3.6.2:0/3.6::gentoo, installed) pulled in by
    >=sys-devel/llvm-3.6 required by (dev-libs/libclc-0.1.0_pre20150305:0/0::gentoo, installed)
    ^^               ^^^                                                                                                                             
    >=sys-devel/llvm-3.4.2:0/3.6=[abi_x86_32(-),abi_x86_64(-)] required by (media-libs/mesa-10.6.3:0/0::gentoo, installed)
                          ^^^^^^^                                                                                                                             
    ~sys-devel/llvm-3.6.2[clang(-),debug=,multitarget?,python?,static-analyzer,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (sys-devel/clang-3.6.2-r100:0/3.6::gentoo, installed)
    ^               ^^^^^                                                                                                                                                                                                                                                                                                                                             
    >=sys-devel/llvm-3.4.2:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (media-libs/mesa-10.6.3:0/0::gentoo, installed)
                                                                                                                                                                                                                                                                         


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Thu Aug 20, 2015 10:24 am    Post subject: Reply with quote

Quote:
ABI_X86="(64) -32* (-x32)"


Did you unset 32bit mutliprofile??

That will confuse portage even more ...

did you used backtrack option with 1000?
Back to top
View user's profile Send private message
Xander314
n00b
n00b


Joined: 16 Apr 2012
Posts: 61

PostPosted: Thu Aug 20, 2015 1:34 pm    Post subject: Reply with quote

I'm using a regular, multilib profile. I haven't messed with that stuff at all, but as far as I was aware, packages would only be compiled as 32bit if explicitly requested by USE flags. I only build 32bit binaries when dependencies require it, e.g. for WINE.

I tried emerging with --backtrack=1000. The result was portage trying to emerge octave-3.6.4. I still don't understand why octave-4.0.0 lists LLVM <3.6 AND >=3.6 in its dependency graph.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Thu Aug 20, 2015 5:55 pm    Post subject: Reply with quote

I thought so because I saw this * symbol and that usually means it was changed.. I could be wrong or completly misunderstood portage.

In my expierence usally changed useflags are green and marked with a star (* symbol). I could be wrong ...

You may use the emptytree and tree optino to see why you need this or that on that ....

emerge -eptv package (when i am not mistaken...)
Back to top
View user's profile Send private message
Xander314
n00b
n00b


Joined: 16 Apr 2012
Posts: 61

PostPosted: Sun Aug 23, 2015 10:45 am    Post subject: Reply with quote

It seems you're right about the *. The default on an amd64 system is ABI_X86="-32" though. I have it set because something on my system (probably WINE or one of its dependencies) requires 32bit LLVM. I don't think this is the cause of the current issue, because I also have ABI_X86="32 64" set for LLVM on my laptop, on which I successfully installed octave-4.0.0.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Sun Aug 23, 2015 11:43 am    Post subject: Reply with quote

well some guys dislike the following but: go for full 32/64bit box or only 64 bit. It is too time consuming / too much hassle to keep only a few packages in 32bit. my hardware is 6years or older and i have 32/64bit without qt4/5... So I think the hardware ressourceds to compile everything in 32/64 bit is not that worse.
Back to top
View user's profile Send private message
Xander314
n00b
n00b


Joined: 16 Apr 2012
Posts: 61

PostPosted: Tue Aug 25, 2015 9:53 pm    Post subject: Reply with quote

I think I might be one of those people -- it's not just the compilation time, but also just a general desire not to have any excess bloat installed. It was long enough before I took the plunge and allowed Qt to be installed alongside GTK (which actually used up much less space than I expected).

As for my issue with octave, I don't think it's related. Turns out that octave will install if I set USE="-jit". It seems that jit compilation requires LLVM < 3.6, which conflicts with other package dependencies on my system. Serves me right for enabling a use flag marked 'experimental'!
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