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/wireshark_3.6.5-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.
[...]
3: test_decrypt_psk_responder (suite_decryption.case_decrypt_wireguard)
38: wslua try_heuristics ... ok
38: test_wslua_tvb_no_tree (suite_wslua.case_wslua)
35: Test text2pcap with dhcp.pcapng. ... ok
35: test_text2pcap_dhe1_pcapng_gz (suite_text2pcap.case_text2pcap_pcapng)
3: Check whether PSKs enable decryption for responder keys. ... ok
3: test_decrypt_psk_wrong_orderl (suite_decryption.case_decrypt_wireguard)
38: wslua tvb without a tree ... ok
38: test_wslua_tvb_tree (suite_wslua.case_wslua)
35: Test text2pcap with dhe1.pcapng.gz. ... ok
35: test_text2pcap_dmgr_pcapng (suite_text2pcap.case_text2pcap_pcapng)
3: Check that the wrong order of lines indeed fail decryption. ... ok
3: test_decrypt_wg_full_initiator_dsb (suite_decryption.case_decrypt_wireguard)
38: wslua tvb with a tree ... ok
38: test_wslua_util (suite_wslua.case_wslua)
35: Test text2pcap with dmgr.pcapng. ... ok
35: test_text2pcap_dns_icmp_pcapng_gz (suite_text2pcap.case_text2pcap_pcapng)
3: Similar to test_decrypt_full_initiator, but using decryption keys ... ok
3: test_mac1_private (suite_decryption.case_decrypt_wireguard)
38: wslua utility functions ... ok
38: test_wslua_unicode (suite_wslua.case_wslua_unicode)
35: Test text2pcap with dns+icmp.pcapng.gz. ... ok
35: test_text2pcap_packet_h2_14_headers_pcapng (suite_text2pcap.case_text2pcap_pcapng)
3: Check that MAC1 identification using private keys work. ... ok
3: test_mac1_public (suite_decryption.case_decrypt_wireguard)
38: Check handling of unicode paths. ... ok
38:
38: ----------------------------------------------------------------------
38: Ran 29 tests in 12.026s
38:
38: OK (skipped=1)
38: -- Begin stdout
38: All tests passed!
38:
38: -- End stdout
36/38 Test #38: suite_wslua ............................ Passed 12.22 sec
35: Test text2pcap with packet-h2-14_headers.pcapng. ... ok
35: test_text2pcap_sip_pcapng (suite_text2pcap.case_text2pcap_pcapng)
3: Check that MAC1 identification using public keys work. ... ok
3: test_zigbee (suite_decryption.case_decrypt_zigbee)
35: Test text2pcap with sip.pcapng. ... ok
35:
35: ----------------------------------------------------------------------
35: Ran 44 tests in 13.871s
35:
35: OK
37/38 Test #35: suite_text2pcap ........................ Passed 14.07 sec
3: ZigBee ... ok
3:
3: ----------------------------------------------------------------------
3: Ran 93 tests in 36.285s
3:
3: OK (skipped=1)
38/38 Test #3: suite_decryption ....................... Passed 36.62 sec
95% tests passed, 2 tests failed out of 38
Total Test time (real) = 36.63 sec
The following tests FAILED:
1 - suite_capture (Failed)
37 - suite_unittests (Failed)
Errors while running CTest
make[2]: *** [Makefile:74: test] Error 8
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_test: error: cd obj-x86_64-linux-gnu && make -j8 test ARGS\+=--verbose ARGS\+=-j8 returned exit code 2
make[1]: *** [debian/rules:79: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:24: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2