Что с этим делать?<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">ALT beekeeper</b> <span dir="ltr">&lt;<a href="mailto:beehive@altlinux.org">beehive@altlinux.org</a>&gt;</span><br>

Date: 2010/10/18<br>Subject: trayer-1.0.5-alt1: Sisyphus/x86_64 test rebuild failed<br>To: <a href="mailto:mithraen@altlinux.org">mithraen@altlinux.org</a><br>Cc: <a href="mailto:beehive@altlinux.org">beehive@altlinux.org</a><br>

<br><br>Package: trayer-1.0.5-alt1<br>
Status: Sisyphus/x86_64 test rebuild failed<br>
Cannot build this package.<br>
Please investigate.<br>
Excerpt from build log:<br>
<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
panel.c:425: warning: passing argument 1 of &#39;XChangeProperty&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:2075: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
panel.c:438: warning: passing argument 1 of &#39;XChangeProperty&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:2075: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
panel.c:442: warning: passing argument 1 of &#39;XSelectInput&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:3136: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
panel.c: In function &#39;panel_stop&#39;:<br>
panel.c:566: warning: passing argument 1 of &#39;XSelectInput&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:3136: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
panel.c: In function &#39;handle_error&#39;:<br>
panel.c:638: warning: passing argument 1 of &#39;XGetErrorText&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:2607: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
panel.c: At top level:<br>
panel.c:23: warning: &#39;cprofile&#39; defined but not used<br>
gcc -O2     -Wall  -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -c misc.c<br>


misc.c: In function &#39;resolve_atoms&#39;:<br>
misc.c:217: warning: implicit declaration of function &#39;GDK_DISPLAY&#39;<br>
misc.c:217: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:218: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:219: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:220: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:221: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:222: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:223: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:224: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:225: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:226: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:227: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:228: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:229: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:230: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:231: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:232: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:233: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:234: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:235: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:237: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:238: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:239: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:240: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:241: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:242: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:243: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:244: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:245: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:246: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:247: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:248: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c:250: warning: passing argument 1 of &#39;XInternAtom&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:1544: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c: In function &#39;Xclimsg&#39;:<br>
misc.c:272: warning: passing argument 1 of &#39;XSendEvent&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:3142: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c: In function &#39;get_xaproperty&#39;:<br>
misc.c:288: warning: passing argument 1 of &#39;XGetWindowProperty&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xlib.h:2683: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
misc.c: In function &#39;get_textproperty&#39;:<br>
misc.c:328: warning: passing argument 1 of &#39;XGetTextProperty&#39; makes pointer from integer without a cast<br>
/usr/include/X11/Xutil.h:456: note: expected &#39;struct Display *&#39; but argument is of type &#39;int&#39;<br>
gcc -O2     -Wall  -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -c plugin.c<br>


gcc -O2     -Wall  -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -c gtkbar.c<br>


gcc -O2     -Wall  -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -c bg.c<br>


bg.c: In function &#39;bg_new_for_win&#39;:<br>
bg.c:65: warning: pointer targets in passing argument 6 of &#39;XGetGeometry&#39; differ in signedness<br>
/usr/include/X11/Xlib.h:2627: note: expected &#39;unsigned int *&#39; but argument is of type &#39;int *&#39;<br>
bg.c:65: warning: pointer targets in passing argument 7 of &#39;XGetGeometry&#39; differ in signedness<br>
/usr/include/X11/Xlib.h:2627: note: expected &#39;unsigned int *&#39; but argument is of type &#39;int *&#39;<br>
bg.c:65: warning: pointer targets in passing argument 8 of &#39;XGetGeometry&#39; differ in signedness<br>
/usr/include/X11/Xlib.h:2627: note: expected &#39;unsigned int *&#39; but argument is of type &#39;int *&#39;<br>
bg.c:65: warning: pointer targets in passing argument 9 of &#39;XGetGeometry&#39; differ in signedness<br>
/usr/include/X11/Xlib.h:2627: note: expected &#39;unsigned int *&#39; but argument is of type &#39;int *&#39;<br>
bg.c: In function &#39;modify_drawable&#39;:<br>
bg.c:142: warning: implicit declaration of function &#39;gdk_draw_pixbuf&#39;<br>
gcc  -o trayer panel.o misc.o plugin.o gtkbar.o bg.o systray/systray.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lX11 -L/usr/X11R6/lib<br>
panel.o: In function `handle_error&#39;:<br>
panel.c:(.text+0x1a1): undefined reference to `GDK_DISPLAY&#39;<br>
panel.o: In function `panel_stop&#39;:<br>
panel.c:(.text+0x35e): undefined reference to `GDK_DISPLAY&#39;<br>
panel.o: In function `panel_set_wm_strut&#39;:<br>
panel.c:(.text+0x704): undefined reference to `GDK_DISPLAY&#39;<br>
panel.c:(.text+0x73e): undefined reference to `GDK_DISPLAY&#39;<br>
panel.o: In function `panel_start_gui&#39;:<br>
panel.c:(.text+0xa3f): undefined reference to `GDK_DISPLAY&#39;<br>
panel.o:panel.c:(.text+0xa64): more undefined references to `GDK_DISPLAY&#39; follow<br>
collect2: ld returned 1 exit status<br>
make: *** [trayer] Error 1<br>
make: Leaving directory `/usr/src/RPM/BUILD/trayer-1.0.5&#39;<br>
error: Bad exit status from /usr/src/tmp/rpm-tmp.83245 (%build)<br>
<br>
RPM build errors:<br>
    Bad exit status from /usr/src/tmp/rpm-tmp.83245 (%build)<br>
Command exited with non-zero status 1<br>
6.22user 1.02system 0:08.67elapsed 83%CPU (0avgtext+0avgdata 0maxresident)k<br>
0inputs+0outputs (0major+118857minor)pagefaults 0swaps<br>
hsh-rebuild: rebuild of `trayer-1.0.5-alt1.src.rpm&#39; failed.<br>
Command exited with non-zero status 1<br>
<br>
--<br>
Sincerely yours,<br>
<font color="#888888">ALT beekeeper<br>
<br>
</font></div><br>