The bug has been fixed in http://pulkomandy.tk/projects/GrafX2/changeset/2072/ 
and will be part of our next release. Thanks!

Any chance of getting GrafX2 2.4 in debian soon? it's been released for some 
time now but Debian never packaged it...

-- 
Adrien.

16 mai 2014 12:00 "Michael Tautschnig"  a écrit: 

> Package: grafx2
> Version: 2.3-1.1
> 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 ../obj/unix/main.o ../obj/unix/init.o ../obj/unix/graph.o 
> ../obj/unix/sdlscreen.o  ../obj/unix/misc.o ../obj/unix/special.o 
> ../obj/unix/buttons.o ../obj/unix/palette.o ../obj/unix/help.o 
> ../obj/unix/operatio.o ../obj/unix/pages.o ../obj/unix/loadsave.o 
> ../obj/unix/readline.o ../obj/unix/engine.o ../obj/unix/filesel.o 
> ../obj/unix/op_c.o ../obj/unix/readini.o ../obj/unix/saveini.o 
> ../obj/unix/shade.o ../obj/unix/keyboard.o ../obj/unix/io.o 
> ../obj/unix/version.o ../obj/unix/text.o ../obj/unix/SFont.o 
> ../obj/unix/setup.o ../obj/unix/pxsimple.o ../obj/unix/pxtall.o 
> ../obj/unix/pxwide.o ../obj/unix/pxdouble.o ../obj/unix/pxtriple.o 
> ../obj/unix/pxtall2.o ../obj/unix/pxwide2.o ../obj/unix/pxquad.o 
> ../obj/unix/windows.o ../obj/unix/brush.o ../obj/unix/realpath.o 
> ../obj/unix/mountlist.o ../obj/unix/input.o ../obj/unix/hotkeys.o 
> ../obj/unix/transform.o ../obj/unix/pversion.o ../obj/unix/factory.o  
> ../obj/unix/fileformats.o ../obj/unix/miscfileformats.o 
> ../obj/unix/libraw2crtc.o ../obj/unix/brush_ops.o 
> ../obj/unix/buttons_effects.o ../obj/unix/layers.o -o ../bin/grafx2 
> `sdl-config --libs` -lSDL_image -L/usr/local/lib -lSDL_ttf -lX11 -lpng 
> `pkg-config lua --libs --silence-errors ||pkg-config lua5.1 --libs 
> --silence-errors ||pkg-config lua-5.1 --libs` -lm
> 
> error: conflicting function declarations "raw2crtc"
> paramenter counts differ (8/9)
> old definition in module miscfileformats file libraw2crtc.h line 12
> unsigned char * (unsigned short int, unsigned short int, unsigned char, 
> unsigned char, unsigned long int *, unsigned char *, unsigned char, unsigned 
> char)
> new definition in module libraw2crtc file libraw2crtc.c line 60
> unsigned char * (T_IO_Context *context, unsigned short int width, unsigned 
> short int height, unsigned char mode, unsigned char r9, unsigned long int 
> *outSize, unsigned char *r1, unsigned char r12, unsigned char r13)
> 
> Makefile:435: recipe for target '../bin/grafx2' failed
> make[1]: *** [../bin/grafx2] Error 64
> make[1]: Leaving directory 
> '/srv/jenkins-slave/workspace/sid-goto-cc-grafx2/grafx2-2.3/src'
> debian/rules:16: recipe for target 'build-stamp' failed
> make: *** [build-stamp] Error 2
> 
> The declaration in libraw2crtc.h can be reviewed here:
> 
> http://sources.debian.net/src/grafx2/2.3-1.1/src/libraw2crtc.h?hl=12#L12
> 
> with the conflicting definition here:
> 
> http://sources.debian.net/src/grafx2/2.3-1.1/src/libraw2crtc.c?hl=60#L60
> 
> And here is the actually wrong use (there may be more), mislead by the
> declaration:
> 
> http://sources.debian.net/src/grafx2/2.3-1.1/src/miscfileformats.c?hl=2691#L2691
> 
> Best,
> Michael
>

Attachment: application2.pgp-signature
Description: Binary data

Reply via email to