Bug#1073464: libgweather4: FTBFS: # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: Could not connect: No such file or directory

Lucas Nussbaum lucas at debian.org
Sun Jun 16 14:28:33 BST 2024


Source: libgweather4
Version: 4.4.2-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240615 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test -- --timeout-multiplier=3
> 	cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 MESON_TESTTHREADS=8 meson test --timeout-multiplier=3
> ninja: Entering directory `/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> ninja: no work to do.
> 1/4 libgweather:lint / Valid Locations file OK              0.06s
> 2/4 libgweather / duplicates                OK              0.04s   2 subtests passed
> 3/4 libgweather / test_libgweather          OK              5.08s   6 subtests passed
> 4/4 libgweather / timezones                 ERROR           6.12s   exit status 1
> >>> MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 GSETTINGS_BACKED=memory G_TEST_SRCDIR=/<<PKGBUILDDIR>>/libgweather/tests MALLOC_PERTURB_=216 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 GIO_USE_VFS=local G_TEST_BUILDDIR=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libgweather/tests UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 G_ENABLE_DIAGNOSTIC=0 LIBGWEATHER_LOCATIONS_PATH=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/data/Locations.bin /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libgweather/tests/timezones --tap -k
> 
> 
> Ok:                 3   
> Expected Fail:      0   
> Fail:               1   
> Unexpected Pass:    0   
> Skipped:            0   
> Timeout:            0   
> 
> Full log written to /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-logs/testlog.txt
> 	cd obj-x86_64-linux-gnu && tail -v -n \+0 meson-logs/testlog.txt
> ==> meson-logs/testlog.txt <==
> Log of Meson test suite run on 2024-06-16T12:14:40.945448
> 
> Inherited environment: SCHROOT_GID=1001 DEB_HOST_MULTIARCH=x86_64-linux-gnu LC_ALL=C.UTF-8 DEB_HOST_GNU_SYSTEM=linux-gnu DEB_BUILD_GNU_TYPE=x86_64-linux-gnu DEB_LDFLAGS_MAINT_APPEND='-Wl,-O1 -Wl,-z,defs' DEB_TARGET_ARCH_LIBC=gnu FFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -fcf-protection' DEB_BUILD_ARCH_ENDIAN=little DEB_BUILD_GNU_SYSTEM=linux-gnu CFLAGS_FOR_BUILD='-g -O2' OBJCXXFLAGS_FOR_BUILD='-g -O2' DEB_BUILD_ARCH_BITS=64 DEB_BUILD_OPTIONS=parallel=8 DEB_HOST_ARCH=amd64 LDFLAGS_FOR_BUILD='' DEB_TARGET_ARCH_ENDIAN=little SOURCE_DATE_EPOCH=1711219899 OBJCFLAGS_FOR_BUILD='-g -O2' OBJCXXFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection' DEB_HOST_ARCH_BITS=64 LANG=C.UTF-8 MAKEFLAGS=w SCHROOT_GROUP=user42 DEB_TARGET_ARCH=amd64 DPKG_GENSYMBOLS_CHECK_LEVEL=4 DH_INTERNAL_OPTIONS='' DEB_HOST_GNU_CPU=x86_64 DEB_BUILD_ARCH_LIBC=gnu MFLAGS=-w DEB_TARGET_ARCH_BITS=64 CXXFLAGS_FOR_BUILD='-g -O2' ASFLAGS='' DEB_BUILD_ARCH_CPU=amd64 LC_COLLATE=C.UTF-8 SCHROOT_ALIAS_NAME=unstable DEB_HOST_ARCH_OS=linux SHELL=/bin/sh FCFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -fcf-protection' DEB_HOST_ARCH_CPU=amd64 SCHROOT_USER=user42 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games DEB_BUILD_ARCH_ABI=base CPPFLAGS_FOR_BUILD='' DEB_BUILD_ARCH=amd64 FFLAGS_FOR_BUILD='-g -O2' DEB_HOST_ARCH_LIBC=gnu SCHROOT_SESSION_ID=sid-amd64-sbuild-8a093c7d-3400-4b88-84d6-4a79ba4315b4 DEB_TARGET_ARCH_CPU=amd64 DEB_HOST_GNU_TYPE=x86_64-linux-gnu DEB_BUILD_ARCH_OS=linux FCFLAGS_FOR_BUILD='-g -O2' DFLAGS_FOR_BUILD=-frelease LOGNAME=user42 CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2' DEB_TARGET_MULTIARCH=x86_64-linux-gnu DEB_BUILD_GNU_CPU=x86_64 DEB_TARGET_ARCH_OS=linux USER=user42 DEB_HOST_ARCH_ABI=base DEB_BUILD_MULTIARCH=x86_64-linux-gnu LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,-z,defs' DEB_TARGET_GNU_TYPE=x86_64-linux-gnu DEB_TARGET_ARCH_ABI=base CFLAGS='-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection' SCHROOT_UID=1001 SCHROOT_COMMAND='dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -sa' DFLAGS=-frelease DEB_TARGET_GNU_CPU=x86_64 ASFLAGS_FOR_BUILD='' APT_CONFIG=/var/lib/sbuild/apt.conf HOME=/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home DEB_RULES_REQUIRES_ROOT=no DEB_TARGET_GNU_SYSTEM=linux-gnu DEB_HOST_ARCH_ENDIAN=little OBJCFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection' SCHROOT_CHROOT_NAME=sid-amd64-sbuild DEB_BUILD_MAINT_OPTIONS=hardening=+all DH_INTERNAL_BUILDFLAGS=1 CXXFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection' DH_INTERNAL_OVERRIDE=dh_auto_test MAKELEVEL=2 XDG_RUNTIME_DIR=/tmp/dh-xdg-rundir-3uqJoBdg DEB_PYTHON_INSTALL_LAYOUT=deb MESON_TESTTHREADS=8 
> 
> ==================================== 1/4 =====================================
> test:         libgweather:lint / Valid Locations file
> start time:   12:14:40
> duration:     0.06s
> result:       exit status 0
> command:      UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=41 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /usr/bin/xmllint --path /<<PKGBUILDDIR>>/data --noout --valid Locations.xml
> ==============================================================================
> 
> ==================================== 2/4 =====================================
> test:         libgweather / duplicates
> start time:   12:14:40
> duration:     0.04s
> result:       exit status 0
> command:      LIBGWEATHER_LOCATIONS_NO_NEAREST=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 GSETTINGS_BACKED=memory G_TEST_SRCDIR=/<<PKGBUILDDIR>>/libgweather/tests ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 GIO_USE_VFS=local G_TEST_BUILDDIR=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libgweather/tests UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=8 G_ENABLE_DIAGNOSTIC=0 LIBGWEATHER_LOCATIONS_PATH=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/data/Locations.bin /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libgweather/tests/duplicates --tap -k
> ----------------------------------- stdout -----------------------------------
> TAP version 13
> # random seed: R02See6e775950cfecd6f866ee87b1ad0a81
> # Using temporary directory: /tmp/libgweather-test-VRQVO2
> 1..2
> # Start of weather tests
> ok 1 /weather/bad_duplicate_weather_stations
> ok 2 /weather/duplicate_weather_stations
> # End of weather tests
> ==============================================================================
> 
> ==================================== 3/4 =====================================
> test:         libgweather / test_libgweather
> start time:   12:14:40
> duration:     5.08s
> result:       exit status 0
> command:      MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 GSETTINGS_BACKED=memory G_TEST_SRCDIR=/<<PKGBUILDDIR>>/libgweather/tests ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 GIO_USE_VFS=local G_TEST_BUILDDIR=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libgweather/tests UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 G_ENABLE_DIAGNOSTIC=0 LIBGWEATHER_LOCATIONS_PATH=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/data/Locations.bin MALLOC_PERTURB_=37 /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libgweather/tests/test_libgweather --tap -k
> ----------------------------------- stdout -----------------------------------
> TAP version 13
> # random seed: R02Sa08f9da5d4178704b03d9b9ed904eb0f
> # Using temporary directory: /tmp/libgweather-test-B9PVO2
> 1..7
> # Start of weather tests
> ok 1 /weather/radians-to-degrees_str
> # variant: (uint32 2, <('Izhevsk', '', true, [(0.99192878573234644, 0.92822426803455327)], @a(dd) [])>)
> ok 2 /weather/no-code-serialize
> # Maximum airport distance: 0
> ok 3 /weather/airport_distance_sanity
> # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
> ok 4 /weather/utc_sunset
> # Found station Lyon-Saint-Exupéry Airport for 'LFLL'
> # GWeather-DEBUG: metar_start_open, requesting: https://aviationweather.gov/cgi-bin/data/dataserver.php?dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=3&mostRecent=true&fields=raw_text&stationString=LFLL
> # GWeather-DEBUG: iwin_start_open, ignoring location Lyon-Saint-Exupéry Airport because zone '(empty)' has no weather info
> # GWeather-DEBUG: metno_start_open, requesting: https://aa037rv1tsaszxi6o.api.met.no/weatherapi/locationforecast/2.0/classic?lat=45.7333&lon=5.0833
> # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
> # pxbackend-DEBUG: px_config_sysconfig_set_config_file: Could not read file /etc/sysconfig/proxy
> # pxbackend-DEBUG: Active config plugins:
> # pxbackend-DEBUG:  - config-env
> # pxbackend-DEBUG:  - config-xdp
> # pxbackend-DEBUG:  - config-kde
> # pxbackend-DEBUG:  - config-gnome
> # pxbackend-DEBUG:  - config-sysconfig
> # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals
> # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: Could not connect: No such file or directory
> # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’
> # pxbackend-DEBUG: px_manager_constructed: Up and running
> # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation libproxy (GLibproxyResolver) for ‘gio-proxy-resolver’
> # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x55e89ff814e0 and GSocketClientAsyncConnectData 0x55e89ff2f6c0
> # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
> # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x55e89ff82760 and GSocketClientAsyncConnectData 0x55e89ff74da0
> # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
> # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled
> # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled
> # GWeather-DEBUG: Failed to get METAR data: Operation was cancelled
> # GWeather-DEBUG: Failed to get met.no forecast data: Operation was cancelled
> ok 5 /weather/weather-loop-use-after-free
> # slow test /weather/weather-loop-use-after-free executed in 4.99 secs
> ok 6 /weather/location-names # SKIP Locale fr_FR.UTF-8 is not available
> ok 7 /weather/walk_world
> # End of weather tests
> ==============================================================================
> 
> ==================================== 4/4 =====================================
> test:         libgweather / timezones
> start time:   12:14:40
> duration:     6.12s
> result:       exit status 1
> command:      MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 GSETTINGS_BACKED=memory G_TEST_SRCDIR=/<<PKGBUILDDIR>>/libgweather/tests MALLOC_PERTURB_=216 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 GIO_USE_VFS=local G_TEST_BUILDDIR=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libgweather/tests UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 G_ENABLE_DIAGNOSTIC=0 LIBGWEATHER_LOCATIONS_PATH=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/data/Locations.bin /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libgweather/tests/timezones --tap -k
> ----------------------------------- stdout -----------------------------------
> TAP version 13
> # random seed: R02Scacf0855b0cd093b7ff43ae623e35a37
> # Using temporary directory: /tmp/libgweather-test-T4JGP2
> 1..3
> # Start of weather tests
> ok 1 /weather/named-timezones
> # Location 'Greenland' has invalid timezone 'America/Godthab'
> # 
> # Location 'Thule A. B.' has invalid timezone 'America/Godthab'
> # 
> # Location 'Godthåb / Godthåb' has invalid timezone 'America/Godthab'
> # 
> # Location 'Constable Pynt' has invalid timezone 'America/Godthab'
> # 
> # Location 'Jacobshavn Airport' has invalid timezone 'America/Godthab'
> # 
> # Location 'Kulusuk Airport' has invalid timezone 'America/Godthab'
> # 
> # Location 'Narsarsuaq' has invalid timezone 'America/Godthab'
> # 
> # Location 'Sdr Stroemfjord' has invalid timezone 'America/Godthab'
> # 
> # Location 'Godthåb' has invalid timezone 'America/Godthab'
> # 
> # Location 'Godthåb / Godthåb' has invalid timezone 'America/Godthab'
> # 
> # Location 'Ittorisseq' has invalid timezone 'America/Godthab'
> # 
> # Location 'Constable Pynt' has invalid timezone 'America/Godthab'
> # 
> # Location 'Jakobshavn' has invalid timezone 'America/Godthab'
> # 
> # Location 'Jacobshavn Airport' has invalid timezone 'America/Godthab'
> # 
> # Location 'Kulusuk' has invalid timezone 'America/Godthab'
> # 
> # Location 'Kulusuk Airport' has invalid timezone 'America/Godthab'
> # 
> # Location 'Narsarsuaq' has invalid timezone 'America/Godthab'
> # 
> # Location 'Narsarsuaq' has invalid timezone 'America/Godthab'
> # 
> # Location 'Søndre Strømfjord' has invalid timezone 'America/Godthab'
> # 
> # Location 'Sdr Stroemfjord' has invalid timezone 'America/Godthab'
> # 
> not ok 2 /weather/named-timezones-deserialized
> # slow test /weather/named-timezones-deserialized executed in 3.09 secs
> # Location 'Greenland' has invalid timezone 'America/Godthab'
> # 
> # Location 'Thule A. B.' has invalid timezone 'America/Godthab'
> # 
> # Location 'Godthåb / Godthåb' has invalid timezone 'America/Godthab'
> # 
> # Location 'Constable Pynt' has invalid timezone 'America/Godthab'
> # 
> # Location 'Jacobshavn Airport' has invalid timezone 'America/Godthab'
> # 
> # Location 'Kulusuk Airport' has invalid timezone 'America/Godthab'
> # 
> # Location 'Narsarsuaq' has invalid timezone 'America/Godthab'
> # 
> # Location 'Sdr Stroemfjord' has invalid timezone 'America/Godthab'
> # 
> # Location 'Godthåb' has invalid timezone 'America/Godthab'
> # 
> # Location 'Godthåb / Godthåb' has invalid timezone 'America/Godthab'
> # 
> # Location 'Ittorisseq' has invalid timezone 'America/Godthab'
> # 
> # Location 'Constable Pynt' has invalid timezone 'America/Godthab'
> # 
> # Location 'Jakobshavn' has invalid timezone 'America/Godthab'
> # 
> # Location 'Jacobshavn Airport' has invalid timezone 'America/Godthab'
> # 
> # Location 'Kulusuk' has invalid timezone 'America/Godthab'
> # 
> # Location 'Kulusuk Airport' has invalid timezone 'America/Godthab'
> # 
> # Location 'Narsarsuaq' has invalid timezone 'America/Godthab'
> # 
> # Location 'Narsarsuaq' has invalid timezone 'America/Godthab'
> # 
> # Location 'Søndre Strømfjord' has invalid timezone 'America/Godthab'
> # 
> # Location 'Sdr Stroemfjord' has invalid timezone 'America/Godthab'
> # 
> not ok 3 /weather/timezones
> # slow test /weather/timezones executed in 2.99 secs
> # End of weather tests
> ----------------------------------- stderr -----------------------------------
> 
> (test program exited with status code 1)
> ==============================================================================
> 
> 
> Summary of Failures:
> 
> 4/4 libgweather / timezones                 ERROR           6.12s   exit status 1
> 
> Ok:                 3   
> Expected Fail:      0   
> Fail:               1   
> Unexpected Pass:    0   
> Skipped:            0   
> Timeout:            0   
> dh_auto_test: error: cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 MESON_TESTTHREADS=8 meson test --timeout-multiplier=3 returned exit code 1


The full build log is available from:
http://qa-logs.debian.net/2024/06/15/libgweather4_4.4.2-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-gnome-maintainers mailing list