Your message dated Sun, 5 May 2024 12:26:40 +0200
with message-id <zjdeo7_2pmwye...@aurel32.net>
and subject line Re: Bug#1055297: ruby3.1: fails to build against glibc 2.38
has caused the Debian Bug report #1055297,
regarding ruby3.1: fails to build against glibc 2.38
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 ow...@bugs.debian.org
immediately.)


-- 
1055297: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055297
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Version: 3.1.2-8

Hi again,

On 2024-05-05 12:18, Aurelien Jarno wrote:
> control: severity -1 serious
> 
> Hi,
> 
> On 2023-11-03 19:45, Samuel Thibault wrote:
> > 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?
> 
> glibc 2.38 is now in unstable, so upgrading the severity to serious.

And i have found that the bug has already been fixed in version 3.1.2-8
although the bugs hasn't been closed in the changelog:

| ruby3.1 (3.1.2-8) unstable; urgency=medium
|
|   * d/p/Fix-splitting-relative-URI.patch: import upstream patch to fix URI
|     splitting.
|   * d/libruby3.1.symbols: Mark strlcat strlcpy as optional, they are now part
|     of glibc.
|
|  -- Lucas Kanashiro <kanash...@debian.org>  Fri, 08 Dec 2023 16:42:15 -0300

I am therefore closing the bug accordingly.

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurel...@aurel32.net                     http://aurel32.net

--- End Message ---

Reply via email to