+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gkrellsun-1.0.0nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gkrellsun-1.0.0nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Installing for gkrellsun-1.0.0nb1 => Generating pre-install file lists => Creating installation directories Building gkrellsun for GKrellM version 2.2.x NOTE: GKrellM 2.2.x is for GTK+ 2.4.x versions. cd src20; make install; cd .. make[1]: Entering directory '/home/pbulk/build/misc/gkrellsun/work/gkrellsun-1.0.0/src20' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -O2 -Wall -fPIC `pkg-config gtk+-2.0 --cflags` -DENABLE_NLS -DLOCALEDIR=\"/opt/pkg/lib/locale\" -DPACKAGE="\"gkrellsun\"" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -c -o gkrellsun.o gkrellsun.c In file included from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gkrellm2/gkrellm.h:30, from gkrellsun.c:10: /home/pbulk/build/misc/gkrellsun/work/.buildlink/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 /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gobject/gobject.h:24, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gobject/gbinding.h:29, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib-object.h:22, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gio/gioenums.h:28, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gio/giotypes.h:28, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gio/gio.h:26, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gkrellm2/gkrellm.h:30, from gkrellsun.c:10: /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gobject/gtype.h:698:1: note: declared here 698 | { | ^ In file included from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gkrellm2/gkrellm.h:30, from gkrellsun.c:10: /home/pbulk/build/misc/gkrellsun/work/.buildlink/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 /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib/galloca.h:32, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib.h:30, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gobject/gbinding.h:28, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib-object.h:22, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gio/gioenums.h:28, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gio/giotypes.h:28, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gio/gio.h:26, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gkrellm2/gkrellm.h:30, from gkrellsun.c:10: /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib/gtypes.h:553:8: note: declared here 553 | struct _GTimeVal | ^~~~~~~~~ gkrellsun.c:226:30: error: expected ';', ',' or ')' before numeric constant 226 | static double dayLength(Sun *sun); | ^~~ gkrellsun.c:229:33: error: expected ';', ',' or ')' before numeric constant 229 | static void update_tooltip(Sun *sun); | ^~~ gkrellsun.c:231:35: error: expected ';', ',' or ')' before numeric constant 231 | static void update_sun_data(Sun * sun) | ^~~ gkrellsun.c:429:30: error: expected ';', ',' or ')' before numeric constant 429 | static double dayLength(Sun *sun) { | ^~~ gkrellsun.c:460:33: error: expected ';', ',' or ')' before numeric constant 460 | static double percentOfDay(Sun *sun, double tod) { | ^~~ gkrellsun.c:468:38: error: expected ';', ',' or ')' before numeric constant 468 | static double percentOfAltitude(Sun *sun, double tod) | ^~~ gkrellsun.c:481:35: error: expected ';', ',' or ')' before numeric constant 481 | static double altitudeAtNoon(Sun *sun) | ^~~ gkrellsun.c:491:26: error: expected ';', ',' or ')' before numeric constant 491 | static void drawSun(Sun *sun) | ^~~ gkrellsun.c:582:31: error: expected ';', ',' or ')' before numeric constant 582 | static void drawFullMoon(Sun *sun) | ^~~ gkrellsun.c:596:27: error: expected ';', ',' or ')' before numeric constant 596 | static void drawMoon(Sun *sun, int visible) { | ^~~ gkrellsun.c: In function 'computeY': gkrellsun.c:641:19: warning: variable 'x2' set but not used [-Wunused-but-set-variable] 641 | double x0, y0, x2, y2, radius; | ^~ gkrellsun.c:641:11: warning: variable 'x0' set but not used [-Wunused-but-set-variable] 641 | double x0, y0, x2, y2, radius; | ^~ gkrellsun.c: At top level: gkrellsun.c:661:30: error: expected ';', ',' or ')' before numeric constant 661 | static void computePath(Sun *sun, GkrellmDecal **path, double maxAlt) | ^~~ gkrellsun.c: In function 'sun_update_plugin': gkrellsun.c:756:22: error: expected identifier or '(' before numeric constant 756 | int timeXOffsets, sun, time; | ^~~ gkrellsun.c:775:4: warning: implicit declaration of function 'update_sun_data'; did you mean 'save_sun_data'? [-Wimplicit-function-declaration] 775 | update_sun_data(&sununit); | ^~~~~~~~~~~~~~~ | save_sun_data gkrellsun.c:777:34: warning: implicit declaration of function 'dayLength' [-Wimplicit-function-declaration] 777 | s_set = sununit.data.LTRise + dayLength(&sununit); | ^~~~~~~~~ gkrellsun.c:790:11: error: lvalue required as left operand of assignment 790 | sun = options.whichSun; | ^ gkrellsun.c:791:17: error: lvalue required as left operand of assignment 791 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^ gkrellsun.c:791:27: warning: comparison between pointer and integer 791 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^ gkrellsun.c:791:50: error: lvalue required as increment operand 791 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^~ gkrellsun.c:792:59: error: array subscript is not an integer 792 | gkrellm_make_decal_visible(panel, time_decal[sun][time]); | ^ gkrellsun.c:794:7: warning: implicit declaration of function 'drawSun' [-Wimplicit-function-declaration] 794 | drawSun(&sununit); | ^~~~~~~ gkrellsun.c:795:7: warning: implicit declaration of function 'drawMoon' [-Wimplicit-function-declaration] 795 | drawMoon(&sununit,options.showMiniMoon); | ^~~~~~~~ gkrellsun.c:803:11: error: lvalue required as left operand of assignment 803 | sun = options.whichSun; | ^ gkrellsun.c:804:17: error: lvalue required as left operand of assignment 804 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^ gkrellsun.c:804:27: warning: comparison between pointer and integer 804 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^ gkrellsun.c:804:50: error: lvalue required as increment operand 804 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^~ gkrellsun.c:805:61: error: array subscript is not an integer 805 | gkrellm_make_decal_invisible(panel, time_decal[sun][time]); | ^ gkrellsun.c:807:7: warning: implicit declaration of function 'drawFullMoon' [-Wimplicit-function-declaration] 807 | drawFullMoon(&sununit); | ^~~~~~~~~~~~ gkrellsun.c:865:40: warning: implicit declaration of function 'percentOfDay' [-Wimplicit-function-declaration] 865 | pos_x = (int) (SUN_INNER_WIDTH * percentOfDay(&sununit, sununit.data.LST)); | ^~~~~~~~~~~~ gkrellsun.c:866:31: warning: implicit declaration of function 'altitudeAtNoon' [-Wimplicit-function-declaration] 866 | pos_y = computeY(pos_x, altitudeAtNoon(&sununit)); | ^~~~~~~~~~~~~~ gkrellsun.c:881:8: error: lvalue required as left operand of assignment 881 | sun = options.whichSun; | ^ gkrellsun.c:882:14: error: lvalue required as left operand of assignment 882 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^ gkrellsun.c:882:24: warning: comparison between pointer and integer 882 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^ gkrellsun.c:882:47: error: lvalue required as increment operand 882 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^~ gkrellsun.c:884:47: error: array subscript is not an integer 884 | gkrellm_decal_text_clear(time_decal[sun][time]); | ^ gkrellsun.c:885:48: error: array subscript is not an integer 885 | gkrellm_decal_text_insert(time_decal[sun][time], time_str[time], textOptions.timeStyles[sun][time], 0, 0); | ^ gkrellsun.c:885:64: error: array subscript is not an integer 885 | gkrellm_decal_text_insert(time_decal[sun][time], time_str[time], textOptions.timeStyles[sun][time], 0, 0); | ^ gkrellsun.c:885:99: error: array subscript is not an integer 885 | gkrellm_decal_text_insert(time_decal[sun][time], time_str[time], textOptions.timeStyles[sun][time], 0, 0); | ^ gkrellsun.c:887:16: warning: comparison between pointer and integer 887 | if (time == TIME_ETA) | ^~ gkrellsun.c:888:51: error: array subscript is not an integer 888 | gkrellm_move_decal(panel, time_decal[sun][time], textOptions.timeXOffsets[CLOCK24], textOptions.timeYOffsets[time]); | ^ gkrellsun.c:888:118: error: array subscript is not an integer 888 | gkrellm_move_decal(panel, time_decal[sun][time], textOptions.timeXOffsets[CLOCK24], textOptions.timeYOffsets[time]); | ^ gkrellsun.c:890:51: error: array subscript is not an integer 890 | gkrellm_move_decal(panel, time_decal[sun][time], timeXOffsets, textOptions.timeYOffsets[time]); | ^ gkrellsun.c:890:97: error: array subscript is not an integer 890 | gkrellm_move_decal(panel, time_decal[sun][time], timeXOffsets, textOptions.timeYOffsets[time]); | ^ gkrellsun.c: At top level: gkrellsun.c:897:41: error: expected ';', ',' or ')' before numeric constant 897 | static void show_moon_riseset_time(Sun *sun, gint offset, char *dayName, | ^~~ gkrellsun.c:927:21: error: expected ';', ',' or ')' before numeric constant 927 | update_tooltip(Sun *sun) | ^~~ gkrellsun.c: In function 'setFontInfo': gkrellsun.c:1185:51: error: expected identifier or '(' before numeric constant 1185 | gint chart_width, starting_y, y_spacing, time, sun; | ^~~ gkrellsun.c:1212:16: error: lvalue required as left operand of assignment 1212 | for (sun = 0; sun < NUMBER_OF_SUNS; sun++) | ^ gkrellsun.c:1212:46: error: lvalue required as increment operand 1212 | for (sun = 0; sun < NUMBER_OF_SUNS; sun++) | ^~ gkrellsun.c: In function 'createTimeDecals': gkrellsun.c:1236:9: error: expected identifier or '(' before numeric constant 1236 | gint sun, time; | ^~~ gkrellsun.c:1238:12: error: lvalue required as left operand of assignment 1238 | for(sun = 0; sun < NUMBER_OF_SUNS; sun++) | ^ gkrellsun.c:1238:42: error: lvalue required as increment operand 1238 | for(sun = 0; sun < NUMBER_OF_SUNS; sun++) | ^~ gkrellsun.c:1240:17: error: lvalue required as left operand of assignment 1240 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^ gkrellsun.c:1240:27: warning: comparison between pointer and integer 1240 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^ gkrellsun.c:1240:50: error: lvalue required as increment operand 1240 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^~ gkrellsun.c:1243:51: error: array subscript is not an integer 1243 | gkrellm_destroy_decal(time_decal[sun][time]); | ^ gkrellsun.c:1244:25: error: array subscript is not an integer 1244 | time_decal[sun][time] = gkrellm_create_decal_text(panel, "A8y", | ^ gkrellsun.c:1245:49: error: array subscript is not an integer 1245 | textOptions.timeStyles[sun][time], | ^ gkrellsun.c:1249:50: error: array subscript is not an integer 1249 | gkrellm_decal_text_clear(time_decal[sun][time]); | ^ gkrellsun.c: In function 'sun_create_plugin': gkrellsun.c:1261:9: error: expected identifier or '(' before numeric constant 1261 | gint sun, time; | ^~~ gkrellsun.c:1285:12: error: lvalue required as left operand of assignment 1285 | for(sun = 0; sun < NUMBER_OF_SUNS; sun++) | ^ gkrellsun.c:1285:42: error: lvalue required as increment operand 1285 | for(sun = 0; sun < NUMBER_OF_SUNS; sun++) | ^~ gkrellsun.c:1287:17: error: lvalue required as left operand of assignment 1287 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^ gkrellsun.c:1287:27: warning: comparison between pointer and integer 1287 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^ gkrellsun.c:1287:50: error: lvalue required as increment operand 1287 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^~ gkrellsun.c:1289:44: error: array subscript is not an integer 1289 | g_free(textOptions.timeStyles[sun][time]); | ^ gkrellsun.c:1290:37: error: array subscript is not an integer 1290 | textOptions.timeStyles[sun][time] = gkrellm_copy_textstyle(gkrellm_meter_textstyle(style_id)); | ^ gkrellsun.c:1291:37: error: array subscript is not an integer 1291 | textOptions.timeStyles[sun][time]->effect = 0; /* Turn off shadow */ | ^ gkrellsun.c:1294:42: error: array subscript is not an integer 1294 | &(textOptions.timeColors[sun][time]),FALSE, TRUE) ) | ^ In file included from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib.h:62, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gobject/gbinding.h:28, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib-object.h:22, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gio/gioenums.h:28, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gio/giotypes.h:28, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gio/gio.h:26, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gkrellm2/gkrellm.h:30, from gkrellsun.c:10: gkrellsun.c:1296:25: warning: format '%d' expects argument of type 'int', but argument 5 has type 'time_t (*)(time_t *)' {aka 'long int (*)(long int *)'} [-Wformat=] 1296 | g_message(_("ERROR allocating color for sun %d, time %d\n"),sun, time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib/gmessages.h:348:32: note: in definition of macro 'g_message' 348 | __VA_ARGS__) | ^~~~~~~~~~~ gkrellsun.c:1296:23: note: in expansion of macro '_' 1296 | g_message(_("ERROR allocating color for sun %d, time %d\n"),sun, time); | ^ gkrellsun.c:1296:67: note: format string is defined here 1296 | g_message(_("ERROR allocating color for sun %d, time %d\n"),sun, time); | ~^ | | | int gkrellsun.c:1299:37: error: array subscript is not an integer 1299 | textOptions.timeStyles[sun][time]->color = textOptions.timeColors[sun][time]; | ^ gkrellsun.c:1299:80: error: array subscript is not an integer 1299 | textOptions.timeStyles[sun][time]->color = textOptions.timeColors[sun][time]; | ^ gkrellsun.c:1300:37: error: array subscript is not an integer 1300 | timeColors_drawingarea[sun][time] = textOptions.timeColors[sun][time]; | ^ gkrellsun.c:1300:73: error: array subscript is not an integer 1300 | timeColors_drawingarea[sun][time] = textOptions.timeColors[sun][time]; | ^ gkrellsun.c:1339:4: warning: implicit declaration of function 'computePath'; did you mean 'computeY'? [-Wimplicit-function-declaration] 1339 | computePath(&sununit, path, altitudeAtNoon(&sununit)); | ^~~~~~~~~~~ | computeY gkrellsun.c: In function 'setTextColor_cb': gkrellsun.c:1391:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1391 | gint whichTime = (gint)data % 10; | ^ gkrellsun.c:1392:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1392 | gint whichSun = (gint)data / 10; | ^ gkrellsun.c: In function 'sun_create_tab': gkrellsun.c:1463:10: error: expected identifier or '(' before numeric constant 1463 | guint sun; | ^~~ gkrellsun.c:1537:11: error: lvalue required as left operand of assignment 1537 | for(sun=0; sun < NUMBER_OF_SUNS; sun++) | ^ gkrellsun.c:1537:40: error: lvalue required as increment operand 1537 | for(sun=0; sun < NUMBER_OF_SUNS; sun++) | ^~ In file included from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gobject/gobject.h:28, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gobject/gbinding.h:29, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib-object.h:22, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gio/gioenums.h:28, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gio/giotypes.h:28, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gio/gio.h:26, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gkrellm2/gkrellm.h:30, from gkrellsun.c:10: gkrellsun.c:1548:118: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1548 | g_signal_connect(G_OBJECT(times_drawingarea[sun][time]), "button_press_event", G_CALLBACK(setTextColor_cb), (gpointer)((sun*10)+time) ); | ^ /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gobject/gsignal.h:508:73: note: in definition of macro 'g_signal_connect' 508 | g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) | ^~~~ gkrellsun.c: In function 'sun_apply_config': gkrellsun.c:1699:9: error: expected identifier or '(' before numeric constant 1699 | gint sun, time, whichSun; | ^~~ gkrellsun.c:1739:4: error: 'whichSun' undeclared (first use in this function) 1739 | whichSun = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (sun_radio_button[UV_SUN])); | ^~~~~~~~ gkrellsun.c:1739:4: note: each undeclared identifier is reported only once for each function it appears in gkrellsun.c:1746:13: error: lvalue required as left operand of assignment 1746 | for (sun = 0; sun < NUMBER_OF_SUNS; sun++) | ^ gkrellsun.c:1746:43: error: lvalue required as increment operand 1746 | for (sun = 0; sun < NUMBER_OF_SUNS; sun++) | ^~ gkrellsun.c:1748:17: error: lvalue required as left operand of assignment 1748 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^ gkrellsun.c:1748:27: warning: comparison between pointer and integer 1748 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^ gkrellsun.c:1748:50: error: lvalue required as increment operand 1748 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^~ gkrellsun.c:1750:50: error: array subscript is not an integer 1750 | gkrellm_decal_text_clear(time_decal[sun][time]); | ^ gkrellsun.c:1755:13: error: lvalue required as left operand of assignment 1755 | for (sun = 0; sun < NUMBER_OF_SUNS; sun++) | ^ gkrellsun.c:1755:43: error: lvalue required as increment operand 1755 | for (sun = 0; sun < NUMBER_OF_SUNS; sun++) | ^~ gkrellsun.c:1757:17: error: lvalue required as left operand of assignment 1757 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^ gkrellsun.c:1757:27: warning: comparison between pointer and integer 1757 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^ gkrellsun.c:1757:50: error: lvalue required as increment operand 1757 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^~ gkrellsun.c:1759:58: error: array subscript is not an integer 1759 | if (gdk_color_equal(&textOptions.timeColors[sun][time], &timeColors_drawingarea[sun][time]) == FALSE) | ^ gkrellsun.c:1759:94: error: array subscript is not an integer 1759 | if (gdk_color_equal(&textOptions.timeColors[sun][time], &timeColors_drawingarea[sun][time]) == FALSE) | ^ gkrellsun.c:1762:76: error: array subscript is not an integer 1762 | gdk_colormap_free_colors(colormap, &textOptions.timeColors[sun][time],1); | ^ gkrellsun.c:1763:40: error: array subscript is not an integer 1763 | textOptions.timeColors[sun][time] = timeColors_drawingarea[sun][time]; | ^ gkrellsun.c:1763:76: error: array subscript is not an integer 1763 | textOptions.timeColors[sun][time] = timeColors_drawingarea[sun][time]; | ^ gkrellsun.c:1764:81: error: array subscript is not an integer 1764 | if (gdk_colormap_alloc_color(colormap, &(textOptions.timeColors[sun][time]), FALSE, TRUE) == FALSE) | ^ In file included from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib.h:62, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gobject/gbinding.h:28, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib-object.h:22, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gio/gioenums.h:28, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gio/giotypes.h:28, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gio/gio.h:26, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gkrellm2/gkrellm.h:30, from gkrellsun.c:10: gkrellsun.c:1766:28: warning: format '%d' expects argument of type 'int', but argument 5 has type 'time_t (*)(time_t *)' {aka 'long int (*)(long int *)'} [-Wformat=] 1766 | g_message(_("ERROR allocating color for sun %d, time %d\n"),sun, time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib/gmessages.h:348:32: note: in definition of macro 'g_message' 348 | __VA_ARGS__) | ^~~~~~~~~~~ gkrellsun.c:1766:26: note: in expansion of macro '_' 1766 | g_message(_("ERROR allocating color for sun %d, time %d\n"),sun, time); | ^ gkrellsun.c:1766:70: note: format string is defined here 1766 | g_message(_("ERROR allocating color for sun %d, time %d\n"),sun, time); | ~^ | | | int gkrellsun.c:1769:37: error: array subscript is not an integer 1769 | textOptions.timeStyles[sun][time]->color = textOptions.timeColors[sun][time]; | ^ gkrellsun.c:1769:80: error: array subscript is not an integer 1769 | textOptions.timeStyles[sun][time]->color = textOptions.timeColors[sun][time]; | ^ gkrellsun.c:1770:37: error: array subscript is not an integer 1770 | timeColors_drawingarea[sun][time] = textOptions.timeColors[sun][time]; | ^ gkrellsun.c:1770:73: error: array subscript is not an integer 1770 | timeColors_drawingarea[sun][time] = textOptions.timeColors[sun][time]; | ^ gkrellsun.c:1773:66: error: array subscript is not an integer 1773 | gtk_widget_modify_bg((GtkWidget *)times_drawingarea[sun][time], GTK_STATE_NORMAL, &textOptions.timeColors[sun][time]); | ^ gkrellsun.c:1773:120: error: array subscript is not an integer 1773 | gtk_widget_modify_bg((GtkWidget *)times_drawingarea[sun][time], GTK_STATE_NORMAL, &textOptions.timeColors[sun][time]); | ^ gkrellsun.c:1792:4: warning: implicit declaration of function 'update_tooltip' [-Wimplicit-function-declaration] 1792 | update_tooltip ( &sununit ); | ^~~~~~~~~~~~~~ gkrellsun.c: In function 'gkrellm_init_plugin': gkrellsun.c:1829:9: error: expected identifier or '(' before numeric constant 1829 | gint sun, time; | ^~~ gkrellsun.c:1860:14: error: lvalue required as left operand of assignment 1860 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^ gkrellsun.c:1860:24: warning: comparison between pointer and integer 1860 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^ gkrellsun.c:1860:47: error: lvalue required as increment operand 1860 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^~ gkrellsun.c:1862:16: error: lvalue required as left operand of assignment 1862 | for (sun = 0; sun < NUMBER_OF_SUNS; sun++) | ^ gkrellsun.c:1862:46: error: lvalue required as increment operand 1862 | for (sun = 0; sun < NUMBER_OF_SUNS; sun++) | ^~ gkrellsun.c:1864:37: error: array subscript is not an integer 1864 | textOptions.timeColors[sun][time].red = 65535; | ^ gkrellsun.c:1865:37: error: array subscript is not an integer 1865 | textOptions.timeColors[sun][time].green = 65535; | ^ gkrellsun.c:1866:37: error: array subscript is not an integer 1866 | textOptions.timeColors[sun][time].blue = 65535; | ^ gkrellsun.c:1868:25: error: array subscript is not an integer 1868 | g_strlcpy(time_str[time]," ",6); | ^ gkrellsun.c:1871:31: error: array subscript is not an integer 1871 | textOptions.timeYOffsets[time] = 5; | ^ gkrellsun.c:1880:4: warning: 'g_atexit' is deprecated [-Wdeprecated-declarations] 1880 | g_atexit(cb_plugin_disabled); | ^~~~~~~~ In file included from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib/gthread.h:34, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib/gasyncqueue.h:32, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib.h:32, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gobject/gbinding.h:28, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib-object.h:22, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gio/gioenums.h:28, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gio/giotypes.h:28, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/gio/gio.h:26, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/gkrellm2/gkrellm.h:30, from gkrellsun.c:10: /home/pbulk/build/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib/gutils.h:338:6: note: declared here 338 | void g_atexit (GVoidFunc func); | ^~~~~~~~ gkrellsun.c: In function 'load_sun_data': gkrellsun.c:1896:8: error: expected identifier or '(' before numeric constant 1896 | int sun, type, red, green, blue; | ^~~ gkrellsun.c:1970:14: error: lvalue required as left operand of assignment 1970 | sun = (int)g_ascii_strtoull(centry[0], NULL, 10); | ^ gkrellsun.c:1971:10: error: 'type' undeclared (first use in this function) 1971 | type = (int)g_ascii_strtoull(centry[1], NULL, 10); | ^~~~ gkrellsun.c:1972:10: error: 'red' undeclared (first use in this function); did you mean 'read'? 1972 | red = (int)g_ascii_strtoull(centry[2], NULL, 10); | ^~~ | read gkrellsun.c:1973:10: error: 'green' undeclared (first use in this function) 1973 | green = (int)g_ascii_strtoull(centry[3], NULL, 10); | ^~~~~ gkrellsun.c:1974:10: error: 'blue' undeclared (first use in this function) 1974 | blue = (int)g_ascii_strtoull(centry[4], NULL, 10); | ^~~~ gkrellsun.c: In function 'save_sun_data': gkrellsun.c:1992:9: error: expected identifier or '(' before numeric constant 1992 | gint sun, time; | ^~~ gkrellsun.c:2022:13: error: lvalue required as left operand of assignment 2022 | for (sun = 0; sun < NUMBER_OF_SUNS; sun++) | ^ gkrellsun.c:2022:43: error: lvalue required as increment operand 2022 | for (sun = 0; sun < NUMBER_OF_SUNS; sun++) | ^~ gkrellsun.c:2024:17: error: lvalue required as left operand of assignment 2024 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^ gkrellsun.c:2024:27: warning: comparison between pointer and integer 2024 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^ gkrellsun.c:2024:50: error: lvalue required as increment operand 2024 | for (time = 0; time < NUMBER_OF_TIMES; time++) | ^~ gkrellsun.c:2026:41: error: array subscript is not an integer 2026 | c = textOptions.timeColors[sun][time]; | ^ gkrellsun.c:2027:33: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t (*)(time_t *)' {aka 'long int (*)(long int *)'} [-Wformat=] 2027 | fprintf(f, "colors=%d %d %d %d %d\n", sun, time, (int)c.red, (int)c.green, (int)c.blue); | ~^ ~~~~ | | | | int time_t (*)(time_t *) {aka long int (*)(long int *)} At top level: gkrellsun.c:564:1: warning: 'moon_image_number' defined but not used [-Wunused-function] 564 | moon_image_number(double MoonPhase) | ^~~~~~~~~~~~~~~~~ gkrellsun.c:404:1: warning: 'ampm_letter' defined but not used [-Wunused-function] 404 | ampm_letter( const int ampm_digit ) | ^~~~~~~~~~~ gkrellsun.c:95:15: warning: 'moonPhases' defined but not used [-Wunused-variable] 95 | static gchar *moonPhases[9] = { | ^~~~~~~~~~ make[1]: *** [<builtin>: gkrellsun.o] Error 1 make[1]: Leaving directory '/home/pbulk/build/misc/gkrellsun/work/gkrellsun-1.0.0/src20' /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk -m 644 "/home/pbulk/build/misc/gkrellsun/work/gkrellsun-1.0.0/README" "/home/pbulk/build/misc/gkrellsun/work/.destdir/opt/pkg/share/doc/gkrellsun" => Generating CTF data => Automatic stripping of debug information => Automatic manual page handling => Generating post-install file lists pkg_create: can't stat `/home/pbulk/build/misc/gkrellsun/work/.destdir/opt/pkg/lib/gkrellm2/plugins/gkrellsun.so' pkg_create: can't stat `/home/pbulk/build/misc/gkrellsun/work/.destdir/opt/pkg/share/locale/ru/LC_MESSAGES/gkrellsun.mo' => Checking file-check results for gkrellsun-1.0.0nb1 ERROR: ************************************************************ ERROR: The following files are in the PLIST but not in /home/pbulk/build/misc/gkrellsun/work/.destdir/opt/pkg: ERROR: /home/pbulk/build/misc/gkrellsun/work/.destdir/opt/pkg/lib/gkrellm2/plugins/gkrellsun.so ERROR: /home/pbulk/build/misc/gkrellsun/work/.destdir/opt/pkg/share/locale/ru/LC_MESSAGES/gkrellsun.mo *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/misc/gkrellsun *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/misc/gkrellsun