Package: gridengine
Version: 6.2u5-7.3
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 -o qstat -g  -DSGE_LOCK_DEBUG -L/usr/lib/ -L. -rdynamic  -L/usr/lib qstat.o 
parse_job_cull.o parse_qsub.o read_defaults.o qstat_printing.o 
sge_cqueue_qstat.o show_job.o sig_handlers.o usage.o sge_options.o 
sge_mt_init.o qstat_cmdline.o qstat_xml.o sge_qstat.o -lsched -levc -lgdi 
-lsgeobj -lsgeobjd   -lcull -lcomm -lcommlists -luti  -llck -lrmon -ldl  
-ljemalloc -lm -lpthread

error: conflicting function declarations "cqueue_summary_xml_handler_init"
old definition in module qstat file ../clients/qstat/qstat_xml.h line 52
signed int (struct cqueue_summary_handler_str *, struct _lList **)
new definition in module qstat_xml file ../clients/qstat/qstat_xml.c line 110
signed int (struct cqueue_summary_handler_str *handler)
../clients/qstat/Makefile:86: recipe for target 'qstat' failed
make[1]: *** [qstat] Error 64

The problem is the declaration in qstat_xml.h:

http://sources.debian.net/src/gridengine/6.2u5-7.3/source/clients/qstat/qstat_xml.h?hl=52#L52

that does not match the definition:

http://sources.debian.net/src/gridengine/6.2u5-7.3/source/clients/qstat/qstat_xml.c?hl=110#L110

Thus the calls in qstat.c pass an unnecessary second argument (which may hint at
actual problems).

Best,
Michael

Attachment: pgpwbnML79R1j.pgp
Description: PGP signature

Reply via email to