• Bug#1066320: astlib: FTBFS: PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c:3533

    From Lucas Nussbaum@21:1/5 to All on Wed Mar 13 13:00:07 2024
    Source: astlib
    Version: 0.11.10-1
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dmitry Shachnev@21:1/5 to Lucas Nussbaum on Sat Apr 13 13:40:01 2024
    Control: tags -1 + patch

    Hi,

    On Wed, Mar 13, 2024 at 12:47:51PM +0100, Lucas Nussbaum wrote:
    Source: astlib
    Version: 0.11.10-1
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@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

    I have created a MR on salsa which fixes this bug:

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066320

    --
    Dmitry Shachnev

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEq2sdvrA0LydXHe1qsmYUtFL0RrYFAmYabcgACgkQsmYUtFL0 RrbSlA//avoJyrWcKOeg8uoUsQSnStdVbrIEjGnxz4CNzoaXoNFBYKJtJotdVsQj dkQ04PC2llujFavDkMoSLGLgNjiuS5ZHfB5W47ShoinynAhlpPJvSclU2H7dhcOQ ZJnzqqkN5EzYwFd3s1rgMSZHc5iasFyGnmCshE0ux0qLRO0WORZdTiz7zxUR0vJi 4crSbe2CwYB8sEy2zMBjDhg/ONeuXfj6qk/yUTp3DQrj1v7uQPYLEPUEAGnBCHRL 5fVWdZ0+2tWUSjmDjZkA51LvnDIzep6S10JAhTUFzFTHyDr378bURirBkle2L0o9 m9FTZxFTN+XTlSIxpa3QMA6+iSDTGWiyJEaa9yNxwZ9vt/ZJJ98LCu6RKDn7cHio pPs+W4hukL45BdA1FmAivxHPke6UgWn7lnwnqGar7X2JUif3F6ZaqPPpS2lc4eIL mDQPKZByRGhEc6bxTYUiNj/v88GxzFDOOhTXCv3LXqQELlXMG3n3m8d7P5P1IEpZ 0Gl2iCbqToIlW7pb8hyboXt0sa7PYugTUhXcvsUcf7pOkzEpjR5HQ4nlRjdDoCee gkSEw5THCakGJdTMD7a7xWFdnrux4U/GJGSfPqdpDEGpKk0Bxm4dKxCblAHPLcOn YhI6cMYQymNdI5F3Uqi8VYu+lIJ4OaNEX7Va6lqpnd3LPCE4nf8=
    =ZM8T
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sat Apr 13 13:40:02 2024
    Processing control commands:

    tags -1 + patch
    Bug #1066320 [src:astlib] 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]
    Added tag(s) patch.

    --
    1066320: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066320
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sat Apr 13 15:30:01 2024
    This is a multi-part message in MIME format...

    Your message dated Sat, 13 Apr 2024 13:19:16 +0000
    with message-id <E1rvdHo-0041DN-5T@fasolo.debian.org>
    and subject line Bug#1066320: fixed in astlib 0.11.10-2
    has caused the Debian Bug report #1066320,
    regarding 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]
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1066320: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066320
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 13 Mar 2024 11:49:31 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-105.2 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
    SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,WORD_WITHOUT_VOWELS
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 78; hammy, 150; neutral, 215; spammy,
    0. spammytokens: hammytokens:0.000-+--python3,
    0.000-+--Hx-spam-relays-external:sk:stravin, 0.000-+--H*RT:sk:stravin,
    0.000-+--Hx-spam-relays-external:311, 0.000-+--H*RT:311
    Return-path: <lucas@debian.org>
    Received: from stravinsky.debia