[Pkg-electronics-devel] Bug#1017620: kicad: Minor kicad upgrade forces install of tons of dev packages and tcl+tk?

Carsten Schoenert c.schoenert at t-online.de
Thu Aug 18 16:35:04 BST 2022


Control: reassign -1 src:opencascade

Hello Harri,

Am 18.08.22 um 16:39 schrieb Harri Haataja:
> Dear Maintainer,
> 
> An upgrade has turned up:
> 
>     kicad (6.0.6+dfsg-1 => 6.0.7+dfsg-1+b1)
> 
> Trying to install that leads to a massive load of dev packages and tcl
> and tk being installed. Surely this makes no sense for a desktop
> application let alone a minor package upgrade.

sure, all these deps are not really wanted nor needed for KiCad.
The question is there these packages get pulled in by the package 
dependencies.

The dependency list for the kicad binary package doesn't have changed.

> $ apt show kicad | grep Depends
> 
> WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
> 
> Depends: libngspice0, python3-wxgtk4.0, python3 (<< 3.11), python3 (>= 3.10~), python3:any, libc6 (>= 2.33), libcairo2 (>= 1.14.0), libcurl4 (>= 7.16.2), libgcc-s1 (>= 3.4), libgl1, libglew2.2 (>= 2.2.0-4), libglib2.0-0 (>= 2.49.3), libglu1-mesa | libglu1, libgtk-3-0 (>= 3.16.2), libocct-data-exchange-7.6 (>= 7.6.3+dfsg1), libocct-foundation-7.6 (>= 7.6.3+dfsg1), libocct-modeling-algorithms-7.6 (>= 7.6.3+dfsg1), libocct-modeling-data-7.6 (>= 7.6.3+dfsg1), libocct-ocaf-7.6 (>= 7.6.3+dfsg1), libpixman-1-0 (>= 0.15.14), libpython3.10 (>= 3.10.0), libstdc++6 (>= 12), libwxbase3.0-0v5 (>= 3.0.5.1+dfsg), libwxgtk3.0-gtk3-0v5 (>= 3.0.5.1+dfsg), zlib1g (>= 1:1.1.4)

As there was recently an big update for opencascade with a version bump 
to 7.6 my guess is that mostly all of the -dev packages and TK/TCL stuff 
comes by direct or indirect dependencies with that update. The list of 
files which would get installed is quite similar to your list.

> $ sudo apt install --no-install-recommends --autoremove kicad
> [sudo] password for randres:
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> The following additional packages will be installed:
>    dpkg-dev libbrotli-dev libc-dev-bin libc6-dev libcrypt-dev libdpkg-perl libexpat1-dev
>    libfontconfig-dev libfontconfig1-dev libfreetype-dev libfreetype6-dev libnsl-dev
>    libocct-data-exchange-7.6 libocct-draw-7.6 libocct-foundation-7.6 libocct-modeling-algorithms-7.6
>    libocct-modeling-data-7.6 libocct-ocaf-7.6 libocct-visualization-7.6 libpng-dev
>    libpthread-stubs0-dev libtirpc-dev libx11-dev libxau-dev libxcb1-dev libxdmcp-dev libxext-dev
>    libxft-dev libxrender-dev libxss-dev linux-libc-dev make pkg-config rpcsvc-proto tcl8.6 tcl8.6-dev
>    tk8.6 tk8.6-dev uuid-dev x11proto-dev xorg-sgml-doctools xtrans-dev zlib1g-dev

> $ LANG= sudo apt install libocct-data-exchange-7.6
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> The following additional packages will be installed:
>   libbrotli-dev libfontconfig-dev libfontconfig1-dev libfreeimage3 libfreetype-dev libfreetype6-dev libocct-draw-7.6 libocct-foundation-7.6
>   libocct-modeling-algorithms-7.6 libocct-modeling-data-7.6 libocct-ocaf-7.6 libocct-visualization-7.6 libpng-dev libpng-tools libpthread-stubs0-dev libx11-dev
>   libxau-dev libxcb1-dev libxdmcp-dev libxext-dev libxft-dev libxrender-dev libxss-dev pkg-config tcl8.6-dev tk8.6-dev uuid-dev x11proto-dev xorg-sgml-doctools
>   xtrans-dev
> Suggested packages:
>   freetype2-doc libx11-doc libxcb-doc libxext-doc tcl8.6-doc tk8.6-doc
> The following NEW packages will be installed:
>   libbrotli-dev libfontconfig-dev libfontconfig1-dev libfreeimage3 libfreetype-dev libfreetype6-dev libocct-data-exchange-7.6 libocct-draw-7.6
>   libocct-foundation-7.6 libocct-modeling-algorithms-7.6 libocct-modeling-data-7.6 libocct-ocaf-7.6 libocct-visualization-7.6 libpng-dev libpng-tools
>   libpthread-stubs0-dev libx11-dev libxau-dev libxcb1-dev libxdmcp-dev libxext-dev libxft-dev libxrender-dev libxss-dev pkg-config tcl8.6-dev tk8.6-dev uuid-dev
>   x11proto-dev xorg-sgml-doctools xtrans-dev
> 0 upgraded, 31 newly installed, 0 to remove and 22 not upgraded.
> Need to get 28.6 MB of archives.
> After this operation, 104 MB of additional disk space will be used.

As the root for that list of installation candidates isn't kicad I 
reassign this issue to opencascade.

@Maintainers of opencacade
I've no knowledge if the current list of created dependencies for the 
binary packages of opencascade is correct or intended behavior. OTOH the 
kicad bin package itself isn't requiring all the packages that would get 
installed. Are the installation of all these -dev packages are wanted 
and required? I tend to think no.

-- 
Regards
Carsten



More information about the Pkg-electronics-devel mailing list