[Pkg-utopia-maintainers] Bug#1015556: network-manager: ftbfs with LTO (link time optimization) enabled
Matthias Klose
doko at debian.org
Tue Jul 19 17:57:12 BST 2022
Package: src:network-manager
Version: 1.38.0-2
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/network-manager_1.38.0-2_unstable_dpkglto.log
The last lines of the build log are at the end of this report.
[...]
PASS: src/nm-dispatcher/tests/test-dispatcher-envp 2 /dispatcher/down
PASS: src/nm-dispatcher/tests/test-dispatcher-envp 3 /dispatcher/vpn_up
PASS: src/nm-dispatcher/tests/test-dispatcher-envp 4 /dispatcher/vpn_down
PASS: src/nm-dispatcher/tests/test-dispatcher-envp 5 /dispatcher/external
PASS: src/nm-dispatcher/tests/test-dispatcher-envp 6 /dispatcher/connectivity_changed
PASS: src/nm-dispatcher/tests/test-dispatcher-envp 7 /dispatcher/up_empty_vpn_iface
PASS: src/nm-dispatcher/tests/test-dispatcher-envp 8 /dispatcher/gdbus-codegen
PASS: src/libnmc-setting/tests/test-libnmc-setting 1 /client/test_nmc_utils_parse_passwd_file
PASS: src/libnmc-setting/tests/test-libnmc-setting 2 /client/meta/check
PASS: src/libnmc-setting/tests/test-libnmc-setting 3 /client/import/wireguard/test0
PASS: src/libnmc-setting/tests/test-libnmc-setting 4 /client/import/wireguard/test1
PASS: src/libnmc-setting/tests/test-libnmc-setting 5 /client/import/wireguard/test2
PASS: src/libnmc-setting/tests/test-libnmc-setting 6 /client/import/wireguard/test3
PASS: src/libnmc-setting/tests/test-libnmc-setting 7 /client/import/wireguard/missing
PASS: src/core/tests/test-core-with-expect 1 /general/nm_utils_monotonic_timestamp_as_boottime
PASS: src/core/tests/test-core-with-expect 2 /general/nm_utils_kill_child
PASS: src/core/tests/test-core-with-expect 3 /general/nm_utils_array_remove_at_indexes
PASS: src/core/tests/test-core-with-expect 4 /general/nm_ethernet_address_is_valid
PASS: src/core/tests/test-core-with-expect 5 /general/nmp_utils_new_vlan_name
PASS: src/libnm-client-impl/tests/test-secret-agent 1 /libnm/secret-agent/none
PASS: src/libnm-client-impl/tests/test-secret-agent 2 /libnm/secret-agent/no-secrets
PASS: src/libnm-client-impl/tests/test-secret-agent 3 /libnm/secret-agent/cancel
PASS: src/libnm-client-impl/tests/test-secret-agent 4 /libnm/secret-agent/good
PASS: src/libnm-client-impl/tests/test-secret-agent 5 /libnm/secret-agent/nm-not-running
PASS: src/libnm-client-impl/tests/test-secret-agent 6 /libnm/secret-agent/auto-register
PASS: src/libnm-client-impl/tests/test-nm-client 1 /libnm/device-added
PASS: src/libnm-client-impl/tests/test-nm-client 2 /libnm/device-added-signal-after-init
PASS: src/libnm-client-impl/tests/test-nm-client 3 /libnm/wifi-ap-added-removed
PASS: src/libnm-client-impl/tests/test-nm-client 4 /libnm/devices-array
PASS: src/libnm-client-impl/tests/test-nm-client 5 /libnm/client-nm-running
PASS: src/libnm-client-impl/tests/test-nm-client 6 /libnm/active-connections
PASS: src/libnm-client-impl/tests/test-nm-client 7 /libnm/activate-virtual
PASS: src/libnm-client-impl/tests/test-nm-client 8 /libnm/device-connection-compatibility
PASS: src/libnm-client-impl/tests/test-nm-client 9 /libnm/connection/invalid
test_001 (__main__.TestNmcli) ... skipped 'Skipped asserting for localized tests test_001-002,test_001-004,test_001-008,test_001-010,test_001-012,test_001-014,test_001-016,test_001-022,test_001-024,test_001-026,test_001-028,test_001-034,test_001-036,test_001-038,test_001-040. Set NM_TEST_CLIENT_CHECK_L10N=1 to force fail.'
test_002 (__main__.TestNmcli) ... skipped 'Skipped asserting for localized tests test_002-002,test_002-004,test_002-006,test_002-008,test_002-010,test_002-012,test_002-014,test_002-016,test_002-018,test_002-020,test_002-024. Set NM_TEST_CLIENT_CHECK_L10N=1 to force fail.'
test_003 (__main__.TestNmcli) ... skipped 'Skipped asserting for localized tests test_003-011,test_003-015,test_003-019,test_003-023,test_003-030,test_003-032,test_003-038,test_003-040,test_003-042,test_003-044,test_003-046,test_003-048,test_003-055,test_003-057,test_003-063,test_003-065,test_003-067,test_003-069,test_003-071,test_003-073,test_003-077,test_003-079,test_003-083,test_003-085,test_003-087,test_003-089,test_003-093,test_003-095,test_003-097,test_003-099,test_003-101,test_003-103,test_003-105,test_003-107,test_003-109,test_003-111,test_003-113,test_003-115,test_003-117,test_003-139,test_003-143,test_003-145,test_003-147,test_003-149,test_003-153,test_003-155,test_003-157,test_003-159,test_003-161,test_003-163,test_003-165,test_003-167,test_003-169,test_003-171,test_003-173,test_003-175,test_003-177,test_003-199,test_003-203,test_003-205,test_003-207,test_003-209,test_003-213,test_003-215,test_003-217,test_003-219,test_003-221,test_003-223,test_003-225,test_003-227,test_003-229,test_003-231,test_003-233,test_003-235,test_003-237,test_003-259,test_003-263,test_003-265,test_003-267,test_003-269,test_003-273,test_003-275,test_003-277,test_003-279,test_003-281,test_003-283,test_003-285,test_003-287,test_003-289,test_003-291,test_003-293,test_003-295,test_003-297,test_003-303,test_003-313,test_003-319,test_003-323,test_003-325,test_003-327,test_003-329,test_003-333,test_003-335,test_003-337,test_003-339,test_003-341,test_003-343,test_003-345,test_003-347,test_003-349,test_003-351,test_003-353,test_003-355,test_003-357,test_003-363,test_003-373,test_003-379,test_003-383,test_003-385,test_003-387,test_003-389,test_003-393,test_003-395,test_003-397,test_003-399,test_003-401,test_003-403,test_003-405,test_003-407,test_003-409,test_003-411,test_003-413,test_003-415,test_003-417,test_003-423,test_003-433. Set NM_TEST_CLIENT_CHECK_L10N=1 to force fail.'
test_004 (__main__.TestNmcli) ... skipped 'Skipped asserting for localized tests test_004-003,test_004-009,test_004-014,test_004-022,test_004-024,test_004-026,test_004-028,test_004-030,test_004-032,test_004-034,test_004-036,test_004-038,test_004-040,test_004-042,test_004-044,test_004-046,test_004-048,test_004-050,test_004-054,test_004-056,test_004-058,test_004-060,test_004-062,test_004-064,test_004-066,test_004-068,test_004-070,test_004-076,test_004-078,test_004-080,test_004-082,test_004-084,test_004-086,test_004-088,test_004-090,test_004-092,test_004-094,test_004-096,test_004-098,test_004-100,test_004-104,test_004-106,test_004-108,test_004-110,test_004-112,test_004-114,test_004-116,test_004-118,test_004-120,test_004-126,test_004-128,test_004-130,test_004-132,test_004-134,test_004-136,test_004-138,test_004-140,test_004-142,test_004-144,test_004-146,test_004-148,test_004-150,test_004-152,test_004-154,test_004-156,test_004-158,test_004-160,test_004-162,test_004-164,test_004-166,test_004-168,test_004-170,test_004-172,test_004-174,test_004-176,test_004-178,test_004-180,test_004-182,test_004-184,test_004-186,test_004-188,test_004-190,test_004-192,test_004-194,test_004-196,test_004-198,test_004-200,test_004-202,test_004-204,test_004-206,test_004-208,test_004-210,test_004-212,test_004-214,test_004-216,test_004-218,test_004-220,test_004-222,test_004-224,test_004-242,test_004-246,test_004-254,test_004-256,test_004-258,test_004-260,test_004-262,test_004-264,test_004-266,test_004-270,test_004-292,test_004-296,test_004-304,test_004-306,test_004-308,test_004-310,test_004-312,test_004-314,test_004-316,test_004-320,test_004-326,test_004-328,test_004-330,test_004-332,test_004-334,test_004-336,test_004-338,test_004-340,test_004-342,test_004-344,test_004-346,test_004-348,test_004-350,test_004-354,test_004-356,test_004-358,test_004-360,test_004-362,test_004-364,test_004-366,test_004-368,test_004-370,test_004-376,test_004-378,test_004-380,test_004-382,test_004-384,test_004-386,test_004-388,test_004-390,test_004-392,test_004-394,test_004-396,test_004-398,test_004-400,test_004-404,test_004-406,test_004-408,test_004-410,test_004-412,test_004-414,test_004-416,test_004-418,test_004-420,test_004-426,test_004-428,test_004-430,test_004-432,test_004-434,test_004-436,test_004-438,test_004-440,test_004-442,test_004-444,test_004-446,test_004-448,test_004-450,test_004-452,test_004-454,test_004-456,test_004-458,test_004-460,test_004-462,test_004-464,test_004-466,test_004-468,test_004-470,test_004-472,test_004-474,test_004-476,test_004-478,test_004-480,test_004-482,test_004-484,test_004-486,test_004-488,test_004-490,test_004-492,test_004-494,test_004-496,test_004-498,test_004-500,test_004-502,test_004-504,test_004-506,test_004-508,test_004-510,test_004-512,test_004-514,test_004-516,test_004-518,test_004-520,test_004-522,test_004-524,test_004-542,test_004-546,test_004-554,test_004-556,test_004-558,test_004-560,test_004-562,test_004-564,test_004-566,test_004-570,test_004-592,test_004-596,test_004-604,test_004-606,test_004-608,test_004-610,test_004-612,test_004-614,test_004-616,test_004-620,test_004-626,test_004-628,test_004-630,test_004-632,test_004-634,test_004-636,test_004-638,test_004-640,test_004-642,test_004-644,test_004-646,test_004-648,test_004-650,test_004-654,test_004-656,test_004-658,test_004-660,test_004-662,test_004-664,test_004-666,test_004-668,test_004-670,test_004-676,test_004-678,test_004-680,test_004-682,test_004-684,test_004-686,test_004-688,test_004-690,test_004-692,test_004-694,test_004-696,test_004-698,test_004-700,test_004-704,test_004-706,test_004-708,test_004-710,test_004-712,test_004-714,test_004-716,test_004-718,test_004-720,test_004-726,test_004-728,test_004-730,test_004-732,test_004-734,test_004-736,test_004-738,test_004-740,test_004-742,test_004-744,test_004-746,test_004-748,test_004-750,test_004-752,test_004-754,test_004-756,test_004-758,test_004-760,test_004-762,test_004-764,test_004-766,test_004-768,test_004-770,test_004-772,test_004-774,test_004-776,test_004-778,test_004-780,test_004-782,test_004-784,test_004-786,test_004-788,test_004-790,test_004-792,test_004-794,test_004-796,test_004-798,test_004-800,test_004-802,test_004-804,test_004-806,test_004-808,test_004-810,test_004-812,test_004-814,test_004-816,test_004-818,test_004-820,test_004-822,test_004-824,test_004-842,test_004-846,test_004-854,test_004-856,test_004-858,test_004-860,test_004-862,test_004-864,test_004-866,test_004-870,test_004-892,test_004-896,test_004-904,test_004-906,test_004-908,test_004-910,test_004-912,test_004-914,test_004-916,test_004-920. Set NM_TEST_CLIENT_CHECK_L10N=1 to force fail.'
----------------------------------------------------------------------
Ran 4 tests in 11.491s
OK (skipped=4)
PASS: src/core/ndisc/tests/test-ndisc-fake 1 /ndisc/simple
PASS: src/core/ndisc/tests/test-ndisc-fake 2 /ndisc/everything-changed
PASS: src/core/ndisc/tests/test-ndisc-fake 3 /ndisc/preference-order
PASS: src/core/ndisc/tests/test-ndisc-fake 4 /ndisc/preference-changed
PASS: src/core/ndisc/tests/test-ndisc-fake 5 /ndisc/dns-solicit-loop
============================================================================
Testsuite summary for NetworkManager 1.38.0
============================================================================
# TOTAL: 814
# PASS: 807
# SKIP: 7
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
make[5]: Leaving directory '/<<PKGBUILDDIR>>'
make[4]: Leaving directory '/<<PKGBUILDDIR>>'
make[3]: *** [Makefile:19433: check-am] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:18624: check-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:19435: check] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 returned exit code 2
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-utopia-maintainers
mailing list