Bug#1069361: libgweather4: FTBFS on arm64: # 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
Sat Apr 20 13:06:28 BST 2024


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

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test -- --timeout-multiplier=3
> 	cd obj-aarch64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 meson test --timeout-multiplier=3
> ninja: Entering directory `/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu'
> ninja: no work to do.
> 1/4 libgweather / duplicates                OK              0.03s   2 subtests passed
> 2/4 libgweather:lint / Valid Locations file OK              0.04s
> 3/4 libgweather / test_libgweather          OK              5.10s   6 subtests passed
> 4/4 libgweather / timezones                 ERROR           5.50s   exit status 1
> >>> LIBGWEATHER_LOCATIONS_PATH=/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/data/Locations.bin G_TEST_BUILDDIR=/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/libgweather/tests G_ENABLE_DIAGNOSTIC=0 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 G_TEST_SRCDIR=/<<PKGBUILDDIR>>/libgweather/tests GIO_USE_VFS=local GSETTINGS_BACKED=memory UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=220 /<<PKGBUILDDIR>>/obj-aarch64-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-aarch64-linux-gnu/meson-logs/testlog.txt
> 	cd obj-aarch64-linux-gnu && tail -v -n \+0 meson-logs/testlog.txt
> ==> meson-logs/testlog.txt <==
> Log of Meson test suite run on 2024-04-20T04:26:01.916473
> 
> Inherited environment: SCHROOT_GID=1001 DEB_HOST_MULTIARCH=aarch64-linux-gnu LC_ALL=C.UTF-8 DEB_HOST_GNU_SYSTEM=linux-gnu DEB_BUILD_GNU_TYPE=aarch64-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 -mbranch-protection=standard' 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=4 DEB_HOST_ARCH=arm64 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 -mbranch-protection=standard' DEB_HOST_ARCH_BITS=64 LANG=C.UTF-8 MAKEFLAGS=w SCHROOT_GROUP=user42 DEB_TARGET_ARCH=arm64 DPKG_GENSYMBOLS_CHECK_LEVEL=4 DH_INTERNAL_OPTIONS='' DEB_HOST_GNU_CPU=aarch64 DEB_BUILD_ARCH_LIBC=gnu MFLAGS=-w DEB_TARGET_ARCH_BITS=64 CXXFLAGS_FOR_BUILD='-g -O2' ASFLAGS='' DEB_BUILD_ARCH_CPU=arm64 LC_COLLATE=C.UTF-8 SCHROOT_ALIAS_NAME=unstable-arm64 DEB_HOST_ARCH_OS=linux SHELL=/bin/sh FCFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard' DEB_HOST_ARCH_CPU=arm64 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=arm64 FFLAGS_FOR_BUILD='-g -O2' DEB_HOST_ARCH_LIBC=gnu SCHROOT_SESSION_ID=sid-arm64-sbuild-9d7cf05d-91ef-4183-902b-2cd003e67d1c DEB_TARGET_ARCH_CPU=arm64 DEB_HOST_GNU_TYPE=aarch64-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=aarch64-linux-gnu DEB_BUILD_GNU_CPU=aarch64 DEB_TARGET_ARCH_OS=linux USER=user42 DEB_HOST_ARCH_ABI=base DEB_BUILD_MULTIARCH=aarch64-linux-gnu LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,-z,defs' DEB_TARGET_GNU_TYPE=aarch64-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 -mbranch-protection=standard' SCHROOT_UID=1001 SCHROOT_COMMAND='dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -sa' DFLAGS=-frelease DEB_TARGET_GNU_CPU=aarch64 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 -mbranch-protection=standard' SCHROOT_CHROOT_NAME=sid-arm64-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 -mbranch-protection=standard' DH_INTERNAL_OVERRIDE=dh_auto_test MAKELEVEL=2 XDG_RUNTIME_DIR=/tmp/dh-xdg-rundir-Mvc1UCUc DEB_PYTHON_INSTALL_LAYOUT=deb MESON_TESTTHREADS=4 
> 
> ==================================== 1/4 =====================================
> test:         libgweather / duplicates
> start time:   04:26:01
> duration:     0.03s
> result:       exit status 0
> command:      LIBGWEATHER_LOCATIONS_PATH=/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/data/Locations.bin LIBGWEATHER_LOCATIONS_NO_NEAREST=1 G_TEST_BUILDDIR=/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/libgweather/tests G_ENABLE_DIAGNOSTIC=0 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 G_TEST_SRCDIR=/<<PKGBUILDDIR>>/libgweather/tests GIO_USE_VFS=local GSETTINGS_BACKED=memory MALLOC_PERTURB_=43 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/libgweather/tests/duplicates --tap -k
> ----------------------------------- stdout -----------------------------------
> TAP version 13
> # random seed: R02S8050daec6e014072ffb467898ce6d3ef
> # Using temporary directory: /tmp/libgweather-test-4UPWM2
> 1..2
> # Start of weather tests
> ok 1 /weather/bad_duplicate_weather_stations
> ok 2 /weather/duplicate_weather_stations
> # End of weather tests
> ==============================================================================
> 
> ==================================== 2/4 =====================================
> test:         libgweather:lint / Valid Locations file
> start time:   04:26:01
> duration:     0.04s
> result:       exit status 0
> command:      ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=233 /usr/bin/xmllint --path /<<PKGBUILDDIR>>/data --noout --valid Locations.xml
> ==============================================================================
> 
> ==================================== 3/4 =====================================
> test:         libgweather / test_libgweather
> start time:   04:26:01
> duration:     5.10s
> result:       exit status 0
> command:      LIBGWEATHER_LOCATIONS_PATH=/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/data/Locations.bin G_TEST_BUILDDIR=/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/libgweather/tests G_ENABLE_DIAGNOSTIC=0 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 G_TEST_SRCDIR=/<<PKGBUILDDIR>>/libgweather/tests GIO_USE_VFS=local MALLOC_PERTURB_=1 GSETTINGS_BACKED=memory UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/libgweather/tests/test_libgweather --tap -k
> ----------------------------------- stdout -----------------------------------
> TAP version 13
> # random seed: R02S3aabb28160023128f3a9a28b65ff9e10
> # Using temporary directory: /tmp/libgweather-test-71OWM2
> 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-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: GSocketClient: Starting new address enumeration
> # 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 5.04 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:   04:26:01
> duration:     5.50s
> result:       exit status 1
> command:      LIBGWEATHER_LOCATIONS_PATH=/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/data/Locations.bin G_TEST_BUILDDIR=/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/libgweather/tests G_ENABLE_DIAGNOSTIC=0 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 G_TEST_SRCDIR=/<<PKGBUILDDIR>>/libgweather/tests GIO_USE_VFS=local GSETTINGS_BACKED=memory UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=220 /<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/libgweather/tests/timezones --tap -k
> ----------------------------------- stdout -----------------------------------
> TAP version 13
> # random seed: R02Sae94529d318b54ec7a426ded5350cafc
> # Using temporary directory: /tmp/libgweather-test-LW3VM2
> 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 2.74 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.74 secs
> # End of weather tests
> ----------------------------------- stderr -----------------------------------
> 
> (test program exited with status code 1)
> ==============================================================================
> 
> 
> Summary of Failures:
> 
> 4/4 libgweather / timezones                 ERROR           5.50s   exit status 1
> 
> Ok:                 3   
> Expected Fail:      0   
> Fail:               1   
> Unexpected Pass:    0   
> Skipped:            0   
> Timeout:            0   
> dh_auto_test: error: cd obj-aarch64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 meson test --timeout-multiplier=3 returned exit code 1


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

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240420;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240420&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