Bug#1020321: glib2.0: FTBFS on hppa - time failure
John David Anglin
dave.anglin at bell.net
Wed Feb 5 02:11:42 GMT 2025
On 2025-02-04 5:08 p.m., Jeremy Bícha wrote:
> On Mon, Jul 22, 2024 at 3:33 AM Helge Deller <deller at gmx.de> wrote:
>> FYI: Beside the patch from Dave in #23:
>> https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=1020321;filename=elapsed-time.diff;msg=23
>> I'm trying to fix the issue by improving the time granularity
>> of the Linux kernel on hppa by a Linux kernel patch:
>> https://patchwork.kernel.org/project/linux-parisc/patch/ZpoWGfQMJY19fOyR@p100/
>> ("parisc: Improve monotonic clock_gettime() resolution on SMP machines")
>
> glib2.0 appears to build on hppa. Is there anything left to be done
> for this issue or should this bug be closed?
>
> https://buildd.debian.org/status/logs.php?pkg=glib2.0&arch=hppa
It does seem to build on 800 MHz and faster SMP machines now.
There was this test fail with latest version on a slow machine (parisc):
================================== 306/393 ===================================
test: glib:gio / unix-streams
start time: 21:31:36
duration: 1.19s
result: killed by signal 6 SIGABRT
command: UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1
G_TEST_SRCDIR=/build/reproducible-path/glib2.0-2.83.3/gio/tests G_ENABLE_DIAGNOSTIC=1
GIO_LAUNCH_DESKTOP=/build/reproducible-path/glib2.0-2.83.3/debian/build/deb/gio/gio-launch-desktop
MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 G_DEBUG=gc-friendly
LD_LIBRARY_PATH=/build/reproducible-path/glib2.0-2.83.3/debian/build/deb/gmodule:/build/reproducible-path/glib2.0-2.83.3/debian/build/deb/gobject:/build/reproducible-path/glib2.0-2.83.3/debian/build/deb/glib:/build/reproducible-path/glib2.0-2.83.3/debian/build/deb/gio
MALLOC_PERTURB_=245 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1
G_TEST_BUILDDIR=/build/reproducible-path/glib2.0-2.83.3/debian/build/deb/gio/tests GIO_MODULE_DIR='' MALLOC_CHECK_=2
/build/reproducible-path/glib2.0-2.83.3/debian/build/deb/gio/tests/unix-streams
----------------------------------- stdout -----------------------------------
TAP version 14
# random seed: R02S3cf4296fc8b2eff216d8740f8a569d8c
1..9
# Start of unix-streams tests
ok 1 /unix-streams/basic
ok 2 /unix-streams/pipe-io-test
# slow test /unix-streams/pipe-io-test executed in 0.53 secs
ok 3 /unix-streams/nonblocking-io-test
# slow test /unix-streams/nonblocking-io-test executed in 0.51 secs
ok 4 /unix-streams/read_write
ok 5 /unix-streams/read_writev
ok 6 /unix-streams/write-wouldblock
ok 7 /unix-streams/writev-wouldblock
not ok /unix-streams/write-async-wouldblock - GLib-GIO:ERROR:../../../gio/tests/unix-streams.c:733:test_write_async_wouldblock: assertion failed
(bytes_written == 4 * pipe_capacity): (0 == 16384)
Bail out!
----------------------------------- stderr -----------------------------------
**
GLib-GIO:ERROR:../../../gio/tests/unix-streams.c:733:test_write_async_wouldblock: assertion failed (bytes_written == 4 * pipe_capacity): (0 ==
16384)
(test program exited with status code -6)
==============================================================================
Dave
--
John David Anglin dave.anglin at bell.net
More information about the pkg-gnome-maintainers
mailing list