Package: grads Version: 2:2.0.1-2 Usertags: goto-cc During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder and 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.
[...] g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -rdynamic -Wl,-z,relro -Wl,--as-needed -o grads grads.o gxsubs.o gxmeta.o gxchpl.o gxcntr.o gxstrm.o gxwmap.o gxshad.o gxshad2.o gaexpr.o gafunc.o gautil.o gagx.o gscrpt.o gamach.o bufrstn.o gabufr.o gabufrtbl.o gxX.o gxdxwd.o galloc.o dodstn.o gaddes.o gaio.o gacfg.o gauser.o gasdf.o gatxt.o -lX11 -lreadline -ltermcap -lgd -lpng12 -lz -ljpeg -lgrib2c -ljasper -lpng12 -lz -lmfhdfalt -ldfalt -ludunits2 -ljpeg -lz -lhdf5 -lz -ludunits2 -lnetcdf -lhdf5_hl -lhdf5 -lz -lcurl -ltiff -lgeotiff -lshp -lgadap -ldapclient -ldap -lcurl -lxml2 -lz -lpthread -lm -ldl -lrt -lm error: conflicting function declarations "gagby" old definition in module gxwmap file gxwmap.c line 29 signed int (char *, signed int, signed int) new definition in module gamach file gamach.c line 258 signed int (unsigned char *ch, signed int ioff, signed int ilen) collect2: error: ld returned 64 exit status Makefile:630: recipe for target 'grads' failed make[3]: *** [grads] Error 1 make[3]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-grads/grads-2.0.1/src' Makefile:533: recipe for target 'all' failed It seems this is an error in the declaration only, as both all actual arguments and the definition seem to agree that "ch" is an unsigned char*. Hence the declaration here http://sources.debian.net/src/grads/2:2.0.1-2/src/gxwmap.c?hl=29#L29 should be fixed. Yet codesearch.debian.net also listed this one: http://sources.debian.net/src/grads/2:2.0.1-2/src/grib2scan.c?hl=155#L155 So maybe there is a need for taking another look. Best, Michael
pgpjoH2PeGWLN.pgp
Description: PGP signature

