Package: ruby3.1 Version: 3.1.2-7 Severity: important Tags: patch Hello,
ruby3.1 fails to build against glibc 2.38: dpkg-gensymbols -plibruby3.1 -Idebian/libruby3.1.symbols -Pdebian/libruby3.1 -edebian/libruby3.1/usr/lib/x86_64-gnu/libruby-3.1.so.3.1.2 dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below dpkg-gensymbols: warning: debian/libruby3.1/DEBIAN/symbols doesn't match completely debian/libruby3.1.symbols --- debian/libruby3.1.symbols (libruby3.1_3.1.2-7_hurd-amd64) +++ dpkg-gensymbols5L9SYx 2023-11-03 17:57:31.000000000 +0000 [...] @@ -1818,5 +1818,5 @@ ruby_xrealloc2@Base 3.1.0~preview1 ruby_xrealloc@Base 3.1.0~preview1 setproctitle@Base 3.1.0~preview1 - strlcat@Base 3.1.0~preview1 - strlcpy@Base 3.1.0~preview1 +#MISSING: 3.1.2-7# strlcat@Base 3.1.0~preview1 +#MISSING: 3.1.2-7# strlcpy@Base 3.1.0~preview1 strlcat and strlcpy were indeed added to glibc in version 2.38, so it's not surprising that ruby3.1 doesn't define its internal versions any more, and the attached patch can probably be applied? 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 Versions of packages ruby3.1 depends on: ii libc6 2.37-12 ii libcrypt1 1:4.4.36-2 ii libgmp10 2:6.3.0+dfsg-2 ii libruby3.1 3.1.2-7 ii rubygems-integration 1.18 ii zlib1g 1:1.2.13.dfsg-3 Versions of packages ruby3.1 recommends: ii fonts-lato 2.015-1 ii libjs-jquery 3.6.1+dfsg+~3.5.14-1 ruby3.1 suggests no packages. -- no debconf information -- Samuel --- Pour une évaluation indépendante, transparente et rigoureuse ! Je soutiens la Commission d'Évaluation de l'Inria.
--- debian/libruby3.1.symbols.original 2023-11-03 18:01:01.000000000 +0000 +++ debian/libruby3.1.symbols 2023-11-03 18:01:23.000000000 +0000 @@ -1818,5 +1818,5 @@ ruby_xrealloc2@Base 3.1.0~preview1 ruby_xrealloc@Base 3.1.0~preview1 setproctitle@Base 3.1.0~preview1 - strlcat@Base 3.1.0~preview1 - strlcpy@Base 3.1.0~preview1 + (optional)strlcat@Base 3.1.0~preview1 + (optional)strlcpy@Base 3.1.0~preview1