[Docker-maint] Bug#748041: Conflicting declarations of function lookup

Michael Tautschnig mt at debian.org
Tue May 13 14:59:39 UTC 2014


Package: golang
Version: 2:1.2.1-2
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.

[...]
# Building compilers and Go bootstrap tool for host, linux/amd64.
lib9
[...]
cmd/6l

error: conflicting function declarations "lookup"
old definition in module data file /srv/jenkins-slave/workspace/sid-goto-cc-golang/golang-1.2.1/src/cmd/6l/l.h line 405
struct Sym * (char *name, signed int v)
new definition in module 8db file /srv/jenkins-slave/workspace/sid-goto-cc-golang/golang-1.2.1/include/mach.h line 377
signed int (char *, char *, struct Symbol *)
go tool dist: FAILED: gcc -Wall -Wstrict-prototypes -Wextra -Wunused -Wuninitialized -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment -Wno-missing-field-initializers -Werror -fno-common -ggdb -pipe -O2 -o /srv/jenkins-slave/workspace/sid-goto-cc-golang/golang-1.2.1/pkg/tool/linux_amd64/6l -m64 $WORK/data.o $WORK/decodesym.o $WORK/dwarf.o $WORK/elf.o $WORK/go.o $WORK/ldelf.o $WORK/ldmacho.o $WORK/ldpe.o $WORK/lib.o $WORK/macho.o $WORK/pe.o $WORK/symtab.o $WORK/asm.o $WORK/enam.o $WORK/list.o $WORK/obj.o $WORK/optab.o $WORK/pass.o $WORK/prof.o $WORK/span.o /srv/jenkins-slave/workspace/sid-goto-cc-golang/golang-1.2.1/pkg/obj/linux_amd64/libmach.a /srv/jenkins-slave/workspace/sid-goto-cc-golang/golang-1.2.1/pkg/obj/linux_amd64/libbio.a /srv/jenkins-slave/workspace/sid-goto-cc-golang/golang-1.2.1/pkg/obj/linux_amd64/lib9.a -lm
debian/rules:106: recipe for target 'debian/build.stamp' failed
make[1]: *** [debian/build.stamp] Error 1

Given that the signatures differ both in the number of parameters and the return
type, quite likely this conflict is not at all intended. Is there a "static"
missing?

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/docker-maint/attachments/20140513/88d927eb/attachment.sig>


More information about the Docker-maint mailing list