[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1015389: dpf-plugins: ftbfs with LTO (link time optimization) enabled



Package: src:dpf-plugins
Version: 1.4-1
Severity: minor
Tags: sid bookworm
User: debian-gcc@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/dpf-plugins_1.4-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
# Kars
make all -C plugins/Kars
make[2]: Entering directory '/<<PKGBUILDDIR>>/plugins/Kars'
Compiling DistrhoPluginKars.cpp
Compiling DistrhoPluginMain.cpp (JACK)
Compiling DistrhoPluginMain.cpp (DSSI)
Compiling DistrhoPluginMain.cpp (LV2)
Compiling DistrhoPluginMain.cpp (VST)
Creating DSSI plugin library for Kars
Creating JACK standalone for Kars
Creating VST plugin for Kars
Creating LV2 plugin library for Kars
make[2]: Leaving directory '/<<PKGBUILDDIR>>/plugins/Kars'
# Mini-Series
make all -C plugins/3BandEQ
make[2]: Entering directory '/<<PKGBUILDDIR>>/plugins/3BandEQ'
Compiling DistrhoPlugin3BandEQ.cpp
Compiling DistrhoArtwork3BandEQ.cpp
Compiling DistrhoUI3BandEQ.cpp
Compiling DistrhoPluginMain.cpp (JACK)
Compiling DistrhoUIMain.cpp (JACK)
Compiling DistrhoPluginMain.cpp (LADSPA)
Compiling DistrhoPluginMain.cpp (VST)
Compiling DistrhoUIMain.cpp (VST)
Compiling DistrhoPluginMain.cpp (DSSI)
Compiling DistrhoUIMain.cpp (DSSI)
Compiling DistrhoPluginMain.cpp (LV2)
Compiling DistrhoUIMain.cpp (LV2)
Creating LADSPA plugin for 3BandEQ
Creating DSSI plugin library for 3BandEQ
Creating DSSI UI for 3BandEQ
Creating JACK standalone for 3BandEQ
Creating LV2 plugin UI for 3BandEQ
Creating VST plugin for 3BandEQ
Creating LV2 plugin library for 3BandEQ
/usr/bin/ld: /usr/bin/ld: /tmp/ccTzHHPu.ltrans0.ltrans.o: in function `DGL::Image::_drawAt(DGL::Point<int> const&)':
./plugins/3BandEQ/../../dpf/dgl/src/Geometry.cpp:906: undefined reference to `DGL::Rectangle<int>::_draw(bool)'
/usr/bin/ld: /tmp/ccTzHHPu.ltrans0.ltrans.o: in function `DGL::ImageKnob::onDisplay()':
./plugins/3BandEQ/../../dpf/dgl/src/Geometry.cpp:906: undefined reference to `DGL::Rectangle<int>::_draw(bool)'
/usr/bin/ld: ./plugins/3BandEQ/../../dpf/dgl/src/Geometry.cpp:906: undefined reference to `DGL::Rectangle<int>::_draw(bool)'
/tmp/cclIavR2.ltrans0.ltrans.o: in function `DGL::Image::_drawAt(DGL::Point<int> const&)':
./plugins/3BandEQ/../../dpf/dgl/src/Geometry.cpp:906: undefined reference to `DGL::Rectangle<int>::_draw(bool)'
/usr/bin/ld: /tmp/cclIavR2.ltrans0.ltrans.o: in function `DGL::ImageKnob::onDisplay()':
./plugins/3BandEQ/../../dpf/dgl/src/Geometry.cpp:906: undefined reference to `DGL::Rectangle<int>::_draw(bool)'
/usr/bin/ld: ./plugins/3BandEQ/../../dpf/dgl/src/Geometry.cpp:906: undefined reference to `DGL::Rectangle<int>::_draw(bool)'
collect2: error: ld returned 1 exit status
make[2]: *** [../../dpf/Makefile.plugins.mk:201: ../../bin/3BandEQ-dssi/3BandEQ_ui] Error 1
make[2]: *** Waiting for unfinished jobs....
collect2: error: ld returned 1 exit status
make[2]: *** [../../dpf/Makefile.plugins.mk:174: ../../bin/3BandEQ] Error 1
/usr/bin/ld: /tmp/ccPCnjbX.ltrans0.ltrans.o: in function `DGL::Image::_drawAt(DGL::Point<int> const&)':
./plugins/3BandEQ/../../dpf/dgl/src/Geometry.cpp:906: undefined reference to `DGL::Rectangle<int>::_draw(bool)'
/usr/bin/ld: /tmp/ccPCnjbX.ltrans0.ltrans.o: in function `DGL::ImageKnob::onDisplay()':
./plugins/3BandEQ/../../dpf/dgl/src/Geometry.cpp:906: undefined reference to `DGL::Rectangle<int>::_draw(bool)'
/usr/bin/ld: ./plugins/3BandEQ/../../dpf/dgl/src/Geometry.cpp:906: undefined reference to `DGL::Rectangle<int>::_draw(bool)'
collect2: error: ld returned 1 exit status
make[2]: *** [../../dpf/Makefile.plugins.mk:223: ../../bin/3BandEQ.lv2/3BandEQ_ui.so] Error 1
/usr/bin/ld: /tmp/cc1zxJra.ltrans0.ltrans.o: in function `DGL::Image::_drawAt(DGL::Point<int> const&)':
./plugins/3BandEQ/../../dpf/dgl/src/Geometry.cpp:906: undefined reference to `DGL::Rectangle<int>::_draw(bool)'
/usr/bin/ld: /tmp/cc1zxJra.ltrans0.ltrans.o: in function `DGL::ImageKnob::onDisplay()':
./plugins/3BandEQ/../../dpf/dgl/src/Geometry.cpp:906: undefined reference to `DGL::Rectangle<int>::_draw(bool)'
/usr/bin/ld: ./plugins/3BandEQ/../../dpf/dgl/src/Geometry.cpp:906: undefined reference to `DGL::Rectangle<int>::_draw(bool)'
collect2: error: ld returned 1 exit status
make[2]: *** [../../dpf/Makefile.plugins.mk:237: ../../bin/3BandEQ-vst.so] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/plugins/3BandEQ'
make[1]: *** [Makefile:37: plugins] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: