[devel] Fwd: trayer-1.0.5-alt1: Sisyphus/x86_64 test rebuild failed

Victor Forsiuk force на altlinux.org
Вт Окт 19 10:47:13 UTC 2010


2010/10/19 Denis Smirnov <mithraen на freesource.info>

> Что с этим делать?
>

Не дефайнить GDK_DISABLE_DEPRECATED.


>
> ---------- Forwarded message ----------
> From: ALT beekeeper <beehive на altlinux.org>
> Date: 2010/10/18
> Subject: trayer-1.0.5-alt1: Sisyphus/x86_64 test rebuild failed
> To: mithraen на altlinux.org
> Cc: beehive на altlinux.org
>
>
> Package: trayer-1.0.5-alt1
> Status: Sisyphus/x86_64 test rebuild failed
> Cannot build this package.
> Please investigate.
> Excerpt from build log:
>
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> panel.c:425: warning: passing argument 1 of 'XChangeProperty' makes pointer
> from integer without a cast
> /usr/include/X11/Xlib.h:2075: note: expected 'struct Display *' but
> argument is of type 'int'
> panel.c:438: warning: passing argument 1 of 'XChangeProperty' makes pointer
> from integer without a cast
> /usr/include/X11/Xlib.h:2075: note: expected 'struct Display *' but
> argument is of type 'int'
> panel.c:442: warning: passing argument 1 of 'XSelectInput' makes pointer
> from integer without a cast
> /usr/include/X11/Xlib.h:3136: note: expected 'struct Display *' but
> argument is of type 'int'
> panel.c: In function 'panel_stop':
> panel.c:566: warning: passing argument 1 of 'XSelectInput' makes pointer
> from integer without a cast
> /usr/include/X11/Xlib.h:3136: note: expected 'struct Display *' but
> argument is of type 'int'
> panel.c: In function 'handle_error':
> panel.c:638: warning: passing argument 1 of 'XGetErrorText' makes pointer
> from integer without a cast
> /usr/include/X11/Xlib.h:2607: note: expected 'struct Display *' but
> argument is of type 'int'
> panel.c: At top level:
> panel.c:23: warning: 'cprofile' defined but not used
> 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
> misc.c: In function 'resolve_atoms':
> misc.c:217: warning: implicit declaration of function 'GDK_DISPLAY'
> misc.c:217: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:218: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:219: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:220: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:221: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:222: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:223: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:224: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:225: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:226: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:227: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:228: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:229: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:230: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:231: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:232: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:233: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:234: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:235: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:237: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:238: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:239: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:240: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:241: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:242: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:243: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:244: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:245: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:246: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:247: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:248: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c:250: warning: passing argument 1 of 'XInternAtom' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:1544: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c: In function 'Xclimsg':
> misc.c:272: warning: passing argument 1 of 'XSendEvent' makes pointer from
> integer without a cast
> /usr/include/X11/Xlib.h:3142: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c: In function 'get_xaproperty':
> misc.c:288: warning: passing argument 1 of 'XGetWindowProperty' makes
> pointer from integer without a cast
> /usr/include/X11/Xlib.h:2683: note: expected 'struct Display *' but
> argument is of type 'int'
> misc.c: In function 'get_textproperty':
> misc.c:328: warning: passing argument 1 of 'XGetTextProperty' makes pointer
> from integer without a cast
> /usr/include/X11/Xutil.h:456: note: expected 'struct Display *' but
> argument is of type 'int'
> 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
> 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
> 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
> bg.c: In function 'bg_new_for_win':
> bg.c:65: warning: pointer targets in passing argument 6 of 'XGetGeometry'
> differ in signedness
> /usr/include/X11/Xlib.h:2627: note: expected 'unsigned int *' but argument
> is of type 'int *'
> bg.c:65: warning: pointer targets in passing argument 7 of 'XGetGeometry'
> differ in signedness
> /usr/include/X11/Xlib.h:2627: note: expected 'unsigned int *' but argument
> is of type 'int *'
> bg.c:65: warning: pointer targets in passing argument 8 of 'XGetGeometry'
> differ in signedness
> /usr/include/X11/Xlib.h:2627: note: expected 'unsigned int *' but argument
> is of type 'int *'
> bg.c:65: warning: pointer targets in passing argument 9 of 'XGetGeometry'
> differ in signedness
> /usr/include/X11/Xlib.h:2627: note: expected 'unsigned int *' but argument
> is of type 'int *'
> bg.c: In function 'modify_drawable':
> bg.c:142: warning: implicit declaration of function 'gdk_draw_pixbuf'
> 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
> panel.o: In function `handle_error':
> panel.c:(.text+0x1a1): undefined reference to `GDK_DISPLAY'
> panel.o: In function `panel_stop':
> panel.c:(.text+0x35e): undefined reference to `GDK_DISPLAY'
> panel.o: In function `panel_set_wm_strut':
> panel.c:(.text+0x704): undefined reference to `GDK_DISPLAY'
> panel.c:(.text+0x73e): undefined reference to `GDK_DISPLAY'
> panel.o: In function `panel_start_gui':
> panel.c:(.text+0xa3f): undefined reference to `GDK_DISPLAY'
> panel.o:panel.c:(.text+0xa64): more undefined references to `GDK_DISPLAY'
> follow
> collect2: ld returned 1 exit status
> make: *** [trayer] Error 1
> make: Leaving directory `/usr/src/RPM/BUILD/trayer-1.0.5'
> error: Bad exit status from /usr/src/tmp/rpm-tmp.83245 (%build)
>
> RPM build errors:
>    Bad exit status from /usr/src/tmp/rpm-tmp.83245 (%build)
> Command exited with non-zero status 1
> 6.22user 1.02system 0:08.67elapsed 83%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+118857minor)pagefaults 0swaps
> hsh-rebuild: rebuild of `trayer-1.0.5-alt1.src.rpm' failed.
> Command exited with non-zero status 1
>
> --
> Sincerely yours,
> ALT beekeeper
>
>
>
> _______________________________________________
> Devel mailing list
> Devel на lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel
>
----------- следующая часть -----------
Вложение в формате HTML было удалено...
URL: <http://lists.altlinux.org/pipermail/devel/attachments/20101019/de132bda/attachment-0001.html>


Подробная информация о списке рассылки Devel