[Debichem-devel] Bug#1022755: libavogadro2-1: non-dev package includes 250 MB of unused static libraries

Tuomas Nurmi dev at opinsys.fi
Tue Oct 25 07:33:16 BST 2022


Package: libavogadro2-1
Version: 1.93.1-3
Severity: normal
X-Debbugs-Cc: dev at opinsys.fi

Dear Maintainer,

we observer that package libavogadro2-1 contains 250 MB of unused static libraries at /usr/lib/x86_64-linux-gnu/avogadro2/staticplugins
on Debian Bullseye (for comparison, in Bookworm approx. 400 MB). For comparison, e.g. in OpenSuSE the corresponding
package is some MBs: https://software.opensuse.org/package/libAvogadro1 .
I suspect this is caused by the default option being used in Avogadro builds at
https://github.com/OpenChemistry/avogadrolibs/blob/df2c8f7f75712e15103b3cb00dbf33e115d12b97/avogadro/qtplugins/CMakeLists.txt#L16

At least on our system, libavogadro2-1 is depended on mostly by Kalzium, which ldd reveals to link to libAvogadroQtPlugins.so.1,
which seems to contain all the static libraries at /usr/lib/x86_64-linux-gnu/avogadro2/staticplugins already linked in. Removing the
whole /usr/lib/x86_64-linux-gnu/avogadro2/staticplugins directory doesn't seem to affect Kalzium's (molecular editor's) functionality.
I assume the statically built plugins serve actually no purpose for non-development use.


-- System Information:
Debian Release: 11.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (100, 'bullseye-fasttrack')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.18.0-0.deb11.4-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libavogadro2-1 depends on:
ii  libarchive13       3.4.3-2+deb11u1
ii  libc6              2.31-13+deb11u4
ii  libgcc-s1          10.2.1-6
ii  libglew2.1         2.1.0-4+b1
ii  libglx0            1.3.2-1
ii  libhdf5-103-1      1.10.6+repack-4+deb11u1
ii  libopengl0         1.3.2-1
ii  libqt5concurrent5  5.15.2+dfsg-9
ii  libqt5core5a       5.15.2+dfsg-9
ii  libqt5gui5         5.15.2+dfsg-9
ii  libqt5network5     5.15.2+dfsg-9
ii  libqt5widgets5     5.15.2+dfsg-9
ii  libstdc++6         10.2.1-6
ii  libsymspg1         1.16.1-1
ii  python3            3.9.2-3

libavogadro2-1 recommends no packages.

libavogadro2-1 suggests no packages.

-- no debconf information



More information about the Debichem-devel mailing list