Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] kicad failed to compile after update
Date: Sun, 10 May 2020 18:16:10
Message-Id: 5a3782d8-4e7e-3562-2124-50ae9b537cc0@gmail.com
In Reply to: Re: [gentoo-user] kicad failed to compile after update by Jack
1 Jack wrote:
2 > On 2020.05.10 02:49, tuxic@××××××.de wrote:
3 >> Hi,
4 >>
5 >> this morning I had a massive update of my system.
6 >>
7 >> Beside others kicad failed to recompile with this message
8 >>
9 >> Calculating dependencies... done!
10 >>  * Dependencies could not be completely resolved due to
11 >>  * the following required packages not being installed:
12 >>  *
13 >>  *   >=dev-libs/boost-1.61:0/1.72.0=[context,nls,threads] pulled in by:
14 >>  *     sci-electronics/kicad-5.1.5-r1
15 >>  *
16 >>  *  
17 >> >=dev-libs/boost-1.61:0/1.72.0=[context,nls,threads,python,python_targets_python3_6(-)]
18 >> pulled in by:
19 >>  *     sci-electronics/kicad-5.1.5-r1
20 >>  *
21 >>  *  
22 >> >=dev-libs/boost-1.61:=[context,nls,threads,python,python_targets_python3_6(-)]
23 >> pulled in by:
24 >>  *     sci-electronics/kicad-5.1.5-r1
25 >>  *
26 >>  *   dev-python/wxpython:4.0[python_targets_python3_6(-)] pulled in by:
27 >>  *     sci-electronics/kicad-5.1.5-r1
28 >>  *
29 >>  *   media-libs/glew:0/2.1= pulled in by:
30 >>  *     sci-electronics/kicad-5.1.5-r1
31 >>
32 >>
33 >> :
34 >> [I] dev-libs/boost
35 >>      Available versions:  1.72.0-r1(0/1.72.0)^t (~)1.73.0(0/1.73.0)^t
36 >> {bzip2 context debug doc icu lzma mpi +nls numpy python static-libs
37 >> +threads tools zlib zstd ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64
38 >> lp64d" ABI_S390="32 64" ABI_X86="32 64 x32" PYTHON_TARGETS="python2_7
39 >> python3_6 python3_7 python3_8"}
40 >>      Installed versions:  1.73.0(0/1.73.0)^t(06:38:51 AM
41 >> 05/10/2020)(bzip2 context nls python threads zlib -debug -doc -icu
42 >> -lzma -mpi -numpy -static-libs -tools -zstd ABI_MIPS="-n32 -n64 -o32"
43 >> ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" ABI_X86="64 -32 -x32"
44 >> PYTHON_TARGETS="python2_7 python3_7 -python3_6 -python3_8")
45 >>      Homepage:            https://www.boost.org/
46 >>      Description:         Boost Libraries for C++
47 >>
48 >>
49 >> Is it possible to install the older version of boost somehow "in
50 >> parallel" withouth screwing up the rest of the system?
51 >>
52 >> Cheers!
53 >> Meino
54 > The problem is not versions, it's USE flags.  Note that both lines
55 > showing the required boost include "python_targets_python3_6(-)" and
56 > your eix output showing PYTHON_TARGETS="python2_7 python3_7 -python3_6
57 > -python3_8" for your installed version.
58 >
59 > You need to include python3_6 as one of the PYTHON_TARGETS for boost,
60 > then you can install kicad.  You also have to do that for wxpython.  I
61 > can't tell what the issue is with glew without more information.
62 >
63 >
64
65
66 I started to post that as well.  When I did my last upgrade, I had to
67 add python exceptions to package.use for several packages.  Sadly,
68 emerge spit them out ONE AT A TIME.  Eventually, I had them all added
69 and was able to update everything.  It appears removing python 2.7 is
70 causing some issues. 
71
72 It may require making a change, running emerge again, make a change and
73 run emerge again repeatedly.  I think I did that half a dozen times
74 before it was able to do updates.
75
76 Dale
77
78 :-)  :-)