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

Bug#1037685: guitarix: ftbfs with GCC-13



Package: src:guitarix
Version: 0.44.1+dfsg1-2
Severity: normal
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-13

[This bug is targeted to the upcoming trixie release]

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-13/g++-13, but succeeds to build with gcc-12/g++-12. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2023/05/22/logs/guitarix_0.44.1+dfsg1-2_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 13, either set CC=gcc-13 CXX=g++-13 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-13/porting_to.html

[...]
../src/LV2/DSP/gx_common.h:36:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   35 | #include <immintrin.h>
  +++ |+#include <cstdint>
   36 | #ifndef _IMMINTRIN_H_INCLUDED
../src/LV2/DSP/gx_common.h:69:5: error: ‘uint32_t’ does not name a type
   69 |     uint32_t  mxcsr;
      |     ^~~~~~~~
../src/LV2/DSP/gx_common.h:69:5: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
../src/LV2/DSP/gx_common.h:70:5: error: ‘uint32_t’ does not name a type
   70 |     uint32_t  old_mxcsr;
      |     ^~~~~~~~
../src/LV2/DSP/gx_common.h:70:5: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
../src/LV2/DSP/gx_common.h: In member function ‘void DenormalProtection::set_()’:
../src/LV2/DSP/gx_common.h:76:9: error: ‘old_mxcsr’ was not declared in this scope
   76 |         old_mxcsr = _mm_getcsr();
      |         ^~~~~~~~~
../src/LV2/DSP/gx_common.h:77:9: error: ‘mxcsr’ was not declared in this scope
   77 |         mxcsr = old_mxcsr;
      |         ^~~~~
../src/LV2/DSP/gx_common.h:78:78: error: ‘mxcsr_mask’ was not declared in this scope
   78 |         _mm_setcsr((mxcsr | _MM_DENORMALS_ZERO_MASK | _MM_FLUSH_ZERO_MASK) & mxcsr_mask);
      |                                                                              ^~~~~~~~~~
../src/LV2/DSP/gx_common.h: In member function ‘void DenormalProtection::reset_()’:
../src/LV2/DSP/gx_common.h:83:20: error: ‘old_mxcsr’ was not declared in this scope
   83 |         _mm_setcsr(old_mxcsr);
      |                    ^~~~~~~~~
../src/LV2/DSP/gx_common.h: In constructor ‘DenormalProtection::DenormalProtection()’:
../src/LV2/DSP/gx_common.h:89:9: error: ‘mxcsr_mask’ was not declared in this scope
   89 |         mxcsr_mask = 0xffbf; // Default MXCSR mask
      |         ^~~~~~~~~~
../src/LV2/DSP/gx_common.h:90:9: error: ‘mxcsr’ was not declared in this scope
   90 |         mxcsr      = 0;
      |         ^~~~~
../src/LV2/DSP/gx_common.h:91:9: error: ‘uint8_t’ was not declared in this scope
   91 |         uint8_t fxsave[512] __attribute__ ((aligned (16))); // Structure for storing FPU state with FXSAVE command
      |         ^~~~~~~
../src/LV2/DSP/gx_common.h:91:9: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
../src/LV2/DSP/gx_common.h:93:16: error: ‘fxsave’ was not declared in this scope; did you mean ‘_xsave’?
   93 |         memset(fxsave, 0, sizeof(fxsave));
      |                ^~~~~~
      |                _xsave
../src/LV2/DSP/gx_common.h:95:9: error: ‘uint32_t’ was not declared in this scope
   95 |         uint32_t mask = *(reinterpret_cast<uint32_t *>(&fxsave[0x1c])); // Obtain the MXCSR mask from FXSAVE structure
      |         ^~~~~~~~
../src/LV2/DSP/gx_common.h:95:9: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
../src/LV2/DSP/gx_common.h:96:13: error: ‘mask’ was not declared in this scope
   96 |         if (mask != 0)
      |             ^~~~

Waf: Leaving directory `/<<PKGBUILDDIR>>/build'
Build failed
 -> task in 'gx_amp' failed with exit status 1: 
	{task 140143352578912: cxx gx_tonestack.cc -> gx_tonestack.cc.1.o}
['/usr/bin/g++', '-g', '-O2', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-Wformat', '-Werror=format-security', '-g', '-O2', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-Wformat', '-Werror=format-security', '-Wdate-time', '-D_FORTIFY_SOURCE=2', '-O3', '-DNDEBUG', '-D_FILE_OFFSET_BITS=64', '-std=c++11', '-fvisibility=hidden', '-fno-lto', '-Wl,-z,noexecstack', '-Wl,-z,relro,-z,now', '-Wl,--exclude-libs,ALL', '-fvisibility=hidden', '-Wl,-z,relro,-z,now', '-Wl,--exclude-libs,ALL', '-fPIC', '-Isrc/LV2/faust', '-I../src/LV2/faust', '-Isrc/LV2/gx_amp.lv2', '-I../src/LV2/gx_amp.lv2', '-Isrc/LV2/DSP', '-I../src/LV2/DSP', '-Isrc/LV2/DSP/tube_tables', '-I../src/LV2/DSP/tube_tables', '-DIS_LINUX="linux"', '-DLOCALEDIR="/usr/share/locale"', '-DGETTEXT_PACKAGE="guitarix"', '-DENABLE_NLS=1', '-DHAVE_SNDFILE=1', '-DHAVE_FFTW3_H=1', '-DHAVE_FFTW3=1', '-DHAVE_JACK=1', '-DHAVE_GMODULE_EXPORT=1', '-DHAVE_CURL=1', '-DHAVE_GTHREAD=1', '-DHAVE_GLIBMM=1', '-
 DHAVE_GTK2=1', '-DHAVE_GTKMM=1', '-DHAVE_GIOMM=1', '-DHAVE_LADSPA_H=1', '-DHAVE_LRDF=1', '-DHAVE_LILV=1', '-DZITA_CONVOLVER=1', '-DZITA_CONVOLVER_VERSION=4', '-DZITA_RESAMPLER=1', '-DGX_STYLE_DIR="/usr/share/gx_head/skins"', '-DGX_FACTORY_DIR="/usr/share/gx_head/factorysettings"', '-DGX_SOUND_DIR="/usr/share/gx_head/sounds"', '-DGX_SOUND_BPB_DIR="/usr/share/gx_head/sounds/bands"', '-DGX_SOUND_BPA_DIR="/usr/share/gx_head/sounds/amps"', '-DGX_BUILDER_DIR="/usr/share/gx_head/builder"', '-DGX_ICON_DIR="/usr/share/guitarix/icons"', '-DGX_PIXMAPS_DIR="/usr/share/pixmaps"', '-DGX_METAINFO_DIR="/usr/share/metainfo"', '-DGX_VERSION="0.44.1"', '-DOS_64_BIT=1', '-DHAVE_SIGC=1', '-DHAVE_LV2CORE=1', '-DGX_LV2_STYLE_DIR="/usr/share/gx_head/skins/LV2"', '-DHAVE_AVAHI_GOBJECT=1', '-DHAVE_AVAHI_GLIB=1', '-DHAVE_AVAHI_CLIENT=1', '-DHAVE_AVAHI=1', '-DHAVE_BLUEZ=1', '-DHAVE_EIGEN3=1', '-DHAVE_CAIRO=1', '-DHAVE_X11_XLIB_H=1', '-DLV2_SO', '../src/LV2/gx_amp.lv2/gx_tonestack.cc', '-c', '-o/<<PKGBUILDDIR>>
 /build/src/LV2/gx_amp.lv2/gx_tonestack.cc.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
 -> task in 'gx_amp_stereo' failed with exit status 1: 
	{task 140143352587760: cxx gx_tonestack_stereo.cc -> gx_tonestack_stereo.cc.1.o}
['/usr/bin/g++', '-g', '-O2', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-Wformat', '-Werror=format-security', '-g', '-O2', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-Wformat', '-Werror=format-security', '-Wdate-time', '-D_FORTIFY_SOURCE=2', '-O3', '-DNDEBUG', '-D_FILE_OFFSET_BITS=64', '-std=c++11', '-fvisibility=hidden', '-fno-lto', '-Wl,-z,noexecstack', '-Wl,-z,relro,-z,now', '-Wl,--exclude-libs,ALL', '-fvisibility=hidden', '-Wl,-z,relro,-z,now', '-Wl,--exclude-libs,ALL', '-fPIC', '-Isrc/LV2/faust', '-I../src/LV2/faust', '-Isrc/LV2/gx_amp_stereo.lv2', '-I../src/LV2/gx_amp_stereo.lv2', '-Isrc/LV2/DSP', '-I../src/LV2/DSP', '-Isrc/LV2/DSP/tube_tables', '-I../src/LV2/DSP/tube_tables', '-DIS_LINUX="linux"', '-DLOCALEDIR="/usr/share/locale"', '-DGETTEXT_PACKAGE="guitarix"', '-DENABLE_NLS=1', '-DHAVE_SNDFILE=1', '-DHAVE_FFTW3_H=1', '-DHAVE_FFTW3=1', '-DHAVE_JACK=1', '-DHAVE_GMODULE_EXPORT=1', '-DHAVE_CURL=1', '-DHAVE_GTHREAD=1', '-DHAVE
 _GLIBMM=1', '-DHAVE_GTK2=1', '-DHAVE_GTKMM=1', '-DHAVE_GIOMM=1', '-DHAVE_LADSPA_H=1', '-DHAVE_LRDF=1', '-DHAVE_LILV=1', '-DZITA_CONVOLVER=1', '-DZITA_CONVOLVER_VERSION=4', '-DZITA_RESAMPLER=1', '-DGX_STYLE_DIR="/usr/share/gx_head/skins"', '-DGX_FACTORY_DIR="/usr/share/gx_head/factorysettings"', '-DGX_SOUND_DIR="/usr/share/gx_head/sounds"', '-DGX_SOUND_BPB_DIR="/usr/share/gx_head/sounds/bands"', '-DGX_SOUND_BPA_DIR="/usr/share/gx_head/sounds/amps"', '-DGX_BUILDER_DIR="/usr/share/gx_head/builder"', '-DGX_ICON_DIR="/usr/share/guitarix/icons"', '-DGX_PIXMAPS_DIR="/usr/share/pixmaps"', '-DGX_METAINFO_DIR="/usr/share/metainfo"', '-DGX_VERSION="0.44.1"', '-DOS_64_BIT=1', '-DHAVE_SIGC=1', '-DHAVE_LV2CORE=1', '-DGX_LV2_STYLE_DIR="/usr/share/gx_head/skins/LV2"', '-DHAVE_AVAHI_GOBJECT=1', '-DHAVE_AVAHI_GLIB=1', '-DHAVE_AVAHI_CLIENT=1', '-DHAVE_AVAHI=1', '-DHAVE_BLUEZ=1', '-DHAVE_EIGEN3=1', '-DHAVE_CAIRO=1', '-DHAVE_X11_XLIB_H=1', '-DLV2_SO', '../src/LV2/gx_amp_stereo.lv2/gx_tonestack_stereo.cc
 ', '-c', '-o/<<PKGBUILDDIR>>/build/src/LV2/gx_amp_stereo.lv2/gx_tonestack_stereo.cc.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
 -> task in 'gxautowah' failed with exit status 1: 
	{task 140143352588656: cxx gxautowah.cpp -> gxautowah.cpp.1.o}
['/usr/bin/g++', '-g', '-O2', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-Wformat', '-Werror=format-security', '-g', '-O2', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-Wformat', '-Werror=format-security', '-Wdate-time', '-D_FORTIFY_SOURCE=2', '-O3', '-DNDEBUG', '-D_FILE_OFFSET_BITS=64', '-std=c++11', '-fvisibility=hidden', '-Wl,-z,noexecstack', '-Wl,-z,relro,-z,now', '-Wl,--exclude-libs,ALL', '-fvisibility=hidden', '-Wl,-z,relro,-z,now', '-Wl,--exclude-libs,ALL', '-fPIC', '-Isrc/LV2/gxautowah.lv2', '-I../src/LV2/gxautowah.lv2', '-Isrc/LV2/DSP', '-I../src/LV2/DSP', '-DIS_LINUX="linux"', '-DLOCALEDIR="/usr/share/locale"', '-DGETTEXT_PACKAGE="guitarix"', '-DENABLE_NLS=1', '-DHAVE_SNDFILE=1', '-DHAVE_FFTW3_H=1', '-DHAVE_FFTW3=1', '-DHAVE_JACK=1', '-DHAVE_GMODULE_EXPORT=1', '-DHAVE_CURL=1', '-DHAVE_GTHREAD=1', '-DHAVE_GLIBMM=1', '-DHAVE_GTK2=1', '-DHAVE_GTKMM=1', '-DHAVE_GIOMM=1', '-DHAVE_LADSPA_H=1', '-DHAVE_LRDF=1', '-DHAVE_LILV=1', '-
 DZITA_CONVOLVER=1', '-DZITA_CONVOLVER_VERSION=4', '-DZITA_RESAMPLER=1', '-DGX_STYLE_DIR="/usr/share/gx_head/skins"', '-DGX_FACTORY_DIR="/usr/share/gx_head/factorysettings"', '-DGX_SOUND_DIR="/usr/share/gx_head/sounds"', '-DGX_SOUND_BPB_DIR="/usr/share/gx_head/sounds/bands"', '-DGX_SOUND_BPA_DIR="/usr/share/gx_head/sounds/amps"', '-DGX_BUILDER_DIR="/usr/share/gx_head/builder"', '-DGX_ICON_DIR="/usr/share/guitarix/icons"', '-DGX_PIXMAPS_DIR="/usr/share/pixmaps"', '-DGX_METAINFO_DIR="/usr/share/metainfo"', '-DGX_VERSION="0.44.1"', '-DOS_64_BIT=1', '-DHAVE_SIGC=1', '-DHAVE_LV2CORE=1', '-DGX_LV2_STYLE_DIR="/usr/share/gx_head/skins/LV2"', '-DHAVE_AVAHI_GOBJECT=1', '-DHAVE_AVAHI_GLIB=1', '-DHAVE_AVAHI_CLIENT=1', '-DHAVE_AVAHI=1', '-DHAVE_BLUEZ=1', '-DHAVE_EIGEN3=1', '-DHAVE_CAIRO=1', '-DHAVE_X11_XLIB_H=1', '-DLV2_SO', '../src/LV2/gxautowah.lv2/gxautowah.cpp', '-c', '-o/<<PKGBUILDDIR>>/build/src/LV2/gxautowah.lv2/gxautowah.cpp.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
 -> task in 'gx_amp' failed with exit status 1: 
	{task 140143352586752: cxx gx_amp.cc -> gx_amp.cc.1.o}
['/usr/bin/g++', '-g', '-O2', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-Wformat', '-Werror=format-security', '-g', '-O2', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-Wformat', '-Werror=format-security', '-Wdate-time', '-D_FORTIFY_SOURCE=2', '-O3', '-DNDEBUG', '-D_FILE_OFFSET_BITS=64', '-std=c++11', '-fvisibility=hidden', '-fno-lto', '-Wl,-z,noexecstack', '-Wl,-z,relro,-z,now', '-Wl,--exclude-libs,ALL', '-fvisibility=hidden', '-Wl,-z,relro,-z,now', '-Wl,--exclude-libs,ALL', '-fPIC', '-Isrc/LV2/faust', '-I../src/LV2/faust', '-Isrc/LV2/gx_amp.lv2', '-I../src/LV2/gx_amp.lv2', '-Isrc/LV2/DSP', '-I../src/LV2/DSP', '-Isrc/LV2/DSP/tube_tables', '-I../src/LV2/DSP/tube_tables', '-DIS_LINUX="linux"', '-DLOCALEDIR="/usr/share/locale"', '-DGETTEXT_PACKAGE="guitarix"', '-DENABLE_NLS=1', '-DHAVE_SNDFILE=1', '-DHAVE_FFTW3_H=1', '-DHAVE_FFTW3=1', '-DHAVE_JACK=1', '-DHAVE_GMODULE_EXPORT=1', '-DHAVE_CURL=1', '-DHAVE_GTHREAD=1', '-DHAVE_GLIBMM=1', '-
 DHAVE_GTK2=1', '-DHAVE_GTKMM=1', '-DHAVE_GIOMM=1', '-DHAVE_LADSPA_H=1', '-DHAVE_LRDF=1', '-DHAVE_LILV=1', '-DZITA_CONVOLVER=1', '-DZITA_CONVOLVER_VERSION=4', '-DZITA_RESAMPLER=1', '-DGX_STYLE_DIR="/usr/share/gx_head/skins"', '-DGX_FACTORY_DIR="/usr/share/gx_head/factorysettings"', '-DGX_SOUND_DIR="/usr/share/gx_head/sounds"', '-DGX_SOUND_BPB_DIR="/usr/share/gx_head/sounds/bands"', '-DGX_SOUND_BPA_DIR="/usr/share/gx_head/sounds/amps"', '-DGX_BUILDER_DIR="/usr/share/gx_head/builder"', '-DGX_ICON_DIR="/usr/share/guitarix/icons"', '-DGX_PIXMAPS_DIR="/usr/share/pixmaps"', '-DGX_METAINFO_DIR="/usr/share/metainfo"', '-DGX_VERSION="0.44.1"', '-DOS_64_BIT=1', '-DHAVE_SIGC=1', '-DHAVE_LV2CORE=1', '-DGX_LV2_STYLE_DIR="/usr/share/gx_head/skins/LV2"', '-DHAVE_AVAHI_GOBJECT=1', '-DHAVE_AVAHI_GLIB=1', '-DHAVE_AVAHI_CLIENT=1', '-DHAVE_AVAHI=1', '-DHAVE_BLUEZ=1', '-DHAVE_EIGEN3=1', '-DHAVE_CAIRO=1', '-DHAVE_X11_XLIB_H=1', '-DLV2_SO', '../src/LV2/gx_amp.lv2/gx_amp.cc', '-c', '-o/<<PKGBUILDDIR>>/build
 /src/LV2/gx_amp.lv2/gx_amp.cc.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
 -> task in 'gx_amp_stereo' failed with exit status 1: 
	{task 140143352587872: cxx gx_amp_stereo.cc -> gx_amp_stereo.cc.1.o}
['/usr/bin/g++', '-g', '-O2', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-Wformat', '-Werror=format-security', '-g', '-O2', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-Wformat', '-Werror=format-security', '-Wdate-time', '-D_FORTIFY_SOURCE=2', '-O3', '-DNDEBUG', '-D_FILE_OFFSET_BITS=64', '-std=c++11', '-fvisibility=hidden', '-fno-lto', '-Wl,-z,noexecstack', '-Wl,-z,relro,-z,now', '-Wl,--exclude-libs,ALL', '-fvisibility=hidden', '-Wl,-z,relro,-z,now', '-Wl,--exclude-libs,ALL', '-fPIC', '-Isrc/LV2/faust', '-I../src/LV2/faust', '-Isrc/LV2/gx_amp_stereo.lv2', '-I../src/LV2/gx_amp_stereo.lv2', '-Isrc/LV2/DSP', '-I../src/LV2/DSP', '-Isrc/LV2/DSP/tube_tables', '-I../src/LV2/DSP/tube_tables', '-DIS_LINUX="linux"', '-DLOCALEDIR="/usr/share/locale"', '-DGETTEXT_PACKAGE="guitarix"', '-DENABLE_NLS=1', '-DHAVE_SNDFILE=1', '-DHAVE_FFTW3_H=1', '-DHAVE_FFTW3=1', '-DHAVE_JACK=1', '-DHAVE_GMODULE_EXPORT=1', '-DHAVE_CURL=1', '-DHAVE_GTHREAD=1', '-DHAVE
 _GLIBMM=1', '-DHAVE_GTK2=1', '-DHAVE_GTKMM=1', '-DHAVE_GIOMM=1', '-DHAVE_LADSPA_H=1', '-DHAVE_LRDF=1', '-DHAVE_LILV=1', '-DZITA_CONVOLVER=1', '-DZITA_CONVOLVER_VERSION=4', '-DZITA_RESAMPLER=1', '-DGX_STYLE_DIR="/usr/share/gx_head/skins"', '-DGX_FACTORY_DIR="/usr/share/gx_head/factorysettings"', '-DGX_SOUND_DIR="/usr/share/gx_head/sounds"', '-DGX_SOUND_BPB_DIR="/usr/share/gx_head/sounds/bands"', '-DGX_SOUND_BPA_DIR="/usr/share/gx_head/sounds/amps"', '-DGX_BUILDER_DIR="/usr/share/gx_head/builder"', '-DGX_ICON_DIR="/usr/share/guitarix/icons"', '-DGX_PIXMAPS_DIR="/usr/share/pixmaps"', '-DGX_METAINFO_DIR="/usr/share/metainfo"', '-DGX_VERSION="0.44.1"', '-DOS_64_BIT=1', '-DHAVE_SIGC=1', '-DHAVE_LV2CORE=1', '-DGX_LV2_STYLE_DIR="/usr/share/gx_head/skins/LV2"', '-DHAVE_AVAHI_GOBJECT=1', '-DHAVE_AVAHI_GLIB=1', '-DHAVE_AVAHI_CLIENT=1', '-DHAVE_AVAHI=1', '-DHAVE_BLUEZ=1', '-DHAVE_EIGEN3=1', '-DHAVE_CAIRO=1', '-DHAVE_X11_XLIB_H=1', '-DLV2_SO', '../src/LV2/gx_amp_stereo.lv2/gx_amp_stereo.cc', '-c
 ', '-o/<<PKGBUILDDIR>>/build/src/LV2/gx_amp_stereo.lv2/gx_amp_stereo.cc.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
make[1]: *** [debian/rules:25: override_dh_auto_build-arch] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:12: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: