[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/chuck_1.2.0.8.dfsg-1.5_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.
[...]
rtaudio.cpp:9041:18: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
9041 | register char *ptr;
| ^~~
rtaudio.cpp: In member function ‘virtual void RtApiAlsa::probeDeviceInfo(RtApi::RtApiDevice*)’:
rtaudio.cpp:3520:10: warning: ‘char* strncpy(char*, const char*, size_t)’ specified bound 64 equals destination size [-Wstringop-truncation]
3520 | strncpy( name, info->name.c_str(), 64 );
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -D__LINUX_ALSA__ -c -Wall -g -fno-strict-aliasing -O2 -D__CK_SNDFILE_NATIVE__ rtmidi.cpp
g++ -D__LINUX_ALSA__ -c -Wall -g -fno-strict-aliasing -O2 -D__CK_SNDFILE_NATIVE__ ugen_osc.cpp
ugen_osc.cpp: In function ‘long unsigned int genX_tick(Chuck_Object*, float, float*, Chuck_VM_Shred*)’:
ugen_osc.cpp:1094:14: warning: unused variable ‘inc_phase’ [-Wunused-variable]
1094 | t_CKBOOL inc_phase = TRUE;
| ^~~~~~~~~
ugen_osc.cpp: In function ‘void gen5_coeffs(Chuck_Object*, void*, Chuck_DL_Return*, Chuck_VM_Shred*)’:
ugen_osc.cpp:1189:15: error: ordered comparison of pointer with integer zero (‘Chuck_Array8*’ and ‘int’)
1189 | if(in_args<0) return;
| ~~~~~~~^~
ugen_osc.cpp:1194:28: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
1194 | for(t_CKUINT ii = 0; ii<size; ii++) {
| ~~^~~~~
ugen_osc.cpp: In function ‘void gen7_coeffs(Chuck_Object*, void*, Chuck_DL_Return*, Chuck_VM_Shred*)’:
ugen_osc.cpp:1244:15: error: ordered comparison of pointer with integer zero (‘Chuck_Array8*’ and ‘int’)
1244 | if(in_args<0) return;
| ~~~~~~~^~
ugen_osc.cpp:1249:28: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
1249 | for(t_CKUINT ii = 0; ii<size; ii++) {
| ~~^~~~~
ugen_osc.cpp: In function ‘void gen9_coeffs(Chuck_Object*, void*, Chuck_DL_Return*, Chuck_VM_Shred*)’:
ugen_osc.cpp:1297:15: error: ordered comparison of pointer with integer zero (‘Chuck_Array8*’ and ‘int’)
1297 | if(weights<0) return;
| ~~~~~~~^~
ugen_osc.cpp:1303:28: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
1303 | for(t_CKUINT ii = 0; ii<size; ii++) {
| ~~^~~~~
ugen_osc.cpp: In function ‘void gen10_coeffs(Chuck_Object*, void*, Chuck_DL_Return*, Chuck_VM_Shred*)’:
ugen_osc.cpp:1347:15: error: ordered comparison of pointer with integer zero (‘Chuck_Array8*’ and ‘int’)
1347 | if(weights<0) return;
| ~~~~~~~^~
ugen_osc.cpp:1352:28: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
1352 | for(t_CKUINT ii = 0; ii<size; ii++) {
| ~~^~~~~
ugen_osc.cpp: In function ‘void gen17_coeffs(Chuck_Object*, void*, Chuck_DL_Return*, Chuck_VM_Shred*)’:
ugen_osc.cpp:1398:15: error: ordered comparison of pointer with integer zero (‘Chuck_Array8*’ and ‘int’)
1398 | if(weights<0) return;
| ~~~~~~~^~
ugen_osc.cpp:1405:28: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
1405 | for(t_CKUINT ii = 0; ii<size; ii++) {
| ~~^~~~~
ugen_osc.cpp: In function ‘void curve_coeffs(Chuck_Object*, void*, Chuck_DL_Return*, Chuck_VM_Shred*)’:
ugen_osc.cpp:1459:15: error: ordered comparison of pointer with integer zero (‘Chuck_Array8*’ and ‘int’)
1459 | if(weights<0) goto done;
| ~~~~~~~^~
ugen_osc.cpp:1471:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
1471 | for(ii = 0; ii<nargs; ii++) {
| ~~^~~~~~
ugen_osc.cpp:1450:30: warning: unused variable ‘xmax’ [-Wunused-variable]
1450 | t_CKDOUBLE factor, *ptr, xmax=0.0;
| ^~~~
ugen_osc.cpp: In function ‘long unsigned int genX_pmsg(Chuck_Object*, const char*, void*, Chuck_VM_Shred*)’:
ugen_osc.cpp:1624:17: warning: unused variable ‘d’ [-Wunused-variable]
1624 | genX_Data * d = (genX_Data *)OBJ_MEMBER_UINT(SELF, genX_offset_data );
| ^
make[2]: *** [makefile.alsa:145: ugen_osc.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: [makefile:31: linux-alsa] Error 2 (ignored)
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
cp -a src/chuck chuck.alsa
cp: cannot stat 'src/chuck': No such file or directory
make: *** [debian/rules:32: build-stamp] Error 1
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2