Bug#748032: Conflicting declarations of function km_all_cursor

Michael Tautschnig mt at debian.org
Tue May 13 13:57:21 UTC 2014


Package: cernlib
Version: 20061220+dfsg3-4
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.

[...]
rebuild shared library libpacklib-lesstif.so.1_gfortran.2006 in /code_motif
Fri May  2 22:37:20 UTC 2014

file /srv/jenkins-slave/workspace/sid-goto-cc-cernlib/cernlib-20061220+dfsg3/src/code_motif/kuwham.c line 34: error: conflicting function declarations "km_all_cursor"
old definition in module kmdial file /srv/jenkins-slave/workspace/sid-goto-cc-cernlib/cernlib-20061220+dfsg3/src/code_motif/mkutfm.h line 35
void (signed int)
new definition in module kuwham file /srv/jenkins-slave/workspace/sid-goto-cc-cernlib/cernlib-20061220+dfsg3/src/code_motif/kuwham.c line 34
signed int ()
collect2: error: ld returned 64 exit status
make[3]: *** [libpacklib-lesstif.so.1_gfortran.2006] Error 1
rm kuipmcdf.c shared/mkdcmp.d shared/kmumen.d shared/kuwham.d shared/kuxgra.d shared/kmdial.d shared/mkdpan.d shared/kuxlishlp.d shared/kuxpap.d shared/iconwidget.d shared/kmutif.d shared/mkuip.d shared/kuxsel.d shared/mkdgra.d shared/kmbmdi.d shared/kuxscr.d shared/kmbfdi.d shared/iconbox.d shared/kuxpan.d shared/kmutim.d shared/kuxpab.d shared/mkmpan.d shared/kmbrow.d shared/kmfile.d shared/kmbmac.d shared/kuxbro.d shared/kuxxt.d shared/kuxfse.d shared/kuxpal.d shared/kmiout.d shared/kmbfil.d shared/kuxolt.d shared/kuipmcdf.d shared/kuxsc1.d shared/kuxlis.d shared/kuxcmp.d shared/kmpopp.d
make[3]: Leaving directory `/srv/jenkins-slave/workspace/sid-goto-cc-cernlib/cernlib-20061220+dfsg3/build/code_motif'

The resulting code almost certainly has undefined behaviour as a non-existent
return value may get used and parameters may differ.

Best,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20140513/48430968/attachment.sig>


More information about the debian-science-maintainers mailing list