=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/misc/gkrellsun", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for gkrellsun-1.0.0nb25 Building gkrellsun for GKrellM version 2.2.x NOTE: GKrellM 2.2.x is for GTK+ 2.4.x versions. set -e; cd src20; make; cd .. make[1]: Entering directory '/tmp/work/misc/gkrellsun/work/gkrellsun-1.0.0/src20' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -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 -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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -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 -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 CalcEphem.o CalcEphem.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -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 -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 Moon.o Moon.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -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 -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 MoonRise.o MoonRise.c MoonRise.c: In function 'SinH': MoonRise.c:68:62: error: conflicting types for 'Moon'; have 'gdouble(void)' {aka 'double(void)'} 68 | gdouble RA_Moon, DEC_Moon, gmst, lmst, Tau, epsilon, Moon(); | ^~~~ In file included from MoonRise.c:9: Moon.h:6:9: note: previous declaration of 'Moon' with type 'gdouble(gdouble, gdouble *, gdouble *, gdouble *, gdouble *)' {aka 'double(double, double *, double *, double *, double *)'} 6 | gdouble Moon(gdouble T, gdouble * LAMBDA, gdouble * BETA, gdouble * R, | ^~~~ MoonRise.c:69:17: error: conflicting types for 'angle2pi'; have 'gdouble(void)' {aka 'double(void)'} 69 | gdouble angle2pi(); | ^~~~~~~~ In file included from MoonRise.h:4, from MoonRise.c:10: CalcEphem.h:85:9: note: previous declaration of 'angle2pi' with type 'gdouble(gdouble)' {aka 'double(double)'} 85 | gdouble angle2pi(gdouble angle); | ^~~~~~~~ MoonRise.c:76:9: error: too many arguments to function 'Moon'; expected 0, have 5 76 | Moon(TU, &LambdaMoon, &BetaMoon, &R, &AGE); | ^~~~ ~~ MoonRise.c:68:62: note: declared here 68 | gdouble RA_Moon, DEC_Moon, gmst, lmst, Tau, epsilon, Moon(); | ^~~~ MoonRise.c:83:13: error: too many arguments to function 'angle2pi'; expected 0, have 1 83 | angle2pi(atan2 | ^~~~~~~~ ~~~~~ 84 | (sin(LambdaMoon) * cos(epsilon) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 85 | tan(BetaMoon) * sin(epsilon), cos(LambdaMoon))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MoonRise.c:69:17: note: declared here 69 | gdouble angle2pi(); | ^~~~~~~~ CalcEphem.c: In function 'SinH': CalcEphem.c:174:25: warning: variable 'TU3' set but not used [-Wunused-but-set-variable] 174 | double TU0, TU, TU2, TU3; | ^~~ CalcEphem.c:174:11: warning: variable 'TU0' set but not used [-Wunused-but-set-variable] 174 | double TU0, TU, TU2, TU3; | ^~~ CalcEphem.c: In function 'sunclock_CalcEphem': CalcEphem.c:323:39: warning: variable 'CosGlon' set but not used [-Wunused-but-set-variable] 323 | gdouble SinGlat, CosGlat, SinGlon, CosGlon, Tau, lmst, x, y, z; | ^~~~~~~ CalcEphem.c:323:30: warning: variable 'SinGlon' set but not used [-Wunused-but-set-variable] 323 | gdouble SinGlat, CosGlat, SinGlon, CosGlon, Tau, lmst, x, y, z; | ^~~~~~~ CalcEphem.c:313:30: warning: variable 'gmst' set but not used [-Wunused-but-set-variable] 313 | gdouble TU, TU2, TU3, T0, gmst; | ^~~~ Moon.c: In function 'NewMoon': Moon.c:367:36: error: conflicting types for 'Moon'; have 'gdouble(void)' {aka 'double(void)'} 367 | gdouble f1, f2, x0, x1, x2, x3, Moon(); | ^~~~ Moon.c:97:1: note: previous definition of 'Moon' with type 'gdouble(gdouble, gdouble *, gdouble *, gdouble *, gdouble *)' {aka 'double(double, double *, double *, double *, double *)'} 97 | Moon(gdouble T, gdouble * LAMBDA, gdouble * BETA, gdouble * R, | ^~~~ Moon.c:382:9: error: too many arguments to function 'Moon'; expected 0, have 5 382 | f1 = Moon(x1, &L, &B, &Rad, &AGE); | ^~~~ ~~ Moon.c:367:36: note: declared here 367 | gdouble f1, f2, x0, x1, x2, x3, Moon(); | ^~~~ Moon.c:383:9: error: too many arguments to function 'Moon'; expected 0, have 5 383 | f2 = Moon(x2, &L, &B, &Rad, &AGE); | ^~~~ ~~ Moon.c:367:36: note: declared here 367 | gdouble f1, f2, x0, x1, x2, x3, Moon(); | ^~~~ Moon.c:392:15: error: too many arguments to function 'Moon'; expected 0, have 5 392 | f2 = Moon(x2, &L, &B, &Rad, &AGE); | ^~~~ ~~ Moon.c:367:36: note: declared here 367 | gdouble f1, f2, x0, x1, x2, x3, Moon(); | ^~~~ Moon.c:400:15: error: too many arguments to function 'Moon'; expected 0, have 5 400 | f1 = Moon(x1, &L, &B, &Rad, &AGE); | ^~~~ ~~ Moon.c:367:36: note: declared here 367 | gdouble f1, f2, x0, x1, x2, x3, Moon(); | ^~~~ make[1]: *** [: MoonRise.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [: Moon.o] Error 1 In file included from /tmp/work/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37, from /tmp/work/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36, from /tmp/work/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35, from /tmp/work/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35, from /tmp/work/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36, from /tmp/work/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35, from /tmp/work/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /tmp/work/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33, from /tmp/work/misc/gkrellsun/work/.buildlink/include/gkrellm2/gkrellm.h:48, from gkrellsun.c:10: /tmp/work/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 /tmp/work/misc/gkrellsun/work/.buildlink/include/glib-2.0/gobject/gobject.h:26, from /tmp/work/misc/gkrellsun/work/.buildlink/include/glib-2.0/gobject/gbinding.h:31, from /tmp/work/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/work/misc/gkrellsun/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/work/misc/gkrellsun/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/work/misc/gkrellsun/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/work/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/work/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/work/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32: /tmp/work/misc/gkrellsun/work/.buildlink/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /tmp/work/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31, from /tmp/work/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /tmp/work/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /tmp/work/misc/gkrellsun/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: /tmp/work/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 /tmp/work/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib/galloca.h:34, from /tmp/work/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib.h:32, from /tmp/work/misc/gkrellsun/work/.buildlink/include/gkrellm2/log.h:37, from /tmp/work/misc/gkrellsun/work/.buildlink/include/gkrellm2/gkrellm.h:41: /tmp/work/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib/gtypes.h:622:8: note: declared here 622 | struct _GTimeVal | ^~~~~~~~~ gkrellsun.c: In function 'computeY': gkrellsun.c:644:19: warning: variable 'x2' set but not used [-Wunused-but-set-variable] 644 | double x0, y0, x2, y2, radius; | ^~ gkrellsun.c:644:11: warning: variable 'x0' set but not used [-Wunused-but-set-variable] 644 | double x0, y0, x2, y2, radius; | ^~ gkrellsun.c: In function 'setTextColor_cb': gkrellsun.c:1394:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1394 | gint whichTime = (gint)data % 10; | ^ gkrellsun.c:1395:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1395 | gint whichSun = (gint)data / 10; | ^ In file included from /tmp/work/misc/gkrellsun/work/.buildlink/include/glib-2.0/gobject/gobject.h:30: gkrellsun.c: In function 'sun_create_tab': gkrellsun.c:1551:118: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1551 | g_signal_connect(G_OBJECT(times_drawingarea[sun][time]), "button_press_event", G_CALLBACK(setTextColor_cb), (gpointer)((sun*10)+time) ); | ^ /tmp/work/misc/gkrellsun/work/.buildlink/include/glib-2.0/gobject/gsignal.h:549:73: note: in definition of macro 'g_signal_connect' 549 | g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) | ^~~~ gkrellsun.c:1584:102: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1584 | (void)g_signal_connect (G_OBJECT(font_button), "button_press_event", G_CALLBACK (setTextFont_cb), (gpointer)sun); | ^ /tmp/work/misc/gkrellsun/work/.buildlink/include/glib-2.0/gobject/gsignal.h:549:73: note: in definition of macro 'g_signal_connect' 549 | g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) | ^~~~ gkrellsun.c: In function 'gkrellm_init_plugin': gkrellsun.c:1883:4: warning: 'g_atexit' is deprecated [-Wdeprecated-declarations] 1883 | g_atexit(cb_plugin_disabled); | ^~~~~~~~ In file included from /tmp/work/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib/gthread.h:36, from /tmp/work/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib/gasyncqueue.h:34, from /tmp/work/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib.h:34: /tmp/work/misc/gkrellsun/work/.buildlink/include/glib-2.0/glib/gutils.h:329:9: note: declared here 329 | void g_atexit (GVoidFunc func); | ^~~~~~~~ make[1]: Leaving directory '/tmp/work/misc/gkrellsun/work/gkrellsun-1.0.0/src20' gmake: *** [Makefile:5: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/gkrellsun *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/gkrellsun