Package: src:qtwebkit-opensource-src Version: 5.212.0~alpha4-16 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/qtwebkit-opensource-src_5.212.0~alpha4-16_unstable_dpkglto.log The last lines of the build log are at the end of this report. [...] 311 | return WTFMove(resultImpl); | ^~~~~~~ /<<PKGBUILDDIR>>/Source/WTF/wtf/StdLibExtras.h:388:64: note: remove ‘std::move’ call 388 | #define WTFMove(value) std::move<WTF::CheckMoveParameter>(value) | ^ /<<PKGBUILDDIR>>/Source/WTF/wtf/text/StringConcatenate.h:311:12: note: in expansion of macro ‘WTFMove’ 311 | return WTFMove(resultImpl); | ^~~~~~~ /<<PKGBUILDDIR>>/Source/WTF/wtf/text/StringConcatenate.h: In instantiation of ‘WTF::String WTF::tryMakeString(StringType1, StringType2) [with StringType1 = const char*; StringType2 = WTF::AtomicString]’: /<<PKGBUILDDIR>>/Source/WTF/wtf/text/StringOperators.h:38:38: required from ‘WTF::StringAppend<StringType1, StringType2>::operator WTF::String() const [with StringType1 = const char*; StringType2 = WTF::AtomicString]’ /<<PKGBUILDDIR>>/Source/WTF/wtf/text/StringOperators.h:100:38: required from ‘WTF::String WTF::StringTypeAdapter<WTF::StringAppend<StringType1, StringType2> >::toString() const [with StringType1 = const char*; StringType2 = WTF::AtomicString]’ /<<PKGBUILDDIR>>/Source/WTF/wtf/text/StringConcatenate.h:277:33: required from ‘WTF::String WTF::tryMakeString(StringType1, StringType2) [with StringType1 = WTF::StringAppend<const char*, WTF::AtomicString>; StringType2 = const char*]’ /<<PKGBUILDDIR>>/Source/WTF/wtf/text/StringOperators.h:38:38: required from ‘WTF::StringAppend<StringType1, StringType2>::operator WTF::String() const [with StringType1 = WTF::StringAppend<const char*, WTF::AtomicString>; StringType2 = const char*]’ /<<PKGBUILDDIR>>/Source/WebCore/rendering/RenderTreeAsText.cpp:426:62: required from here /<<PKGBUILDDIR>>/Source/WTF/wtf/StdLibExtras.h:388:64: warning: redundant move in return statement [-Wredundant-move] 388 | #define WTFMove(value) std::move<WTF::CheckMoveParameter>(value) | ^ /<<PKGBUILDDIR>>/Source/WTF/wtf/text/StringConcatenate.h:298:16: note: in expansion of macro ‘WTFMove’ 298 | return WTFMove(resultImpl); | ^~~~~~~ /<<PKGBUILDDIR>>/Source/WTF/wtf/StdLibExtras.h:388:64: note: remove ‘std::move’ call 388 | #define WTFMove(value) std::move<WTF::CheckMoveParameter>(value) | ^ /<<PKGBUILDDIR>>/Source/WTF/wtf/text/StringConcatenate.h:298:16: note: in expansion of macro ‘WTFMove’ 298 | return WTFMove(resultImpl); | ^~~~~~~ /<<PKGBUILDDIR>>/Source/WTF/wtf/StdLibExtras.h:388:64: warning: redundant move in return statement [-Wredundant-move] 388 | #define WTFMove(value) std::move<WTF::CheckMoveParameter>(value) | ^ /<<PKGBUILDDIR>>/Source/WTF/wtf/text/StringConcatenate.h:311:12: note: in expansion of macro ‘WTFMove’ 311 | return WTFMove(resultImpl); | ^~~~~~~ /<<PKGBUILDDIR>>/Source/WTF/wtf/StdLibExtras.h:388:64: note: remove ‘std::move’ call 388 | #define WTFMove(value) std::move<WTF::CheckMoveParameter>(value) | ^ /<<PKGBUILDDIR>>/Source/WTF/wtf/text/StringConcatenate.h:311:12: note: in expansion of macro ‘WTFMove’ 311 | return WTFMove(resultImpl); | ^~~~~~~ /<<PKGBUILDDIR>>/Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h: In instantiation of ‘WTF::RefPtr<WebCore::SVGListProperty<PropertyType> > WebCore::SVGAnimatedListPropertyTearOff<PropertyType>::baseVal() [with PropertyType = WebCore::SVGTransformList]’: /<<PKGBUILDDIR>>/Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h:43:34: required from here /<<PKGBUILDDIR>>/Source/WTF/wtf/StdLibExtras.h:388:64: warning: redundant move in return statement [-Wredundant-move] 388 | #define WTFMove(value) std::move<WTF::CheckMoveParameter>(value) | ^ /<<PKGBUILDDIR>>/Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h:50:16: note: in expansion of macro ‘WTFMove’ 50 | return WTFMove(property); | ^~~~~~~ /<<PKGBUILDDIR>>/Source/WTF/wtf/StdLibExtras.h:388:64: note: remove ‘std::move’ call 388 | #define WTFMove(value) std::move<WTF::CheckMoveParameter>(value) | ^ /<<PKGBUILDDIR>>/Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h:50:16: note: in expansion of macro ‘WTFMove’ 50 | return WTFMove(property); | ^~~~~~~ /<<PKGBUILDDIR>>/Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h: In instantiation of ‘WTF::RefPtr<WebCore::SVGListProperty<PropertyType> > WebCore::SVGAnimatedListPropertyTearOff<PropertyType>::animVal() [with PropertyType = WebCore::SVGTransformList]’: /<<PKGBUILDDIR>>/Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h:53:34: required from here /<<PKGBUILDDIR>>/Source/WTF/wtf/StdLibExtras.h:388:64: warning: redundant move in return statement [-Wredundant-move] 388 | #define WTFMove(value) std::move<WTF::CheckMoveParameter>(value) | ^ /<<PKGBUILDDIR>>/Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h:60:16: note: in expansion of macro ‘WTFMove’ 60 | return WTFMove(property); | ^~~~~~~ /<<PKGBUILDDIR>>/Source/WTF/wtf/StdLibExtras.h:388:64: note: remove ‘std::move’ call 388 | #define WTFMove(value) std::move<WTF::CheckMoveParameter>(value) | ^ /<<PKGBUILDDIR>>/Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h:60:16: note: in expansion of macro ‘WTFMove’ 60 | return WTFMove(property); | ^~~~~~~ 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:50: build] Error 25 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2