Package: src:weston Version: 10.0.0-1 Severity: minor Tags: sid bookworm User: debian-...@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/weston_10.0.0-1_unstable_dpkglto.log The last lines of the build log are at the end of this report. [...] 385 | asprintf(&tmp, "--modules=%s%s%s", TESTSUITE_PLUGIN_PATH, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 386 | setup->extra_module ? "," : "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 387 | setup->extra_module ? setup->extra_module : ""); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/weston-test-fixture-compositor.c:392:17: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 392 | asprintf(&tmp, "--width=%d", setup->width); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/weston-test-fixture-compositor.c:395:17: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 395 | asprintf(&tmp, "--height=%d", setup->height); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/weston-test-fixture-compositor.c:400:17: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 400 | asprintf(&tmp, "--scale=%d", setup->scale); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/weston-test-fixture-compositor.c:405:17: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 405 | asprintf(&tmp, "--transform=%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 406 | transform_to_str(setup->transform)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/weston-test-fixture-compositor.c:411:17: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 411 | asprintf(&tmp, "--config=%s", setup->config_file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/weston-test-fixture-compositor.c:422:9: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 422 | asprintf(&tmp, "--shell=%s", shell_to_str(setup->shell)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/weston-test-fixture-compositor.c:426:17: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 426 | asprintf(&tmp, "--logger-scopes=%s", setup->logging_scopes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [375/490] cc -o clients/weston-subsurfaces clients/weston-subsurfaces.p/subsurfaces.c.o -Wl,--as-needed -Wl,--no-undefined -flto=auto -ffat-lto-objects -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group clients/libtoytoolkit.a shared/libcairo-shared.a shared/libshared.a /usr/lib/x86_64-linux-gnu/libwayland-client.so /usr/lib/x86_64-linux-gnu/libwayland-server.so /usr/lib/x86_64-linux-gnu/libcairo.so /usr/lib/x86_64-linux-gnu/libpng16.so /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libpixman-1.so -lm /usr/lib/x86_64-linux-gnu/libpango-1.0.so /usr/lib/x86_64-linux-gnu/libgobject-2.0.so /usr/lib/x86_64-linux-gnu/libglib-2.0.so /usr/lib/x86_64-linux-gnu/libharfbuzz.so /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/x86_64-linux-gnu/libwebp.so /usr/lib/x86_64-linux-gnu/libxkbcommon.so /us r/lib/x86_64-linux-gnu/libwayland-cursor.so -lutil /usr/lib/x86_64-linux-gnu/libEGL.so /usr/lib/x86_64-linux-gnu/libGLESv2.so /usr/lib/x86_64-linux-gnu/libwayland-egl.so -lutil -Wl,--end-group [376/490] cc -Itests/libzunitc.a.p -Itests -I../tests -I. -I.. -Iinclude -I../include -I../tools/zunitc/inc -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O0 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ tests/libzunitc.a.p/.._tools_zunitc_src_zuc_base_logger.c.o -MF tests/libzunitc.a.p/.._tools_zunitc_src_zuc_base_logger.c.o.d -o tests/libzunitc.a.p/.._tools_zunitc_src_zuc_base_logger.c.o -c ../tools/zunitc/src/zuc_base_logger.c [377/490] cc -Itests/libzunitc.a.p -Itests -I../tests -I. -I.. -Iinclude -I../include -I../tools/zunitc/inc -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O0 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ tests/libzunitc.a.p/.._tools_zunitc_src_zuc_collector.c.o -MF tests/libzunitc.a.p/.._tools_zunitc_src_zuc_collector.c.o.d -o tests/libzunitc.a.p/.._tools_zunitc_src_zuc_collector.c.o -c ../tools/zunitc/src/zuc_collector.c [378/490] cc -Itests/libzunitcmain.a.p -Itests -I../tests -I. -I.. -Iinclude -I../include -I../tools/zunitc/inc -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O0 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ tests/libzunitcmain.a.p/.._tools_zunitc_src_main.c.o -MF tests/libzunitcmain.a.p/.._tools_zunitc_src_main.c.o.d -o tests/libzunitcmain.a.p/.._tools_zunitc_src_main.c.o -c ../tools/zunitc/src/main.c [379/490] rm -f tests/libzunitcmain.a && gcc-ar csrDT tests/libzunitcmain.a tests/libzunitcmain.a.p/.._tools_zunitc_src_main.c.o [380/490] cc -Itests/test-plugin.so.p -Itests -I../tests -I. -I.. -Iinclude -I../include -Icompositor -I../compositor -Ilibweston -I../libweston -Iprotocol -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O0 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ tests/test-plugin.so.p/weston-test.c.o -MF tests/test-plugin.so.p/weston-test.c.o.d -o tests/test-plugin.so.p/weston-test.c.o -c ../tests/weston-test.c [381/490] cc -o clients/weston-ivi-shell-user-interface clients/weston-ivi-shell-user-interface.p/meson-generated_.._.._protocol_ivi-hmi-controller-protocol.c.o clients/weston-ivi-shell-user-interface.p/meson-generated_.._.._protocol_ivi-application-protocol.c.o clients/weston-ivi-shell-user-interface.p/ivi-shell-user-interface.c.o -Wl,--as-needed -Wl,--no-undefined -flto=auto -ffat-lto-objects -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group clients/libtoytoolkit.a shared/libcairo-shared.a shared/libshared.a /usr/lib/x86_64-linux-gnu/libwayland-client.so /usr/lib/x86_64-linux-gnu/libwayland-server.so /usr/lib/x86_64-linux-gnu/libcairo.so /usr/lib/x86_64-linux-gnu/libpng16.so /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libpixman-1.so -lm /usr/lib/x86_64-linux-gnu/libpango-1.0.so /usr/lib/x86_64-linux-gnu/libgobject-2.0.so /u sr/lib/x86_64-linux-gnu/libglib-2.0.so /usr/lib/x86_64-linux-gnu/libharfbuzz.so /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/x86_64-linux-gnu/libwebp.so /usr/lib/x86_64-linux-gnu/libxkbcommon.so /usr/lib/x86_64-linux-gnu/libwayland-cursor.so -lutil -lutil -Wl,--end-group [382/490] cc -Itests/test-ivi-layout.so.p -Itests -I../tests -I. -I.. -Iinclude -I../include -Ilibweston -I../libweston -Icompositor -I../compositor -Iprotocol -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O0 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ tests/test-ivi-layout.so.p/meson-generated_.._.._protocol_weston-test-protocol.c.o -MF tests/test-ivi-layout.so.p/meson-generated_.._.._protocol_weston-test-protocol.c.o.d -o tests/test-ivi-layout.so.p/meson-generated_.._.._protocol_weston-test-protocol.c.o -c protocol/weston-test-protocol.c [383/490] cc -Itests/libzunitc.a.p -Itests -I../tests -I. -I.. -Iinclude -I../include -I../tools/zunitc/inc -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O0 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ tests/libzunitc.a.p/.._tools_zunitc_src_zuc_junit_reporter.c.o -MF tests/libzunitc.a.p/.._tools_zunitc_src_zuc_junit_reporter.c.o.d -o tests/libzunitc.a.p/.._tools_zunitc_src_zuc_junit_reporter.c.o -c ../tools/zunitc/src/zuc_junit_reporter.c [384/490] cc -o clients/weston-keyboard clients/weston-keyboard.p/meson-generated_.._.._protocol_text-input-unstable-v1-protocol.c.o clients/weston-keyboard.p/meson-generated_.._.._protocol_input-method-unstable-v1-protocol.c.o clients/weston-keyboard.p/keyboard.c.o -Wl,--as-needed -Wl,--no-undefined -flto=auto -ffat-lto-objects -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group clients/libtoytoolkit.a shared/libcairo-shared.a shared/libshared.a /usr/lib/x86_64-linux-gnu/libwayland-client.so /usr/lib/x86_64-linux-gnu/libwayland-server.so /usr/lib/x86_64-linux-gnu/libcairo.so /usr/lib/x86_64-linux-gnu/libpng16.so /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libpixman-1.so -lm /usr/lib/x86_64-linux-gnu/libpango-1.0.so /usr/lib/x86_64-linux-gnu/libgobject-2.0.so /usr/lib/x86_64-linux-gnu/libglib-2.0.so /usr/lib/x86_64-linux-gnu/li bharfbuzz.so /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/x86_64-linux-gnu/libwebp.so /usr/lib/x86_64-linux-gnu/libxkbcommon.so /usr/lib/x86_64-linux-gnu/libwayland-cursor.so -lutil -lutil -Wl,--end-group [385/490] cc -Itests/libtest-client.a.p -Itests -I../tests -I. -I.. -Iinclude -I../include -Icompositor -I../compositor -Iprotocol -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O0 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ tests/libtest-client.a.p/weston-test-client-helper.c.o -MF tests/libtest-client.a.p/weston-test-client-helper.c.o.d -o tests/libtest-client.a.p/weston-test-client-helper.c.o -c ../tests/weston-test-client-helper.c [386/490] rm -f tests/libtest-client.a && gcc-ar csrDT tests/libtest-client.a tests/libtest-client.a.p/meson-generated_.._.._protocol_weston-screenshooter-protocol.c.o tests/libtest-client.a.p/meson-generated_.._.._protocol_weston-test-protocol.c.o tests/libtest-client.a.p/meson-generated_.._.._protocol_viewporter-protocol.c.o tests/libtest-client.a.p/weston-test-client-helper.c.o tests/libtest-client.a.p/weston-test-fixture-compositor.c.o tests/libtest-client.a.p/color_util.c.o [387/490] cc -Itests/test-surface-screenshot.so.p -Itests -I../tests -I. -I.. -Iinclude -I../include -Ilibweston -I../libweston -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O0 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ tests/test-surface-screenshot.so.p/surface-screenshot-test.c.o -MF tests/test-surface-screenshot.so.p/surface-screenshot-test.c.o.d -o tests/test-surface-screenshot.so.p/surface-screenshot-test.c.o -c ../tests/surface-screenshot-test.c [388/490] cc -o tests/test-plugin.so tests/test-plugin.so.p/meson-generated_.._.._protocol_weston-test-protocol.c.o tests/test-plugin.so.p/weston-test.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,test-plugin.so -flto=auto -ffat-lto-objects -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../compositor:$ORIGIN/../libweston' -Wl,-rpath-link,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/compositor -Wl,-rpath-link,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libweston compositor/libexec_weston.so.0.0.0 libweston/libweston-10.so.0.0.0 /usr/lib/x86_64-linux-gnu/libwayland-server.so /usr/lib/x86_64-linux-gnu/libpixman-1.so /usr/lib/x86_64-linux-gnu/libxkbcommon.so -Wl,--end-group -pthread [389/490] cc -Itests/test-bad-buffer.p -Itests -I../tests -I. -I.. -Iinclude -I../include -Ilibweston -I../libweston -Iprotocol -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O0 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DUNIT_TEST '-DTHIS_TEST_NAME="test-bad-buffer"' -MD -MQ tests/test-bad-buffer.p/bad-buffer-test.c.o -MF tests/test-bad-buffer.p/bad-buffer-test.c.o.d -o tests/test-bad-buffer.p/bad-buffer-test.c.o -c ../tests/bad-buffer-test.c [390/490] cc -Itests/test-buffer-transforms.p -Itests -I../tests -I. -I.. -Iinclude -I../include -Ilibweston -I../libweston -Iprotocol -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O0 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DUNIT_TEST '-DTHIS_TEST_NAME="test-buffer-transforms"' -MD -MQ tests/test-buffer-transforms.p/buffer-transforms-test.c.o -MF tests/test-buffer-transforms.p/buffer-transforms-test.c.o.d -o tests/test-buffer-transforms.p/buffer-transforms-test.c.o -c ../tests/buffer-transforms-test.c [391/490] cc -o tests/test-surface-screenshot.so tests/test-surface-screenshot.so.p/surface-screenshot-test.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,test-surface-screenshot.so -flto=auto -ffat-lto-objects -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../libweston' -Wl,-rpath-link,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libweston libweston/libweston-10.so.0.0.0 shared/libshared.a /usr/lib/x86_64-linux-gnu/libwayland-server.so /usr/lib/x86_64-linux-gnu/libpixman-1.so /usr/lib/x86_64-linux-gnu/libxkbcommon.so /usr/lib/x86_64-linux-gnu/libwayland-client.so -Wl,--end-group [392/490] cc -Itests/test-alpha-blending.p -Itests -I../tests -I. -I.. -Iinclude -I../include -Ilibweston -I../libweston -Iprotocol -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O0 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DUNIT_TEST '-DTHIS_TEST_NAME="test-alpha-blending"' -MD -MQ tests/test-alpha-blending.p/alpha-blending-test.c.o -MF tests/test-alpha-blending.p/alpha-blending-test.c.o.d -o tests/test-alpha-blending.p/alpha-blending-test.c.o -c ../tests/alpha-blending-test.c [393/490] cc -Itests/test-color-manager.p -Itests -I../tests -I. -I.. -Iinclude -I../include -Ilibweston -I../libweston -Iprotocol -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O0 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DUNIT_TEST '-DTHIS_TEST_NAME="test-color-manager"' -MD -MQ tests/test-color-manager.p/color-manager-test.c.o -MF tests/test-color-manager.p/color-manager-test.c.o.d -o tests/test-color-manager.p/color-manager-test.c.o -c ../tests/color-manager-test.c [394/490] cc -Itests/libzunitc.a.p -Itests -I../tests -I. -I.. -Iinclude -I../include -I../tools/zunitc/inc -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O0 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ tests/libzunitc.a.p/.._tools_zunitc_src_zunitc_impl.c.o -MF tests/libzunitc.a.p/.._tools_zunitc_src_zunitc_impl.c.o.d -o tests/libzunitc.a.p/.._tools_zunitc_src_zunitc_impl.c.o -c ../tools/zunitc/src/zunitc_impl.c [395/490] rm -f tests/libzunitc.a && gcc-ar csrDT tests/libzunitc.a tests/libzunitc.a.p/.._tools_zunitc_src_zuc_base_logger.c.o tests/libzunitc.a.p/.._tools_zunitc_src_zuc_collector.c.o tests/libzunitc.a.p/.._tools_zunitc_src_zuc_junit_reporter.c.o tests/libzunitc.a.p/.._tools_zunitc_src_zunitc_impl.c.o [396/490] cc -Itests/test-devices.p -Itests -I../tests -I. -I.. -Iinclude -I../include -Ilibweston -I../libweston -Iprotocol -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O0 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DUNIT_TEST '-DTHIS_TEST_NAME="test-devices"' -MD -MQ tests/test-devices.p/devices-test.c.o -MF tests/test-devices.p/devices-test.c.o.d -o tests/test-devices.p/devices-test.c.o -c ../tests/devices-test.c [397/490] cc -Itests/test-ivi-layout.so.p -Itests -I../tests -I. -I.. -Iinclude -I../include -Ilibweston -I../libweston -Icompositor -I../compositor -Iprotocol -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O0 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ tests/test-ivi-layout.so.p/ivi-layout-test-plugin.c.o -MF tests/test-ivi-layout.so.p/ivi-layout-test-plugin.c.o.d -o tests/test-ivi-layout.so.p/ivi-layout-test-plugin.c.o -c ../tests/ivi-layout-test-plugin.c [398/490] cc -o tests/test-ivi-layout.so tests/test-ivi-layout.so.p/meson-generated_.._.._protocol_weston-test-protocol.c.o tests/test-ivi-layout.so.p/ivi-layout-test-plugin.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,test-ivi-layout.so -flto=auto -ffat-lto-objects -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../libweston:$ORIGIN/../compositor' -Wl,-rpath-link,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libweston -Wl,-rpath-link,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/compositor libweston/libweston-10.so.0.0.0 compositor/libexec_weston.so.0.0.0 /usr/lib/x86_64-linux-gnu/libwayland-server.so /usr/lib/x86_64-linux-gnu/libpixman-1.so /usr/lib/x86_64-linux-gnu/libxkbcommon.so -Wl,--end-group FAILED: tests/test-ivi-layout.so cc -o tests/test-ivi-layout.so tests/test-ivi-layout.so.p/meson-generated_.._.._protocol_weston-test-protocol.c.o tests/test-ivi-layout.so.p/ivi-layout-test-plugin.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,test-ivi-layout.so -flto=auto -ffat-lto-objects -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../libweston:$ORIGIN/../compositor' -Wl,-rpath-link,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libweston -Wl,-rpath-link,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/compositor libweston/libweston-10.so.0.0.0 compositor/libexec_weston.so.0.0.0 /usr/lib/x86_64-linux-gnu/libwayland-server.so /usr/lib/x86_64-linux-gnu/libpixman-1.so /usr/lib/x86_64-linux-gnu/libxkbcommon.so -Wl,--end-group /usr/bin/ld: /tmp/ccNWA6ro.ltrans0.ltrans.o: in function `runner_run_handler': ./obj-x86_64-linux-gnu/../tests/ivi-layout-test-plugin.c:72: undefined reference to `__start_plugin_test_section' /usr/bin/ld: /tmp/ccNWA6ro.ltrans0.ltrans.o:./obj-x86_64-linux-gnu/../tests/ivi-layout-test-plugin.c:72: undefined reference to `__stop_plugin_test_section' collect2: error: ld returned 1 exit status [399/490] cc -o tests/test-bad-buffer tests/test-bad-buffer.p/bad-buffer-test.c.o -Wl,--as-needed -Wl,--no-undefined -flto=auto -ffat-lto-objects -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../compositor:$ORIGIN/../libweston' -Wl,-rpath-link,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/compositor -Wl,-rpath-link,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libweston -Wl,--start-group tests/libtest-client.a shared/libshared.a compositor/libexec_weston.so.0.0.0 libweston/libweston-10.so.0.0.0 tests/libtest-runner.a /usr/lib/x86_64-linux-gnu/libwayland-client.so /usr/lib/x86_64-linux-gnu/libpixman-1.so /usr/lib/x86_64-linux-gnu/libudev.so /usr/lib/x86_64-linux-gnu/libwayland-server.so /usr/lib/x86_64-linux-gnu/libxkbcommon.so /usr/lib/x86_64-linux-gnu/libcairo.so -Wl,--end-group [400/490] cc -o tests/test-color-manager tests/test-color-manager.p/color-manager-test.c.o -Wl,--as-needed -Wl,--no-undefined -flto=auto -ffat-lto-objects -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../compositor:$ORIGIN/../libweston' -Wl,-rpath-link,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/compositor -Wl,-rpath-link,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libweston -Wl,--start-group tests/libtest-client.a shared/libshared.a compositor/libexec_weston.so.0.0.0 libweston/libweston-10.so.0.0.0 tests/libtest-runner.a /usr/lib/x86_64-linux-gnu/libwayland-client.so /usr/lib/x86_64-linux-gnu/libpixman-1.so /usr/lib/x86_64-linux-gnu/libudev.so /usr/lib/x86_64-linux-gnu/libwayland-server.so /usr/lib/x86_64-linux-gnu/libxkbcommon.so /usr/lib/x86_64-linux-gnu/libcairo.so -Wl,--end-group [401/490] cc -o tests/test-buffer-transforms tests/test-buffer-transforms.p/buffer-transforms-test.c.o -Wl,--as-needed -Wl,--no-undefined -flto=auto -ffat-lto-objects -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../compositor:$ORIGIN/../libweston' -Wl,-rpath-link,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/compositor -Wl,-rpath-link,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libweston -Wl,--start-group tests/libtest-client.a shared/libshared.a compositor/libexec_weston.so.0.0.0 libweston/libweston-10.so.0.0.0 tests/libtest-runner.a /usr/lib/x86_64-linux-gnu/libwayland-client.so /usr/lib/x86_64-linux-gnu/libpixman-1.so /usr/lib/x86_64-linux-gnu/libudev.so /usr/lib/x86_64-linux-gnu/libwayland-server.so /usr/lib/x86_64-linux-gnu/libxkbcommon.so /usr/lib/x86_64-linux-gnu/libcairo.so -Wl,--end-group [402/490] cc -Itests/test-drm-formats.p -Itests -I../tests -I. -I.. -Iinclude -I../include -Ilibweston -I../libweston -Iprotocol -I/usr/include/pixman-1 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O0 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DUNIT_TEST '-DTHIS_TEST_NAME="test-drm-formats"' -MD -MQ tests/test-drm-formats.p/drm-formats-test.c.o -MF tests/test-drm-formats.p/drm-formats-test.c.o.d -o tests/test-drm-formats.p/drm-formats-test.c.o -c ../tests/drm-formats-test.c [403/490] cc -o tests/test-alpha-blending tests/test-alpha-blending.p/alpha-blending-test.c.o -Wl,--as-needed -Wl,--no-undefined -flto=auto -ffat-lto-objects -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../compositor:$ORIGIN/../libweston' -Wl,-rpath-link,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/compositor -Wl,-rpath-link,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libweston -Wl,--start-group tests/libtest-client.a shared/libshared.a compositor/libexec_weston.so.0.0.0 libweston/libweston-10.so.0.0.0 tests/libtest-runner.a /usr/lib/x86_64-linux-gnu/libwayland-client.so /usr/lib/x86_64-linux-gnu/libpixman-1.so /usr/lib/x86_64-linux-gnu/libudev.so -lm /usr/lib/x86_64-linux-gnu/libwayland-server.so /usr/lib/x86_64-linux-gnu/libxkbcommon.so /usr/lib/x86_64-linux-gnu/libcairo.so -Wl,--end-group [404/490] cc -o tests/test-devices tests/test-devices.p/devices-test.c.o -Wl,--as-needed -Wl,--no-undefined -flto=auto -ffat-lto-objects -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../compositor:$ORIGIN/../libweston' -Wl,-rpath-link,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/compositor -Wl,-rpath-link,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libweston -Wl,--start-group tests/libtest-client.a shared/libshared.a compositor/libexec_weston.so.0.0.0 libweston/libweston-10.so.0.0.0 tests/libtest-runner.a /usr/lib/x86_64-linux-gnu/libwayland-client.so /usr/lib/x86_64-linux-gnu/libpixman-1.so /usr/lib/x86_64-linux-gnu/libudev.so /usr/lib/x86_64-linux-gnu/libwayland-server.so /usr/lib/x86_64-linux-gnu/libxkbcommon.so /usr/lib/x86_64-linux-gnu/libcairo.so -Wl,--end-group [405/490] cc -o clients/weston-desktop-shell clients/weston-desktop-shell.p/meson-generated_.._.._protocol_weston-desktop-shell-protocol.c.o clients/weston-desktop-shell.p/desktop-shell.c.o -Wl,--as-needed -Wl,--no-undefined -flto=auto -ffat-lto-objects -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group clients/libtoytoolkit.a shared/libcairo-shared.a shared/libshared.a /usr/lib/x86_64-linux-gnu/libwayland-client.so /usr/lib/x86_64-linux-gnu/libwayland-server.so /usr/lib/x86_64-linux-gnu/libcairo.so /usr/lib/x86_64-linux-gnu/libpng16.so /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libpixman-1.so -lm /usr/lib/x86_64-linux-gnu/libpango-1.0.so /usr/lib/x86_64-linux-gnu/libgobject-2.0.so /usr/lib/x86_64-linux-gnu/libglib-2.0.so /usr/lib/x86_64-linux-gnu/libharfbuzz.so /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so /usr/lib/x86_64-l inux-gnu/libjpeg.so /usr/lib/x86_64-linux-gnu/libwebp.so /usr/lib/x86_64-linux-gnu/libxkbcommon.so /usr/lib/x86_64-linux-gnu/libwayland-cursor.so -lutil -lutil -Wl,--end-group ninja: build stopped: subcommand failed. dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v returned exit code 1 make: *** [debian/rules:31: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2