[Debian-astro-maintainers] Bug#1066320: astlib: FTBFS: PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c:3533:3: error: implicit declaration of function ‘wcscon’; did you mean ‘wcstoq’? [-Werror=implicit-function-declaration]
Lucas Nussbaum
lucas at debian.org
Wed Mar 13 11:47:51 GMT 2024
Source: astlib
Version: 0.11.10-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration
Relevant part (hopefully):
> x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.12 -c PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c -o build/temp.linux-x86_64-cpython-312/PyWCSTools/wcssubs-3.9.5/wcscon_wrap.o
> PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c: In function ‘_wrap_wcscon’:
> PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c:3533:3: error: implicit declaration of function ‘wcscon’; did you mean ‘wcstoq’? [-Werror=implicit-function-declaration]
> 3533 | wcscon(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
> | ^~~~~~
> | wcstoq
> PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c: In function ‘_wrap_wcscsys’:
> PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c:3570:17: error: implicit declaration of function ‘wcscsys’; did you mean ‘wcscspn’? [-Werror=implicit-function-declaration]
> 3570 | result = (int)wcscsys(arg1);
> | ^~~~~~~
> | wcscspn
> cc1: some warnings being treated as errors
> error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
> E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1: /usr/bin/python3.12 setup.py build
> I: pybuild base:305: /usr/bin/python3 setup.py build
> /<<PKGBUILDDIR>>/setup.py:8: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
> from pkg_resources import require
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_astlib/build/astLib
> copying astLib/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_astlib/build/astLib
> copying astLib/astImages.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_astlib/build/astLib
> copying astLib/astCalc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_astlib/build/astLib
> copying astLib/astSED.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_astlib/build/astLib
> copying astLib/astWCS.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_astlib/build/astLib
> copying astLib/astPlots.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_astlib/build/astLib
> copying astLib/astStats.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_astlib/build/astLib
> copying astLib/astCoords.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_astlib/build/astLib
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_astlib/build/PyWCSTools
> copying PyWCSTools/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_astlib/build/PyWCSTools
> copying PyWCSTools/wcscon.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_astlib/build/PyWCSTools
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_astlib/build/astLib/data
> copying astLib/data/bohlin2006_Vega.sed -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_astlib/build/astLib/data
> copying astLib/data/sun_reference_stis_001.ascii -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_astlib/build/astLib/data
> running build_ext
> building 'PyWCSTools._wcscon' extension
> swigging PyWCSTools/wcssubs-3.9.5/wcscon.i to PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c
> swig -python -outdir PyWCSTools/ -o PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c PyWCSTools/wcssubs-3.9.5/wcscon.i
> creating build/temp.linux-x86_64-cpython-311
> creating build/temp.linux-x86_64-cpython-311/PyWCSTools
> creating build/temp.linux-x86_64-cpython-311/PyWCSTools/wcssubs-3.9.5
> x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -c PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c -o build/temp.linux-x86_64-cpython-311/PyWCSTools/wcssubs-3.9.5/wcscon_wrap.o
> PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c: In function ‘_wrap_wcscon’:
> PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c:3533:3: error: implicit declaration of function ‘wcscon’; did you mean ‘wcstoq’? [-Werror=implicit-function-declaration]
> 3533 | wcscon(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
> | ^~~~~~
> | wcstoq
> PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c: In function ‘_wrap_wcscsys’:
> PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c:3570:17: error: implicit declaration of function ‘wcscsys’; did you mean ‘wcscspn’? [-Werror=implicit-function-declaration]
> 3570 | result = (int)wcscsys(arg1);
> | ^~~~~~~
> | wcscspn
> cc1: some warnings being treated as errors
> error: command '/usr/bin/x86_64-linux-gnu-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.12 3.11" returned exit code 13
> make: *** [debian/rules:10: binary] Error 25
The full build log is available from:
http://qa-logs.debian.net/2024/03/13/astlib_0.11.10-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lucas@debian.org&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.
More information about the Debian-astro-maintainers
mailing list