Bug#1066361: atlas: FTBFS: probe_comp.c:653:13: error: implicit declaration of function ‘CompIsClang’ [-Werror=implicit-function-declaration]

Andrey Rakhmatullin wrar at debian.org
Sat Mar 16 12:32:16 GMT 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 894 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20240316/a2706fa2/attachment.sig>


More information about the debian-science-maintainers mailing list