FS#39316 - [xxkb] build fails

Attached to Project: Community Packages
Opened by Joel Teichroeb (klusark) - Monday, 10 March 2014, 19:45 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 11 March 2014, 10:43 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
==> Starting build()...
imake -DUseInstalled -I/usr/lib/X11/config
gcc -O2 -Wall -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DAPPDEFDIR=\"/usr/lib/X11/app-defaults\" -DAPPDEFFILE=\"XXkb\" -DXT_RESOURCE_SEARCH -DSHAPE_EXT -D_FORTIFY_SOURCE=2 -c -o xxkb.o xxkb.c
gcc -O2 -Wall -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DAPPDEFDIR=\"/usr/lib/X11/app-defaults\" -DAPPDEFFILE=\"XXkb\" -DXT_RESOURCE_SEARCH -DSHAPE_EXT -D_FORTIFY_SOURCE=2 -c -o resource.o resource.c
gcc -O2 -Wall -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DAPPDEFDIR=\"/usr/lib/X11/app-defaults\" -DAPPDEFFILE=\"XXkb\" -DXT_RESOURCE_SEARCH -DSHAPE_EXT -D_FORTIFY_SOURCE=2 -c -o wlist.o wlist.c
rm -f xxkb._man
if test -z "" ; then \
cd `dirname xxkb` && \
ln -s `basename xxkb.man` `basename xxkb._man`; \
else \
cpp -undef -traditional -D__apploaddir__=/usr/lib/X11/app-defaults -D__appmansuffix__=1x -D__filemansuffix__=5x -D__libmansuffix__=3x -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" \
< xxkb.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xxkb._man; \
fi
sed -e "s#PIXMAPDIR#/usr/share/xxkb#g" XXkb.ad.var > XXkb.ad
resource.c: In function 'GetElementRes':
resource.c:271:6: warning: pointer targets in passing argument 9 of 'XWMGeometry' differ in signedness [-Wpointer-sign]
&geom->gravity);
^
In file included from resource.c:23:0:
/usr/include/X11/Xutil.h:812:12: note: expected 'int *' but argument is of type 'unsigned int *'
extern int XWMGeometry(
^
resource.c:271:6: warning: pointer targets in passing argument 10 of 'XWMGeometry' differ in signedness [-Wpointer-sign]
&geom->gravity);
^
In file included from resource.c:23:0:
/usr/include/X11/Xutil.h:812:12: note: expected 'int *' but argument is of type 'unsigned int *'
extern int XWMGeometry(
^
xxkb.c: In function 'main':
xxkb.c:313:3: warning: pointer targets in passing argument 6 of 'XQueryTree' differ in signedness [-Wpointer-sign]
XQueryTree(dpy, root_win, &rwin, &parent, &children, &num);
^
In file included from xxkb.c:13:0:
/usr/include/X11/Xlib.h:3029:15: note: expected 'unsigned int *' but argument is of type 'int *'
extern Status XQueryTree(
^
xxkb.c:450:7: warning: pointer targets in passing argument 9 of 'XQueryPointer' differ in signedness [-Wpointer-sign]
XQueryPointer(dpy, temp_win, &root, &child, &root_x, &root_y, &add_x, &add_y, &mask);
^
In file included from xxkb.c:13:0:
/usr/include/X11/Xlib.h:2995:13: note: expected 'unsigned int *' but argument is of type 'int *'
extern Bool XQueryPointer(
^
xxkb.c:670:6: warning: pointer targets in passing argument 6 of 'XQueryTree' differ in signedness [-Wpointer-sign]
XQueryTree(dpy, temp_win, &rwin, &parent, &children, &num);
^
In file included from xxkb.c:13:0:
/usr/include/X11/Xlib.h:3029:15: note: expected 'unsigned int *' but argument is of type 'int *'
extern Status XQueryTree(
^
xxkb.c: In function 'GetGrandParent':
xxkb.c:954:3: warning: pointer targets in passing argument 6 of 'XQueryTree' differ in signedness [-Wpointer-sign]
if (!XQueryTree(dpy, w, &rwin, &parent, &children, &num)) {
^
In file included from xxkb.c:13:0:
/usr/include/X11/Xlib.h:3029:15: note: expected 'unsigned int *' but argument is of type 'int *'
extern Status XQueryTree(
^
xxkb.c: In function 'GetAppWindow':
xxkb.c:974:2: warning: pointer targets in passing argument 6 of 'XQueryTree' differ in signedness [-Wpointer-sign]
if (!XQueryTree(dpy, win, &rwin, &parent, &children, &num)) {
^
In file included from xxkb.c:13:0:
/usr/include/X11/Xlib.h:3029:15: note: expected 'unsigned int *' but argument is of type 'int *'
extern Status XQueryTree(
^
rm -f xxkb
gcc -o xxkb -O2 -Wall -L/usr/lib64 xxkb.o resource.o wlist.o -lXext -lXt -lXpm
/usr/bin/ld: xxkb.o: undefined reference to symbol 'XStoreName'
/usr/lib/libX11.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:1050: recipe for target 'xxkb' failed
make: *** [xxkb] Error 1
==> ERROR: A failure occurred in build().
Aborting...

Steps to reproduce:
sudo extra-x86_64-build
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 11 March 2014, 10:43 GMT
Reason for closing:  Fixed

Loading...