Package: ekg2
Version: 1:0.4~pre+20120506.1-4
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.

[...]
libtool: link: gcc -std=gnu99 -shared  -fPIC -DPIC  
.libs/plugins_perl_perl_la-perl_bless.o .libs/plugins_perl_perl_la-perl_core.o 
.libs/plugins_perl_perl_la-perl_ekg.o   -L/usr/local/lib 
-L/usr/lib/perl/5.18/CORE -lperl -ldl -lm -lpthread -lc -lcrypt  -O2 -Wl,-E   
-Wl,-soname -Wl,perl.so -o plugins/perl/.libs/perl.so
file plugins/perl/perl_ekg.c line 35: 

error: conflicting function declarations "perl_variable_changed"
old definition in module perl_core file plugins/perl/perl_core.c line 72
signed int (struct script *scr, script_var_t *scr_var)
new definition in module perl_ekg file plugins/perl/perl_ekg.c line 35
signed int (struct script *, script_var_t *, char *)

Note that the actual declaration of perl_ekg.c stems from scripts.h:

http://sources.debian.net/src/ekg2/1:0.4~pre%2B20120506.1-4/ekg/scripts.h#L152

The way to fix this might be adding a parameter to the implementation:

http://sources.debian.net/src/ekg2/1:0.4~pre%2B20120506.1-4/plugins/perl/perl_core.c#L72

(But there may be other issues.)

Best,
Michael

Attachment: pgpRVmjjMhLGj.pgp
Description: PGP signature

Reply via email to