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

Bug#925755: libopenshot-audio: ftbfs with GCC-9



Package: src:libopenshot-audio
Version: 0.1.7+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-audio_0.1.7+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-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/juce_audio_processors.h:28,
                 from /<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/juce_audio_processors.cpp:39:
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/colour/juce_PixelFormats.h: In member function 'juce::uint8& juce::PixelARGB::getAlpha()':
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/colour/juce_PixelFormats.h:113:77: error: cannot bind packed field '((juce::PixelARGB*)this)->juce::PixelARGB::<anonymous>.juce::PixelARGB::<unnamed union>::comps[3]' to 'juce::uint8&' {aka 'unsigned char&'}
  113 |     forcedinline uint8& getAlpha() noexcept           { return comps [indexA]; }
      |                                                                ~~~~~~~~~~~~~^
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/colour/juce_PixelFormats.h: In member function 'juce::uint8& juce::PixelARGB::getRed()':
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/colour/juce_PixelFormats.h:114:77: error: cannot bind packed field '((juce::PixelARGB*)this)->juce::PixelARGB::<anonymous>.juce::PixelARGB::<unnamed union>::comps[2]' to 'juce::uint8&' {aka 'unsigned char&'}
  114 |     forcedinline uint8& getRed() noexcept             { return comps [indexR]; }
      |                                                                ~~~~~~~~~~~~~^
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/colour/juce_PixelFormats.h: In member function 'juce::uint8& juce::PixelARGB::getGreen()':
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/colour/juce_PixelFormats.h:115:77: error: cannot bind packed field '((juce::PixelARGB*)this)->juce::PixelARGB::<anonymous>.juce::PixelARGB::<unnamed union>::comps[1]' to 'juce::uint8&' {aka 'unsigned char&'}
  115 |     forcedinline uint8& getGreen() noexcept           { return comps [indexG]; }
      |                                                                ~~~~~~~~~~~~~^
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/colour/juce_PixelFormats.h: In member function 'juce::uint8& juce::PixelARGB::getBlue()':
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/colour/juce_PixelFormats.h:116:77: error: cannot bind packed field '((juce::PixelARGB*)this)->juce::PixelARGB::<anonymous>.juce::PixelARGB::<unnamed union>::comps[0]' to 'juce::uint8&' {aka 'unsigned char&'}
  116 |     forcedinline uint8& getBlue() noexcept            { return comps [indexB]; }
      |                                                                ~~~~~~~~~~~~~^
In file included from /<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/juce_graphics.h:104,
                 from /<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/juce_gui_basics.h:28,
                 from /<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/juce_audio_processors.h:28,
                 from /<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/juce_audio_processors.cpp:39:
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/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]':
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/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]'
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/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]'
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/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]'
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/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]'
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/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]'
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/native/juce_RenderingHelpers.h:1811:14:   required from here
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/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 /<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/juce_graphics.h:82,
                 from /<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/juce_gui_basics.h:28,
                 from /<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/juce_audio_processors.h:28,
                 from /<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/juce_audio_processors.cpp:39:
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/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 /<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/juce_graphics.h:104,
                 from /<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/juce_gui_basics.h:28,
                 from /<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/juce_audio_processors.h:28,
                 from /<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/juce_audio_processors.cpp:39:
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/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]':
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/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]'
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/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]'
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/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]'
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/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]'
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/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]'
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/native/juce_RenderingHelpers.h:1811:14:   required from here
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/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 /<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/../juce_graphics/juce_graphics.h:82,
                 from /<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/../juce_gui_basics/juce_gui_basics.h:28,
                 from /<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/juce_audio_processors.h:28,
                 from /<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/JuceLibraryCode/modules/juce_audio_processors/juce_audio_processors.cpp:39:
/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/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]: *** [CMakeFiles/openshot-audio.dir/build.make:105: CMakeFiles/openshot-audio.dir/JuceLibraryCode/modules/juce_audio_processors/juce_audio_processors.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:76: CMakeFiles/openshot-audio.dir/all] Error 2
make[2]: Leaving directory '/<<BUILDDIR>>/libopenshot-audio-0.1.7+dfsg1/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:133: all] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/libopenshot-audio-0.1.7+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:12: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2


Reply to: