* Package: sci-chemistry/gperiodic-3.0.3:0 * Repository: gentoo * Maintainer: sci-chemistry@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux nls * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking gperiodic-3.0.3.tar.gz to /var/tmp/portage/sci-chemistry/gperiodic-3.0.3/work >>> Source unpacked in /var/tmp/portage/sci-chemistry/gperiodic-3.0.3/work >>> Preparing source in /var/tmp/portage/sci-chemistry/gperiodic-3.0.3/work/gperiodic-3.0.3 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-chemistry/gperiodic-3.0.3/work/gperiodic-3.0.3 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sci-chemistry/gperiodic-3.0.3/work/gperiodic-3.0.3 ... make -j4 'CFLAGS=-O3 -pipe -march=native -fno-diagnostics-color' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' CC=x86_64-pc-linux-gnu-gcc enable_nls=1 make gperiodic make[1]: Entering directory '/var/tmp/portage/sci-chemistry/gperiodic-3.0.3/work/gperiodic-3.0.3' x86_64-pc-linux-gnu-gcc -c -O3 -pipe -march=native -fno-diagnostics-color `pkg-config --cflags gtk+-2.0` -I. gperiodic.c 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 gperiodic.c:26: /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:723:1: note: declared here 723 | { | ^ 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:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ In file included from gperiodic.c:36: table_data.h: In function ‘dump_table’: table_data.h:246:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 9 has type ‘char *’ [-Wformat=] 246 | printf("%s,%s,%s,%s,%s,%s,%s,%d,%d,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,0x%08X,0x%08X,0x%08X,0x%08X\n ", | ~^ | | | int | %s ...... 254 | p->info[ATOMIC_RADIUS], /* 8 */ | ~~~~~~~~~~~~~~~~~~~~~~ | | | char * table_data.h:246:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 10 has type ‘char *’ [-Wformat=] 246 | printf("%s,%s,%s,%s,%s,%s,%s,%d,%d,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,0x%08X,0x%08X,0x%08X,0x%08X\n ", | ~^ | | | int | %s ...... 255 | p->info[COVALENT_RADIUS], /* 9 */ | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * gperiodic.c: In function ‘gpparse_print_element_data_for_num’: gperiodic.c:77:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 77 | fillout[n] = (char) NULL; | ^ gperiodic.c: In function ‘display_element_dialog’: gperiodic.c:140:41: error: passing argument 1 of ‘gtk_label_set_selectable’ from incompatible pointer type [-Wincompatible-pointer-types] 140 | gtk_label_set_selectable (label, TRUE); | ^~~~~ | | | GtkWidget * {aka struct _GtkWidget *} In file included from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:38, from /usr/include/gtk-2.0/gtk/gtk.h:35: /usr/include/gtk-2.0/gtk/gtklabel.h:158:70: note: expected ‘GtkLabel *’ {aka ‘struct _GtkLabel *’} but argument is of type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} 158 | gtk_label_set_selectable (GtkLabel *label, | ~~~~~~~~~~~~~~~~~~^~~~~ make[1]: *** [Makefile:15: gperiodic.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/sci-chemistry/gperiodic-3.0.3/work/gperiodic-3.0.3' make: *** [Makefile:18: all] Error 2 * ERROR: sci-chemistry/gperiodic-3.0.3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sci-chemistry/gperiodic-3.0.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-chemistry/gperiodic-3.0.3::gentoo'`. * The complete build log is located at '/var/log/portage/sci-chemistry:gperiodic-3.0.3:20231204-112751.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-chemistry/gperiodic-3.0.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-chemistry/gperiodic-3.0.3/temp/environment'. * Working directory: '/var/tmp/portage/sci-chemistry/gperiodic-3.0.3/work/gperiodic-3.0.3' * S: '/var/tmp/portage/sci-chemistry/gperiodic-3.0.3/work/gperiodic-3.0.3'