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

Bug#1055316: heimdal: fails to build against glibc 2.38



Source: heimdal
Version: 7.8.git20221117.28daf24+dfsg-3
Severity: important
Tags: patch

Hello,

krb5 fails to build against glibc 2.38:

dh_makeshlibs -plibkafs0-heimdal -- -c4
dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libkafs0-heimdal/DEBIAN/symbols doesn't match completely debian/libkafs0-heimdal.symbols
--- debian/libkafs0-heimdal.symbols (libkafs0-heimdal_7.8.git20221117.28daf24+dfsg-3_hurd-amd64)
+++ dpkg-gensymbolsLsSoXx       2023-11-03 17:37:21.000000000 +0000
@@ -12,7 +12,7 @@
  _kafs_get_cred@Base 1.4.0+git20110226
  _kafs_realm_of_cell@Base 1.4.0+git20110226
  _kafs_resolve_debug@Base 1.4.0+git20110226
- _kafs_strlcpy@Base 1.4.0+git20110226
+#MISSING: 7.8.git20221117.28daf24+dfsg-3# _kafs_strlcpy@Base 1.4.0+git20110226
  k_afs_cell_of_file@Base 1.4.0+git20110226
  k_hasafs@Base 1.4.0+git20110226
  k_hasafs_recheck@Base 1.4.0+git20110226

and similarly in libroken19-heimdal.symbols.

strlcat and strlcpy were indeed added to glibc in version 2.38, so it's
not surprising that heimdal doesn't define its internal versions any
more.

I checked all *_amd64.so packages, apparently libafsauthent2 is using
rk_strlcpy and rk_strlcat from libroken, so a Breaks transition is
needed for that.

Samuel

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'oldstable-proposed-updates-debug'), (500, 'oldstable-proposed-updates'), (500, 'oldoldstable-proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.5.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- 
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.
--- debian/libkafs0-heimdal.symbols.original	2023-11-03 18:46:33.871510701 +0100
+++ debian/libkafs0-heimdal.symbols	2023-11-03 18:46:36.239529194 +0100
@@ -12,7 +12,6 @@
  _kafs_get_cred@Base 1.4.0+git20110226
  _kafs_realm_of_cell@Base 1.4.0+git20110226
  _kafs_resolve_debug@Base 1.4.0+git20110226
- _kafs_strlcpy@Base 1.4.0+git20110226
  k_afs_cell_of_file@Base 1.4.0+git20110226
  k_hasafs@Base 1.4.0+git20110226
  k_hasafs_recheck@Base 1.4.0+git20110226
--- debian/libroken19-heimdal.symbols.original	2023-11-03 18:46:48.879627574 +0100
+++ debian/libroken19-heimdal.symbols	2023-11-03 18:46:50.107637104 +0100
@@ -98,8 +98,6 @@
  rk_socket_sockaddr_size@HEIMDAL_ROKEN_1.0 1.4.0+git20110226
  rk_strcollect@HEIMDAL_ROKEN_1.0 1.4.0+git20110226
  rk_strerror_r@HEIMDAL_ROKEN_1.0 1.4.0+git20110226
- rk_strlcat@HEIMDAL_ROKEN_1.0 1.4.0+git20110226
- rk_strlcpy@HEIMDAL_ROKEN_1.0 1.4.0+git20110226
  rk_strlwr@HEIMDAL_ROKEN_1.0 1.4.0+git20110226
  rk_strpoolcollect@HEIMDAL_ROKEN_1.0 1.4.0+git20110226
  rk_strpoolfree@HEIMDAL_ROKEN_1.0 1.4.0+git20110226

Reply to: