Source: libcdio
Version: 2.1.0-4.1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramac...@debian.org
https://buildd.debian.org/status/fetch.php?pkg=libcdio=armel=2.1.0-4.1=1709540805=0
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/driver
-I../../include -I../../include/ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -Wall -Wbad-function-cast -Wcast-align
-Wchar-subscripts -Wdeclaration-after-statement -Wdisabled-optimization
-Wendif-labels -Winline -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wno-sign-compare -Wpointer-arith -Wshadow -Wstrict-prototypes
-Wundef -Wunused -Wwrite-strings -c cdio.c -fPIC -DPIC -o .libs/cdio.o
_cdio_stdio.c: In function ‘_stdio_seek’:
_cdio_stdio.c:53:20: error: implicit declaration of function ‘fseeko64’; did
you mean ‘fseeko’? [-Werror=implicit-function-declaration]
53 | #define CDIO_FSEEK fseeko64
|^~~~
_cdio_stdio.c:175:13: note: in expansion of macro ‘CDIO_FSEEK’
175 | if ( (ret=CDIO_FSEEK (ud->fd, i_offset, whence)) ) {
| ^~
_cdio_stdio.c:53:20: warning: nested extern declaration of ‘fseeko64’
[-Wnested-externs]
53 | #define CDIO_FSEEK fseeko64
|^~~~
_cdio_stdio.c:175:13: note: in expansion of macro ‘CDIO_FSEEK’
175 | if ( (ret=CDIO_FSEEK (ud->fd, i_offset, whence)) ) {
| ^~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/driver
-I../../include -I../../include/ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -Wall -Wbad-function-cast -Wcast-align
-Wchar-subscripts -Wdeclaration-after-statement -Wdisabled-optimization
-Wendif-labels -Winline -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wno-sign-compare -Wpointer-arith -Wshadow -Wstrict-prototypes
-Wundef -Wunused -Wwrite-strings -c aix.c -o aix.o >/dev/null 2>&1
_cdio_generic.c:73:1: warning: conflicting types for
‘cdio_generic_unimplemented_eject_media’ due to enum/integer mismatch; have
‘int(void *)’ [-Wenum-int-mismatch]
73 | cdio_generic_unimplemented_eject_media (void *p_user_data) {
| ^~
In file included from cdio_private.h:84,
from _cdio_generic.c:50:
generic.h:96:24: note: previous declaration of
‘cdio_generic_unimplemented_eject_media’ with type ‘driver_return_code_t(void
*)’
96 | driver_return_code_t cdio_generic_unimplemented_eject_media (void
*p_env);
|^~
_cdio_generic.c:82:1: warning: conflicting types for
‘cdio_generic_unimplemented_set_blocksize’ due to enum/integer mismatch; have
‘int(void *, uint16_t)’ {aka ‘int(void *, short unsigned int)’}
[-Wenum-int-mismatch]
82 | cdio_generic_unimplemented_set_blocksize (void *p_user_data,
| ^~~~
generic.h:104:3: note: previous declaration of
‘cdio_generic_unimplemented_set_blocksize’ with type ‘driver_return_code_t(void
*, uint16_t)’ {aka ‘driver_return_code_t(void *, short unsigned int)’}
104 | cdio_generic_unimplemented_set_blocksize (void *p_user_data,
| ^~~~
_cdio_generic.c:92:1: warning: conflicting types for
‘cdio_generic_unimplemented_set_speed’ due to enum/integer mismatch; have
‘int(void *, int)’ [-Wenum-int-mismatch]
92 | cdio_generic_unimplemented_set_speed (void *p_user_data, int i_speed) {
| ^~~~
generic.h:112:24: note: previous declaration of
‘cdio_generic_unimplemented_set_speed’ with type ‘driver_return_code_t(void *,
int)’
112 | driver_return_code_t cdio_generic_unimplemented_set_speed (void
*p_user_data,
|^~~~
_cdio_generic.c:157:1: warning: conflicting types for
‘cdio_generic_read_form1_sector’ due to enum/integer mismatch; have
‘driver_return_code_t(void *, void *, lsn_t)’ {aka ‘driver_return_code_t(void
*, void *, int)’} [-Wenum-int-mismatch]
157 | cdio_generic_read_form1_sector (void * user_data, void *data, lsn_t lsn)
| ^~
generic.h:143:7: note: previous declaration of ‘cdio_generic_read_form1_sector’
with type ‘int(void *, void *, lsn_t)’ {aka ‘int(void *, void *, int)’}
143 | int cdio_generic_read_form1_sector (void * user_data, void *data,
| ^~
_cdio_generic.c: In function ‘cdio_generic_lseek’:
_cdio_generic.c:63:20: error: implicit declaration