Package: imms
Version: 3.1.0~svn301-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.

g++ audplugindef.o audplugin.o audaciousinterface.o clientstubbase.o 
libimmscore.a  -laudcore -laudgui -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 
-latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 
-lglib-2.0  -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0   \
    -L. -lXss -lXext -lX11 -lsqlite3 -lz  -lpcre  -ltorch -ltag 
-L/usr/X11R6/lib -Wl,-z,relro -L/usr/X11R6/lib \
            -shared -Wl,-z,defs,-soname,libaudaciousimms.so -o 
libaudaciousimms.so

error: conflicting function declarations "init"
old definition in module audplugindef file ../clients/audacious/audplugindef.c 
line 8
signed int (void)
new definition in module bmpinterface file ../clients/bmp/bmpinterface.c line 69
void (void)
objcopy: cannot open: libaudaciousimms.so.goto-cc-saved: No such file or 
directory
collect2: error: ld returned 64 exit status

../rules.mk:35: recipe for target 'libaudaciousimms.so' failed
make[2]: *** [libaudaciousimms.so] Error 1
make[2]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-imms/imms-3.1.0~svn301/build'
Makefile:55: recipe for target 'all' failed

This conflict appears to be caused by one of the patches, which seemingly is
incomplete:

http://sources.debian.net/src/imms/3.1.0~svn301-3/debian/patches/audacious-3.x.patch?hl=53#L53

This patch modifies the return type of init in clients/audacious, but does not
do anything about the alternative definitions of init, such as the one in
clients/bmp.

(Whether that duplicate public definition of init is desired at all is a
different story and might be worth a review.)

Best,
Michael

Attachment: pgphZbt2uHRpe.pgp
Description: PGP signature

Reply via email to