[Pkg-dns-devel] Bug#801611: knot: duplicate definition of base32hex_encode
Michael Tautschnig
mt at debian.org
Mon Oct 12 14:08:20 UTC 2015
Package: knot
Version: 2.0.1-4
Usertags: goto-cc
Tags: upstream
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.
[...]
...
libtool: link: gcc -shared -fPIC -DPIC libknot/.libs/libknot_la-binary.o libknot/.libs/libknot_la-consts.o libknot/.libs/libknot_la-descriptor.o libknot/.libs/libknot_la-dname.o libknot/.libs/libknot_la-errcode.o libknot/packet/.libs/libknot_la-compr.o libknot/packet/.libs/libknot_la-pkt.o libknot/packet/.libs/libknot_la-rrset-wire.o libknot/processing/.libs/libknot_la-layer.o libknot/processing/.libs/libknot_la-overlay.o libknot/processing/.libs/libknot_la-requestor.o libknot/.libs/libknot_la-rdata.o libknot/.libs/libknot_la-rdataset.o libknot/.libs/libknot_la-rrset-dump.o libknot/.libs/libknot_la-rrset.o libknot/rrtype/.libs/libknot_la-nsec3.o libknot/rrtype/.libs/libknot_la-nsec3param.o libknot/rrtype/.libs/libknot_la-opt.o libknot/rrtype/.libs/libknot_la-tsig.o libknot/.libs/libknot_la-tsig-op.o libknot/.libs/libknot_la-tsig.o -Wl,--whole-archive ./.libs/libknot-internal.a -Wl,--no-whole-archive -Wl,-rpath -Wl,/srv/jenkins-slave/workspace/sid-goto-cc-knot/knot-2.0.1/src/dnssec/.libs -llmdb dnssec/.libs/libdnssec.so -ldl -lpthread -lm -O0 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -Wl,-soname -Wl,libknot.so.1 -o .libs/libknot.so.1.0.0
file shared/base32hex.c line 61: error: conflicting parameter counts of function declarations `base32hex_encode'
old definition in module `rrset-dump' file ./libknot/internal/base32hex.h line 48
signed int (const unsigned char *in, const unsigned int in_len, unsigned char *out, const unsigned int out_len)
new definition in module `base32hex' file shared/base32hex.c line 61
signed int (const struct dnssec_binary *src, struct dnssec_binary *dst)
Makefile:1400: recipe for target 'libknot.la' failed
make[5]: *** [libknot.la] Error 64
make[5]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-knot/knot-2.0.1/src'
Makefile:3120: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
It seems there are two full (yet different) implementations of a function with
the same name; it is left to the linker to hopefully pick the most appropriate
one.
This is certainly an upstream issue, but as the package maintainer is part of
the upstream team and I'm not signed up to upstream's bug tracker it's hopefully
ok to report this to the Debian BTS...
Best,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 841 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-dns-devel/attachments/20151012/7d82aa3e/attachment.sig>
More information about the Pkg-dns-devel
mailing list