Source: cuneiform
Version: 1.1.0+dfsg-10
Severity: serious

cuneiform started to FTBFS when GCC 14 was made the default compiler:

cd /build/cuneiform-1.1.0+dfsg/obj/cuneiform_src/Kern/cfcompat && 
/usr/bin/cmake -E cmake_link_script CMakeFiles/cfcompat.dir/link.txt --verbose=1
/usr/bin/cc -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/cuneiform-1.1.0+dfsg=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_F
ORTIFY_SOURCE=2  -Wno-error -fcommon -Wl,-Bsymbolic -Wl,-z,relro -Wl,-z,now 
-shared -Wl,-soname,libcfcompat.so.0 -o libcfcompat.so.1.1.0 
CMakeFiles/cfcompat.dir/cfcompat.c.o  
-Wl,-rpath,/usr/lib/x86_64-linux-gnu/cuneiform -Wl,-Bstatic -ldl -Wl,-Bdynamic
/build/cuneiform-1.1.0+dfsg/cuneiform_src/Kern/dif/src/diffr.c:108:8: error: 
type defaults to 'int' in declaration of 'broken_ii' [-Wimplicit-int]
  108 | extern broken_ii;               /* 䫠<A3> <A4><A2><E3><E5> 
<AF><A0><AB><AE><AA>                       */
      |        ^~~~~~~~~

If I fix that, I'm running into more type mismatches:

/build/cuneiform-1.1.0+dfsg/cuneiform_src/Kern/hdebug/__snp.c:989:73: error: 
passing argument 7 of 'LDPUMA_DrawLine' makes integer from pointer without a 
cast [-Wint-conversion]
  989 |                 
LDPUMA_DrawLine(NULL,start,end,skew,rgb_color,pen_width,key );
      |                                                                         
^~~
      |                                                                         
|
      |                                                                         
Handle {aka void *}
/build/cuneiform-1.1.0+dfsg/cuneiform_src/Kern/hdebug/__snp.c:384:71: note: 
expected 'uint32_t' {aka 'unsigned int'} but argument is of type 'Handle' {aka 
'void *'}
  384 |                         uint32_t rgb_color,int16_t pen_width,uint32_t 
key )
      |                                                              
~~~~~~~~~^~~
/build/cuneiform-1.1.0+dfsg/cuneiform_src/Kern/hdebug/__snp.c: In function 
'SnpHideLines':
/build/cuneiform-1.1.0+dfsg/cuneiform_src/Kern/hdebug/__snp.c:993:41: error: 
passing argument 2 of 'LDPUMA_DeleteLines' makes integer from pointer without a 
cast [-Wint-conversion]
  993 |                 LDPUMA_DeleteLines(NULL,key);
      |                                         ^~~
      |                                         |
      |                                         Handle {aka void *}
[ 33%] Building CXX object 
cuneiform_src/Kern/rimage/CMakeFiles/rimage.dir/sources/main/kronrod/ckronrodbinarizator.cpp.o
/build/cuneiform-1.1.0+dfsg/cuneiform_src/Kern/hdebug/__snp.c:397:53: note: 
expected 'uint32_t' {aka 'unsigned int'} but argument is of type 'Handle' {aka 
'void *'}
  397 |         void LDPUMA_DeleteLines(Handle wnd,uint32_t key)
      |                                            ~~~~~~~~~^~~


Andreas

Attachment: cuneiform_1.1.0+dfsg-10.log.gz
Description: application/gzip

Reply via email to