Bug#1129784: daisy-player: FTBFS: playfile.c:61:21: error: initialization of 'const char * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion]
Santiago Vila
sanvila at debian.org
Thu Mar 5 23:12:55 GMT 2026
Package: src:daisy-player
Version: 13.0-5
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202603/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot 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 add an affects on src:daisy-player, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
debian/rules override_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf debian/icons/hicolor
dh_clean
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: running: autopoint --force
autoreconf: running: aclocal --force -I m4
[... snipped ...]
config.status: creating config.h
config.status: executing depfiles commands
Configure pulseaudio/pactl...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for main in -lc... yes
checking for main in -lg... yes
checking for main in -lpulse... yes
checking for main in -lsndfile... yes
checking for main in -lcos... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... no
checking for _Bool... yes
checking for uid_t in sys/types.h... yes
checking for inline... inline
checking for int32_t... yes
checking for int64_t... yes
checking for mode_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking type of array argument to getgroups... gid_t
checking for getgroups... yes
checking for working getgroups... yes
checking whether lstat correctly handles trailing slash... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for working strtod... no
checking for pow... no
checking for pow in -lm... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for atexit... yes
checking for getcwd... yes
checking for memset... yes
checking for mkdir... yes
checking for nl_langinfo... yes
checking for realpath... yes
checking for regcomp... yes
checking for rmdir... yes
checking for setenv... yes
checking for setlocale... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for uname... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating m4/Makefile
config.status: creating src/Makefile
config.status: executing depfiles commands
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
make -j2
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make all-recursive
make[3]: Entering directory '/<<PKGBUILDDIR>>'
Making all in man
make[4]: Entering directory '/<<PKGBUILDDIR>>/man'
./daisy-player.1: troff or preprocessor input, ASCII text, with very long lines (680)
make[4]: Leaving directory '/<<PKGBUILDDIR>>/man'
Making all in doc
make[4]: Entering directory '/<<PKGBUILDDIR>>/doc'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/doc'
Making all in po
make[4]: Entering directory '/<<PKGBUILDDIR>>/po'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/po'
Making all in src
make[4]: Entering directory '/<<PKGBUILDDIR>>/src'
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I . -I /usr/include/cdio/ -I /usr/include/cdio/paranoia/ -I /usr/include/libxml2/ -D LOCALEDIR=\"/usr/share/locale\" -Wall -Wextra -Wunused -Wunused-variable -Wunused-function -Wmissing-declarations -g -I /usr/include/libxml2/ -O3 -Wuninitialized -Winit-self -DPROGRAMNAME_LOCALEDIR=\"\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -I/usr/include/libxml2 -c -o alsa_ctl.o alsa_ctl.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I . -I /usr/include/cdio/ -I /usr/include/cdio/paranoia/ -I /usr/include/libxml2/ -D LOCALEDIR=\"/usr/share/locale\" -Wall -Wextra -Wunused -Wunused-variable -Wunused-function -Wmissing-declarations -g -I /usr/include/libxml2/ -O3 -Wuninitialized -Winit-self -DPROGRAMNAME_LOCALEDIR=\"\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -I/usr/include/libxml2 -c -o audiocd.o audiocd.c
audiocd.c: In function âget_cddb_infoâ:
audiocd.c:70:4: warning: âfcloseâ called on pointer returned from a mismatched allocation function [-Wmismatched-dealloc]
70 | fclose (r);
| ^~~~~~~~~~
audiocd.c:31:8: note: returned from âpopenâ
31 | r = popen (cd, "r");
| ^~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I . -I /usr/include/cdio/ -I /usr/include/cdio/paranoia/ -I /usr/include/libxml2/ -D LOCALEDIR=\"/usr/share/locale\" -Wall -Wextra -Wunused -Wunused-variable -Wunused-function -Wmissing-declarations -g -I /usr/include/libxml2/ -O3 -Wuninitialized -Winit-self -DPROGRAMNAME_LOCALEDIR=\"\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -I/usr/include/libxml2 -c -o paranoia.o paranoia.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I . -I /usr/include/cdio/ -I /usr/include/cdio/paranoia/ -I /usr/include/libxml2/ -D LOCALEDIR=\"/usr/share/locale\" -Wall -Wextra -Wunused -Wunused-variable -Wunused-function -Wmissing-declarations -g -I /usr/include/libxml2/ -O3 -Wuninitialized -Winit-self -DPROGRAMNAME_LOCALEDIR=\"\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -I/usr/include/libxml2 -c -o common.o common.c
common.c: In function âget_list_of_sound_devicesâ:
common.c:927:18: warning: unused variable âgrpâ [-Wunused-variable]
927 | struct group *grp;
| ^~~
common.c:924:17: warning: unused variable âfoundâ [-Wunused-variable]
924 | int g, sink, found;
| ^~~~~
common.c:924:8: warning: unused variable âgâ [-Wunused-variable]
924 | int g, sink, found;
| ^
common.c: In function âfailureâ:
common.c:100:4: warning: ignoring return value of âsystemâ declared with attribute âwarn_unused_resultâ [-Wunused-result]
100 | system ("reset");
| ^~~~~~~~~~~~~~~~
common.c: In function âcreate_daisy_structâ:
common.c:521:4: warning: ignoring return value of âchdirâ declared with attribute âwarn_unused_resultâ [-Wunused-result]
521 | chdir (misc->daisy_mp);
| ^~~~~~~~~~~~~~~~~~~~~~
common.c: In function âselect_next_output_deviceâ:
common.c:1149:13: warning: ignoring return value of âsystemâ declared with attribute âwarn_unused_resultâ [-Wunused-result]
1149 | system (misc->cmd);
| ^~~~~~~~~~~~~~~~~~
common.c:1175:13: warning: ignoring return value of âsystemâ declared with attribute âwarn_unused_resultâ [-Wunused-result]
1175 | system (misc->cmd);
| ^~~~~~~~~~~~~~~~~~
common.c:1196:13: warning: ignoring return value of âsystemâ declared with attribute âwarn_unused_resultâ [-Wunused-result]
1196 | system (misc->cmd);
| ^~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I . -I /usr/include/cdio/ -I /usr/include/cdio/paranoia/ -I /usr/include/libxml2/ -D LOCALEDIR=\"/usr/share/locale\" -Wall -Wextra -Wunused -Wunused-variable -Wunused-function -Wmissing-declarations -g -I /usr/include/libxml2/ -O3 -Wuninitialized -Winit-self -DPROGRAMNAME_LOCALEDIR=\"\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -I/usr/include/libxml2 -c -o daisy2.02.o daisy2.02.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I . -I /usr/include/cdio/ -I /usr/include/cdio/paranoia/ -I /usr/include/libxml2/ -D LOCALEDIR=\"/usr/share/locale\" -Wall -Wextra -Wunused -Wunused-variable -Wunused-function -Wmissing-declarations -g -I /usr/include/libxml2/ -O3 -Wuninitialized -Winit-self -DPROGRAMNAME_LOCALEDIR=\"\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -I/usr/include/libxml2 -c -o daisy3.o daisy3.c
daisy3.c: In function âparse_page_numberâ:
daisy3.c:201:13: warning: pointer âsrcâ used after âfreeâ [-Wuse-after-free]
201 | failure (misc, src, errno);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
daisy3.c:200:13: note: call to âfreeâ here
200 | free (src);
| ^~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I . -I /usr/include/cdio/ -I /usr/include/cdio/paranoia/ -I /usr/include/libxml2/ -D LOCALEDIR=\"/usr/share/locale\" -Wall -Wextra -Wunused -Wunused-variable -Wunused-function -Wmissing-declarations -g -I /usr/include/libxml2/ -O3 -Wuninitialized -Winit-self -DPROGRAMNAME_LOCALEDIR=\"\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -I/usr/include/libxml2 -c -o daisy-player.o daisy-player.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I . -I /usr/include/cdio/ -I /usr/include/cdio/paranoia/ -I /usr/include/libxml2/ -D LOCALEDIR=\"/usr/share/locale\" -Wall -Wextra -Wunused -Wunused-variable -Wunused-function -Wmissing-declarations -g -I /usr/include/libxml2/ -O3 -Wuninitialized -Winit-self -DPROGRAMNAME_LOCALEDIR=\"\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -I/usr/include/libxml2 -c -o playfile.o playfile.c
playfile.c: In function âoutput_effect_fnâ:
playfile.c:61:21: error: initialization of âconst char * const*â from âintâ makes pointer from integer without a cast [-Wint-conversion]
61 | "output", NULL, SOX_EFF_MCHAN, getopts, NULL, flow, NULL, NULL,
| ^~~~~~~~~~~~~
playfile.c:61:21: note: (near initialization for âhandler.extra_usageâ)
playfile.c:61:36: error: initialization of âunsigned intâ from âint (*)(sox_effect_t *, int, char **)â {aka âint (*)(struct sox_effect *, int, char **)â} makes integer from pointer without a cast [-Wint-conversion]
61 | "output", NULL, SOX_EFF_MCHAN, getopts, NULL, flow, NULL, NULL,
| ^~~~~~~
playfile.c:61:36: note: (near initialization for âhandler.flagsâ)
playfile.c:61:36: error: initializer element is not computable at load time
playfile.c:61:36: note: (near initialization for âhandler.flagsâ)
playfile.c:61:51: error: initialization of âint (*)(sox_effect_t *)â {aka âint (*)(struct sox_effect *)â} from incompatible pointer type âint (*)(sox_effect_t *, const sox_sample_t *, sox_sample_t *, size_t *, size_t *)â {aka âint (*)(struct sox_effect *, const int *, int *, long unsigned int *, long unsigned int *)â} [-Wincompatible-pointer-types]
61 | "output", NULL, SOX_EFF_MCHAN, getopts, NULL, flow, NULL, NULL,
| ^~~~
playfile.c:61:51: note: (near initialization for âhandler.startâ)
playfile.c:41:1: note: âflowâ declared here
41 | flow (sox_effect_t * effp, sox_sample_t const *ibuf,
| ^~~~
playfile.c:62:11: error: initialization of âint (*)(sox_effect_t *)â {aka âint (*)(struct sox_effect *)â} from âlong unsigned intâ makes pointer from integer without a cast [-Wint-conversion]
62 | NULL, sizeof (priv_t)
| ^~~~~~
playfile.c:62:11: note: (near initialization for âhandler.killâ)
playfile.c:63:3: warning: missing initializer for field âpriv_sizeâ of âsox_effect_handler_tâ {aka âstruct sox_effect_handlerâ} [-Wmissing-field-initializers]
63 | };
| ^
In file included from daisy.h:38,
from playfile.c:23:
/usr/include/sox.h:1555:16: note: âpriv_sizeâ declared here
1555 | size_t priv_size; /**< Size of private data SoX should pre-allocate for effect */
| ^~~~~~~~~
make[4]: *** [Makefile:532: playfile.o] Error 1
make[4]: *** Waiting for unfinished jobs....
daisy-player.c: In function âwrite_wavâ:
daisy-player.c:494:10: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result]
494 | write (misc->pipefd[1], p_readbuf, CDIO_CD_FRAMESIZE_RAW);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
daisy-player.c: In function âquit_daisy_playerâ:
daisy-player.c:956:4: warning: ignoring return value of âsystemâ declared with attribute âwarn_unused_resultâ [-Wunused-result]
956 | system ("reset");
| ^~~~~~~~~~~~~~~~
daisy-player.c:972:4: warning: ignoring return value of âsystemâ declared with attribute âwarn_unused_resultâ [-Wunused-result]
972 | system (misc->cmd);
| ^~~~~~~~~~~~~~~~~~
daisy-player.c: In function âbrowseâ:
daisy-player.c:1370:10: warning: ignoring return value of âsystemâ declared with attribute âwarn_unused_resultâ [-Wunused-result]
1370 | system (misc->cmd);
| ^~~~~~~~~~~~~~~~~~
daisy-player.c:1469:13: warning: ignoring return value of âsystemâ declared with attribute âwarn_unused_resultâ [-Wunused-result]
1469 | system (misc->cmd);
| ^~~~~~~~~~~~~~~~~~
daisy-player.c:1711:13: warning: ignoring return value of âsystemâ declared with attribute âwarn_unused_resultâ [-Wunused-result]
1711 | system (misc->cmd);
| ^~~~~~~~~~~~~~~~~~
daisy-player.c:1732:13: warning: ignoring return value of âsystemâ declared with attribute âwarn_unused_resultâ [-Wunused-result]
1732 | system (misc->cmd);
| ^~~~~~~~~~~~~~~~~~
daisy-player.c: In function âmainâ:
daisy-player.c:2227:4: warning: ignoring return value of âsystemâ declared with attribute âwarn_unused_resultâ [-Wunused-result]
2227 | system ("clear");
| ^~~~~~~~~~~~~~~~
daisy-player.c:2246:10: warning: ignoring return value of âsystemâ declared with attribute âwarn_unused_resultâ [-Wunused-result]
2246 | system ("clear");
| ^~~~~~~~~~~~~~~~
daisy-player.c:2380:7: warning: ignoring return value of âsystemâ declared with attribute âwarn_unused_resultâ [-Wunused-result]
2380 | system (misc.cmd);
| ^~~~~~~~~~~~~~~~~
daisy-player.c:2435:19: warning: ignoring return value of âsystemâ declared with attribute âwarn_unused_resultâ [-Wunused-result]
2435 | system (misc.cmd);
| ^~~~~~~~~~~~~~~~~
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:595: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:534: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:14: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-a11y-devel
mailing list