--- Begin Message ---
Package: src:sane-backends
Version: 1.3.1-1
Severity: important
Tags: sid forky
User: [email protected]
Usertags: ftbfs-gcc-15
[This bug is NOT targeted to the upcoming trixie 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.
The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/sane-backends_1.3.1-1_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.
To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html
[...]
/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d
-DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lock
-DV_MAJOR=1 -DV_MINOR=2 -I. -I. -I../include -I../include
-I/usr/include/libusb-1.0 -DLIBDIR="\"/usr/lib/x86_64-linux-gnu/sane\""
-DDEB_DLL_LIBDIR="\"/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane\:/usr/lib64/sane\""
-DBACKEND_NAME=qcam -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -pedantic -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c -o libsane_qcam_la-qcam-s.lo `test
-f 'qcam-s.c' || echo './'`qcam-s.c
/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d
-DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lock
-DV_MAJOR=1 -DV_MINOR=2 -I. -I. -I../include -I../include
-I/usr/include/libusb-1.0 -DLIBDIR="\"/usr/lib/x86_64-linux-gnu/sane\""
-DDEB_DLL_LIBDIR="\"/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane\:/usr/lib64/sane\""
-DBACKEND_NAME=qcam -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -pedantic -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c -o libqcam_la-qcam.lo `test -f
'qcam.c' || echo './'`qcam.c
qcam.c: In function 'sane_qcam_start':
qcam.c:2084:3: warning: ignoring return value of 'write' declared with
attribute 'warn_unused_result' [-Wunused-result]
2084 | write (s->to_child, &req, sizeof (req));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qcam.c: In function 'sane_qcam_cancel':
qcam.c:2192:7: warning: ignoring return value of 'read' declared with attribute
'warn_unused_result' [-Wunused-result]
2192 | read (s->from_child, buf, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/bin/bash ../libtool --silent --tag=CC --mode=link gcc -Wall -Wextra
-pedantic -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wl,-z,defs -Wl,-z,relro -Wl,-z,now -o
libqcam.la libqcam_la-qcam.lo
/bin/bash ../libtool --silent --tag=CC --mode=link gcc -Wall -Wextra
-pedantic -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wl,-z,defs -rpath
'/usr/lib/x86_64-linux-gnu/sane' -version-number 1:2:1 -module -Wl,-z,relro
-Wl,-z,now -o libsane-qcam.la libsane_qcam_la-qcam-s.lo ../lib/liblib.la
-lxml2 libqcam.la ../sanei/sanei_init_debug.lo
../sanei/sanei_constrain_value.lo ../sanei/sanei_config.lo sane_strstatus.lo
../sanei/sanei_pio.lo ../sanei/sanei_directio.lo
rm -f ricoh-s.c
ln -s ./stubs.c ricoh-s.c
/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d
-DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lock
-DV_MAJOR=1 -DV_MINOR=2 -I. -I. -I../include -I../include
-I/usr/include/libusb-1.0 -DLIBDIR="\"/usr/lib/x86_64-linux-gnu/sane\""
-DDEB_DLL_LIBDIR="\"/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane\:/usr/lib64/sane\""
-DBACKEND_NAME=ricoh -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -pedantic
-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c -o libsane_ricoh_la-ricoh-s.lo `test
-f 'ricoh-s.c' || echo './'`ricoh-s.c
/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d
-DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lock
-DV_MAJOR=1 -DV_MINOR=2 -I. -I. -I../include -I../include
-I/usr/include/libusb-1.0 -DLIBDIR="\"/usr/lib/x86_64-linux-gnu/sane\""
-DDEB_DLL_LIBDIR="\"/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane\:/usr/lib64/sane\""
-DBACKEND_NAME=ricoh -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -pedantic
-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c -o libricoh_la-ricoh.lo `test -f
'ricoh.c' || echo './'`ricoh.c
/bin/bash ../libtool --silent --tag=CC --mode=link gcc -Wall -Wextra
-pedantic -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wl,-z,defs -Wl,-z,relro -Wl,-z,now -o
libricoh.la libricoh_la-ricoh.lo
/bin/bash ../libtool --silent --tag=CC --mode=link gcc -Wall -Wextra
-pedantic -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wl,-z,defs -rpath
'/usr/lib/x86_64-linux-gnu/sane' -version-number 1:2:1 -module -Wl,-z,relro
-Wl,-z,now -o libsane-ricoh.la libsane_ricoh_la-ricoh-s.lo ../lib/liblib.la
-lxml2 libricoh.la ../sanei/sanei_init_debug.lo
../sanei/sanei_constrain_value.lo ../sanei/sanei_config.lo
../sanei/sanei_config2.lo sane_strstatus.lo ../sanei/sanei_scsi.lo
rm -f ricoh2-s.c
ln -s ./stubs.c ricoh2-s.c
/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d
-DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lock
-DV_MAJOR=1 -DV_MINOR=2 -I. -I. -I../include -I../include
-I/usr/include/libusb-1.0 -DLIBDIR="\"/usr/lib/x86_64-linux-gnu/sane\""
-DDEB_DLL_LIBDIR="\"/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane\:/usr/lib64/sane\""
-DBACKEND_NAME=ricoh2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -pedantic
-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c -o libsane_ricoh2_la-ricoh2-s.lo
`test -f 'ricoh2-s.c' || echo './'`ricoh2-s.c
/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d
-DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lock
-DV_MAJOR=1 -DV_MINOR=2 -I. -I. -I../include -I../include
-I/usr/include/libusb-1.0 -DLIBDIR="\"/usr/lib/x86_64-linux-gnu/sane\""
-DDEB_DLL_LIBDIR="\"/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane\:/usr/lib64/sane\""
-DBACKEND_NAME=ricoh2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -pedantic
-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c -o libricoh2_la-ricoh2.lo `test -f
'ricoh2.c' || echo './'`ricoh2.c
/bin/bash ../libtool --silent --tag=CC --mode=link gcc -Wall -Wextra
-pedantic -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wl,-z,defs -Wl,-z,relro -Wl,-z,now -o
libricoh2.la libricoh2_la-ricoh2.lo
/bin/bash ../libtool --silent --tag=CC --mode=link gcc -Wall -Wextra
-pedantic -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wl,-z,defs -rpath
'/usr/lib/x86_64-linux-gnu/sane' -version-number 1:2:1 -module -Wl,-z,relro
-Wl,-z,now -o libsane-ricoh2.la libsane_ricoh2_la-ricoh2-s.lo ../lib/liblib.la
-lxml2 libricoh2.la ../sanei/sanei_init_debug.lo
../sanei/sanei_constrain_value.lo ../sanei/sanei_usb.lo
../sanei/sanei_config.lo sane_strstatus.lo -lusb-1.0
rm -f rts8891-s.c
ln -s ./stubs.c rts8891-s.c
/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d
-DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lock
-DV_MAJOR=1 -DV_MINOR=2 -I. -I. -I../include -I../include
-I/usr/include/libusb-1.0 -DLIBDIR="\"/usr/lib/x86_64-linux-gnu/sane\""
-DDEB_DLL_LIBDIR="\"/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane\:/usr/lib64/sane\""
-DBACKEND_NAME=rts8891 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -pedantic
-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c -o libsane_rts8891_la-rts8891-s.lo
`test -f 'rts8891-s.c' || echo './'`rts8891-s.c
/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d
-DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lock
-DV_MAJOR=1 -DV_MINOR=2 -I. -I. -I../include -I../include
-I/usr/include/libusb-1.0 -DLIBDIR="\"/usr/lib/x86_64-linux-gnu/sane\""
-DDEB_DLL_LIBDIR="\"/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane\:/usr/lib64/sane\""
-DBACKEND_NAME=rts8891 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -pedantic
-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c -o librts8891_la-rts8891.lo `test -f
'rts8891.c' || echo './'`rts8891.c
/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d
-DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lock
-DV_MAJOR=1 -DV_MINOR=2 -I. -I. -I../include -I../include
-I/usr/include/libusb-1.0 -DLIBDIR="\"/usr/lib/x86_64-linux-gnu/sane\""
-DDEB_DLL_LIBDIR="\"/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane\:/usr/lib64/sane\""
-DBACKEND_NAME=rts8891 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -pedantic
-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c -o librts8891_la-rts88xx_lib.lo
`test -f 'rts88xx_lib.c' || echo './'`rts88xx_lib.c
/bin/bash ../libtool --silent --tag=CC --mode=link gcc -Wall -Wextra
-pedantic -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wl,-z,defs -Wl,-z,relro -Wl,-z,now -o
librts8891.la librts8891_la-rts8891.lo librts8891_la-rts88xx_lib.lo
/bin/bash ../libtool --silent --tag=CC --mode=link gcc -Wall -Wextra
-pedantic -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wl,-z,defs -rpath
'/usr/lib/x86_64-linux-gnu/sane' -version-number 1:2:1 -module -Wl,-z,relro
-Wl,-z,now -o libsane-rts8891.la libsane_rts8891_la-rts8891-s.lo
../lib/liblib.la -lxml2 librts8891.la ../sanei/sanei_init_debug.lo
../sanei/sanei_constrain_value.lo ../sanei/sanei_config.lo sane_strstatus.lo
../sanei/sanei_scsi.lo ../sanei/sanei_usb.lo -lusb-1.0
rm -f s9036-s.c
ln -s ./stubs.c s9036-s.c
/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d
-DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lock
-DV_MAJOR=1 -DV_MINOR=2 -I. -I. -I../include -I../include
-I/usr/include/libusb-1.0 -DLIBDIR="\"/usr/lib/x86_64-linux-gnu/sane\""
-DDEB_DLL_LIBDIR="\"/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane\:/usr/lib64/sane\""
-DBACKEND_NAME=s9036 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -pedantic
-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c -o libsane_s9036_la-s9036-s.lo `test
-f 's9036-s.c' || echo './'`s9036-s.c
/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d
-DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lock
-DV_MAJOR=1 -DV_MINOR=2 -I. -I. -I../include -I../include
-I/usr/include/libusb-1.0 -DLIBDIR="\"/usr/lib/x86_64-linux-gnu/sane\""
-DDEB_DLL_LIBDIR="\"/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane\:/usr/lib64/sane\""
-DBACKEND_NAME=s9036 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -pedantic
-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c -o libs9036_la-s9036.lo `test -f
's9036.c' || echo './'`s9036.c
/bin/bash ../libtool --silent --tag=CC --mode=link gcc -Wall -Wextra
-pedantic -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wl,-z,defs -Wl,-z,relro -Wl,-z,now -o
libs9036.la libs9036_la-s9036.lo
/bin/bash ../libtool --silent --tag=CC --mode=link gcc -Wall -Wextra
-pedantic -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wl,-z,defs -rpath
'/usr/lib/x86_64-linux-gnu/sane' -version-number 1:2:1 -module -Wl,-z,relro
-Wl,-z,now -o libsane-s9036.la libsane_s9036_la-s9036-s.lo ../lib/liblib.la
-lxml2 libs9036.la ../sanei/sanei_init_debug.lo
../sanei/sanei_constrain_value.lo ../sanei/sanei_config.lo
../sanei/sanei_config2.lo sane_strstatus.lo ../sanei/sanei_scsi.lo
rm -f sceptre-s.c
ln -s ./stubs.c sceptre-s.c
/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d
-DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lock
-DV_MAJOR=1 -DV_MINOR=2 -I. -I. -I../include -I../include
-I/usr/include/libusb-1.0 -DLIBDIR="\"/usr/lib/x86_64-linux-gnu/sane\""
-DDEB_DLL_LIBDIR="\"/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane\:/usr/lib64/sane\""
-DBACKEND_NAME=sceptre -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -pedantic
-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c -o libsane_sceptre_la-sceptre-s.lo
`test -f 'sceptre-s.c' || echo './'`sceptre-s.c
/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d
-DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lock
-DV_MAJOR=1 -DV_MINOR=2 -I. -I. -I../include -I../include
-I/usr/include/libusb-1.0 -DLIBDIR="\"/usr/lib/x86_64-linux-gnu/sane\""
-DDEB_DLL_LIBDIR="\"/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane\:/usr/lib64/sane\""
-DBACKEND_NAME=sceptre -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -pedantic
-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c -o libsceptre_la-sceptre.lo `test -f
'sceptre.c' || echo './'`sceptre.c
/bin/bash ../libtool --silent --tag=CC --mode=link gcc -Wall -Wextra
-pedantic -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wl,-z,defs -Wl,-z,relro -Wl,-z,now -o
libsceptre.la libsceptre_la-sceptre.lo
/bin/bash ../libtool --silent --tag=CC --mode=link gcc -Wall -Wextra
-pedantic -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wl,-z,defs -rpath
'/usr/lib/x86_64-linux-gnu/sane' -version-number 1:2:1 -module -Wl,-z,relro
-Wl,-z,now -o libsane-sceptre.la libsane_sceptre_la-sceptre-s.lo
../lib/liblib.la -lxml2 libsceptre.la ../sanei/sanei_init_debug.lo
../sanei/sanei_constrain_value.lo ../sanei/sanei_config.lo
../sanei/sanei_config2.lo sane_strstatus.lo ../sanei/sanei_scsi.lo
rm -f sharp-s.c
ln -s ./stubs.c sharp-s.c
/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d
-DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lock
-DV_MAJOR=1 -DV_MINOR=2 -I. -I. -I../include -I../include
-I/usr/include/libusb-1.0 -DLIBDIR="\"/usr/lib/x86_64-linux-gnu/sane\""
-DDEB_DLL_LIBDIR="\"/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane\:/usr/lib64/sane\""
-DBACKEND_NAME=sharp -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -pedantic
-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c -o libsane_sharp_la-sharp-s.lo `test
-f 'sharp-s.c' || echo './'`sharp-s.c
/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d
-DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lock
-DV_MAJOR=1 -DV_MINOR=2 -I. -I. -I../include -I../include
-I/usr/include/libusb-1.0 -DLIBDIR="\"/usr/lib/x86_64-linux-gnu/sane\""
-DDEB_DLL_LIBDIR="\"/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane\:/usr/lib64/sane\""
-DBACKEND_NAME=sharp -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -pedantic
-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c -o libsharp_la-sharp.lo `test -f
'sharp.c' || echo './'`sharp.c
/bin/bash ../libtool --silent --tag=CC --mode=link gcc -Wall -Wextra
-pedantic -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wl,-z,defs -Wl,-z,relro -Wl,-z,now -o
libsharp.la libsharp_la-sharp.lo
/bin/bash ../libtool --silent --tag=CC --mode=link gcc -Wall -Wextra
-pedantic -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wl,-z,defs -rpath
'/usr/lib/x86_64-linux-gnu/sane' -version-number 1:2:1 -module -Wl,-z,relro
-Wl,-z,now -o libsane-sharp.la libsane_sharp_la-sharp-s.lo ../lib/liblib.la
-lxml2 libsharp.la ../sanei/sanei_init_debug.lo
../sanei/sanei_constrain_value.lo ../sanei/sanei_config.lo
../sanei/sanei_config2.lo sane_strstatus.lo ../sanei/sanei_scsi.lo -lm
rm -f sm3600-s.c
ln -s ./stubs.c sm3600-s.c
/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d
-DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lock
-DV_MAJOR=1 -DV_MINOR=2 -I. -I. -I../include -I../include
-I/usr/include/libusb-1.0 -DLIBDIR="\"/usr/lib/x86_64-linux-gnu/sane\""
-DDEB_DLL_LIBDIR="\"/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane\:/usr/lib64/sane\""
-DBACKEND_NAME=sm3600 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -pedantic
-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c -o libsane_sm3600_la-sm3600-s.lo
`test -f 'sm3600-s.c' || echo './'`sm3600-s.c
/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d
-DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lock
-DV_MAJOR=1 -DV_MINOR=2 -I. -I. -I../include -I../include
-I/usr/include/libusb-1.0 -DLIBDIR="\"/usr/lib/x86_64-linux-gnu/sane\""
-DDEB_DLL_LIBDIR="\"/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane\:/usr/lib64/sane\""
-DBACKEND_NAME=sm3600 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -pedantic
-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/sane-backends-1.3.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c -o libsm3600_la-sm3600.lo `test -f
'sm3600.c' || echo './'`sm3600.c
In file included from sm3600.c:84:
sm3600.h:80:16: error: cannot use keyword 'false' as enumeration constant
80 | typedef enum { false, true } TBool;
| ^~~~~
sm3600.h:80:16: note: 'false' is a keyword with '-std=c23' onwards
make[5]: *** [Makefile:7017: libsm3600_la-sm3600.lo] Error 1
make[5]: Leaving directory
'/build/reproducible-path/sane-backends-1.3.1/backend'
make[4]: *** [Makefile:4307: all] Error 2
make[4]: Leaving directory
'/build/reproducible-path/sane-backends-1.3.1/backend'
make[3]: *** [Makefile:613: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/sane-backends-1.3.1'
make[2]: *** [Makefile:503: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/sane-backends-1.3.1'
make[1]: *** [debian/rules:58: override_dh_auto_build-indep] Error 2
make[1]: Leaving directory '/build/reproducible-path/sane-backends-1.3.1'
make: *** [debian/rules:18: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---