• Bug#1066361: atlas: FTBFS: probe_comp.c:653:13: error: implicit declara

    From Andrey Rakhmatullin@21:1/5 to Lucas Nussbaum on Sat Mar 16 13:40:01 2024
    On Wed, Mar 13, 2024 at 12:35:48PM +0100, Lucas Nussbaum wrote:
    /<<PKGBUILDDIR>>/build/..//CONFIG/src/probe_comp.c:653:13: error: implicit declaration of function ‘CompIsClang’ [-Werror=implicit-function-declaration]
    /<<PKGBUILDDIR>>/build/..//CONFIG/src/probe_comp.c:1140:24: error: implicit declaration of function ‘CompIsMinGW’ [-Werror=implicit-function-declaration]
    The fix for these is adding

    int CompIsClang(char *comp);
    int CompIsMinGW(char *comp);

    to CONFIG/include/atlconf_misc.h (after CompIsGcc).

    I have no idea how to fix the next errors though:

    /<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gelqf.c: In function ‘ATL_df77gelqf’:
    /<<PKGBUILDDIR>>/build/..//include/atlas_misc.h:127:16: error: implicit declaration of function ‘dgelqf_’ [-Werror=implicit-function-declaration]
    127 | #define PRE d
    | ^
    /<<PKGBUILDDIR>>/build/..//include/atlas_misc.h:74:27: note: in definition of macro ‘my_join’
    74 | #define my_join(pre, nam) pre ## nam
    | ^~~ /<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gelqf.c:40:21: note: in expansion of macro ‘Mjoin’
    40 | #define F77GELQF Mjoin(PRE,gelqf_)
    | ^~~~~ /<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gelqf.c:40:27: note: in expansion of macro ‘PRE’
    40 | #define F77GELQF Mjoin(PRE,gelqf_)
    | ^~~ /<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gelqf.c:58:4: note: in expansion of macro ‘F77GELQF’
    58 | F77GELQF(&F77M, &F77N, A, &F77lda, tau, work, &F77lwork, &F77info);
    | ^~~~~~~~

    In file included from /<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gels.c:30: /<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gels.c: In function ‘ATL_df77gels’:
    /<<PKGBUILDDIR>>/build/..//include/atlas_misc.h:127:16: error: implicit declaration of function ‘dgels_’ [-Werror=implicit-function-declaration]
    127 | #define PRE d
    | ^
    /<<PKGBUILDDIR>>/build/..//include/atlas_misc.h:74:27: note: in definition of macro ‘my_join’
    74 | #define my_join(pre, nam) pre ## nam
    | ^~~ /<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gels.c:39:20: note: in expansion of macro ‘Mjoin’
    39 | #define F77GELS Mjoin(PRE,gels_)
    | ^~~~~ /<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gels.c:39:26: note: in expansion of macro ‘PRE’
    39 | #define F77GELS Mjoin(PRE,gels_)
    | ^~~ /<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gels.c:99:4: note: in expansion of macro ‘F77GELS’
    99 | F77GELS(args);
    | ^~~~~~~


    This seems like some autogenerated code with heavy C macro usage.

    --
    WBR, wRAR

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

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmX1kUgtFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh AYkQAI1ukNb2f50kqBN66KrsXzUEeTNR5LGoiA17qQoSWig89Bkp7mM1g33sCl1A aqlpKmUg50hHwE0K/XeRFW9BzGJZNubiX/qUxEQLpPsx3UoBQ/42p5G6EErA84Ca h79qmAZvpzxIYp4Mj+zSHNzH63d2CVXFonfe13Hyjbbfv4/spIs5ftQoE9/9xiCn NN2UjyWeTxl81iL34zZUJtXVgve9sQlHa0Nqr/smylayxPoszokHlaZZo0SIppxd X9VnJdOJLgEY35a1KvjA6mVGq1XGJ2Ybskzofv30uXb35mw8NZ08cfJDtB66u8mE igwaeCx0sx/2VBbxpjuJYxcfjwxORoiiRtZ/I98gks6wiOz7v5I+HmmIvujQHdmo e6dDrV+wGnc9tMkAE7QNSc5XExD2YtfAVsrrAS36luNKZwr7WJx0txMPbzl+q0u6 KxqQVURbkVGpxMo7fvKzyneuakXr1IshXmk3ZsfcHpdoTNJKl03XS/eva3grbwx9 y00nnEUymMTXNYaR75PHZtYS0IW0GnQke1NbqCRVmWofJvSUQNMSHRZzPIbKhAAv UdHNFFUK93//MrRhkegGUhtvKDZNetypu9a74zYZL81ZQ/oqjGArk16xp+rZQtqr 659f/3zSLE2u1KNsgHnKaisMxZgT+c8O7bek+WkhFNMvtyBP
    =bEnl
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?S=C3=A9bastien?= Villemot@21:1/5 to All on Sat Mar 16 13:50:01 2024
    Le samedi 16 mars 2024 à 17:32 +0500, Andrey Rakhmatullin a écrit :
    On Wed, Mar 13, 2024 at 12:35:48PM +0100, Lucas Nussbaum wrote:
    /<<PKGBUILDDIR>>/build/..//CONFIG/src/probe_comp.c:653:13: error: implicit declaration of function ‘CompIsClang’ [-Werror=implicit-function-declaration]
    /<<PKGBUILDDIR>>/build/..//CONFIG/src/probe_comp.c:1140:24: error: implicit declaration of function ‘CompIsMinGW’ [-Werror=implicit-function-declaration]
    The fix for these is adding

    int CompIsClang(char *comp);
    int CompIsMinGW(char *comp);

    to CONFIG/include/atlconf_misc.h (after CompIsGcc).

    I have no idea how to fix the next errors though:

    /<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gelqf.c: In function ‘ATL_df77gelqf’:
    /<<PKGBUILDDIR>>/build/..//include/atlas_misc.h:127:16: error: implicit declaration of function ‘dgelqf_’ [-Werror=implicit-function-declaration]
    127 | #define PRE d
    | ^ /<<PKGBUILDDIR>>/build/..//include/atlas_misc.h:74:27: note: in definition of macro ‘my_join’
    74 | #define my_join(pre, nam) pre ## nam
    | ^~~ /<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gelqf.c:40:21: note: in expansion of macro ‘Mjoin’
    40 | #define F77GELQF Mjoin(PRE,gelqf_)
    | ^~~~~ /<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gelqf.c:40:27: note: in expansion of macro ‘PRE’
    40 | #define F77GELQF Mjoin(PRE,gelqf_)
    | ^~~ /<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gelqf.c:58:4: note: in expansion of macro ‘F77GELQF’
    58 | F77GELQF(&F77M, &F77N, A, &F77lda, tau, work, &F77lwork, &F77info);
    | ^~~~~~~~

    In file included from /<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gels.c:30:
    /<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gels.c: In function ‘ATL_df77gels’:
    /<<PKGBUILDDIR>>/build/..//include/atlas_misc.h:127:16: error: implicit declaration of function ‘dgels_’ [-Werror=implicit-function-declaration]
    127 | #define PRE d
    | ^ /<<PKGBUILDDIR>>/build/..//include/atlas_misc.h:74:27: note: in definition of macro ‘my_join’
    74 | #define my_join(pre, nam) pre ## nam
    | ^~~ /<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gels.c:39:20: note: in expansion of macro ‘Mjoin’
    39 | #define F77GELS Mjoin(PRE,gels_)
    | ^~~~~ /<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gels.c:39:26: note: in expansion of macro ‘PRE’
    39 | #define F77GELS Mjoin(PRE,gels_)
    | ^~~ /<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gels.c:99:4: note: in expansion of macro ‘F77GELS’
    99 | F77GELS(args);
    | ^~~~~~~


    This seems like some autogenerated code with heavy C macro usage.

    Thanks for the suggested fix.

    Note that atlas is obsolete scheduled for removal before trixie, see
    the thread at: https://lists.debian.org/msgid-search/4311acc16afb473599c79bd5b17a8b734c2f8d2b.camel@debian.org

    So I may fix this issue, but I’d rather have atlas removed sooner. The remaining blockers are there: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=atlas-rm;users=debian-science@lists.debian.org

    --
    ⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
    ⣾⠁⢠⠒⠀⣿⡁  Debian Developer ⢿⡄⠘⠷⠚⠋⠀  https://sebastien.villemot.name ⠈⠳⣄⠀⠀⠀⠀  https://www.debian.org


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

    iQIzBAABCgAdFiEEU5UdlScuDFuCvoxKLOzpNQ7OvkoFAmX1ktwACgkQLOzpNQ7O vkpRvw//VAAThjrpYaNozdA2iTIWll/sEqkKhGawkDlf8CleEHK5zrM/g8jUV8pm vksP2e1VY5wLF9W8+sVddP2S2QNLhsYkv3q1B5dMlRN4pXGP4vrTE0vLW3gqcay4 rZTlMmkTTDKhoDaHYDTtsMbSk3GEPlcqRVzBIOIXKlVlhGmgFzb4z3a6wPTWVBC4 tqBNy42zwvepC/oJSxIeJPxw3Hw1KaHXdJbaympysbXmDKjX7pwrvFIwLy1otf+c CN3/7uZzpEdrDccKAJNAwPJ5SwxziuLVU+rCJDVRiOde/Ge0T+9x/KQIaq6ISpu8 71Slm9AqVnyy3KT58mg67VNcpJ44Z3jQ5WoR0wlIcsmSXk5cx6BOXSlBQ9ImtLLH ZNDzbSnPLcSEWLTnKn7oolNQ2H7QPWKJfoDubo31t2e5h1TZO0BUrlwF4CKoBm2k pDcaqzVqrQItj3hjyZV5sR94tHgbWdevBEC2FQCVrUbF71hFeA2ioeB8jpooAHBo P/rQTg7CYD4HJVPqkFcti4SL7PFIWsQPCPB3NomUdT42vEEJJRM/quGMSdbeYBCZ oDcIUtB39CJX16hdjm/9y4JDvGTRiVRDoahMB1x3EzytFtOL/EMEMt2Vbmz4W3sQ sIWPL679tWPNoaWaXcenQd+Zp8LfF0yET4Y3jEUnJRPrZZQCtJU=
    =wXFf