Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 831819 Details for
Bug 881081
x11-misc/trayer-1.0-r4 - main.c: error: incompatible function pointer types initializing int
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
x11-misc:trayer-1.0-r4:20221112-032211.log
x11-misc:trayer-1.0-r4:20221112-032211.log (text/plain), 14.79 KB, created by
Toralf Förster
on 2022-11-12 10:37:27 UTC
(
hide
)
Description:
x11-misc:trayer-1.0-r4:20221112-032211.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-11-12 10:37:27 UTC
Size:
14.79 KB
patch
obsolete
> * Package: x11-misc/trayer-1.0-r4:0 > * Repository: gentoo > * Maintainer: desktop-misc@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking trayer-1.0-sourceforge.tar.gz to /var/tmp/portage/x11-misc/trayer-1.0-r4/work >>>> Source unpacked in /var/tmp/portage/x11-misc/trayer-1.0-r4/work >>>> Preparing source in /var/tmp/portage/x11-misc/trayer-1.0-r4/work/trayer-1.0 ... > * Applying trayer-1.0-dont-include-gdk-pixbuf-xlib.patch ... > [ ok ] > * Applying trayer-1.0-dont-include-libXmu.patch ... > [ ok ] > * Applying trayer-1.0-as-needed-and-pre-stripped.patch ... >patching file Makefile >Hunk #1 succeeded at 35 with fuzz 1 (offset -1 lines). > [ ok ] > * Applying trayer-1.0-fno-common.patch ... > [ ok ] >>>> Source prepared. > * Clang 16 testing: this build is using a /etc/portage/bashrc hook! >>>> Configuring source in /var/tmp/portage/x11-misc/trayer-1.0-r4/work/trayer-1.0 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/x11-misc/trayer-1.0-r4/work/trayer-1.0 ... >make -j4 CC=clang 'CFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int' CPPFLAGS= -C systray >make: Entering directory '/var/tmp/portage/x11-misc/trayer-1.0-r4/work/trayer-1.0/systray' >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -I../ -c egg-marshal.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -I../ -c fixedtip.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -I../ -c main.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -I../ -c eggtraymanager.c >In file included from fixedtip.c:22: >In file included from ./fixedtip.h:25: >In file included from /usr/include/gtk-2.0/gtk/gtk.h:33: >In file included from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32: >In file included from /usr/include/gtk-2.0/gtk/gtkdialog.h:35: >In file included from /usr/include/gtk-2.0/gtk/gtkwindow.h:36: >In file included from /usr/include/gtk-2.0/gtk/gtkbin.h:35: >In file included from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35: >In file included from /usr/include/gtk-2.0/gtk/gtkwidget.h:36: >In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37: >/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is > deprecated [-Wdeprecated-declarations] >void gtk_type_init (GTypeDebugFlags debug_flags); > ^ >/usr/include/glib-2.0/gobject/gtype.h:706:19: note: 'GTypeDebugFlags' has been > explicitly marked deprecated here >} GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; > ^ >/usr/include/glib-2.0/glib/gversionmacros.h:570:49: note: expanded from macro > 'GLIB_DEPRECATED_TYPE_IN_2_36' ># define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE > ^ >/usr/include/glib-2.0/glib/gmacros.h:1278:30: note: expanded from macro > 'GLIB_DEPRECATED_TYPE' >#define GLIB_DEPRECATED_TYPE G_DEPRECATED > ^ >/usr/include/glib-2.0/glib/gmacros.h:1201:37: note: expanded from macro > 'G_DEPRECATED' >#define G_DEPRECATED __attribute__((__deprecated__)) > ^ >In file included from eggtraymanager.c:22: >In file included from /usr/include/gtk-2.0/gtk/gtkinvisible.h:34: >In file included from /usr/include/gtk-2.0/gtk/gtkwidget.h:36: >In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37: >/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is > deprecated [-Wdeprecated-declarations] >void gtk_type_init (GTypeDebugFlags debug_flags); > ^ >/usr/include/glib-2.0/gobject/gtype.h:706:19: note: 'GTypeDebugFlags' has been > explicitly marked deprecated here >} GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; > ^ >/usr/include/glib-2.0/glib/gversionmacros.h:570:49: note: expanded from macro > 'GLIB_DEPRECATED_TYPE_IN_2_36' ># define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE > ^ >/usr/include/glib-2.0/glib/gmacros.h:1278:30: note: expanded from macro > 'GLIB_DEPRECATED_TYPE' >#define GLIB_DEPRECATED_TYPE G_DEPRECATED > ^ >/usr/include/glib-2.0/glib/gmacros.h:1201:37: note: expanded from macro > 'G_DEPRECATED' >#define G_DEPRECATED __attribute__((__deprecated__)) > ^ >In file included from main.c:7: >In file included from ../panel.h:6: >In file included from /usr/include/gtk-2.0/gtk/gtk.h:33: >In file included from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32: >In file included from /usr/include/gtk-2.0/gtk/gtkdialog.h:35: >In file included from /usr/include/gtk-2.0/gtk/gtkwindow.h:36: >In file included from /usr/include/gtk-2.0/gtk/gtkbin.h:35: >In file included from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35: >In file included from /usr/include/gtk-2.0/gtk/gtkwidget.h:36: >In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37: >/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is > deprecated [-Wdeprecated-declarations] >void gtk_type_init (GTypeDebugFlags debug_flags); > ^ >/usr/include/glib-2.0/gobject/gtype.h:706:19: note: 'GTypeDebugFlags' has been > explicitly marked deprecated here >} GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; > ^ >/usr/include/glib-2.0/glib/gversionmacros.h:570:49: note: expanded from macro > 'GLIB_DEPRECATED_TYPE_IN_2_36' ># define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE > ^ >/usr/include/glib-2.0/glib/gmacros.h:1278:30: note: expanded from macro > 'GLIB_DEPRECATED_TYPE' >#define GLIB_DEPRECATED_TYPE G_DEPRECATED > ^ >/usr/include/glib-2.0/glib/gmacros.h:1201:37: note: expanded from macro > 'G_DEPRECATED' >#define G_DEPRECATED __attribute__((__deprecated__)) > ^ >eggtraymanager.c:581:25: warning: passing 'guchar *' (aka 'unsigned char *') to > parameter of type 'const gchar *' (aka 'const char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > if (!g_utf8_validate (val, nitems, NULL)) > ^~~ >/usr/include/glib-2.0/glib/gunicode.h:896:41: note: passing argument to > parameter 'str' here >gboolean g_utf8_validate (const gchar *str, > ^ >eggtraymanager.c:587:23: warning: passing 'guchar *' (aka 'unsigned char *') to > parameter of type 'const gchar *' (aka 'const char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > retval = g_strndup (val, nitems); > ^~~ >/usr/include/glib-2.0/glib/gstrfuncs.h:227:53: note: passing argument to > parameter 'str' here >gchar* g_strndup (const gchar *str, > ^ >In file included from In file included from fixedtip.cmain.c::227: >: >In file included from In file included from ./fixedtip.h../panel.h::256: >: >In file included from In file included from /usr/include/gtk-2.0/gtk/gtk.h/usr/include/gtk-2.0/gtk/gtk.h::126126: >: >In file included from In file included from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h/usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h::3030: >: >In file included from In file included from /usr/include/gtk-2.0/gtk/gtktoolbutton.h/usr/include/gtk-2.0/gtk/gtktoolbutton.h::3030: >: >In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.hIn file included from :/usr/include/gtk-2.0/gtk/gtktoolitem.h31:: >31/usr/include/gtk-2.0/gtk/gtktooltips.h: >:/usr/include/gtk-2.0/gtk/gtktooltips.h73::733::3 :warning: 'GTimeVal'warning: 'GTimeVal'is isdeprecated: deprecated: > Use 'GDateTime' instead [-Wdeprecated-declarations] > > Use 'GDateTime' instead [-Wdeprecated-declarations] > GTimeVal last_popdown; > ^ > GTimeVal last_popdown; > ^ >/usr/include/glib-2.0/glib/gtypes.h:574:35: note: 'GTimeVal' has been explicitly > /usr/include/glib-2.0/glib/gtypes.hmarked: 574deprecated: 35here: > note: 'GTimeVal' has been explicitly > marked deprecated here >typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); > ^ >/usr/include/glib-2.0/glib/gversionmacros.h:983:49typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);: > ^note: >expanded from macro/usr/include/glib-2.0/glib/gversionmacros.h >: 983'GLIB_DEPRECATED_TYPE_IN_2_62_FOR': >49: note: expanded from macro > 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' ># define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) > ^ ># define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f) >/usr/include/glib-2.0/glib/gmacros.h ^: >1279/usr/include/glib-2.0/glib/gmacros.h::371279:: 37note: :expanded note: fromexpanded macrofrom > macro'GLIB_DEPRECATED_TYPE_FOR' > > 'GLIB_DEPRECATED_TYPE_FOR' >#define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) >#define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ > > ^/usr/include/glib-2.0/glib/gmacros.h >:1211:/usr/include/glib-2.0/glib/gmacros.h44::1211 :note: 44expanded: fromnote: expandedmacro >from 'G_DEPRECATED_FOR'macro > >'G_DEPRECATED_FOR' >#define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' ... > ^ >#define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' ... > ^ >3 warnings generated. >In file included from main.c:9: >../plugin.h:25:31: warning: declaration of 'struct _plugin' will not be visible > outside of this function [-Wvisibility] > int (*constructor)(struct _plugin *this); > ^ >../plugin.h:26:31: warning: declaration of 'struct _plugin' will not be visible > outside of this function [-Wvisibility] > void (*destructor)(struct _plugin *this); > ^ >main.c:138:5: warning: use of GNU old-style field designator extension > [-Wgnu-designator] > fname: NULL, > ^~~~~~ > .fname = >main.c:139:5: warning: use of GNU old-style field designator extension > [-Wgnu-designator] > count: 0, > ^~~~~~ > .count = >main.c:141:5: warning: use of GNU old-style field designator extension > [-Wgnu-designator] > type : "tray", > ^~~~~~ > .type = >main.c:142:5: warning: use of GNU old-style field designator extension > [-Wgnu-designator] > name : "tray", > ^~~~~~ > .name = >main.c:143:5: warning: use of GNU old-style field designator extension > [-Wgnu-designator] > version: "1.0", > ^~~~~~~~ > .version = >main.c:144:5: warning: use of GNU old-style field designator extension > [-Wgnu-designator] > description : "Old KDE/GNOME Tray", > ^~~~~~~~~~~~~ > .description = >main.c:146:5: warning: use of GNU old-style field designator extension > [-Wgnu-designator] > constructor : tray_constructor, > ^~~~~~~~~~~~~ > .constructor = >main.c:147:5: warning: use of GNU old-style field designator extension > [-Wgnu-designator] > destructor : tray_destructor, > ^~~~~~~~~~~~~ > .destructor = >main.c:146:19: error: incompatible function pointer types initializing 'int > (*)(struct _plugin *)' with an expression of type 'int (plugin *)' (aka > 'int (struct _plugin *)') [-Werror,-Wincompatible-function-pointer-types] > constructor : tray_constructor, > ^~~~~~~~~~~~~~~~ >main.c:147:19: error: incompatible function pointer types initializing 'void > (*)(struct _plugin *)' with an expression of type 'void (plugin *)' (aka > 'void (struct _plugin *)') [-Werror,-Wincompatible-function-pointer-types] > destructor : tray_destructor, > ^~~~~~~~~~~~~~~ >12 warnings and 2 errors generated. >make: *** [Makefile:18: main.o] Error 1 shuffle=2847255877 >make: *** Waiting for unfinished jobs.... >2 warnings generated. >make: Leaving directory '/var/tmp/portage/x11-misc/trayer-1.0-r4/work/trayer-1.0/systray' > * ERROR: x11-misc/trayer-1.0-r4::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=x11-misc/trayer-1.0-r4::gentoo'`, > * the complete build log and the output of `emerge -pqv '=x11-misc/trayer-1.0-r4::gentoo'`. > * The complete build log is located at '/var/log/portage/x11-misc:trayer-1.0-r4:20221112-032211.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-misc/trayer-1.0-r4/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/x11-misc/trayer-1.0-r4/temp/environment'. > * Working directory: '/var/tmp/portage/x11-misc/trayer-1.0-r4/work/trayer-1.0' > * S: '/var/tmp/portage/x11-misc/trayer-1.0-r4/work/trayer-1.0' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 881081
:
831807
|
831809
|
831811
|
831813
|
831815
|
831817
| 831819