Package: lyskom-server
Version: 2.1.2-13
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 -Wall -W -Wbad-function-cast -Wcast-align -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wfloat-equal 
-pipe   -o lyskomd  ramkomd.o ram-smalloc.o simple-cache.o ram-parse.o 
ram-output.o disk-end-of-atomic.o cache-node.o string-malloc.o connections.o 
log.o text.o membership.o person.o conference.o session.o admin.o regex-match.o 
aux-items.o debug.o send-async.o server-config.o text-garb.o isc-parse.o 
memory.o prot-a-output.o prot-a-parse.o prot-a.o prot-a-send-async.o 
internal-connections.o rfc931.o isc-malloc.o conf-file.o local-to-global.o 
aux-item-def-parse.o aux-item-def-scan.o lockdb.o oop-malloc.o stats.o 
misc-types.o version-info.o prot-a-parse-arg.o 
../libraries/libisc-new/src/libisc.a ../libraries/liboop/liboop.a 
../libraries/adns/src/libadns.a ../libraries/libmisc/libmisc.a 
../libraries/libcommon/liblyskom-server.a ../libraries/regex/libregex.a 
../libraries/libeintr/libeintr.a ../libraries/libansi/libansi.a -lm -lcrypt 
-lresolv 

error: conflicting function declarations "aid_error"
old definition in module aux-item-def-parse file aux-item-def-parse.y line 357
void (const char *format, ...)
new definition in module aux-item-def-scan file aux-item-def-scan.l line 85
void (const char *, signed int, ...)
Makefile:540: recipe for target 'lyskomd' failed
make[5]: *** [lyskomd] Error 64
make[5]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-lyskom-server/lyskom-server-2.1.2/src/server'
Makefile:488: recipe for target 'all' failed
make[4]: *** [all] Error 2

Note that aid_error is yyerror here

http://sources.debian.net/src/lyskom-server/2.1.2-13/src/server/aux-item-def-parse.y?hl=132#L132

and here

http://sources.debian.net/src/lyskom-server/2.1.2-13/src/server/aux-item-def-scan.l?hl=85#L85

The second declaration suggests that at least a second argument is required,
which may have been introduced in some refactoring as the __attribute__ ((format
(printf ...))) bits following each of the above are inconsistent as well.

Looking at the uses of yyerror (and the definition), however, there is some
major mess here - this second argument wouldn't be used.

Best,
Michael

Attachment: pgpcQdINraucp.pgp
Description: PGP signature

Reply via email to