Package: src:cava-alsa
Version: 0.7.4-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
aclocal: warning: couldn't open directory 'm4': No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
configure.ac:7: warning: The macro `AC_PROG_CC_STDC' is obsolete.
configure.ac:7: You should run autoupdate.
./lib/autoconf/c.m4:1666: AC_PROG_CC_STDC is expanded from...
configure.ac:7: the top level
configure.ac:9: warning: The macro `AM_PROG_LIBTOOL' is obsolete.
configure.ac:9: You should run autoupdate.
m4/libtool.m4:101: AM_PROG_LIBTOOL is expanded from...
configure.ac:9: the top level
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
cat: version: No such file or directory
configure.ac:4: installing './ar-lib'
configure.ac:4: installing './compile'
configure.ac:5: installing './config.guess'
configure.ac:5: installing './config.sub'
configure.ac:2: installing './install-sh'
configure.ac:2: installing './missing'
Makefile.am: installing './depcomp'
   dh_auto_configure
        ./configure --build=x86_64-linux-gnu --prefix=/usr 
--includedir=\${prefix}/include --mandir=\${prefix}/share/man 
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-option-checking --disable-silent-rules 
--libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run 
--disable-maintainer-mode --disable-dependency-tracking
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu 
format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... 
func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) none
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for alloca.h... yes
checking for snd_pcm_open in -lasound... yes
checking for pa_simple_new in -lpulse-simple... yes
checking for Pa_Initialize in -lportaudio... no
configure: WARNING: No portaudio dev files found building without portaudio 
support
checking for sio_open in -lsndio... no
configure: WARNING: No sndio dev files found building without sndio support
checking for sqrt in -lm... yes
checking for fftw_execute in -lfftw3... yes
checking for ncursesw6-config... /usr/bin/ncursesw6-config
checking for initscr in -lncursesw... yes
checking for initscr in -lncursesw... (cached) yes
checking for curses.h... yes
checking for library containing iniparser_load... -liniparser
checking for iniparser.h... yes
configure: Using installed iniparser
iniparser > 3.2 test OK
configure: Checking OS
configure: Linux detected
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
   dh_auto_build
        make -j2
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Entering directory '/<<PKGBUILDDIR>>'
gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"cava\ \" -DPACKAGE_BUGREPORT=\"k...@stavestrand.no\" 
-DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -DHAVE_CURSES_H=1 -DHAVE_INIPARSER_H=1 -I.  
-DPACKAGE=\"cava\" -DVERSION=\"\" -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE_EXTENDED -DFONTDIR=\"/usr/share/consolefonts\"  -Wdate-time -D_FORTIFY_SOURCE=2 
-I/usr/include/iniparser -DNDEBUG -DHAVE_ALLOCA_H -DALSA -DPULSE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DNCURSES -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option 
-Wno-maybe-uninitialized -Wno-vla-parameter  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -o cava-cava.o `test -f 'cava.c' || echo './'`cava.c
gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"cava\ \" -DPACKAGE_BUGREPORT=\"k...@stavestrand.no\" 
-DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -DHAVE_CURSES_H=1 -DHAVE_INIPARSER_H=1 -I.  
-DPACKAGE=\"cava\" -DVERSION=\"\" -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE_EXTENDED -DFONTDIR=\"/usr/share/consolefonts\"  -Wdate-time -D_FORTIFY_SOURCE=2 
-I/usr/include/iniparser -DNDEBUG -DHAVE_ALLOCA_H -DALSA -DPULSE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DNCURSES -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option 
-Wno-maybe-uninitialized -Wno-vla-parameter  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -o cava-config.o `test -f 'config.c' || echo './'`config.c
config.c: In function ‘load_colors’:
config.c:326:5: error: implicit declaration of function ‘free’ 
[-Werror=implicit-function-declaration]
  326 |     free(p->color);
      |     ^~~~
config.c:15:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
   14 | #include <sys/stat.h>
  +++ |+#include <stdlib.h>
   15 |
config.c:326:5: error: incompatible implicit declaration of built-in function 
‘free’ [-Werror=builtin-declaration-mismatch]
  326 |     free(p->color);
      |     ^~~~
config.c:326:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
config.c:346:39: error: implicit declaration of function ‘malloc’ 
[-Werror=implicit-function-declaration]
  346 |         p->gradient_colors = (char **)malloc(sizeof(char *) * 
p->gradient_count * 9);
      |                                       ^~~~~~
config.c:346:39: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
config.c:346:39: error: incompatible implicit declaration of built-in function 
‘malloc’ [-Werror=builtin-declaration-mismatch]
config.c:346:39: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
config.c: In function ‘load_config’:
config.c:374:28: error: implicit declaration of function ‘getenv’ 
[-Werror=implicit-function-declaration]
  374 |         char *configHome = getenv("XDG_CONFIG_HOME");
      |                            ^~~~~~
config.c:374:28: note: ‘getenv’ is defined in header ‘<stdlib.h>’; did you forget to 
‘#include <stdlib.h>’?
config.c:374:28: error: initialization of ‘char *’ from ‘int’ makes pointer 
from integer without a cast [-Werror=int-conversion]
config.c:378:24: error: assignment to ‘char *’ from ‘int’ makes pointer from 
integer without a cast [-Werror=int-conversion]
  378 |             configHome = getenv("HOME");
      |                        ^
config.c:462:5: error: incompatible implicit declaration of built-in function 
‘free’ [-Werror=builtin-declaration-mismatch]
  462 |     free(channels);
      |     ^~~~
config.c:462:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
config.c:480:31: error: implicit declaration of function ‘calloc’ 
[-Werror=implicit-function-declaration]
  480 |         p->userEQ = (double *)calloc(p->userEQ_keys + 1, 
sizeof(double));
      |                               ^~~~~~
config.c:480:31: note: include ‘<stdlib.h>’ or provide a declaration of ‘calloc’
config.c:480:31: error: incompatible implicit declaration of built-in function 
‘calloc’ [-Werror=builtin-declaration-mismatch]
config.c:480:31: note: include ‘<stdlib.h>’ or provide a declaration of ‘calloc’
At top level:
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may 
have been intended to silence earlier diagnostics
cc1: all warnings being treated as errors
make[2]: *** [Makefile:637: cava-config.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:823: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202405/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to