[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1115069: marked as done (libamd-smi0: missing symbols / incorrect soname)



Your message dated Sun, 21 Sep 2025 16:00:10 +0000
with message-id <E1v0MTy-009g6X-0d@fasolo.debian.org>
and subject line Bug#1115069: fixed in amdsmi 6.4.3+ds-2
has caused the Debian Bug report #1115069,
regarding libamd-smi0: missing symbols / incorrect soname
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1115069: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1115069
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libamd-smi0
Version: 6.4.3+ds-1
Severity: important
X-Debbugs-Cc: cgmb@debian.org

Dear Maintainer,

There are a large number of symbols that have been removed from
libamd-smi0 between version 6.1.2+ds-1 on trixie and 6.4.3+ds-1 in
testing, including:

  rsmi_dev_metrics_avg_dclock0_frequency_get
  rsmi_dev_metrics_avg_dclock1_frequency_get
  rsmi_dev_metrics_avg_gfx_activity_get
  rsmi_dev_metrics_avg_gfx_clock_frequency_get
  rsmi_dev_metrics_avg_mm_activity_get
  rsmi_dev_metrics_avg_soc_clock_frequency_get
  rsmi_dev_metrics_avg_socket_power_get
  rsmi_dev_metrics_avg_uclock_frequency_get
  rsmi_dev_metrics_avg_umc_activity_get
  rsmi_dev_metrics_avg_vclock0_frequency_get
  rsmi_dev_metrics_avg_vclock1_frequency_get
  rsmi_dev_metrics_curr_dclk0_get
  rsmi_dev_metrics_curr_dclk1_get
  rsmi_dev_metrics_curr_fan_speed_get
  rsmi_dev_metrics_curr_gfxclk_get
  rsmi_dev_metrics_curr_socclk_get
  rsmi_dev_metrics_curr_socket_power_get
  rsmi_dev_metrics_curr_uclk_get
  rsmi_dev_metrics_curr_vclk0_get
  rsmi_dev_metrics_curr_vclk1_get
  rsmi_dev_metrics_energy_acc_get
  rsmi_dev_metrics_firmware_timestamp_get
  rsmi_dev_metrics_gfx_activity_acc_get
  rsmi_dev_metrics_gfxclk_lock_status_get

To quote the Debian Policy Manual, Section 8.1 [1]:

> Every time the shared library ABI changes in a way that could break
> binaries linked against older versions of the shared library, the SONAME
> of the library and the corresponding name for the binary package
> containing the runtime shared library should change. Normally, this
> means the SONAME should change any time an interface is removed from the
> shared library or the signature of an interface (the number of
> parameters or the types of parameters that it takes, for example) is
> changed. This practice is vital to allowing clean upgrades from older
> versions of the package and clean transitions between the old ABI and
> new ABI without having to upgrade every affected package simultaneously.

As such, it seems that the SONAME of libamd-smi0 should be changed. I
notice that upstream ships libamd-smi.so in ROCm 6.4.3 as
libamd-smi.so.25 so perhaps we should be changing the Debian package to
match. It appears that this value is determined upstream at build time
by inspecting the tags on the git repository. The major version of 0 that
we are using in Debian is merely because that tag is not being
found (due to building from a tarball rather than from the upstream repo).

It is not a violation of a mandatory Debian to make an ABI breaking
change without changing the SONAME, this still seems like it will cause
problems down the line for users upgrading from Trixie to Forky. I would
suggest that we could fix both problems by uploading a new version of
amdsmi with libamd-smi25 and removing libamd-smi0 6.4.3+ds-1 from testing.

Sincerely,
Cory Bloor

[1]: https://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-sharedlibs-runtime

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.38+deb13-amd64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages libamd-smi0 depends on:
ii  libc6       2.41-12
ii  libdrm-dev  2.4.125-2
ii  libgcc-s1   15.2.0-4
ii  libstdc++6  15.2.0-4

libamd-smi0 recommends no packages.

libamd-smi0 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: amdsmi
Source-Version: 6.4.3+ds-2
Done: Mario Limonciello <superm1@debian.org>

We believe that the bug you reported is fixed in the latest version of
amdsmi, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1115069@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mario Limonciello <superm1@debian.org> (supplier of updated amdsmi package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 15 Sep 2025 19:47:21 -0500
Source: amdsmi
Binary: amd-smi libamd-smi-dev libamd-smi25 libamd-smi25-dbgsym libgoamdsmi-shim64-1 libgoamdsmi-shim64-1-dbgsym libgoamdsmi-shim64-dev
Architecture: source amd64
Version: 6.4.3+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Mario Limonciello <superm1@debian.org>
Changed-By: Mario Limonciello <superm1@debian.org>
Description:
 amd-smi    - AMD System Management Interface - executable
 libamd-smi-dev - AMD System Management Interface - headers
 libamd-smi25 - AMD System Management Interface - library
 libgoamdsmi-shim64-1 - AMD System Management Interface - go library
 libgoamdsmi-shim64-dev - AMD System Management Interface - go headers
Closes: 1114045 1115069
Changes:
 amdsmi (6.4.3+ds-2) unstable; urgency=medium
 .
   [ Kentaro Hayashi ]
   * Use d/watch 5
 .
   [ Igor Luppi ]
   * debian/patches: Add patch to fix missing <cstdint> include for common
     headers (Closes: #1114045)
   * debian/symbols: Refresh symbols for new toolchain ABI
 .
   [ Andreas Hasenack ]
   * d/libamd-smi0.symbols.amd64: update symbols for 6.4.3 (note many were
     removed, breaking the API/ABI)
 .
   [ Mario Limonciello (AMD) ]
   * Add correct comments about 0003 patch origin
   * Migrate libamdsmi0 to libamdsmi25 (Closes: #1115069)
Checksums-Sha1:
 56be2a47ada886ee0b6bf3782fc0b283a9063b38 2461 amdsmi_6.4.3+ds-2.dsc
 a531fe8c7cdcc24042b8369c465f2c4ef1d78989 649720 amdsmi_6.4.3+ds.orig.tar.xz
 2e05c67e6d9e1e29cf00afb7abe8977582de10bc 98320 amdsmi_6.4.3+ds-2.debian.tar.xz
 fd54e019c15d0b6595f141df025195a9dca3d729 138972 amd-smi_6.4.3+ds-2_amd64.deb
 d9f67a352a1fc900d5a6b37db0fca0c8dbeaae0e 9874 amdsmi_6.4.3+ds-2_amd64.buildinfo
 57d2bcba03a5d4ce9f506dae1d066a4920603f28 85180 libamd-smi-dev_6.4.3+ds-2_amd64.deb
 4fe41eff5ce0f71828db3afe0eccc994eff21766 9802468 libamd-smi25-dbgsym_6.4.3+ds-2_amd64.deb
 f8a7f14d4544302bdc85eb6700bcde5bdd5c20b3 597744 libamd-smi25_6.4.3+ds-2_amd64.deb
 9f8e1a871a401d68ac15f05ff687c4d214a5d4e6 13380 libgoamdsmi-shim64-1-dbgsym_6.4.3+ds-2_amd64.deb
 db6bcfff53587a2449949a0f9c2fd3c2d277a2b6 36868 libgoamdsmi-shim64-1_6.4.3+ds-2_amd64.deb
 b1a544a62473290aa26614791c993858bdc935c0 34260 libgoamdsmi-shim64-dev_6.4.3+ds-2_amd64.deb
Checksums-Sha256:
 7169cc459fd9cb5aed98907b19301861215766b316ff95349003db5739ee145c 2461 amdsmi_6.4.3+ds-2.dsc
 d63057f0918b21e8d308ca79c380a8fd8b518a5ed44d1706a1e0536c13923938 649720 amdsmi_6.4.3+ds.orig.tar.xz
 0cd035a78bbc19f3ba6fdeb1adbdab5719c434e7e92755871dcee1ab5c6ffda7 98320 amdsmi_6.4.3+ds-2.debian.tar.xz
 c961630724f370573f5bbef1d8c42e0932a6c88711c2d58c8cc33cd8ec964b45 138972 amd-smi_6.4.3+ds-2_amd64.deb
 21af639db6e53809fb24e1693c5174d27e973f4df994167544e4d2d7f1f28a87 9874 amdsmi_6.4.3+ds-2_amd64.buildinfo
 3d0933f5849d31bf22d5c38f05b856cfb58d236be1d611022cccb197cf50d5f3 85180 libamd-smi-dev_6.4.3+ds-2_amd64.deb
 46da8c74eb824d48d4e814f5ce09159b4cf5355dcbca7bab8fd89fe112219066 9802468 libamd-smi25-dbgsym_6.4.3+ds-2_amd64.deb
 43565af126cfb387c343ab52b7347e0ae11acfaac53413c4c4c6bad15dbafeda 597744 libamd-smi25_6.4.3+ds-2_amd64.deb
 1e5e330f64932f280b64e50f58715076cd2e1c3b08a95f0ac69a0a3bcccf4ec7 13380 libgoamdsmi-shim64-1-dbgsym_6.4.3+ds-2_amd64.deb
 1f6914385a5b8c5b3e1fa2f98b1c51471345a4bdddcb84d1e5bc4afd18e90870 36868 libgoamdsmi-shim64-1_6.4.3+ds-2_amd64.deb
 a317f433b616d8d8fa5ee6d0a625ba1bb062f931b441d86dcbd14568c9da9eea 34260 libgoamdsmi-shim64-dev_6.4.3+ds-2_amd64.deb
Files:
 e787e384ee266da45957334b78599e2b 2461 devel optional amdsmi_6.4.3+ds-2.dsc
 bfac1830b3a74fa20c984772ab307459 649720 devel optional amdsmi_6.4.3+ds.orig.tar.xz
 a2dc1f5815b2df60a8aa8ffb52079978 98320 devel optional amdsmi_6.4.3+ds-2.debian.tar.xz
 e1a2b760ad29357d00e0bb5ac94af138 138972 utils optional amd-smi_6.4.3+ds-2_amd64.deb
 3c68509eee80c14f30f3340132e579d7 9874 devel optional amdsmi_6.4.3+ds-2_amd64.buildinfo
 14388e12a7310e73f59571db40c6a72f 85180 libdevel optional libamd-smi-dev_6.4.3+ds-2_amd64.deb
 13feb1871eda373fa44308d52d2413e5 9802468 debug optional libamd-smi25-dbgsym_6.4.3+ds-2_amd64.deb
 c0a5758428a89cbb186e00475172f7d7 597744 libs optional libamd-smi25_6.4.3+ds-2_amd64.deb
 5723137d8e6c9b076553f35f78fe1210 13380 debug optional libgoamdsmi-shim64-1-dbgsym_6.4.3+ds-2_amd64.deb
 707bb5c33f19add0eeb10e1e0a1de1e7 36868 libs optional libgoamdsmi-shim64-1_6.4.3+ds-2_amd64.deb
 7d22c36397c616e964f87d96750b9442 34260 libdevel optional libgoamdsmi-shim64-dev_6.4.3+ds-2_amd64.deb
Comment: amd-smi looks for libamd_smi.so, so it depends on the -dev package

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEECwtuSU6dXvs5GA2aLRkspiR3AnYFAmjIxM8THHN1cGVybTFA
ZGViaWFuLm9yZwAKCRAtGSymJHcCdl2/EACO4/6O2Pof4Xw0AnK7X/JWSiO/N9cU
6el0LfWq8LmHvAtWXZ31acpEh/E1zMnkdVJ/ZFY0E2y5yWTJiy13jzsGLiXo0ji6
R6XL03hKBD6VslJMAgx6/4ktN629d6UeZm2sqjhSGaHmxfjLWBm9CHcDjygvRLY+
CeGg9ua+I6Yb0twnAArA86gvTQyrpeFGLqRjGFtt/n/meNMIDJgqWfd/KqrLo5qi
2Fy9jlR3tRNLkoIiHtugcBG/z9YSv+iTfpJgUq+VL5N5m/Sweg2yIdiPiFr4+yFV
lwG1VbcHkvdgKcXXRyFX9t63yZ9vIwMcaQkHQ3O4dDta3KKpLmrBskSe8pM120O+
2rITtGXcSiDzcVilbNIAsGG+6WGTWe2/+nVNysjocnv2wwEUXyIneZjXSFuamnUZ
L0dr95K3iZyW9883/GK/hxfXsMNL0hDzPuSldi07FCn1v3hSFcMR9LgYmOGgoenu
A4VIjSVZoMtO3bhQ2xBRUfi14e3ARSzpDAn0NPDMdPnhIj52HUzAtUuw5XZutLBz
R2+m5nr5zn5fF5ccuq3gl+SVqrye7ZFH9LC8Don8ia/3l2Tg0D8p0y4O6CZAg50W
SACiLMH+TweJsS4E5il5sVCSljOCmMy+OhKkzPZxDLagyj0yA1lL6jQrhC0FiNMk
CABckEXBVqUWQQ==
=GpYS
-----END PGP SIGNATURE-----

Attachment: pgpD4t9rlnTWf.pgp
Description: PGP signature


--- End Message ---

Reply to: