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

Bug#984040: drumgizmo: ftbfs with GCC-11



Package: src:drumgizmo
Version: 0.9.19-1
Severity: normal
Tags: sid bookworm
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-11

[This bug is not targeted to the upcoming bullseye 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-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/drumgizmo_0.9.19-1_unstable_gcc11.log
The last lines of the build log are at the end of this report.

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

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../hugin -I../pugixml/src -DSSE -msse -msse2 -I../zita-resampler/libs -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c sample.cc -o libdg_la-sample.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..   -I../hugin -I../pugixml/src -DSSE -msse -msse2 -I../zita-resampler/libs -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c -o libdg_la-staminafilter.lo `test -f 'staminafilter.cc' || echo './'`staminafilter.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../hugin -I../pugixml/src -DSSE -msse -msse2 -I../zita-resampler/libs -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c staminafilter.cc  -fPIC -DPIC -o .libs/libdg_la-staminafilter.o
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..   -I../hugin -I../pugixml/src -DSSE -msse -msse2 -I../zita-resampler/libs -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c -o libdg_la-thread.lo `test -f 'thread.cc' || echo './'`thread.cc
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..   -I../hugin -I../pugixml/src -DSSE -msse -msse2 -I../zita-resampler/libs -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c -o libdg_la-velocityfilter.lo `test -f 'velocityfilter.cc' || echo './'`velocityfilter.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../hugin -I../pugixml/src -DSSE -msse -msse2 -I../zita-resampler/libs -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c thread.cc  -fPIC -DPIC -o .libs/libdg_la-thread.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../hugin -I../pugixml/src -DSSE -msse -msse2 -I../zita-resampler/libs -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c velocityfilter.cc  -fPIC -DPIC -o .libs/libdg_la-velocityfilter.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../hugin -I../pugixml/src -DSSE -msse -msse2 -I../zita-resampler/libs -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c thread.cc -o libdg_la-thread.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..   -I../hugin -I../pugixml/src -DSSE -msse -msse2 -I../zita-resampler/libs -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c -o libdg_la-versionstr.lo `test -f 'versionstr.cc' || echo './'`versionstr.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../hugin -I../pugixml/src -DSSE -msse -msse2 -I../zita-resampler/libs -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c sample_selection.cc -o libdg_la-sample_selection.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../hugin -I../pugixml/src -DSSE -msse -msse2 -I../zita-resampler/libs -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c versionstr.cc  -fPIC -DPIC -o .libs/libdg_la-versionstr.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../hugin -I../pugixml/src -DSSE -msse -msse2 -I../zita-resampler/libs -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c versionstr.cc -o libdg_la-versionstr.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../hugin -I../pugixml/src -DSSE -msse -msse2 -I../zita-resampler/libs -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c staminafilter.cc -o libdg_la-staminafilter.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -ffast-math -D_USE_MATH_DEFINES  -I../zita-resampler/libs -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c -o libzr_la-zrwrapper.lo `test -f 'zrwrapper.cc' || echo './'`zrwrapper.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -ffast-math -D_USE_MATH_DEFINES -I../zita-resampler/libs -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c zrwrapper.cc  -fPIC -DPIC -o .libs/libzr_la-zrwrapper.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../hugin -I../pugixml/src -DSSE -msse -msse2 -I../zita-resampler/libs -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c velocityfilter.cc -o libdg_la-velocityfilter.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -ffast-math -D_USE_MATH_DEFINES -I../zita-resampler/libs -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c zrwrapper.cc -o libzr_la-zrwrapper.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -ffast-math -D_USE_MATH_DEFINES  -I../zita-resampler/libs -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c -o libzr_la-resampler.lo `test -f '../zita-resampler/libs/resampler.cc' || echo './'`../zita-resampler/libs/resampler.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -ffast-math -D_USE_MATH_DEFINES -I../zita-resampler/libs -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c ../zita-resampler/libs/resampler.cc  -fPIC -DPIC -o .libs/libzr_la-resampler.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -ffast-math -D_USE_MATH_DEFINES -I../zita-resampler/libs -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c ../zita-resampler/libs/resampler.cc -o libzr_la-resampler.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -ffast-math -D_USE_MATH_DEFINES  -I../zita-resampler/libs -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c -o libzr_la-resampler-table.lo `test -f '../zita-resampler/libs/resampler-table.cc' || echo './'`../zita-resampler/libs/resampler-table.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -ffast-math -D_USE_MATH_DEFINES -I../zita-resampler/libs -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c ../zita-resampler/libs/resampler-table.cc  -fPIC -DPIC -o .libs/libzr_la-resampler-table.o
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c -o libpugi_la-pugixml.lo `test -f '../pugixml/src/pugixml.cpp' || echo './'`../pugixml/src/pugixml.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c ../pugixml/src/pugixml.cpp  -fPIC -DPIC -o .libs/libpugi_la-pugixml.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -ffast-math -D_USE_MATH_DEFINES -I../zita-resampler/libs -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c ../zita-resampler/libs/resampler-table.cc -o libzr_la-resampler-table.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c -o libnls_la-translation.lo `test -f 'translation.cc' || echo './'`translation.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c translation.cc  -fPIC -DPIC -o .libs/libnls_la-translation.o
/bin/bash ../libtool  --tag=CXX   --mode=link g++  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN  -Wl,-z,relro -Wl,-z,now -o libzr.la  libzr_la-zrwrapper.lo libzr_la-resampler.lo libzr_la-resampler-table.lo -lpthread  -latomic -lrt 
libtool: link: ar cr .libs/libzr.a .libs/libzr_la-zrwrapper.o .libs/libzr_la-resampler.o .libs/libzr_la-resampler-table.o 
libtool: link: ranlib .libs/libzr.a
libtool: link: ( cd ".libs" && rm -f "libzr.la" && ln -s "../libzr.la" "libzr.la" )
In file included from translation.cc:27:
translation.h:35:6: error: ‘uint64_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’?
   35 | std::uint64_t constexpr const_hash(const char* input)
      |      ^~~~~~~~
      |      wint_t
translation.h:52:28: error: expected ‘;’ at end of member declaration
   52 |         static const char* gettext(std::uint64_t msgid, const char* original);
      |                            ^~~~~~~
      |                                   ;
translation.h:52:49: error: expected ‘)’ before ‘msgid’
   52 |         static const char* gettext(std::uint64_t msgid, const char* original);
      |                                   ~             ^~~~~~
      |                                                 )
translation.cc: In member function ‘bool Translation::load(const char*, std::size_t)’:
translation.cc:216:43: error: ‘const_hash’ was not declared in this scope
  216 |                 texts.push_back(make_pair(const_hash(orig.data()), transl));
      |                                           ^~~~~~~~~~
translation.cc: At global scope:
translation.cc:229:13: error: no declaration matches ‘const char* Translation::gettext(uint64_t, const char*)’
  229 | const char* Translation::gettext(std::uint64_t msgid, const char* original)
      |             ^~~~~~~~~~~
In file included from translation.cc:27:
translation.h:52:28: note: candidate is: ‘const char* Translation::gettext’
   52 |         static const char* gettext(std::uint64_t msgid, const char* original);
      |                            ^~~~~~~
translation.h:44:7: note: ‘class Translation’ defined here
   44 | class Translation
      |       ^~~~~~~~~~~
make[3]: *** [Makefile:950: libnls_la-translation.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ffast-math -std=c++11 -DDISABLE_HUGIN -c ../pugixml/src/pugixml.cpp -o libpugi_la-pugixml.o >/dev/null 2>&1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:473: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:405: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:21: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: