* Package: x11-plugins/wmcalendar-0.5.2-r2:0 * Repository: gentoo * Maintainer: voyageur@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking wmcalendar-0.5.2.tar.gz to /var/tmp/portage/x11-plugins/wmcalendar-0.5.2-r2/work >>> Source unpacked in /var/tmp/portage/x11-plugins/wmcalendar-0.5.2-r2/work >>> Preparing source in /var/tmp/portage/x11-plugins/wmcalendar-0.5.2-r2/work/wmcalendar-0.5.2/Src ... * Applying wmcalendar-0.5.2-exit-sin-and-cos.patch ... [ ok ] * Applying wmcalendar-0.5.2-rename_kill_func.patch ... [ ok ] * Applying wmcalendar-0.5.2-ical.patch ... [ ok ] * Applying wmcalendar-0.5.2-fno-common.patch ... patching file calendar.c patching file calendarfunc.c Hunk #1 succeeded at 24 with fuzz 2. patching file calendarfunc.h patching file calendar.h patching file settings.c patching file settings.h [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-plugins/wmcalendar-0.5.2-r2/work/wmcalendar-0.5.2/Src ... >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-plugins/wmcalendar-0.5.2-r2/work/wmcalendar-0.5.2/Src ... make -j4 x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int `pkg-config --cflags gtk+-2.0` -I. -DICON_TYPE= -D`uname -s` -DHAVE_SYS_TIME_H -c wmCalendar.c -o wmCalendar.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int `pkg-config --cflags gtk+-2.0` -I. -DICON_TYPE= -D`uname -s` -DHAVE_SYS_TIME_H -c settings.c -o settings.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int `pkg-config --cflags gtk+-2.0` -I. -DICON_TYPE= -D`uname -s` -DHAVE_SYS_TIME_H -c dockapp.c -o dockapp.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int `pkg-config --cflags gtk+-2.0` -I. -DICON_TYPE= -D`uname -s` -DHAVE_SYS_TIME_H -c calendarfunc.c -o calendarfunc.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int `pkg-config --cflags gtk+-2.0` -I. -DICON_TYPE= -D`uname -s` -DHAVE_SYS_TIME_H -c calendar.c -o calendar.o In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from settings.h:2, from settings.c:1: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from settings.h:2, from wmCalendar.h:68, from wmCalendar.c:10: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here 700 | { | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here 700 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ settings.c: In function ‘getSettings’: settings.c:68:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 68 | fread (set,1,lSize,stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ wmCalendar.c: In function ‘buttonPress’: wmCalendar.c:189:17: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 189 | system(applaunch); | ^~~~~~~~~~~~~~~~~ wmCalendar.c: In function ‘initValues’: wmCalendar.c:76:37: warning: iteration 10 invokes undefined behavior [-Waggressive-loop-optimizations] 76 | xdYear[j][i] = xeYear[j][i] - xsYear[j][i] + 1; | ~~~~~~~~~^~~ wmCalendar.c:74:18: note: within this loop 74 | for(i = 0; i < 12; ++i) | ~~^~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from calendar.h:3, from calendar.c:1: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here 700 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ calendar.c: In function ‘checkicalversion’: calendar.c:19:9: warning: format not a string literal and no format arguments [-Wformat-security] 19 | printf(msg); | ^~~~~~ calendar.c: In function ‘calendar’: calendar.c:78:8: error: implicit declaration of function ‘get_debug’; did you mean ‘g_debug’? [-Werror=implicit-function-declaration] 78 | if(get_debug())printf("check for new calendar data\n"); | ^~~~~~~~~ | g_debug calendar.c:79:33: error: implicit declaration of function ‘get_icsfile’ [-Werror=implicit-function-declaration] 79 | stream = fopen((const char*)get_icsfile(),"r"); | ^~~~~~~~~~~ calendar.c:79:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 79 | stream = fopen((const char*)get_icsfile(),"r"); | ^ calendar.c: In function ‘dayevents’: calendar.c:230:12: error: implicit declaration of function ‘eventOnDay’ [-Werror=implicit-function-declaration] 230 | if(eventOnDay(dt, it)){ | ^~~~~~~~~~ calendar.c:237:16: error: implicit declaration of function ‘daysEqual’ [-Werror=implicit-function-declaration] 237 | if(daysEqual(t1, t2)){ /* single event */ | ^~~~~~~~~ calendar.c: In function ‘deleteCalObjs’: calendar.c:327:17: warning: assignment to ‘struct calobj *’ from incompatible pointer type ‘struct calObj *’ [-Wincompatible-pointer-types] 327 | calRoot = help; | ^ calendar.c: In function ‘getDayType’: calendar.c:362:10: error: implicit declaration of function ‘civil_jdn’ [-Werror=implicit-function-declaration] 362 | jd = civil_jdn(dt); | ^~~~~~~~~ calendar.c: In function ‘eventOnDay’: calendar.c:395:9: error: implicit declaration of function ‘daysEarlierEqual’ [-Werror=implicit-function-declaration] 395 | if((daysEarlierEqual(dt, it->start) && daysLater(dt, it->end)) | ^~~~~~~~~~~~~~~~ calendar.c:395:44: error: implicit declaration of function ‘daysLater’ [-Werror=implicit-function-declaration] 395 | if((daysEarlierEqual(dt, it->start) && daysLater(dt, it->end)) | ^~~~~~~~~ cc1: some warnings being treated as errors make: *** [Makefile:23: calendar.o] Error 1 * ERROR: x11-plugins/wmcalendar-0.5.2-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-plugins/wmcalendar-0.5.2-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-plugins/wmcalendar-0.5.2-r2::gentoo'`. * The complete build log is located at '/var/log/portage/x11-plugins:wmcalendar-0.5.2-r2:20221005-192055.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-plugins/wmcalendar-0.5.2-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-plugins/wmcalendar-0.5.2-r2/temp/environment'. * Working directory: '/var/tmp/portage/x11-plugins/wmcalendar-0.5.2-r2/work/wmcalendar-0.5.2/Src' * S: '/var/tmp/portage/x11-plugins/wmcalendar-0.5.2-r2/work/wmcalendar-0.5.2/Src'