[Pkg-electronics-devel] Bug#913864: kicad: Backtraces on opening cvpcb

Carsten Schoenert c.schoenert at t-online.de
Sun Nov 18 16:18:13 GMT 2018


Hello Seth,

Am 17.11.18 um 05:34 schrieb Seth Hillbrand:
> Hi Julien-
> Am 2018-11-16 22:37, schrieb Julien Goodwin:
>> It looks to me like the python-wxgtk and wxwidgets versioning is
>> orthogonal, it's just chance they happen to be similar.
>>
>> I did try doing a rebuild of the python-wxgtk source package (on my
>> affected machine) to see if that would help, and it's the same 
>> behaviour.
>>
>> One thing I forgot to mention, this also affected the last build of 
>> 5.0,
>> before 5.0.1.
> 
> My apologies for the hasty response the first time.  I gave a poor 
> response.
> 
> python-wxgtk3.0=3.0.2.0+dfsg-7 and higher are compiled against gtk3.0.  
> This conflicts with the GTK2.0 versions of wxgtk3.0 that KiCad 5 is 
> compiled against.  The latest version that can be used is 
> python-wxgtk3.0=3.0.2.0+dfsg-6.  You will need to downgrade this 
> package.

now I'm really confused.
I added a versioned dependency on python-wxgtk3.0 >= 3.0.2.0+dfsg-7~ to
 the kicad package on Apr 8 2018 in preparation for
5.0.0_rc1+dfsg1+20180318-3.

> $ git show 35b932c4a
> commit 35b932c4ad0ef184d18f1d72ca81fef6c21dc026
> Author: Carsten Schoenert <c.schoenert at t-online.de>
> Date:   Sun Apr 8 14:29:17 2018 +0200
> 
>     kicad: adding versioned Depends for python-wxgtk3.0
>     
>     Related to the GTK3 bindings we need python-wxgtk3.0 at least with
>     version 3.0.2.0+dfsg-7.
> 
> diff --git a/debian/control b/debian/control
> index af4a9d8a..6f050e19 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -78,7 +78,7 @@ Homepage: http://www.kicad-pcb.org
>  Package: kicad
>  Architecture: any-amd64 any-i386 arm64 armhf
>  Depends:
> - python-wxgtk3.0,
> + python-wxgtk3.0 (>= 3.0.2.0+dfsg-7~),
>   ${misc:Depends},
>   ${python:Depends},
>   ${shlibs:Depends},

https://salsa.debian.org/electronics-team/KiCad/kicad/commit/35b932c4ad0ef184d18f1d72ca81fef6c21dc026

The maintainers of the wxWidget related packages don't build a GTK2+
version of python-wxgtk3.0 package in Debian testing anymore. And this
will not change for the Buster release. So we need to deal with this.

This whole wx stuff and the relations between the various packages is
getting more and more worse in my eyes.
I don't what we or I can do to improve anything here. A possibility I
see is to remove the package dependency on python-wxgtk3.0 and adding a
Breaks instead because other binary packages can bring in a installation
of this package at any time. As we have already disabled the Python
scripting console (later) we don't really need python-wxgtk3.0 anymore
in KiCad and I should have removed this dependency already earlier?

Is there somewhere a explanation about the relationship of these
wxwidget packages we can use to add some more answers to the readme?

-- 
Regards
Carsten Schoenert



More information about the Pkg-electronics-devel mailing list