Bug#1030904: libgovirt: FTBFS randomly (Could not connect to localhost: Connection refused)

2023-11-03 Thread Santiago Vila

severity 1030904 serious
thanks

Actually, this fails more than 80% of the time for me,
on machines with 2 CPUs from Hetzner, and I also
get failures on AWS.

Moreover, it fails in reproducible-builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libgovirt.html

And there are also build failures on the official buildds:

https://buildd.debian.org/status/fetch.php?pkg=libgovirt&arch=armel&ver=0.3.9-2&stamp=1662476014&raw=0

If you want to reproduce this, I've noticed that the failure rate is a lot 
higher
on single-cpu systems, so you might want to try GRUB_CMDLINE_LINUX="nr_cpus=1".

If you can't reproduce the problem that way, I can offer ssh access to a
machine where this happens almost all the time, as I already said in the initial
bug report (please contact me privately for details).

Thanks.



Bug#1030904: libgovirt: FTBFS randomly (Could not connect to localhost: Connection refused)

2023-02-08 Thread Santiago Vila

Package: src:libgovirt
Version: 0.3.9-2
Severity: important
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in bookworm, your package failed to build:


[...]
 debian/rules build-indep
dh build-indep
   dh_update_autotools_config -i
   dh_autoreconf -i
   dh_auto_configure -i
cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 meson setup .. 
--wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc 
--localstatedir=/var --libdir=lib/x86_64-linux-gnu
The Meson build system
Version: 1.0.0
Source dir: /<>
Build dir: /<>/obj-x86_64-linux-gnu
Build type: native build
Project name: libgovirt
Project version: 0.3.9
C compiler for the host machine: cc (gcc 12.2.0 "cc (Debian 12.2.0-14) 12.2.0")
C linker for the host machine: cc ld.bfd 2.40
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.8.1)
Run-time dependency gobject-2.0 found: YES 2.74.5
Run-time dependency gio-2.0 found: YES 2.74.5
Run-time dependency gthread-2.0 found: YES 2.74.5
Run-time dependency rest-1.0 found: YES 0.9.1
../meson.build:90: WARNING: Consider using the built-in option for language standard 
version instead of using "-std=c99".
../meson.build:90: WARNING: Consider using the built-in warning_level option instead of 
using "-Wall".
../meson.build:90: WARNING: Consider using the built-in warning_level option instead of 
using "-Wextra".
../meson.build:90: WARNING: Consider using the built-in werror option instead of using 
"-Werror".
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Compiler for C supports link arguments 
-Wl,--version-script=/<>/govirt/govirt.sym: YES
Run-time dependency gobject-introspection-1.0 found: YES 1.74.0
Dependency gobject-introspection-1.0 found: YES 1.74.0 (cached)
Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
Dependency gobject-introspection-1.0 found: YES 1.74.0 (cached)
Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler)
Program msgfmt found: YES (/usr/bin/msgfmt)
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Configuring config.h using configuration
Build targets in project: 46

libgovirt 0.3.9

  User defined options
buildtype: plain
libdir   : lib/x86_64-linux-gnu
localstatedir: /var
prefix   : /usr
sysconfdir   : /etc
wrap_mode: nodownload

Found ninja-1.11.1 at /usr/bin/ninja
   dh_auto_build -i
cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v
[1/72] /usr/bin/meson --internal exe --unpickle 
/<>/obj-x86_64-linux-gnu/meson-private/meson_exe_glib-mkenums_2344c7feda859570856677f7ac1347dc00086022.dat
[2/72] /usr/bin/meson --internal exe --unpickle 
/<>/obj-x86_64-linux-gnu/meson-private/meson_exe_glib-mkenums_b52fe2ab2b8e36447c4a2ffd17a6bc2a9aadd0fe.dat
[3/72] /usr/bin/meson --internal exe --unpickle 
/<>/obj-x86_64-linux-gnu/meson-private/meson_exe_glib-mkenums_ae41e37139c2dc4daa5377c7fbc122349a834d89.dat
[4/72] /usr/bin/msgfmt ../po/bs.po -o po/bs/LC_MESSAGES/govirt-1.0.mo
[5/72] /usr/bin/msgfmt ../po/ca.po -o po/ca/LC_MESSAGES/govirt-1.0.mo
[6/72] /usr/bin/msgfmt ../po/cs.po -o po/cs/LC_MESSAGES/govirt-1.0.mo
[7/72] /usr/bin/msgfmt ../po/da.po -o po/da/LC_MESSAGES/govirt-1.0.mo
[8/72] /usr/bin/msgfmt ../po/de.po -o po/de/LC_MESSAGES/govirt-1.0.mo
[9/72] /usr/bin/meson --internal exe --unpickle 
/<>/obj-x86_64-linux-gnu/meson-private/meson_exe_glib-mkenums_06e0afc1956c128753656e39d07b97d4749d7733.dat
[10/72] /usr/bin/msgfmt ../po/el.po -o po/el/LC_MESSAGES/govirt-1.0.mo
[11/72] cc -Igovirt/libgovirt.so.2.3.1.p -Igovirt -I../govirt -I. -I.. -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid 
-I/usr/include/rest-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/sysprof-4 -I/usr/include/libxml2 
-I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch 
-std=c99 '-DG_LOG_DOMAIN="libgovirt"' -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_66 -Wall -Wextra -Werror -Wcast-align -Wno-error=cast-align 
-Wmissing-declarations -Wpointer-arith -Wwrite-strings -Winit-self -Wreturn-type -Wformat-nonliteral 
-Wformat-security -Wmissing-include-dirs -Wmissing-format-attribute -Wclobbered -Wempty-body 
-Wignored-qualifiers -Wsign-compare -Wtype-limits -Wuninitialized -Waggregate-return 
-Wdeclaration-after-statement -Wshadow -Wno-strict-aliasing -Winline -Wmissing-parameter-type 
-Woverride-init -Wno-unused-parameter -g -O2 -ffile-prefix-map=/<>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-pthread -MD -MQ govirt/libgovirt.so.2.3.1.p/meson-g