Bug#1075155: libccp4: ftbfs with GCC-14

Andrius Merkys merkys at debian.org
Tue Aug 27 13:32:14 BST 2024


control: forwarded -1 ccp4-dev at dl.ac.uk

Hello,

The actual log excerpt reporting build failure is the following:

fortran/cmtzlib_f.c: In function 'lrhist_':
fortran/cmtzlib_f.c:279:43: error: passing argument 2 of 'ccp4_lrhist' 
from incompatible pointer type [-Wincompatible-pointer-types]
   279 |  *nlines = ccp4_lrhist(mtzdata[*mindx-1], hstrng, *nlines);
       |                                           ^~~~~~
       |                                           |
       |                                           fpstr {aka char *}
In file included from fortran/cmtzlib_f.c:72:
./ccp4/cmtzlib.h:668:38: note: expected 'char (*)[80]' but argument is 
of type 'fpstr' {aka 'char *'}
   668 | int ccp4_lrhist(const MTZ *mtz, char 
history[][MTZRECORDLENGTH], int nlines);
       |                                 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
fortran/cmtzlib_f.c: In function 'lkyin_':
fortran/cmtzlib_f.c:636:31: error: passing argument 2 of 'MtzParseLabin' 
from incompatible pointer type [-Wincompatible-pointer-types]
   636 |   if 
(MtzParseLabin(temp_name,label,*nlprgi,user_label_in[*mindx-1]) == -1)
       |                               ^~~~~
       |                               |
       |                               char *
./ccp4/cmtzlib.h:738:48: note: expected 'const char (*)[31]' but 
argument is of type 'char *'
   738 | int MtzParseLabin(char *labin_line, const char prog_labels[][31],
       |                                     ~~~~~~~~~~~^~~~~~~~~~~~~~~~~

[more messages stripped for brevity]

I have forwarded the bug to ccp4-dev at dl.ac.uk.

Andrius



More information about the debian-science-maintainers mailing list