* Package: app-misc/gtk-sunlight-0.4.2-r1:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking gtk-sunlight_0.4.2.orig.tar.gz to /var/tmp/portage/app-misc/gtk-sunlight-0.4.2-r1/work >>> Source unpacked in /var/tmp/portage/app-misc/gtk-sunlight-0.4.2-r1/work >>> Preparing source in /var/tmp/portage/app-misc/gtk-sunlight-0.4.2-r1/work/gtk-sunlight-0.4.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-misc/gtk-sunlight-0.4.2-r1/work/gtk-sunlight-0.4.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-misc/gtk-sunlight-0.4.2-r1/work/gtk-sunlight-0.4.2 ... 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+-3.0 gmodule-2.0 gthread-2.0` -c -o sunlight.o sunlight.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int `pkg-config --cflags gtk+-3.0 gmodule-2.0 gthread-2.0` -c -o callbacks.o callbacks.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int `pkg-config --cflags gtk+-3.0 gmodule-2.0 gthread-2.0` -c -o functions.o functions.c sunlight.c: In function ‘main’: sunlight.c:123:20: warning: Deprecated pre-processor symbol 123 | if( !g_thread_supported() ){ | ^~~~~~~~~~~~~~~~~ sunlight.c:124:17: warning: ‘g_thread_init’ is deprecated [-Wdeprecated-declarations] 124 | g_thread_init(NULL); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:114, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from support.h:24, from sunlight.c:20: /usr/include/glib-2.0/glib/deprecated/gthread.h:267:10: note: declared here 267 | void g_thread_init (gpointer vtable); | ^~~~~~~~~~~~~ sunlight.c:125:17: warning: ‘gdk_threads_init’ is deprecated [-Wdeprecated-declarations] 125 | gdk_threads_init(); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:61: /usr/include/gtk-3.0/gdk/gdkthreads.h:44:10: note: declared here 44 | void gdk_threads_init (void); | ^~~~~~~~~~~~~~~~ sunlight.c:225:17: error: implicit declaration of function ‘change_wallpaper’ [-Werror=implicit-function-declaration] 225 | change_wallpaper (data); | ^~~~~~~~~~~~~~~~ callbacks.c: In function ‘on_main_window_show’: functions.c: In function ‘get_and_set_options’: callbacks.c:44:9: error: implicit declaration of function ‘scale_box_sensitive’ [-Werror=implicit-function-declaration] 44 | scale_box_sensitive (data, FALSE); | ^~~~~~~~~~~~~~~~~~~ functions.c:108:25: warning: ‘gdk_color_parse’ is deprecated: Use 'gdk_rgba_parse' instead [-Wdeprecated-declarations] 108 | gdk_color_parse (contents, &new_color); | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkcairo.h:26, from /usr/include/gtk-3.0/gdk/gdk.h:33, from /usr/include/gtk-3.0/gtk/gtk.h:30, from support.h:24, from functions.c:21: /usr/include/gtk-3.0/gdk/deprecated/gdkcolor.h:79:11: note: declared here 79 | gboolean gdk_color_parse (const gchar *spec, | ^~~~~~~~~~~~~~~ functions.c:109:25: warning: ‘gtk_color_button_set_color’ is deprecated: Use 'gtk_color_chooser_set_rgba' instead [-Wdeprecated-declarations] 109 | gtk_color_button_set_color (data->sys.color_picker_one, &new_color); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:74: /usr/include/gtk-3.0/gtk/gtkcolorbutton.h:89:12: note: declared here 89 | void gtk_color_button_set_color (GtkColorButton *button, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c:122:25: warning: ‘gdk_color_parse’ is deprecated: Use 'gdk_rgba_parse' instead [-Wdeprecated-declarations] 122 | gdk_color_parse (contents, &new_color); | ^~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gdk/deprecated/gdkcolor.h:79:11: note: declared here 79 | gboolean gdk_color_parse (const gchar *spec, | ^~~~~~~~~~~~~~~ functions.c:123:25: warning: ‘gtk_color_button_set_color’ is deprecated: Use 'gtk_color_chooser_set_rgba' instead [-Wdeprecated-declarations] 123 | gtk_color_button_set_color (data->sys.color_picker_two, &new_color); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkcolorbutton.h:89:12: note: declared here 89 | void gtk_color_button_set_color (GtkColorButton *button, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sunlight.c:220:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 220 | system (kill_sunlight); | ^~~~~~~~~~~~~~~~~~~~~~ functions.c:55:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 55 | system(get_option1); | ^~~~~~~~~~~~~~~~~~~ functions.c:80:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 80 | system(get_option2); | ^~~~~~~~~~~~~~~~~~~ functions.c:99:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 99 | system(get_option3); | ^~~~~~~~~~~~~~~~~~~ functions.c:113:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 113 | system(get_option4); | ^~~~~~~~~~~~~~~~~~~ callbacks.c:90:37: error: implicit declaration of function ‘move_earth_true’ [-Werror=implicit-function-declaration] 90 | gs_scale_position = move_earth_true(data); | ^~~~~~~~~~~~~~~ callbacks.c:101:9: error: implicit declaration of function ‘get_and_set_options’ [-Werror=implicit-function-declaration] 101 | get_and_set_options(data); | ^~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make: *** [: sunlight.o] Error 1 make: *** Waiting for unfinished jobs.... callbacks.c: In function ‘change_wallpaper’: callbacks.c:188:34: error: implicit declaration of function ‘get_map_position’ [-Werror=implicit-function-declaration] 188 | gshort gs_map_position = get_map_position(data); | ^~~~~~~~~~~~~~~~ callbacks.c:193:12: error: implicit declaration of function ‘is_peters’ [-Werror=implicit-function-declaration] 193 | if(is_peters(data)){s_text4 = g_strdup_printf("\n\t\tcp %s sunlight_wallpaper_right.jpg\n\t\tcp %s sunlight_wallpaper_left.jpg\n\t\tmogrify -crop 1442x%d-%d+0 sunlight_wallpaper_left.jpg\n\t\tmogrify -crop 1442x%d+%d+0 sunlight_wallpaper_right.jpg\n\t\tmontage -geometry +0+0 sunlight_wallpaper_right.jpg sunlight_wallpaper_left.jpg %s", s_file_time, s_file_time, data->var.gi_map_height, gs_map_position, data->var.gi_map_height, 1442 - gs_map_position, s_file_time);} | ^~~~~~~~~ callbacks.c:227:17: warning: ‘g_thread_create’ is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 227 | if (g_chmod(s_fname, 0750) == 0) g_thread_create((GThreadFunc)async_lengthy_func, create_progressbar_window(data), FALSE, NULL); | ^~ In file included from /usr/include/glib-2.0/glib.h:114, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from support.h:24, from callbacks.c:29: /usr/include/glib-2.0/glib/deprecated/gthread.h:102:10: note: declared here 102 | GThread *g_thread_create (GThreadFunc func, | ^~~~~~~~~~~~~~~ callbacks.c: In function ‘rd1_worldmap_toggled_cb’: callbacks.c:290:9: error: implicit declaration of function ‘button_sensitive’ [-Werror=implicit-function-declaration] 290 | button_sensitive (data, TRUE); | ^~~~~~~~~~~~~~~~ callbacks.c: In function ‘on_colorbutton1_color_set’: callbacks.c:418:9: warning: ‘gtk_color_button_get_color’ is deprecated: Use 'gtk_color_chooser_get_rgba' instead [-Wdeprecated-declarations] 418 | gtk_color_button_get_color (ColorButton, &color); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:74: /usr/include/gtk-3.0/gtk/gtkcolorbutton.h:92:12: note: declared here 92 | void gtk_color_button_get_color (GtkColorButton *button, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ callbacks.c:420:9: warning: ‘gdk_color_to_string’ is deprecated: Use 'gdk_rgba_to_string' instead [-Wdeprecated-declarations] 420 | options = g_strconcat(GCONF_SET_COLOR_PRIMARY_OPTIONS, "\"", gdk_color_to_string (&color), "\"", NULL); | ^~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkcairo.h:26, from /usr/include/gtk-3.0/gdk/gdk.h:33: /usr/include/gtk-3.0/gdk/deprecated/gdkcolor.h:82:11: note: declared here 82 | gchar * gdk_color_to_string (const GdkColor *color); | ^~~~~~~~~~~~~~~~~~~ callbacks.c: In function ‘on_colorbutton2_color_set’: callbacks.c:429:9: warning: ‘gtk_color_button_get_color’ is deprecated: Use 'gtk_color_chooser_get_rgba' instead [-Wdeprecated-declarations] 429 | gtk_color_button_get_color (ColorButton, &color); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkcolorbutton.h:92:12: note: declared here 92 | void gtk_color_button_get_color (GtkColorButton *button, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ callbacks.c:431:9: warning: ‘gdk_color_to_string’ is deprecated: Use 'gdk_rgba_to_string' instead [-Wdeprecated-declarations] 431 | options = g_strconcat(GCONF_SET_COLOR_SECONDARY_OPTIONS, "\"", gdk_color_to_string (&color), "\"", NULL); | ^~~~~~~ /usr/include/gtk-3.0/gdk/deprecated/gdkcolor.h:82:11: note: declared here 82 | gchar * gdk_color_to_string (const GdkColor *color); | ^~~~~~~~~~~~~~~~~~~ callbacks.c: In function ‘create_progressbar_window’: callbacks.c:509:9: warning: ‘gtk_vbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 509 | vbox = gtk_vbox_new(FALSE, 12); | ^~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:286: /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here 61 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ callbacks.c: In function ‘on_cmb_style_changed’: callbacks.c:390:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 390 | system (options); | ^~~~~~~~~~~~~~~~ callbacks.c: In function ‘on_cmb_colors_changed’: callbacks.c:410:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 410 | system (options); | ^~~~~~~~~~~~~~~~ callbacks.c: In function ‘on_colorbutton1_color_set’: callbacks.c:421:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 421 | system(options); | ^~~~~~~~~~~~~~~ callbacks.c: In function ‘on_colorbutton2_color_set’: callbacks.c:432:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 432 | system(options); | ^~~~~~~~~~~~~~~ callbacks.c: In function ‘async_lengthy_func’: callbacks.c:549:35: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 549 | if (system(s_fname) == 0) system(s_set_wallpaper); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make: *** [: callbacks.o] Error 1 * ERROR: app-misc/gtk-sunlight-0.4.2-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-misc/gtk-sunlight-0.4.2-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-misc/gtk-sunlight-0.4.2-r1::gentoo'`. * The complete build log is located at '/var/log/portage/app-misc:gtk-sunlight-0.4.2-r1:20221003-175455.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/gtk-sunlight-0.4.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/gtk-sunlight-0.4.2-r1/temp/environment'. * Working directory: '/var/tmp/portage/app-misc/gtk-sunlight-0.4.2-r1/work/gtk-sunlight-0.4.2' * S: '/var/tmp/portage/app-misc/gtk-sunlight-0.4.2-r1/work/gtk-sunlight-0.4.2'