Package: mpack
Version: 1.6-8
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.

[...]
gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -O2 -g -Wall -Wl,-z,relro -o mpack  unixpk.o encode.o 
codes.o magic.o unixos.o xmalloc.o md5c.o  
unixpk.o: In function `main':
/srv/jenkins-slave/workspace/sid-goto-cc-mpack/mpack-1.6/unixpk.c:179: warning: 
the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'

error: conflicting function declarations "warn"
old definition in module unixpk file unixpk.c line 304
void (void)
new definition in module unixos file unixos.c line 41
void (char *)
Makefile:187: recipe for target 'mpack' failed
make[1]: *** [mpack] Error 64
make[1]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-mpack/mpack-1.6'
debian/rules:27: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 2

It seems that (at least) the following definitions of the function warn exist:

http://sources.debian.net/src/mpack/1.6-8/unixpk.c?hl=304#L304
http://sources.debian.net/src/mpack/1.6-8/macmpack.c?hl=220#L220

Depending on which of them the linker chooses, the behaviour will differ quite
drastically.

Best,
Michael

Attachment: pgpZlH5ddxyqb.pgp
Description: PGP signature

Reply via email to