Your message dated Thu, 19 Jan 2023 16:40:15 +0000 with message-id <[email protected]> and subject line Re: Bug#1007946: glib2.0 FTBFS on alpha; misdetected libutil so name has caused the Debian Bug report #1007946, regarding glib2.0 FTBFS on alpha; misdetected libutil so name 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 [email protected] immediately.) -- 1007946: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1007946 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Source: glib2.0 Version: 2.72.0-1 Severity: important Justification: fails to build from source when built in past User: [email protected] Usertags: ftbfs X-Debbugs-Cc: [email protected] glib2.0 FTBFS on alpha in the test suite with: GLib-GIO:ERROR:../../../gio/tests/pollable.c:198:test_pollable_unix_pty: 'handle' should not be NULL Bail out! GLib-GIO:ERROR:../../../gio/tests/pollable.c:198:test_pollable_unix_pty: 'handle' should not be NULL ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 161/266 glib:gio / pollable FAIL 0.04s killed by signal 6 SIGABRT The code at line 198 of ../../../gio/tests/pollable.c is: handle = dlopen (LIBUTIL_SONAME, RTLD_GLOBAL | RTLD_LAZY); And in the meson configure log at the start of the build we see: Message: Found libutil as libutil.so.1 This is wrong. There is no libutil.so.1 on Alpha. It should be libutil.so.1.1 The problem seems to me to be at lines 18 to 20 of gio/tests/meson.build: libutil = run_command('sh', '-c', '''ldconfig -p | grep -o "[[:space:]]@0@\.so\(\.[0-9]\+\)\?\b"''' .format(libutil_name), check: false).stdout().strip().split('\n') in which a regular expression is used to match the detected libutil.so version. That regular expression assumes that there is only one digit in the so version thus incorrectly detects the libutil.so version on Alpha. Changing the "\?" to "*" would probably be the fix. Regards, Michael.
--- End Message ---
--- Begin Message ---Version: 2.73.1-1 On Sat, 19 Mar 2022 at 11:29:26 +0000, Simon McVittie wrote: > On Sat, 19 Mar 2022 at 18:08:23 +1300, Michael Cree wrote: > > This is wrong. There is no libutil.so.1 on Alpha. It should > > be libutil.so.1.1 > > I think a better solution to this is to give gio/tests/pollable a hard > dependency on libutil (on the older glibc versions where that's necessary, > which I believe currently means unstable but not experimental) and let > the linker do its job. I've sent a merge request upstream. This was merged upstream in 2.73.0, and 2.74.4 seems to compile successfully on alpha in the debian-ports infrastructure. smcv
--- End Message ---

