Package: liblas
Version: 1.7.0+dfsg-5
Usertags: goto-cc

During a rebuild of all packages in a clean sid chroot (and cowbuilder+pbuilder)
the build failed with the following error. Please note that we use our research
compiler tool-chain (using tools from the cbmc package), which permits extended
reporting on type inconsistencies at link time.

/usr/bin/cc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -D_FORTIFY_SOURCE=2    -Wl,-z,relro 
CMakeFiles/las2txt-old.dir/lascommon.c.o CMakeFiles/las2txt-old.dir/las2txt.c.o 
 -o ../bin/None/las2txt-old -rdynamic ../bin/None/ 
../bin/None/ -ltiff -lgeotiff -lgdal -lboost_program_options 
-lboost_thread -lboost_system -lpthread 

error: conflicting function declarations "print_header"
old definition in module lascommon file 
 line 407
void (struct _IO_FILE *file, struct LASHeaderHS *header, const char *file_name, 
signed int bSkipVLR, signed int bWKT)
new definition in module las2txt file 
 line 21
void (struct _IO_FILE *, struct LASHeaderHS *, const char *)
apps/CMakeFiles/las2txt-old.dir/build.make:122: recipe for target 
'bin/None/las2txt-old' failed
make[4]: *** [bin/None/las2txt-old] Error 64

Indeed there is some variety to be found here. The implementation requires 5
arguments, all of which are actually used (the last ones to make branch
decisions, which will entirely undefined in the following setting):

Then there's the 3-argument version here:

And a 4-argument version here:

Function calls for all versions exist, so some good amount of undefined
behaviour to be observed.


Attachment: pgpq8KZh_20vE.pgp
Description: PGP signature

Pkg-grass-devel mailing list

Reply via email to