[Pkg-electronics-devel] Bug#1003232: dependency fix for backports
Simon Richter
sjr at debian.org
Thu Jan 6 17:49:38 GMT 2022
Package: kicad
Version: 6.0.0-0~bpo11+1
Severity: normal
Tags: patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi,
I had to apply this patch to fix the dependencies for backported packages;
otherwise the main kicad package would depend on a later version of itself
(because the Upstream-Version generated by dpkg-makeshlibs is greater than
the backport version).
The fix is to apply the -X arguments for the internal libraries during
makeshlibs, not during shlibdeps; this also means that libraries used by
the private libraries are pulled in correctly (so this fix should go into
the proper 6.0.0 release packages, not just into backports).
Simon
- -- System Information:
Debian Release: 10.11
APT prefers oldstable
APT policy: (990, 'oldstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-18-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages kicad depends on:
iu kicad 6.0.0-0~bpo11+1
ii libc6 2.31-13+deb11u2
ii libcairo2 1.16.0-4+deb10u1
ii libcurl4 7.64.0-4+deb10u2
ii libgcc-s1 10.2.1-6
ii libgl1 1.1.0-1
ii libglew2.1 2.1.0-4
ii libglib2.0-0 2.66.8-1
ii libglu1-mesa [libglu1] 9.0.0-2.1+b3
ii libgtk-3-0 3.24.5-1
ii libngspice0 30.2-1
ii libocct-data-exchange-7.5 7.5.1+dfsg1-2
ii libocct-foundation-7.5 7.5.1+dfsg1-2
ii libocct-modeling-algorithms-7.5 7.5.1+dfsg1-2
ii libocct-modeling-data-7.5 7.5.1+dfsg1-2
ii libocct-ocaf-7.5 7.5.1+dfsg1-2
ii libpixman-1-0 0.36.0-1
ii libpython3.9 3.9.2-1
ii libstdc++6 10.2.1-6
ii libwxbase3.0-0v5 3.0.5.1+dfsg-2
ii libwxgtk3.0-gtk3-0v5 3.0.5.1+dfsg-2
ii python3 3.9.2-3
ii python3-wxgtk4.0 4.0.7+dfsg-10
ii zlib1g 1:1.2.11.dfsg-1
Versions of packages kicad recommends:
ii kicad-demos 5.1.9+dfsg1-1
ii kicad-libraries 5.1.9+dfsg1-1
ii xsltproc 1.1.32-2.2~deb10u1
Versions of packages kicad suggests:
pn extra-xdg-menus <none>
pn kicad-doc-ca | kicad-doc-de | kicad-doc-en | kicad-doc-es | kicad- <none>
ii kicad-packages3d 5.1.7-1
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
iQFDBAEBCgAtFiEEtjuqOJSXmNjSiX3Tfr04e7CZCBEFAmHXK64PHHNqckBkZWJp
YW4ub3JnAAoJEH69OHuwmQgRIxQH/iWCcIE72J0cusE4OiIOanK+TVl2EekKKEQp
LphLZ+hlF0gtCGyJzuz4IUSPnkzT1ZPuCYTttQhyu4lI85EQAWff8aub+t+G5Ogy
dq90wMtALsTR5AZO00pZQ+kKZD4oBC3PFRrdw9MIlA3LDpP9fNqXo7hGmGR8CWnf
u1AYfMVyK/oBlRWVsoO1yn/kfkFqeDqVQmJHjqmJX1hNeqyrjVlN/hj4vB1cHfgt
qZjrzxGQ/YGIX+frRKN5jo7suZQ8F3yCKGiZd6ILMMudH8YEZgN3nR6cX+hOl/j8
ZFOaWpLSEqONjD7Ujp6tHOHk5pfiiB85ViIWGgL1UDxs22V8mlI=
=QA2s
-----END PGP SIGNATURE-----
-------------- next part --------------
--- kicad-6.0.0/debian/rules 2021-12-27 20:41:19.000000000 +0100
+++ kicad-6.0.0/debian/rules 2021-12-27 21:08:37.000000000 +0100
@@ -151,9 +151,10 @@
# strip unneeded symbols from the kicad specific libraries in /usr/lib/kicad/
strip --strip-unneeded --remove-section=.comment $(CURDIR)/debian/kicad/usr/lib/kicad/_*.kiface
-override_dh_shlibdeps:
- dh_shlibdeps -a -l $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) \
+override_dh_makeshlibs:
+ dh_makeshlibs -a \
-Xlibkicad_3dsg \
-Xlibs3d_plugin_idf \
+ -Xlibs3d_plugin_oce \
-Xlibs3d_plugin_vrml \
-X_pcbnew.$(DEB_HOST_MULTIARCH)
More information about the Pkg-electronics-devel
mailing list