Bug#1071318: jack-capture: FTBFS: jack_capture.c:912:5: error: conflicting types for ‘asprintf’; have ‘int(char **, char *, ...)’
Package: src:jack-capture
Version: 0.9.73-4
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules build
dh build
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
dh_auto_build
make -j2
make[1]: Entering directory '/<<PKGBUILDDIR>>'
bash gen_setformat_c.sh >setformat.c
Checking dependencies:
which bash
/usr/bin/bash
which tr
/usr/bin/tr
which sed
/usr/bin/sed
which install
/usr/bin/install
which pkg-config
/usr/bin/pkg-config
which gcc
/usr/bin/gcc
which g++
/usr/bin/g++
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/opt/local/include -E testsndfile.c >/dev/null
All seems good
bash gen_das_config_h.sh >das_config.h
jack_capture was configured with the following options:
------------------------------
#define HAVE_OGG 1
#define HAVE_LAME 1
//COMPILEFLAGS -lmp3lame
#define HAVE_LIBLO 1
//COMPILEFLAGS -llo
#define NEW_JACK_LATENCY_API 1
------------------------------
cat das_config.h |grep COMPILEFLAGS|sed s/\\/\\/COMPILEFLAGS//|tr '\n' ' ' >config_flags
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/opt/local/include -O3 -DVERSION=\"0.9.73\" -Wall -Wextra -Wno-unused jack_capture.c vringbuffer.c upwaker.c osc.c -o jack_capture -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -latomic -ljack -lsndfile -lm -lpthread -lrt `cat config_flags`
jack_capture.c:912:5: error: conflicting types for ‘asprintf’; have ‘int(char **, char *, ...)’
912 | int asprintf(char **buffer, char *fmt, ...) {
| ^~~~~~~~
In file included from jack_capture.c:24:
/usr/include/stdio.h:401:12: note: previous declaration of ‘asprintf’ with type ‘int(char ** restrict, const char * restrict, ...)’
401 | extern int asprintf (char **__restrict __ptr,
| ^~~~~~~~
make[1]: *** [Makefile:63: jack_capture] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:11: build] Error 25
dpkg-buildpackage: error: debian/rules build 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 to:
- Prev by Date:
Bug#1071294: amsynth: FTBFS: src/amsynth_dssi_gtk.cpp:238:86: error: invalid conversion from ‘int (*)(const char*, const char*, lo_arg**, int, void*, void*)’ to ‘lo_method_handler’ {aka ‘int (*)(const char*, const char*, lo_arg**, int, lo_message_*, void*)’} [-fpermissive]
- Next by Date:
Bug#1071364: sooperlooper: FTBFS: control_osc.cpp:148:37: error: invalid conversion from ‘int (*)(const char*, const char*, lo_arg**, int, void*, void*)’ to ‘lo_method_handler’
- Previous by thread:
Bug#1071294: marked as done (amsynth: FTBFS: src/amsynth_dssi_gtk.cpp:238:86: error: invalid conversion from ‘int (*)(const char*, const char*, lo_arg**, int, void*, void*)’ to ‘lo_method_handler’ {aka ‘int (*)(const char*, const char*, lo_arg**, int, lo_message_*, void*)’} [-fpermissive])
- Next by thread:
Bug#1071364: sooperlooper: FTBFS: control_osc.cpp:148:37: error: invalid conversion from ‘int (*)(const char*, const char*, lo_arg**, int, void*, void*)’ to ‘lo_method_handler’
- Index(es):