[Debian-on-mobile-maintainers] Bug#1015419: gnome-calls: ftbfs with LTO (link time optimization) enabled

Matthias Klose doko at debian.org
Tue Jul 19 17:52:35 BST 2022


Package: src:gnome-calls
Version: 43~alpha.1-1
Severity: minor
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-lto

This package currently fails to build (at least on the amd64
architecture) with link time optimizations enabled.  For a background
for LTO please see

https://wiki.debian.org/ToolChain/LTO

The goal is to enable this optimization by default in an upcoming
Debian release in dpkg-buildflags for 64bit architectures.  The goal
is to get this package to build with link time optimizations, or to
explicitly disable link time optimizations for this package build.

To reproduce the build failure, enable the lto optimization in
testing/unstable by adding "optimize=+lto" to DEB_BUILD_MAINT_OPTIONS
in the debian/rules file, or if this macro is unset, just set it:

export DEB_BUILD_MAINT_OPTIONS = optimize=+lto

Please try to fix the build with lto enabled, fixing the packaging or
forwarding the issue upstream. If the issue cannot be fixed,
explicitly disallow building the package with lto by adding to your
rules file:

export DEB_BUILD_MAINT_OPTIONS = optimize=-lto

or adding that string to your existing setting of DEB_BUILD_MAINT_OPTIONS.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/dpkglto/gnome-calls_43~alpha.1-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
# CallsSipCall-DEBUG: Setting remote ports: RTP/RTCP 34980/41451
# CallsSipOrigin-DEBUG: Call ready. Activating media pipeline
# CallsSipCall-DEBUG: Setting codec 'PCMA' for pipeline
# CallsGstRfc3551-DEBUG: Gstreamer plugin for PCMA is available
# CallsSipMediaPipeline-DEBUG: Capabilities:
# application/x-rtp,media=(string)audio,clock-rate=(int)8000,encoding-name=(string)PCMA,payload=(int)8
# CallsSipMediaPipeline-DEBUG: Starting media pipeline
# CallsSipMediaPipeline-DEBUG: RTP/RTCP port before starting pipeline: 51238/39055
# CallsSipMediaPipeline-DEBUG: RTP/RTCP port after starting pipeline: 51238/39055
# CallsSipOrigin-DEBUG: incoming ACK: 200 OK
# CallsSipOrigin-DEBUG: The call state has changed: 200 OK
# CallsSipOrigin-DEBUG: Call ready. Activating media pipeline
# CallsSipCall-DEBUG: Setting codec 'PCMA' for pipeline
# CallsGstRfc3551-DEBUG: Gstreamer plugin for PCMA is available
# CallsSipMediaPipeline-DEBUG: Capabilities:
# application/x-rtp,media=(string)audio,clock-rate=(int)8000,encoding-name=(string)PCMA,payload=(int)8
# CallsSipMediaPipeline-DEBUG: Starting media pipeline
# CallsSipMediaPipeline-DEBUG: RTP/RTCP port before starting pipeline: 34980/41451
# CallsSipMediaPipeline-DEBUG: RTP/RTCP port after starting pipeline: 34980/41451
# CallsSipOrigin-DEBUG: incoming BYE: 200 Session Terminated
# CallsSipOrigin-DEBUG: The call state has changed: 200 Session Terminated
# CallsSipOrigin-DEBUG: Call terminated. Deactivating media pipeline
# CallsSipMediaPipeline-DEBUG: Stopping media pipeline
# CallsSipMediaPipeline-DEBUG: Stopping media pipeline
# CallsSipOrigin-DEBUG: response to BYE: 200 OK
# CallsSipOrigin-DEBUG: The call state has changed: 200 to BYE
# CallsSipOrigin-DEBUG: Call terminated. Deactivating media pipeline
# CallsSipMediaPipeline-DEBUG: Stopping media pipeline
# CallsSipMediaPipeline-DEBUG: Stopping media pipeline
# CallsSipOrigin-DEBUG: Clearing any handles
# CallsSipOrigin-DEBUG: Requesting nua_shutdown ()
# CallsSipOrigin-DEBUG: response to nua_shutdown: 200 Shutdown successful
# CallsSipOrigin-DEBUG: nua_shutdown() complete. Destroying nua handle
# CallsSipOrigin-DEBUG: Clearing any handles
# CallsSipOrigin-DEBUG: Requesting nua_shutdown ()
# CallsSipOrigin-DEBUG: response to nua_shutdown: 200 Shutdown successful
# CallsSipOrigin-DEBUG: nua_shutdown() complete. Destroying nua handle
# CallsSipOrigin-DEBUG: Clearing any handles
# CallsSipOrigin-DEBUG: Requesting nua_shutdown ()
# CallsSipOrigin-DEBUG: response to nua_shutdown: 200 Shutdown successful
# CallsSipOrigin-DEBUG: nua_shutdown() complete. Destroying nua handle
ok 5 /Calls/SIP/calls_direct_call
# End of SIP tests
# End of Calls tests
stderr:
su_source_port_create() returns 0x564f88e6ec60
su_source_port_create() returns 0x564f88e6e260
su_source_port_create() returns 0x564f88e6ce60
su_source_port_create() returns 0x564f88e1fa60
su_source_port_create() returns 0x564f88e1fa60
------------------------------------------------------------------------------


Summary of Failures:

 7/16 manager                      FAIL            0.13s   killed by signal 5 SIGTRAP
13/16 ui-call                      FAIL            0.08s   killed by signal 6 SIGABRT


Ok:                 14  
Expected Fail:      0   
Fail:               2   
Unexpected Pass:    0   
Skipped:            0   
Timeout:            0   
dh_auto_test: error: cd _build && LC_ALL=C.UTF-8 MESON_TESTTHREADS=8 meson test returned exit code 2
make[1]: *** [debian/rules:29: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-on-mobile-maintainers mailing list