[Bug 1984124] Re: deepin-album: ftbfs with LTO (link time optimization) enabled
Ubuntu Foundations Team Bug Bot
1984124 at bugs.launchpad.net
Tue Aug 9 20:24:37 UTC 2022
The attachment "deepin-album-lp1984124.debdiff" seems to be a debdiff.
The ubuntu-sponsors team has been subscribed to the bug report so that
they can review and hopefully sponsor the debdiff. If the attachment
isn't a patch, please remove the "patch" flag from the attachment,
remove the "patch" tag, and if you are member of the ~ubuntu-sponsors,
unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1984124
Title:
deepin-album: ftbfs with LTO (link time optimization) enabled
Status in deepin-album package in Ubuntu:
New
Status in deepin-album package in Debian:
New
Bug description:
Imported from Debian bug http://bugs.debian.org/1015381:
Package: src:deepin-album
Version: 5.9.1+dfsg-1
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/deepin-album_5.9.1+dfsg-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.
[...]
| ^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/album/widgets/dialogs/videoinfodialog.cpp:215:44: warning: ‘DApplicationHelper’ is deprecated: Use DPaletteHelper [-Wdeprecated-declarations]
215 | DPalette pa2 = DApplicationHelper::instance()->palette(title);
| ^~~~~~~~
In file included from /usr/include/libdtk-5.5.21/DWidget/DApplicationHelper:1,
from /<<PKGBUILDDIR>>/src/album/thumbnail/thumbnaillistview.h:52,
from /<<PKGBUILDDIR>>/src/album/controller/signalmanager.h:27,
from /<<PKGBUILDDIR>>/src/album/widgets/dialogs/videoinfodialog.cpp:22:
/usr/include/libdtk-5.5.21/DWidget/dapplicationhelper.h:31:49: note: declared here
31 | class D_DECL_DEPRECATED_X("Use DPaletteHelper") DApplicationHelper : public DGuiApplicationHelper
| ^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/album/widgets/dialogs/videoinfodialog.cpp: In member function ‘void VideoInfoDialog::updateBasicInfo()’:
/<<PKGBUILDDIR>>/src/album/widgets/dialogs/videoinfodialog.cpp:273:44: warning: ‘DApplicationHelper’ is deprecated: Use DPaletteHelper [-Wdeprecated-declarations]
273 | DPalette pa1 = DApplicationHelper::instance()->palette(field);
| ^~~~~~~~
In file included from /usr/include/libdtk-5.5.21/DWidget/DApplicationHelper:1,
from /<<PKGBUILDDIR>>/src/album/thumbnail/thumbnaillistview.h:52,
from /<<PKGBUILDDIR>>/src/album/controller/signalmanager.h:27,
from /<<PKGBUILDDIR>>/src/album/widgets/dialogs/videoinfodialog.cpp:22:
/usr/include/libdtk-5.5.21/DWidget/dapplicationhelper.h:31:49: note: declared here
31 | class D_DECL_DEPRECATED_X("Use DPaletteHelper") DApplicationHelper : public DGuiApplicationHelper
| ^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/album/widgets/dialogs/videoinfodialog.cpp:282:44: warning: ‘DApplicationHelper’ is deprecated: Use DPaletteHelper [-Wdeprecated-declarations]
282 | DPalette pa2 = DApplicationHelper::instance()->palette(title);
| ^~~~~~~~
In file included from /usr/include/libdtk-5.5.21/DWidget/DApplicationHelper:1,
from /<<PKGBUILDDIR>>/src/album/thumbnail/thumbnaillistview.h:52,
from /<<PKGBUILDDIR>>/src/album/controller/signalmanager.h:27,
from /<<PKGBUILDDIR>>/src/album/widgets/dialogs/videoinfodialog.cpp:22:
/usr/include/libdtk-5.5.21/DWidget/dapplicationhelper.h:31:49: note: declared here
31 | class D_DECL_DEPRECATED_X("Use DPaletteHelper") DApplicationHelper : public DGuiApplicationHelper
| ^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/album/widgets/dialogs/videoinfodialog.cpp: In member function ‘QString VideoInfoDialog::SpliteText(const QString&, const QFont&, int)’:
/<<PKGBUILDDIR>>/src/album/widgets/dialogs/videoinfodialog.cpp:369:36: warning: ‘int QFontMetrics::width(QChar) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
369 | nOffset += fm.width(text.at(i));
| ~~~~~~~~^~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:50,
from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:44,
from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
from /usr/include/libdtk-5.5.21/DWidget/dabstractdialog.h:21,
from /usr/include/libdtk-5.5.21/DWidget/DAbstractDialog:1,
from /usr/include/libdtk-5.5.21/DWidget/ddialog.h:23,
from /usr/include/libdtk-5.5.21/DWidget/DDialog:1,
from /<<PKGBUILDDIR>>/src/album/widgets/dialogs/videoinfodialog.h:24,
from /<<PKGBUILDDIR>>/src/album/widgets/dialogs/videoinfodialog.cpp:21:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:110:9: note: declared here
110 | int width(QChar) const;
| ^~~~~
/<<PKGBUILDDIR>>/src/album/widgets/dialogs/videoinfodialog.cpp: In member function ‘void VideoInfoDialog::initUI()’:
/<<PKGBUILDDIR>>/src/album/widgets/dialogs/videoinfodialog.cpp:421:39: warning: ‘DApplicationHelper’ is deprecated: Use DPaletteHelper [-Wdeprecated-declarations]
421 | DPalette pa = DApplicationHelper::instance()->palette(title);
| ^~~~~~~~
In file included from /usr/include/libdtk-5.5.21/DWidget/DApplicationHelper:1,
from /<<PKGBUILDDIR>>/src/album/thumbnail/thumbnaillistview.h:52,
from /<<PKGBUILDDIR>>/src/album/controller/signalmanager.h:27,
from /<<PKGBUILDDIR>>/src/album/widgets/dialogs/videoinfodialog.cpp:22:
/usr/include/libdtk-5.5.21/DWidget/dapplicationhelper.h:31:49: note: declared here
31 | class D_DECL_DEPRECATED_X("Use DPaletteHelper") DApplicationHelper : public DGuiApplicationHelper
| ^~~~~~~~~~~~~~~~~~
[ 75%] Linking CXX executable deepin-album
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/deepin-album.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -Wl,-O1 -Wl,--as-needed -Wl,-E -fPIE -ffunction-sections -fdata-sections -Wl,--gc-sections -O3 -DNDEBUG -pie "CMakeFiles/deepin-album.dir/deepin-album_autogen/mocs_compilation.cpp.o" "CMakeFiles/deepin-album.dir/album/application.cpp.o" "CMakeFiles/deepin-album.dir/album/fileinotify.cpp.o" "CMakeFiles/deepin-album.dir/album/main.cpp.o" "CMakeFiles/deepin-album.dir/album/mainwindow.cpp.o" "CMakeFiles/deepin-album.dir/album/albumview/albumimagebutton.cpp.o" "CMakeFiles/deepin-album.dir/album/albumview/albumview.cpp.o" "CMakeFiles/deepin-album.dir/album/albumview/leftlistview.cpp.o" "CMakeFiles/deepin-album.dir/album/albumview/leftlistwidget.cpp.o" "CMakeFiles/deepin-album.dir/album/albumview/waitdevicedialog.cpp.o" "CMakeFiles/deepin-album.dir/album/allpicview/allpicview.cpp.o" "CMakeFiles/deepin-album.dir/album/controller/commandline.cpp.o" "CMakeFiles/deepin-album.dir/album/controller/configsetter.cpp.o" "CMakeFiles/deepin-album.dir/album/controller/exporter.cpp.o" "CMakeFiles/deepin-album.dir/album/controller/globaleventfilter.cpp.o" "CMakeFiles/deepin-album.dir/album/controller/signalmanager.cpp.o" "CMakeFiles/deepin-album.dir/album/controller/viewerthememanager.cpp.o" "CMakeFiles/deepin-album.dir/album/controller/wallpapersetter.cpp.o" "CMakeFiles/deepin-album.dir/album/dbmanager/DBandImgOperate.cpp.o" "CMakeFiles/deepin-album.dir/album/dbmanager/dbmanager.cpp.o" "CMakeFiles/deepin-album.dir/album/dialogs/albumcreatedialog.cpp.o" "CMakeFiles/deepin-album.dir/album/dialogs/albumdeletedialog.cpp.o" "CMakeFiles/deepin-album.dir/album/frame/bottomtoolbar.cpp.o" "CMakeFiles/deepin-album.dir/album/frame/extensionpanel.cpp.o" "CMakeFiles/deepin-album.dir/album/frame/mainwidget.cpp.o" "CMakeFiles/deepin-album.dir/album/frame/toptoolbar.cpp.o" "CMakeFiles/deepin-album.dir/album/imageengine/imagedataservice.cpp.o" "CMakeFiles/deepin-album.dir/album/imageengine/imageengineapi.cpp.o" "CMakeFiles/deepin-album.dir/album/imageengine/imageengineobject.cpp.o" "CMakeFiles/deepin-album.dir/album/imageengine/imageenginethread.cpp.o" "CMakeFiles/deepin-album.dir/album/imageengine/movieservice.cpp.o" "CMakeFiles/deepin-album.dir/album/importtimelineview/importtimelineview.cpp.o" "CMakeFiles/deepin-album.dir/album/importview/importview.cpp.o" "CMakeFiles/deepin-album.dir/album/module/slideshow/imageanimation.cpp.o" "CMakeFiles/deepin-album.dir/album/module/slideshow/slideshowpanel.cpp.o" "CMakeFiles/deepin-album.dir/album/module/view/lockwidget.cpp.o" "CMakeFiles/deepin-album.dir/album/module/view/navigationwidget.cpp.o" "CMakeFiles/deepin-album.dir/album/module/view/thumbnailwidget.cpp.o" "CMakeFiles/deepin-album.dir/album/module/view/viewpanel.cpp.o" "CMakeFiles/deepin-album.dir/album/module/view/viewpanel_floating.cpp.o" "CMakeFiles/deepin-album.dir/album/module/view/viewpanel_menu.cpp.o" "CMakeFiles/deepin-album.dir/album/module/view/scen/graphicsitem.cpp.o" "CMakeFiles/deepin-album.dir/album/module/view/scen/imageview.cpp.o" "CMakeFiles/deepin-album.dir/album/module/view/contents/ttbcontent.cpp.o" "CMakeFiles/deepin-album.dir/album/searchview/searchview.cpp.o" "CMakeFiles/deepin-album.dir/album/thumbnail/imgviewdelegate.cpp.o" "CMakeFiles/deepin-album.dir/album/thumbnail/imgviewlistview.cpp.o" "CMakeFiles/deepin-album.dir/album/thumbnail/thumbnaildelegate.cpp.o" "CMakeFiles/deepin-album.dir/album/thumbnail/thumbnaillistview.cpp.o" "CMakeFiles/deepin-album.dir/album/thumbnail/timelinedatewidget.cpp.o" "CMakeFiles/deepin-album.dir/album/timelineview/timelineview.cpp.o" "CMakeFiles/deepin-album.dir/album/utils/baseutils.cpp.o" "CMakeFiles/deepin-album.dir/album/utils/imageutils.cpp.o" "CMakeFiles/deepin-album.dir/album/widgets/albumlefttabitem.cpp.o" "CMakeFiles/deepin-album.dir/album/widgets/batchoperatewidget.cpp.o" "CMakeFiles/deepin-album.dir/album/widgets/cexportimagedialog.cpp.o" "CMakeFiles/deepin-album.dir/album/widgets/ddlabel.cpp.o" "CMakeFiles/deepin-album.dir/album/widgets/elidedlabel.cpp.o" "CMakeFiles/deepin-album.dir/album/widgets/expansionmenu.cpp.o" "CMakeFiles/deepin-album.dir/album/widgets/expansionpanel.cpp.o" "CMakeFiles/deepin-album.dir/album/widgets/formlabel.cpp.o" "CMakeFiles/deepin-album.dir/album/widgets/imagebutton.cpp.o" "CMakeFiles/deepin-album.dir/album/widgets/imgviewwidget.cpp.o" "CMakeFiles/deepin-album.dir/album/widgets/mountexternalbtn.cpp.o" "CMakeFiles/deepin-album.dir/album/widgets/noresultwidget.cpp.o" "CMakeFiles/deepin-album.dir/album/widgets/printhelper.cpp.o" "CMakeFiles/deepin-album.dir/album/widgets/statusbar.cpp.o" "CMakeFiles/deepin-album.dir/album/widgets/themewidget.cpp.o" "CMakeFiles/deepin-album.dir/album/widgets/toolbutton.cpp.o" "CMakeFiles/deepin-album.dir/album/widgets/dialogs/dfmdarrowlineexpand.cpp.o" "CMakeFiles/deepin-album.dir/album/widgets/dialogs/imgdeletedialog.cpp.o" "CMakeFiles/deepin-album.dir/album/widgets/dialogs/imginfodialog.cpp.o" "CMakeFiles/deepin-album.dir/album/widgets/dialogs/videoinfodialog.cpp.o" "CMakeFiles/deepin-album.dir/__/libUnionImage/UnionImage/unionimage.cpp.o" "CMakeFiles/deepin-album.dir/deepin-album_autogen/A5UIAYAEZ5/qrc_resources.cpp.o" "CMakeFiles/deepin-album.dir/deepin-album_autogen/2SEMU33LXP/qrc_icons.cpp.o" -o deepin-album -L/<<PKGBUILDDIR>>/src/lib -Wl,-rpath,/<<PKGBUILDDIR>>/src/lib: -ldtkwidget -ldtkgui -ldtkcore -lgio-qt -lglibmm-2.4 -lgobject-2.0 -lglib-2.0 -lsigc-2.0 -lQt5Core -ludisks2-qt5 -lfreeimage /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.15.2 /usr/lib/x86_64-linux-gnu/libQt5Sql.so.5.15.2 /usr/lib/x86_64-linux-gnu/libQt5PrintSupport.so.5.15.2 /usr/lib/x86_64-linux-gnu/libQt5Svg.so.5.15.2 /usr/lib/x86_64-linux-gnu/libQt5Concurrent.so.5.15.2 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.2 /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.15.2 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[100%] Built target deepin-album
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/deepin-album/+bug/1984124/+subscriptions
More information about the Ubuntu-sponsors
mailing list