Bug#1015711: xorg-server: ftbfs with LTO (link time optimization) enabled
Package: src:xorg-server Version: 2:21.1.3-2 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/xorg-server_21.1.3-2_unstable_dpkglto.log The last lines of the build log are at the end of this report. [...] make[4]: Leaving directory '/<>/debian/build/udeb/hw/xfree86' make[4]: Entering directory '/<>/debian/build/udeb/hw' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/<>/debian/build/udeb/hw' make[3]: Leaving directory '/<>/debian/build/udeb/hw' Making all in test make[3]: Entering directory '/<>/debian/build/udeb/test' ln -s ../hw/xfree86/sdksyms.c make all-recursive make[4]: Entering directory '/<>/debian/build/udeb/test' Making all in . make[5]: Entering directory '/<>/debian/build/udeb/test' gcc -DHAVE_CONFIG_H -I. -I../../../../test -I../include -I../../../../hw/xfree86 -I../../../../hw/xfree86/include -I../../../../hw/xfree86/common -I../../../../hw/xfree86/os-support -I../../../../hw/xfree86/os-support/bus -I../../../../os -I../../../../test/xi1 -I../../../../test/xi2 -I../../../../hw/xfree86/common -I../../../../hw/xfree86/parser -I../../../../hw/xfree86/ddc -I../../../../hw/xfree86/i2c -I../../../../hw/xfree86/modes -I../../../../hw/xfree86/ramdac -I../../../../hw/xfree86/dri -I../../../../hw/xfree86/dri2 -I../../../../dri3 -Wdate-time -D_FORTIFY_SOURCE=2 -DPRE_RELEASE=0 -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-br aces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -fno-strict-aliasing -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I../../../../include -I../include -I../../../../Xext -I../../../../damageext -I../../../../xfixes -I../../../../Xi -I../../../../mi -I../../../../miext/sync -I../../../../miext/shadow -I../../../../miext/damage -I../../../../render -I../../../../randr -I../../../../fb -I../../../../dbe -I../../../../present -fvisibility=hidden -DHAVE_XORG_CONFIG_H -fvisibility=hidden -I/usr/include/libdrm -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o simple-xinit.o ../../../../test/simple-xinit.c gcc -DHAVE_CONFIG_H -I. -I../../../../test -I../include -I../../../../hw/xfree86 -I../../../../hw/xfree86/include -I../../../../hw/xfree86/common -I../../../../hw/xfree86/os-support -I../../../../hw/xfree86/os-support/bus -I../../../../os -I../../../../test/xi1 -I../../../../test/xi2 -I../../../../hw/xfree86/common -I../../../../hw/xfree86/parser -I../../../../hw/xfree86/ddc -I../../../../hw/xfree86/i2c -I../../../../hw/xfree86/modes -I../../../../hw/xfree86/ramdac -I../../../../hw/xfree86/dri -I../../../../hw/xfree86/dri2 -I../../../../dri3 -DXORG_TESTS -DRES_TESTS -DLDWRAP_TESTS -Wdate-time -D_FORTIFY_SOURCE=2 -DPRE_RELEASE=0 -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=i nit-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs
Bug#1015704: weston: ftbfs with LTO (link time optimization) enabled
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(, "--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(, "--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(, "--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(, "--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(, "--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(, "--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(, "--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(, "--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=/<>=. -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
Processed: Re: Bug#1015039: gtk4 memorytexture test-case regresses with Mesa 22.1
Processing control commands: > reassign -1 src:mesa 22.1.3-1 Bug #1015039 [src:gtk4,src:mesa] gtk4 memorytexture test-case regresses with Mesa 22.1 Bug reassigned from package 'src:gtk4,src:mesa' to 'src:mesa'. No longer marked as found in versions mesa/22.1.3-1 and gtk4/4.6.6+ds-1. Ignoring request to alter fixed versions of bug #1015039 to the same values previously set Bug #1015039 [src:mesa] gtk4 memorytexture test-case regresses with Mesa 22.1 Marked as found in versions mesa/22.1.3-1. > affects -1 + src:gtk4 Bug #1015039 [src:mesa] gtk4 memorytexture test-case regresses with Mesa 22.1 Added indication that 1015039 affects src:gtk4 > forwarded -1 https://gitlab.freedesktop.org/mesa/mesa/-/issues/6898 Bug #1015039 [src:mesa] gtk4 memorytexture test-case regresses with Mesa 22.1 Set Bug forwarded-to-address to 'https://gitlab.freedesktop.org/mesa/mesa/-/issues/6898'. -- 1015039: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015039 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Re: Bug#1015039: gtk4 memorytexture test-case regresses with Mesa 22.1
Control: reassign -1 src:mesa 22.1.3-1 Control: affects -1 + src:gtk4 Control: forwarded -1 https://gitlab.freedesktop.org/mesa/mesa/-/issues/6898 On Sat, 16 Jul 2022 at 18:16:11 +0100, Simon McVittie wrote: > I can reproduce this test failure with sid's mesa 22.1.3-1, but not with > bookworm's mesa, so it seems like this is probably a mesa regression (or > possibly a mesa behaviour change that means what gtk4 is doing no longer > works). I bisected this to mesa commit 6bbbe15a "Reinstate: llvmpipe: allow vertex processing and fragment processing in parallel" and reported it upstream: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6898 A straightforward revert of 6bbbe15a applies cleanly to 22.1.x and appears to solve this. smcv