Bug#925754: libopenshot: ftbfs with GCC-9
Package: src:libopenshot
Version: 0.2.2+dfsg1-1
Severity: normal
Tags: sid bullseye
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-9
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-9/g++-9, but succeeds to build with gcc-8/g++-8. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc9-20190321/libopenshot_0.2.2+dfsg1-1_unstable_gcc9.log
The last lines of the build log are at the end of this report.
To build with GCC 9, either set CC=gcc-9 CXX=g++-9 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-9/porting_to.html
GCC 9 also passes the linker option --as-needed by default; typical
build issues are passing libraries before object files to the linker,
or underlinking of convenience libraries built from the same source.
[...]
from /<<BUILDDIR>>/libopenshot-0.2.2+dfsg1/src/../include/AudioResampler.h:41,
from /<<BUILDDIR>>/libopenshot-0.2.2+dfsg1/src/AudioResampler.cpp:28:
/usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/colour/juce_PixelFormats.h:361:17: note: defined here
361 | class JUCE_API PixelRGB
| ^~~~~~~~
make[3]: *** [src/CMakeFiles/openshot.dir/build.make:94: src/CMakeFiles/openshot.dir/AudioBufferSource.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [src/CMakeFiles/openshot.dir/build.make:120: src/CMakeFiles/openshot.dir/AudioResampler.cpp.o] Error 1
In file included from /usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/juce_graphics.h:104,
from /usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/juce_gui_basics.h:28,
from /usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/juce_audio_processors.h:28,
from /usr/include/libopenshot-audio/JuceLibraryCode/JuceHeader.h:20,
from /<<BUILDDIR>>/libopenshot-0.2.2+dfsg1/src/../include/AudioReaderSource.h:40,
from /<<BUILDDIR>>/libopenshot-0.2.2+dfsg1/src/AudioReaderSource.cpp:28:
/usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/native/juce_RenderingHelpers.h: In instantiation of 'void juce::RenderingHelpers::EdgeTableFillers::SolidColour<PixelType, replaceExisting>::replaceLine(juce::PixelRGB*, juce::PixelARGB, int) const [with PixelType = juce::PixelRGB; bool replaceExisting = true]':
/usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/native/juce_RenderingHelpers.h:636:17: required from 'void juce::RenderingHelpers::EdgeTableFillers::SolidColour<PixelType, replaceExisting>::handleEdgeTableLineFull(int, int) const [with PixelType = juce::PixelRGB; bool replaceExisting = true]'
/usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/native/juce_RenderingHelpers.h:1889:29: required from 'void juce::RenderingHelpers::ClipRegions<SavedStateType>::RectangleListRegion::SubRectangleIterator::iterate(Renderer&) const [with Renderer = juce::RenderingHelpers::EdgeTableFillers::SolidColour<juce::PixelRGB, true>; SavedStateType = juce::RenderingHelpers::SoftwareRendererSavedState]'
/usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/native/juce_RenderingHelpers.h:1513:13: required from 'void juce::RenderingHelpers::EdgeTableFillers::renderSolidFill(Iterator&, const juce::Image::BitmapData&, juce::PixelARGB, bool, DestPixelType*) [with Iterator = juce::RenderingHelpers::ClipRegions<juce::RenderingHelpers::SoftwareRendererSavedState>::RectangleListRegion::SubRectangleIterator; DestPixelType = juce::PixelRGB]'
/usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/native/juce_RenderingHelpers.h:2549:67: required from 'void juce::RenderingHelpers::SoftwareRendererSavedState::fillWithSolidColour(IteratorType&, juce::PixelARGB, bool) const [with IteratorType = juce::RenderingHelpers::ClipRegions<juce::RenderingHelpers::SoftwareRendererSavedState>::RectangleListRegion::SubRectangleIterator]'
/usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/native/juce_RenderingHelpers.h:1814:13: required from 'void juce::RenderingHelpers::ClipRegions<SavedStateType>::RectangleListRegion::fillRectWithColour(SavedStateType&, const juce::Rectangle<int>&, juce::PixelARGB, bool) const [with SavedStateType = juce::RenderingHelpers::SoftwareRendererSavedState]'
/usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/native/juce_RenderingHelpers.h:1811:14: required from here
/usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/native/juce_RenderingHelpers.h:681:34: warning: converting a packed 'juce::PixelRGB' pointer (alignment 1) to a 'int' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member]
681 | int* d = reinterpret_cast<int*> (dest);
| ^
In file included from /usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/juce_graphics.h:82,
from /usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/juce_gui_basics.h:28,
from /usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/juce_audio_processors.h:28,
from /usr/include/libopenshot-audio/JuceLibraryCode/JuceHeader.h:20,
from /<<BUILDDIR>>/libopenshot-0.2.2+dfsg1/src/../include/AudioReaderSource.h:40,
from /<<BUILDDIR>>/libopenshot-0.2.2+dfsg1/src/AudioReaderSource.cpp:28:
/usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/colour/juce_PixelFormats.h:361:17: note: defined here
361 | class JUCE_API PixelRGB
| ^~~~~~~~
In file included from /usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/juce_graphics.h:104,
from /usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/juce_gui_basics.h:28,
from /usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/juce_audio_processors.h:28,
from /usr/include/libopenshot-audio/JuceLibraryCode/JuceHeader.h:20,
from /<<BUILDDIR>>/libopenshot-0.2.2+dfsg1/src/../include/AudioReaderSource.h:40,
from /<<BUILDDIR>>/libopenshot-0.2.2+dfsg1/src/AudioReaderSource.cpp:28:
/usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/native/juce_RenderingHelpers.h: In instantiation of 'void juce::RenderingHelpers::EdgeTableFillers::SolidColour<PixelType, replaceExisting>::replaceLine(juce::PixelRGB*, juce::PixelARGB, int) const [with PixelType = juce::PixelRGB; bool replaceExisting = false]':
/usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/native/juce_RenderingHelpers.h:636:17: required from 'void juce::RenderingHelpers::EdgeTableFillers::SolidColour<PixelType, replaceExisting>::handleEdgeTableLineFull(int, int) const [with PixelType = juce::PixelRGB; bool replaceExisting = false]'
/usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/native/juce_RenderingHelpers.h:1889:29: required from 'void juce::RenderingHelpers::ClipRegions<SavedStateType>::RectangleListRegion::SubRectangleIterator::iterate(Renderer&) const [with Renderer = juce::RenderingHelpers::EdgeTableFillers::SolidColour<juce::PixelRGB, false>; SavedStateType = juce::RenderingHelpers::SoftwareRendererSavedState]'
/usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/native/juce_RenderingHelpers.h:1518:13: required from 'void juce::RenderingHelpers::EdgeTableFillers::renderSolidFill(Iterator&, const juce::Image::BitmapData&, juce::PixelARGB, bool, DestPixelType*) [with Iterator = juce::RenderingHelpers::ClipRegions<juce::RenderingHelpers::SoftwareRendererSavedState>::RectangleListRegion::SubRectangleIterator; DestPixelType = juce::PixelRGB]'
/usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/native/juce_RenderingHelpers.h:2549:67: required from 'void juce::RenderingHelpers::SoftwareRendererSavedState::fillWithSolidColour(IteratorType&, juce::PixelARGB, bool) const [with IteratorType = juce::RenderingHelpers::ClipRegions<juce::RenderingHelpers::SoftwareRendererSavedState>::RectangleListRegion::SubRectangleIterator]'
/usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/native/juce_RenderingHelpers.h:1814:13: required from 'void juce::RenderingHelpers::ClipRegions<SavedStateType>::RectangleListRegion::fillRectWithColour(SavedStateType&, const juce::Rectangle<int>&, juce::PixelARGB, bool) const [with SavedStateType = juce::RenderingHelpers::SoftwareRendererSavedState]'
/usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/native/juce_RenderingHelpers.h:1811:14: required from here
/usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/native/juce_RenderingHelpers.h:681:34: warning: converting a packed 'juce::PixelRGB' pointer (alignment 1) to a 'int' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member]
681 | int* d = reinterpret_cast<int*> (dest);
| ^
In file included from /usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/juce_graphics.h:82,
from /usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/juce_gui_basics.h:28,
from /usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/juce_audio_processors.h:28,
from /usr/include/libopenshot-audio/JuceLibraryCode/JuceHeader.h:20,
from /<<BUILDDIR>>/libopenshot-0.2.2+dfsg1/src/../include/AudioReaderSource.h:40,
from /<<BUILDDIR>>/libopenshot-0.2.2+dfsg1/src/AudioReaderSource.cpp:28:
/usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/colour/juce_PixelFormats.h:361:17: note: defined here
361 | class JUCE_API PixelRGB
| ^~~~~~~~
make[3]: *** [src/CMakeFiles/openshot.dir/build.make:107: src/CMakeFiles/openshot.dir/AudioReaderSource.cpp.o] Error 1
make[3]: Leaving directory '/<<BUILDDIR>>/libopenshot-0.2.2+dfsg1/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:137: src/CMakeFiles/openshot.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<BUILDDIR>>/libopenshot-0.2.2+dfsg1/obj-x86_64-linux-gnu'
[ 11%] Built target openshot_swig_compilation
make[2]: Leaving directory '/<<BUILDDIR>>/libopenshot-0.2.2+dfsg1/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:155: all] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/libopenshot-0.2.2+dfsg1/obj-x86_64-linux-gnu'
dh_auto_build: cd obj-x86_64-linux-gnu && make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:14: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
Reply to: