Bug#748587: Duplicate and conflicting definitions of variable FILENAME

Michael Tautschnig mt at debian.org
Sun May 18 16:55:02 UTC 2014


Package: hdf5
Version: 1.8.12+docs-1.1
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     lheap

file ../../../test/cache_common.c line 32: error: conflicting array sizes for variable "FILENAME"
old definition in module lheap file ../../../test/lheap.c line 28
const char *[2l]
new definition in module cache_common file ../../../test/cache_common.c line 32
const char *[3l]
make[2]: *** [lheap] Error 64
make[2]: Leaving directory `/srv/jenkins-slave/workspace/sid-goto-cc-hdf5/hdf5-1.8.12+docs/debian/build/test'
make[1]: *** [all-recursive] Error 1

It seems the definitions in

http://sources.debian.net/src/hdf5/1.8.12%2Bdocs-1.1/test/lheap.c?hl=28#L28

and

http://sources.debian.net/src/hdf5/1.8.12%2Bdocs-1.1/test/cache_common.c?hl=32#L32

should either be marked static or the one from cache_common should be removed entirely.

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/pkg-grass-devel/attachments/20140518/98715555/attachment.sig>


More information about the Pkg-grass-devel mailing list