Package: id-utils
Version: 4.6+git20120811-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.

[...]
  CCLD     mkid

error: conflicting function declarations "hash_free"
old definition in module idu-hash file idu-hash.c line 205
void (struct hash_table *ht, signed int free_items)
new definition in module exclude file hash.h line 93
void (struct hash_table *)
Makefile:1367: recipe for target 'mkid' failed
make[3]: *** [mkid] Error 64
make[3]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-id-utils/id-utils-4.6+git20120811/src'
Makefile:1278: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1

Consider the definitions here

http://sources.debian.net/src/id-utils/4.6+git20120811-4/libidu/idu-hash.c?hl=205#L205

and here

http://sources.debian.net/src/id-utils/4.6+git20120811-4/lib/hash.c?hl=696#L696

which apparently are both visible to the linker here, which surely is not a good
idea as the linker will pick whichever it sees first.

Best,
Michael

Attachment: pgpFFlYzp2ALL.pgp
Description: PGP signature

Reply via email to