[Pkg-tigervnc-devel] Bug#843543: Bug#843543: Bug#843543: tigervnc: FTBFS with xserver 1.19

Yaroslav Halchenko yoh at debian.org
Wed Nov 30 15:45:35 UTC 2016


On Mon, 28 Nov 2016, Ola Lundqvist wrote:

> Hi fellow tigervnc developers

> I have fixed the bug in git however as I do not have a sid chroot
> available at the moment I can not build it. A later xorg-source needs
> more recent tools than I have in my stable box.

> This is the error I got:
> configure: error: Package requirements (fixesproto >= 5.0 damageproto
> >= 1.1 xcmiscproto >= 1.2.0 xtrans >= 1.3.5 bigreqsproto >= 1.1.0
> xproto >= 7.0.31 randrproto >= 1.5.0 renderproto >= 0.11 xextproto >=
> 7.2.99.901 inputproto >= 2.3 kbproto >= 1.0.3 fontsproto >= 2.1.3
> pixman-1 >= 0.27.2 videoproto compositeproto >= 0.4 recordproto >=
> 1.13.99.1 scrnsaverproto >= 1.1 resourceproto >= 1.2.0 presentproto >=
> 1.0 xineramaproto xkbfile  pixman-1 >= 0.27.2 xfont2 >= 2.0.0 xau
> libsystemd >= 209 xshmfence >= 1.1 xdmcp) were not met:

> Requested 'xtrans >= 1.3.5' but version of XTrans is 1.3.4
> Requested 'xproto >= 7.0.31' but version of Xproto is 7.0.26
> Requested 'randrproto >= 1.5.0' but version of RandrProto is 1.4.0
> No package 'xfont2' found

> It would be very good if one of you could add these build dependencies
> to the debian/control file, build on unstable and upload.

I have tried to build without any additional changes 

no problems with dependencies required was reported, but the build fails overall:
(full log:  http://neuro.debian.net/_files/_buildlogs/tigervnc/1.6.0+dfsg/tigervnc_1.6.0+dfsg-5_amd64.build)


/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/hw/vnc -I../../include  -DVENDOR_RELEASE="" -DVENDOR_STRING="\"\"" -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/../../common -UHAVE_CONFIG_H -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/../../unix/vncconfig -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Wimplicit -Wnonnull -Winit-self -Wmain -Wmissing-braces -Wsequence-point -Wreturn-type -Wtrigraphs -Warray-bounds -Wwrite-strings -Waddress -Wint-to-pointer-cast -Wpointer-to-int-cast -fno-strict-aliasing -fno-strict-aliasing -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/include -I../../include -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/Xext -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/composite -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/damageext -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/xfixes -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/Xi -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/mi -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/miext/sync -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/miext/shadow  -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/miext/damage -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/render -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/randr -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/fb -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/dbe -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/present -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/build/tigervnc-1.6.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/tigervnc-1.6.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -MT libvnccommon_la-vncHooks.lo -MD -MP -MF .deps/libvnccommon_la-vncHooks.Tpo -c -o libvnccommon_la-vncHooks.lo `test -f 'vncHooks.c' || echo '/build/tigervnc-1.6.0+dfsg/./unix/xserver/hw/vnc/'`vncHooks.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/hw/vnc -I../../include -DVENDOR_RELEASE= -DVENDOR_STRING=\"\" -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/../../common -UHAVE_CONFIG_H -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/../../unix/vncconfig -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Wimplicit -Wnonnull -Winit-self -Wmain -Wmissing-braces -Wsequence-point -Wreturn-type -Wtrigraphs -Warray-bounds -Wwrite-strings -Waddress -Wint-to-pointer-cast -Wpointer-to-int-cast -fno-strict-aliasing -fno-strict-aliasing -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/include -I../../include -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/Xext -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/composite -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/damageext -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/xfixes -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/Xi -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/mi -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/miext/sync -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/miext/shadow -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/miext/damage -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/render -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/randr -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/fb -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/dbe -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/present -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include -I/build/tigervnc-1.6.0+dfsg/./unix/xserver/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/tigervnc-1.6.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/tigervnc-1.6.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -MT libvnccommon_la-vncHooks.lo -MD -MP -MF .deps/libvnccommon_la-vncHooks.Tpo -c /build/tigervnc-1.6.0+dfsg/./unix/xserver/hw/vnc/vncHooks.c  -fPIC -DPIC -o .libs/libvnccommon_la-vncHooks.o
/build/tigervnc-1.6.0+dfsg/./unix/xserver/hw/vnc/vncHooks.c: In function 'vncHooksInit':
/build/tigervnc-1.6.0+dfsg/./unix/xserver/hw/vnc/vncHooks.c:318:25: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
   pScreen->BlockHandler = vncHooksBlockHandler;
                         ^
/build/tigervnc-1.6.0+dfsg/./unix/xserver/hw/vnc/vncHooks.c: In function 'vncHooksBlockHandler':
/build/tigervnc-1.6.0+dfsg/./unix/xserver/hw/vnc/vncHooks.c:708:4: error: too many arguments to function 'pScreen->BlockHandler'
   (*pScreen->BlockHandler) (pScreen, pTimeout, pReadmask);
   ~^~~~~~~~~~~~~~~~~~~~~~~
/build/tigervnc-1.6.0+dfsg/./unix/xserver/hw/vnc/vncHooks.c:415:45: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
 #define SCREEN_REWRAP(field) pScreen->field = vncHooks##field;
                                             ^
/build/tigervnc-1.6.0+dfsg/./unix/xserver/hw/vnc/vncHooks.c:713:3: note: in expansion of macro 'SCREEN_REWRAP'
   SCREEN_REWRAP(BlockHandler);
   ^~~~~~~~~~~~~
/build/tigervnc-1.6.0+dfsg/./unix/xserver/hw/vnc/vncHooks.c: In function 'vncHooksFillSpans':
/build/tigervnc-1.6.0+dfsg/./unix/xserver/hw/vnc/vncHooks.c:1034:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   GC_OP_PROLOGUE(pGC, FillSpans);
...
/build/tigervnc-1.6.0+dfsg/./unix/xserver/hw/vnc/vncHooks.c: In function 'vncHooksPushPixels':
/build/tigervnc-1.6.0+dfsg/./unix/xserver/hw/vnc/vncHooks.c:2086:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   GC_OP_PROLOGUE(pGC, PushPixels);
                  ^
/build/tigervnc-1.6.0+dfsg/./unix/xserver/hw/vnc/vncHooks.c:1015:25: note: in definition of macro 'GC_OP_PROLOGUE'
     GCFuncs *oldFuncs = pGC->funcs;\
                         ^~~
Makefile:881: recipe for target 'libvnccommon_la-vncHooks.lo' failed
make[3]: *** [libvnccommon_la-vncHooks.lo] Error 1
make[3]: Leaving directory '/build/tigervnc-1.6.0+dfsg/obj-x86_64-linux-gnu/unix/xserver/hw/vnc'



-- 
Yaroslav O. Halchenko
Center for Open Neuroscience     http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        



More information about the Pkg-tigervnc-devel mailing list