Source: gphoto2-cffi
Version: 0.4.3~a1-1.1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20241223 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, this package failed to build
on armhf.
This package currently has binary packages on armhf, so this is a regression.
Also, there are no known issues on amd64 or arm64 according to recent (a couple
days ago) rebuilds.
The rebuild was done using an armhf chroot on an AWS "m6g" instance (Graviton2
CPU).
Relevant part (hopefully):
> debian/rules build
> dh build --with python3 --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:311: python3.13 setup.py config
> /usr/lib/python3/dist-packages/setuptools/__init__.py:94:
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are
> deprecated.
> !!
>
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
>
> ********************************************************************************
>
> !!
> dist.fetch_build_eggs(dist.setup_requires)
> running config
> I: pybuild base:311: python3.12 setup.py config
> /usr/lib/python3/dist-packages/setuptools/__init__.py:94:
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are
> deprecated.
> !!
>
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
>
> ********************************************************************************
>
> !!
> dist.fetch_build_eggs(dist.setup_requires)
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:311: /usr/bin/python3.13 setup.py build
> /usr/lib/python3/dist-packages/setuptools/__init__.py:94:
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are
> deprecated.
> !!
>
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
>
> ********************************************************************************
>
> !!
> dist.fetch_build_eggs(dist.setup_requires)
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gphoto2cffi/build/gphoto2cffi
> copying gphoto2cffi/backend_build.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gphoto2cffi/build/gphoto2cffi
> copying gphoto2cffi/errors.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gphoto2cffi/build/gphoto2cffi
> copying gphoto2cffi/util.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gphoto2cffi/build/gphoto2cffi
> copying gphoto2cffi/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gphoto2cffi/build/gphoto2cffi
> copying gphoto2cffi/gphoto2.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gphoto2cffi/build/gphoto2cffi
> copying gphoto2cffi/backend.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gphoto2cffi/build/gphoto2cffi
> running egg_info
> creating gphoto2_cffi.egg-info
> writing gphoto2_cffi.egg-info/PKG-INFO
> writing dependency_links to gphoto2_cffi.egg-info/dependency_links.txt
> writing requirements to gphoto2_cffi.egg-info/requires.txt
> writing top-level names to gphoto2_cffi.egg-info/top_level.txt
> writing manifest file 'gphoto2_cffi.egg-info/SOURCES.txt'
> reading manifest file 'gphoto2_cffi.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE'
> writing manifest file 'gphoto2_cffi.egg-info/SOURCES.txt'
> copying gphoto2cffi/gphoto2.cdef ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gphoto2cffi/build/gphoto2cffi
> running build_ext
> generating cffi module
> 'build/temp.linux-armv7l-cpython-313/gphoto2cffi._backend.c'
> creating build/temp.linux-armv7l-cpython-313
> building 'gphoto2cffi._backend' extension
> creating
> build/temp.linux-armv7l-cpython-313/build/temp.linux-armv7l-cpython-313
> arm-linux-gnueabihf-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2
> -Wall -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
> -I/usr/include/python3.13 -c
> build/temp.linux-armv7l-cpython-313/gphoto2cffi._backend.c -o
> build/temp.linux-armv7l-cpython-313/build/temp.linux-armv7l-cpython-313/gphoto2cffi._backend.o
> build/temp.linux-armv7l-cpython-313/gphoto2cffi._backend.c: In function
> ‘_cffi_d_gp_file_get_mtime’:
> build/temp.linux-armv7l-cpython-313/gphoto2cffi._backend.c:4275:32: error:
> passing argument 2 of ‘gp_file_get_mtime’ from incompatible pointer type
> [-Wincompatible-pointer-types]
> 4275 | return gp_file_get_mtime(x0, x1);
> | ^~
> | |
> | long int *
> In file included from /usr/include/gphoto2/gphoto2-filesys.h:38,
> from /usr/include/gphoto2/gphoto2-camera.h:54,
> from
> build/temp.linux-armv7l-cpython-313/gphoto2cffi._backend.c:576:
> /usr/include/gphoto2/gphoto2-file.h:127:52: note: expected ‘time_t *’ {aka
> ‘long long int *’} but argument is of type ‘long int *’
> 127 | int gp_file_get_mtime (CameraFile *file, time_t *mtime);
> | ~~~~~~~~^~~~~
> build/temp.linux-armv7l-cpython-313/gphoto2cffi._backend.c: In function
> ‘_cffi_f_gp_file_get_mtime’:
> build/temp.linux-armv7l-cpython-313/gphoto2cffi._backend.c:4313:36: error:
> passing argument 2 of ‘gp_file_get_mtime’ from incompatible pointer type
> [-Wincompatible-pointer-types]
> 4313 | { result = gp_file_get_mtime(x0, x1); }
> | ^~
> | |
> | long int *
> /usr/include/gphoto2/gphoto2-file.h:127:52: note: expected ‘time_t *’ {aka
> ‘long long int *’} but argument is of type ‘long int *’
> 127 | int gp_file_get_mtime (CameraFile *file, time_t *mtime);
> | ~~~~~~~~^~~~~
> build/temp.linux-armv7l-cpython-313/gphoto2cffi._backend.c: In function
> ‘_cffi_d_gp_port_result_as_string’:
> build/temp.linux-armv7l-cpython-313/gphoto2cffi._backend.c:6053:10: warning:
> return discards ‘const’ qualifier from pointer target type
> [-Wdiscarded-qualifiers]
> 6053 | return gp_port_result_as_string(x0);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> build/temp.linux-armv7l-cpython-313/gphoto2cffi._backend.c: In function
> ‘_cffi_f_gp_port_result_as_string’:
> build/temp.linux-armv7l-cpython-313/gphoto2cffi._backend.c:6069:12: warning:
> assignment discards ‘const’ qualifier from pointer target type
> [-Wdiscarded-qualifiers]
> 6069 | { result = gp_port_result_as_string(x0); }
> | ^
> error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
> E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1:
> /usr/bin/python3.13 setup.py build
> I: pybuild base:311: /usr/bin/python3 setup.py build
> /usr/lib/python3/dist-packages/setuptools/__init__.py:94:
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are
> deprecated.
> !!
>
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
>
> ********************************************************************************
>
> !!
> dist.fetch_build_eggs(dist.setup_requires)
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gphoto2cffi/build/gphoto2cffi
> copying gphoto2cffi/backend_build.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gphoto2cffi/build/gphoto2cffi
> copying gphoto2cffi/errors.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gphoto2cffi/build/gphoto2cffi
> copying gphoto2cffi/util.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gphoto2cffi/build/gphoto2cffi
> copying gphoto2cffi/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gphoto2cffi/build/gphoto2cffi
> copying gphoto2cffi/gphoto2.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gphoto2cffi/build/gphoto2cffi
> copying gphoto2cffi/backend.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gphoto2cffi/build/gphoto2cffi
> running egg_info
> writing gphoto2_cffi.egg-info/PKG-INFO
> writing dependency_links to gphoto2_cffi.egg-info/dependency_links.txt
> writing requirements to gphoto2_cffi.egg-info/requires.txt
> writing top-level names to gphoto2_cffi.egg-info/top_level.txt
> reading manifest file 'gphoto2_cffi.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE'
> writing manifest file 'gphoto2_cffi.egg-info/SOURCES.txt'
> copying gphoto2cffi/gphoto2.cdef ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gphoto2cffi/build/gphoto2cffi
> running build_ext
> generating cffi module
> 'build/temp.linux-armv7l-cpython-312/gphoto2cffi._backend.c'
> creating build/temp.linux-armv7l-cpython-312
> building 'gphoto2cffi._backend' extension
> creating
> build/temp.linux-armv7l-cpython-312/build/temp.linux-armv7l-cpython-312
> arm-linux-gnueabihf-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2
> -Wall -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
> -I/usr/include/python3.12 -c
> build/temp.linux-armv7l-cpython-312/gphoto2cffi._backend.c -o
> build/temp.linux-armv7l-cpython-312/build/temp.linux-armv7l-cpython-312/gphoto2cffi._backend.o
> build/temp.linux-armv7l-cpython-312/gphoto2cffi._backend.c: In function
> ‘_cffi_d_gp_file_get_mtime’:
> build/temp.linux-armv7l-cpython-312/gphoto2cffi._backend.c:4275:32: error:
> passing argument 2 of ‘gp_file_get_mtime’ from incompatible pointer type
> [-Wincompatible-pointer-types]
> 4275 | return gp_file_get_mtime(x0, x1);
> | ^~
> | |
> | long int *
> In file included from /usr/include/gphoto2/gphoto2-filesys.h:38,
> from /usr/include/gphoto2/gphoto2-camera.h:54,
> from
> build/temp.linux-armv7l-cpython-312/gphoto2cffi._backend.c:576:
> /usr/include/gphoto2/gphoto2-file.h:127:52: note: expected ‘time_t *’ {aka
> ‘long long int *’} but argument is of type ‘long int *’
> 127 | int gp_file_get_mtime (CameraFile *file, time_t *mtime);
> | ~~~~~~~~^~~~~
> build/temp.linux-armv7l-cpython-312/gphoto2cffi._backend.c: In function
> ‘_cffi_f_gp_file_get_mtime’:
> build/temp.linux-armv7l-cpython-312/gphoto2cffi._backend.c:4313:36: error:
> passing argument 2 of ‘gp_file_get_mtime’ from incompatible pointer type
> [-Wincompatible-pointer-types]
> 4313 | { result = gp_file_get_mtime(x0, x1); }
> | ^~
> | |
> | long int *
> /usr/include/gphoto2/gphoto2-file.h:127:52: note: expected ‘time_t *’ {aka
> ‘long long int *’} but argument is of type ‘long int *’
> 127 | int gp_file_get_mtime (CameraFile *file, time_t *mtime);
> | ~~~~~~~~^~~~~
> build/temp.linux-armv7l-cpython-312/gphoto2cffi._backend.c: In function
> ‘_cffi_d_gp_port_result_as_string’:
> build/temp.linux-armv7l-cpython-312/gphoto2cffi._backend.c:6053:10: warning:
> return discards ‘const’ qualifier from pointer target type
> [-Wdiscarded-qualifiers]
> 6053 | return gp_port_result_as_string(x0);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> build/temp.linux-armv7l-cpython-312/gphoto2cffi._backend.c: In function
> ‘_cffi_f_gp_port_result_as_string’:
> build/temp.linux-armv7l-cpython-312/gphoto2cffi._backend.c:6069:12: warning:
> assignment discards ‘const’ qualifier from pointer target type
> [-Wdiscarded-qualifiers]
> 6069 | { result = gp_port_result_as_string(x0); }
> | ^
> error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
> E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1:
> /usr/bin/python3 setup.py build
> dh_auto_build: error: pybuild --build -i python{version} -p "3.13 3.12"
> returned exit code 13
> make: *** [debian/rules:5: build] Error 25
The full build log is available from:
http://qa-logs.debian.net/2024/12/23/gphoto2-cffi_0.4.3~a1-1.1_unstable-armhf.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20241223;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20241223&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.