* Package: x11-plugins/wmcalendar-0.5.2-r2 * 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 ] >>> 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 ... >>> Source compiled. >>> Test phase [not enabled]: x11-plugins/wmcalendar-0.5.2-r2 >>> Install x11-plugins/wmcalendar-0.5.2-r2 into /var/tmp/portage/x11-plugins/wmcalendar-0.5.2-r2/image make -j1 DESTDIR=/var/tmp/portage/x11-plugins/wmcalendar-0.5.2-r2/image install x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 `pkg-config --cflags gtk+-2.0` -I. -DICON_TYPE= -D`uname -s` -DHAVE_SYS_TIME_H -c wmCalendar.c -o wmCalendar.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 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:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, 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, from settings.h:2, from wmCalendar.h:68, from wmCalendar.c:10: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ 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, from settings.h:2, from wmCalendar.h:68, from wmCalendar.c:10: /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:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, 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, from settings.h:2, from wmCalendar.h:68, from wmCalendar.c:10: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here 551 | struct _GTimeVal | ^~~~~~~~~ wmCalendar.c: In function buttonPress: wmCalendar.c:189:3: 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:30: warning: iteration 10 invokes undefined behavior [-Waggressive-loop-optimizations] 76 | xdYear[j][i] = xeYear[j][i] - xsYear[j][i] + 1; | ~~~~~~~~~^~~ wmCalendar.c:74:5: note: within this loop 74 | for(i = 0; i < 12; ++i) | ^~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 `pkg-config --cflags gtk+-2.0` -I. -DICON_TYPE= -D`uname -s` -DHAVE_SYS_TIME_H -c settings.c -o settings.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/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, 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, from settings.h:2, from settings.c:1: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ 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, from settings.h:2, from settings.c:1: /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:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, 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, from settings.h:2, from settings.c:1: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here 551 | struct _GTimeVal | ^~~~~~~~~ settings.c: In function getSettings: settings.c:58:2: warning: ignoring return value of fread, declared with attribute warn_unused_result [-Wunused-result] 58 | fread (set,1,lSize,stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 `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 -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 `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 -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 `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 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:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, 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, from calendar.h:3, from calendar.c:1: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ 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, from calendar.h:3, from calendar.c:1: /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:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, 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, from calendar.h:3, from calendar.c:1: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here 551 | struct _GTimeVal | ^~~~~~~~~ calendar.c: In function checkicalversion: calendar.c:14:2: warning: format not a string literal and no format arguments [-Wformat-security] 14 | printf(msg); | ^~~~~~ calendar.c: In function calendar: calendar.c:73:8: warning: implicit declaration of function get_debug; did you mean g_debug? [-Wimplicit-function-declaration] 73 | if(get_debug())printf("check for new calendar data\n"); | ^~~~~~~~~ | g_debug calendar.c:74:33: warning: implicit declaration of function get_icsfile [-Wimplicit-function-declaration] 74 | stream = fopen((const char*)get_icsfile(),"r"); | ^~~~~~~~~~~ calendar.c:74:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 74 | stream = fopen((const char*)get_icsfile(),"r"); | ^ calendar.c: In function dayevents: calendar.c:225:5: warning: implicit declaration of function eventOnDay [-Wimplicit-function-declaration] 225 | if(eventOnDay(dt, it)){ | ^~~~~~~~~~ calendar.c:232:9: warning: implicit declaration of function daysEqual [-Wimplicit-function-declaration] 232 | if(daysEqual(t1, t2)){ /* single event */ | ^~~~~~~~~ calendar.c: In function deleteCalObjs: calendar.c:322:10: warning: assignment to struct calobj * from incompatible pointer type struct calObj * [-Wincompatible-pointer-types] 322 | calRoot = help; | ^ calendar.c: In function getDayType: calendar.c:357:10: warning: implicit declaration of function civil_jdn [-Wimplicit-function-declaration] 357 | jd = civil_jdn(dt); | ^~~~~~~~~ calendar.c: In function eventOnDay: calendar.c:390:9: warning: implicit declaration of function daysEarlierEqual [-Wimplicit-function-declaration] 390 | if((daysEarlierEqual(dt, it->start) && daysLater(dt, it->end)) | ^~~~~~~~~~~~~~~~ calendar.c:390:44: warning: implicit declaration of function daysLater [-Wimplicit-function-declaration] 390 | if((daysEarlierEqual(dt, it->start) && daysLater(dt, it->end)) | ^~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 `pkg-config --cflags gtk+-2.0` -I. -DICON_TYPE= -Wl,-O1 -Wl,--as-needed wmCalendar.o settings.o dockapp.o calendarfunc.o calendar.o -lpthread -lm -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lXpm -lX11 -lXext -lical -licalss -licalvcal -o wmCalendar /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: settings.o:(.bss+0x4): multiple definition of `lang'; wmCalendar.o:(.bss+0xb5c): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: settings.o:(.bss+0x8): multiple definition of `appicon'; wmCalendar.o:(.bss+0xb60): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: settings.o:(.bss+0x80): multiple definition of `application'; wmCalendar.o:(.bss+0xbe0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: settings.o:(.bss+0x180): multiple definition of `icsfile'; wmCalendar.o:(.bss+0xce0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: settings.o:(.bss+0x60): multiple definition of `start_of_week'; wmCalendar.o:(.bss+0xbc0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: settings.o:(.bss+0x0): multiple definition of `debug'; wmCalendar.o:(.bss+0xb58): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: settings.o:(.bss+0x280): multiple definition of `rcfile'; wmCalendar.o:(.bss+0xde0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: settings.o:(.bss+0x20): multiple definition of `daystr'; wmCalendar.o:(.bss+0xb80): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: calendarfunc.o:(.bss+0x0): multiple definition of `datemoon'; wmCalendar.o:(.bss+0x400): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: calendar.o:(.bss+0x104): multiple definition of `xr'; wmCalendar.o:(.bss+0xb44): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: calendar.o:(.bss+0x100): multiple definition of `yr'; wmCalendar.o:(.bss+0xb40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: calendar.o:(.bss+0x0): multiple definition of `datetype'; wmCalendar.o:(.bss+0xa40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: calendar.o:(.bss+0x108): multiple definition of `calRoot'; wmCalendar.o:(.bss+0xb48): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: calendar.o:(.bss+0x110): multiple definition of `modtime'; wmCalendar.o:(.bss+0xb50): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:29: wmCalendar] Error 1 * ERROR: x11-plugins/wmcalendar-0.5.2-r2::gentoo failed (install 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:20200306-114649.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'