RGtk2 refuses to install on Mint 21 (vanessa)

Issue #52 open
Former user created an issue
R > install.packages("https://access.togaware.com/RGtk2_2.20.36.2.tar.gz", repos=NULL)
Installing package into/home/gmuller/.R/x86_64-pc-linux-gnu-library/4.2(aslibis unspecified)
* installing *source* packageRGtk2...
** packageRGtk2successfully unpacked and MD5 sums checked
** using staged installation
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for INTROSPECTION... no
checking for GTK... yes
checking for GTHREAD... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for uintptr_t... yes
configure: creating ./config.status
config.status: creating src/Makevars
** libs
gcc -I"/usr/share/R/include" -DNDEBUG -D_R_=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I.  -DHAVE_UINTPTR_T  -DR_LEGACY_S_DEFS=1     -fpic  -g -O2 -ffile-prefix-map=/build/r-base-wSz8CH/r-base-4.2.1=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c RGtkDataFrame.c -o RGtkDataFrame.o
In file included from ./RGtk2/atk.h:4,
                 from RGtk2/gtk.h:4,
                 from RGtkDataFrame.h:1,
                 from RGtkDataFrame.c:1:
./RGtk2/gobject.h:375:1: warning:GTimeValis deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  375 | GTimeVal* asCGTimeVal(USER_OBJECT_ s_timeval);
      | ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from ./RGtk2/gobject.h:7,
                 from ./RGtk2/atk.h:4,
                 from RGtk2/gtk.h:4,
                 from RGtkDataFrame.h:1,
                 from RGtkDataFrame.c:1:
/usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
  553 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from ./RGtk2/atk.h:4,
                 from RGtk2/gtk.h:4,
                 from RGtkDataFrame.h:1,
                 from RGtkDataFrame.c:1:
./RGtk2/gobject.h:376:1: warning:GTimeValis deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  376 | USER_OBJECT_ asRGTimeVal(const GTimeVal *timeval);
      | ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from ./RGtk2/gobject.h:7,
                 from ./RGtk2/atk.h:4,
                 from RGtk2/gtk.h:4,
                 from RGtkDataFrame.h:1,
                 from RGtkDataFrame.c:1:
/usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
  553 | struct _GTimeVal
      |        ^~~~~~~~~
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 RGtk2/gtk.h:15,
                 from RGtkDataFrame.h:1,
                 from RGtkDataFrame.c:1:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning:GTypeDebugFlagsis 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:22,
                 from ./RGtk2/gobject.h:8,
                 from ./RGtk2/atk.h:4,
                 from RGtk2/gtk.h:4,
                 from RGtkDataFrame.h:1,
                 from RGtkDataFrame.c:1:
/usr/include/glib-2.0/gobject/gtype.h:698:1: note: declared here
  698 | {
      | ^
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 RGtk2/gtk.h:15,
                 from RGtkDataFrame.h:1,
                 from RGtkDataFrame.c:1:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning:GTimeValis 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 ./RGtk2/gobject.h:7,
                 from ./RGtk2/atk.h:4,
                 from RGtk2/gtk.h:4,
                 from RGtkDataFrame.h:1,
                 from RGtkDataFrame.c:1:
/usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
  553 | struct _GTimeVal
      |        ^~~~~~~~~
gcc -I"/usr/share/R/include" -DNDEBUG -D_R_=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I.  -DHAVE_UINTPTR_T  -DR_LEGACY_S_DEFS=1     -fpic  -g -O2 -ffile-prefix-map=/build/r-base-wSz8CH/r-base-4.2.1=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c Rgtk.c -o Rgtk.o
In file included from ./RGtk2/atk.h:4,
                 from RGtk2/gtk.h:4,
                 from Rgtk.c:1:
./RGtk2/gobject.h:375:1: warning:GTimeValis deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  375 | GTimeVal* asCGTimeVal(USER_OBJECT_ s_timeval);
      | ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from ./RGtk2/gobject.h:7,
                 from ./RGtk2/atk.h:4,
                 from RGtk2/gtk.h:4,
                 from Rgtk.c:1:
/usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
  553 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from ./RGtk2/atk.h:4,
                 from RGtk2/gtk.h:4,
                 from Rgtk.c:1:
./RGtk2/gobject.h:376:1: warning:GTimeValis deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  376 | USER_OBJECT_ asRGTimeVal(const GTimeVal *timeval);
      | ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from ./RGtk2/gobject.h:7,
                 from ./RGtk2/atk.h:4,
                 from RGtk2/gtk.h:4,
                 from Rgtk.c:1:
/usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
  553 | struct _GTimeVal
      |        ^~~~~~~~~
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 RGtk2/gtk.h:15,
                 from Rgtk.c:1:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning:GTypeDebugFlagsis 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:22,
                 from ./RGtk2/gobject.h:8,
                 from ./RGtk2/atk.h:4,
                 from RGtk2/gtk.h:4,
                 from Rgtk.c:1:
/usr/include/glib-2.0/gobject/gtype.h:698:1: note: declared here
  698 | {
      | ^
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 RGtk2/gtk.h:15,
                 from Rgtk.c:1:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning:GTimeValis 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 ./RGtk2/gobject.h:7,
                 from ./RGtk2/atk.h:4,
                 from RGtk2/gtk.h:4,
                 from Rgtk.c:1:
/usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
  553 | struct _GTimeVal
      |        ^~~~~~~~~
gcc -I"/usr/share/R/include" -DNDEBUG -D_R_=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I.  -DHAVE_UINTPTR_T  -DR_LEGACY_S_DEFS=1     -fpic  -g -O2 -ffile-prefix-map=/build/r-base-wSz8CH/r-base-4.2.1=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c atkAccessors.c -o atkAccessors.o
In file included from atkAccessors.c:1:
./RGtk2/gobject.h:375:1: warning:GTimeValis deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  375 | GTimeVal* asCGTimeVal(USER_OBJECT_ s_timeval);
      | ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from ./RGtk2/gobject.h:7,
                 from atkAccessors.c:1:
/usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
  553 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from atkAccessors.c:1:
./RGtk2/gobject.h:376:1: warning:GTimeValis deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  376 | USER_OBJECT_ asRGTimeVal(const GTimeVal *timeval);
      | ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from ./RGtk2/gobject.h:7,
                 from atkAccessors.c:1:
/usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
  553 | struct _GTimeVal
      |        ^~~~~~~~~
gcc -I"/usr/share/R/include" -DNDEBUG -D_R_=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I.  -DHAVE_UINTPTR_T  -DR_LEGACY_S_DEFS=1     -fpic  -g -O2 -ffile-prefix-map=/build/r-base-wSz8CH/r-base-4.2.1=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c atkClasses.c -o atkClasses.o
In file included from RGtk2/atkClasses.h:3,
                 from atkClasses.c:1:
./RGtk2/gobject.h:375:1: warning:GTimeValis deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  375 | GTimeVal* asCGTimeVal(USER_OBJECT_ s_timeval);
      | ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from ./RGtk2/gobject.h:7,
                 from RGtk2/atkClasses.h:3,
                 from atkClasses.c:1:
/usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
  553 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from RGtk2/atkClasses.h:3,
                 from atkClasses.c:1:
./RGtk2/gobject.h:376:1: warning:GTimeValis deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  376 | USER_OBJECT_ asRGTimeVal(const GTimeVal *timeval);
      | ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from ./RGtk2/gobject.h:7,
                 from RGtk2/atkClasses.h:3,
                 from atkClasses.c:1:
/usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
  553 | struct _GTimeVal
      |        ^~~~~~~~~
atkClasses.c: In functionS_atk_object_class_init:
atkClasses.c:1054:25: warning: assignment tovoid (*)(AtkObject *, guint,  void *){akavoid (*)(struct _AtkObject *, unsigned int,  void *)} from incompatible pointer typevoid (*)(AtkObject *, guint,  AtkObject *){akavoid (*)(struct _AtkObject *, unsigned int,  struct _AtkObject *)} [-Wincompatible-pointer-types]
 1054 |     c->children_changed = S_virtual_atk_object_children_changed;
      |                         ^
atkClasses.c:1062:34: warning: assignment tovoid (*)(AtkObject *, void **){akavoid (*)(struct _AtkObject *, void **)} from incompatible pointer typevoid (*)(AtkObject *, AtkObject *){akavoid (*)(struct _AtkObject *, struct _AtkObject *)} [-Wincompatible-pointer-types]
 1062 |     c->active_descendant_changed = S_virtual_atk_object_active_descendant_changed;
      |                                  ^
atkClasses.c: In functionS_atk_object_class_active_descendant_changed:
atkClasses.c:1401:51: warning: passing argument 2 ofobject_class->active_descendant_changedfrom incompatible pointer type [-Wincompatible-pointer-types]
 1401 |   object_class->active_descendant_changed(object, child);
      |                                                   ^~~~~
      |                                                   |
      |                                                   AtkObject * {aka struct _AtkObject *}
atkClasses.c:1401:51: note: expectedvoid **but argument is of typeAtkObject *{akastruct _AtkObject *}
atkClasses.c: In functionS_virtual_atk_table_get_selected_columns:
atkClasses.c:2180:3: warning:g_memdupis deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
 2180 |   *s_selected = ((gint*)asCArrayDup(VECTOR_ELT(s_ans, 1), gint, asCInteger));
      |   ^
In file included from /usr/include/glib-2.0/glib.h:82,
                 from ./RGtk2/gobject.h:7,
                 from RGtk2/atkClasses.h:3,
                 from atkClasses.c:1:
/usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here
  257 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
atkClasses.c: In functionS_virtual_atk_table_get_selected_rows:
atkClasses.c:2207:3: warning:g_memdupis deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
 2207 |   *s_selected = ((gint*)asCArrayDup(VECTOR_ELT(s_ans, 1), gint, asCInteger));
      |   ^
In file included from /usr/include/glib-2.0/glib.h:82,
                 from ./RGtk2/gobject.h:7,
                 from RGtk2/atkClasses.h:3,
                 from atkClasses.c:1:
/usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here
  257 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
atkClasses.c: In functionS_virtual_atk_text_get_bounded_ranges:
atkClasses.c:6533:3: warning:g_memdupis deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
 6533 |   return(((AtkTextRange**)asCArrayDup(s_ans, AtkTextRange*, asCAtkTextRange)));
      |   ^~~~~~
In file included from /usr/include/glib-2.0/glib.h:82,
                 from ./RGtk2/gobject.h:7,
                 from RGtk2/atkClasses.h:3,
                 from atkClasses.c:1:
/usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here
  257 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
gcc -I"/usr/share/R/include" -DNDEBUG -D_R_=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I.  -DHAVE_UINTPTR_T  -DR_LEGACY_S_DEFS=1     -fpic  -g -O2 -ffile-prefix-map=/build/r-base-wSz8CH/r-base-4.2.1=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c atkConversion.c -o atkConversion.o
In file included from RGtk2/atk.h:4,
                 from atkConversion.c:1:
./RGtk2/gobject.h:375:1: warning:GTimeValis deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  375 | GTimeVal* asCGTimeVal(USER_OBJECT_ s_timeval);
      | ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from ./RGtk2/gobject.h:7,
                 from RGtk2/atk.h:4,
                 from atkConversion.c:1:
/usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
  553 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from RGtk2/atk.h:4,
                 from atkConversion.c:1:
./RGtk2/gobject.h:376:1: warning:GTimeValis deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  376 | USER_OBJECT_ asRGTimeVal(const GTimeVal *timeval);
      | ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from ./RGtk2/gobject.h:7,
                 from RGtk2/atk.h:4,
                 from atkConversion.c:1:
/usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
  553 | struct _GTimeVal
      |        ^~~~~~~~~
gcc -I"/usr/share/R/include" -DNDEBUG -D_R_=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I.  -DHAVE_UINTPTR_T  -DR_LEGACY_S_DEFS=1     -fpic  -g -O2 -ffile-prefix-map=/build/r-base-wSz8CH/r-base-4.2.1=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c atkFuncs.c -o atkFuncs.o
In file included from atkFuncs.c:1:
./RGtk2/gobject.h:375:1: warning:GTimeValis deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  375 | GTimeVal* asCGTimeVal(USER_OBJECT_ s_timeval);
      | ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from ./RGtk2/gobject.h:7,
                 from atkFuncs.c:1:
/usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
  553 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from atkFuncs.c:1:
./RGtk2/gobject.h:376:1: warning:GTimeValis deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  376 | USER_OBJECT_ asRGTimeVal(const GTimeVal *timeval);
      | ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from ./RGtk2/gobject.h:7,
                 from atkFuncs.c:1:
/usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
  553 | struct _GTimeVal
      |        ^~~~~~~~~
atkFuncs.c: In functionS_atk_component_get_position:
atkFuncs.c:230:3: warning:atk_component_get_positionis deprecated: Use 'atk_component_get_extents' instead [-Wdeprecated-declarations]
  230 |   atk_component_get_position(object, &x, &y, coord_type);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/atk-1.0/atk/atk.h:27,
                 from ./RGtk2/atk.h:6,
                 from atkFuncs.c:2:
/usr/include/atk-1.0/atk/atkcomponent.h:249:23: note: declared here
  249 | void                  atk_component_get_position           (AtkComponent    *component,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
atkFuncs.c: In functionS_atk_component_get_size:
atkFuncs.c:251:3: warning:atk_component_get_sizeis deprecated: Use 'atk_component_get_extents' instead [-Wdeprecated-declarations]
  251 |   atk_component_get_size(object, &width, &height);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/atk-1.0/atk/atk.h:27,
                 from ./RGtk2/atk.h:6,
                 from atkFuncs.c:2:
/usr/include/atk-1.0/atk/atkcomponent.h:254:23: note: declared here
  254 | void                  atk_component_get_size               (AtkComponent    *component,
      |                       ^~~~~~~~~~~~~~~~~~~~~~
atkFuncs.c: In functionS_atk_component_remove_focus_handler:
atkFuncs.c:287:3: warning:atk_component_remove_focus_handleris deprecated [-Wdeprecated-declarations]
  287 |   atk_component_remove_focus_handler(object, handler_id);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/atk-1.0/atk/atk.h:27,
                 from ./RGtk2/atk.h:6,
                 from atkFuncs.c:2:
/usr/include/atk-1.0/atk/atkcomponent.h:264:23: note: declared here
  264 | void                  atk_component_remove_focus_handler   (AtkComponent    *component,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atkFuncs.c: In functionS_atk_document_get_document_type:
atkFuncs.c:407:3: warning:atk_document_get_document_typeis deprecated [-Wdeprecated-declarations]
  407 |   ans = atk_document_get_document_type(object);
      |   ^~~
In file included from /usr/include/atk-1.0/atk/atk.h:28,
                 from ./RGtk2/atk.h:6,
                 from atkFuncs.c:2:
/usr/include/atk-1.0/atk/atkdocument.h:89:23: note: declared here
   89 | const gchar*          atk_document_get_document_type (AtkDocument   *document);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atkFuncs.c: In functionS_atk_document_get_document:
atkFuncs.c:423:3: warning:atk_document_get_documentis deprecated [-Wdeprecated-declarations]
  423 |   ans = atk_document_get_document(object);
      |   ^~~
In file included from /usr/include/atk-1.0/atk/atk.h:28,
                 from ./RGtk2/atk.h:6,
                 from atkFuncs.c:2:
/usr/include/atk-1.0/atk/atkdocument.h:92:10: note: declared here
   92 | gpointer atk_document_get_document (AtkDocument   *document);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
atkFuncs.c: In functionS_atk_hyperlink_is_selected_link:
atkFuncs.c:729:3: warning:atk_hyperlink_is_selected_linkis deprecated [-Wdeprecated-declarations]
  729 |   ans = atk_hyperlink_is_selected_link(object);
      |   ^~~
In file included from /usr/include/atk-1.0/atk/atk.h:32,
                 from ./RGtk2/atk.h:6,
                 from atkFuncs.c:2:
/usr/include/atk-1.0/atk/atkhyperlink.h:110:18: note: declared here
  110 | gboolean         atk_hyperlink_is_selected_link     (AtkHyperlink     *link_);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atkFuncs.c: In functionS_atk_object_get_layer:
atkFuncs.c:1183:3: warning:atk_object_get_layeris deprecated: Use 'atk_component_get_layer' instead [-Wdeprecated-declarations]
 1183 |   ans = atk_object_get_layer(object);
      |   ^~~
In file included from /usr/include/atk-1.0/atk/atk.h:25,
                 from ./RGtk2/atk.h:6,
                 from atkFuncs.c:2:
/usr/include/atk-1.0/atk/atkobject.h:729:25: note: declared here
  729 | AtkLayer                atk_object_get_layer                      (AtkObject *accessible);
      |                         ^~~~~~~~~~~~~~~~~~~~
atkFuncs.c: In functionS_atk_object_get_mdi_zorder:
atkFuncs.c:1199:3: warning:atk_object_get_mdi_zorderis deprecated: Use 'atk_component_get_mdi_zorder' instead [-Wdeprecated-declarations]
 1199 |   ans = atk_object_get_mdi_zorder(object);
      |   ^~~
In file included from /usr/include/atk-1.0/atk/atk.h:25,
                 from ./RGtk2/atk.h:6,
                 from atkFuncs.c:2:
/usr/include/atk-1.0/atk/atkobject.h:731:25: note: declared here
  731 | gint                    atk_object_get_mdi_zorder                 (AtkObject *accessible);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~
atkFuncs.c: In functionS_atk_object_remove_property_change_handler:
atkFuncs.c:1307:3: warning:atk_object_remove_property_change_handleris deprecated [-Wdeprecated-declarations]
 1307 |   atk_object_remove_property_change_handler(object, handler_id);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/atk-1.0/atk/atk.h:25,
                 from ./RGtk2/atk.h:6,
                 from atkFuncs.c:2:
/usr/include/atk-1.0/atk/atkobject.h:757:22: note: declared here
  757 | void                 atk_object_remove_property_change_handler   (AtkObject                      *accessible,
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atkFuncs.c: In functionS_atk_table_get_index_at:
atkFuncs.c:2164:3: warning:atk_table_get_index_atis deprecated: Use 'atk_table_ref_at' instead [-Wdeprecated-declarations]
 2164 |   ans = atk_table_get_index_at(object, row, column);
      |   ^~~
In file included from /usr/include/atk-1.0/atk/atk.h:50,
                 from ./RGtk2/atk.h:6,
                 from atkFuncs.c:2:
/usr/include/atk-1.0/atk/atktable.h:139:19: note: declared here
  139 | gint              atk_table_get_index_at         (AtkTable         *table,
      |                   ^~~~~~~~~~~~~~~~~~~~~~
atkFuncs.c: In functionS_atk_table_get_column_at_index:
atkFuncs.c:2181:3: warning:atk_table_get_column_at_indexis deprecated [-Wdeprecated-declarations]
 2181 |   ans = atk_table_get_column_at_index(object, index);
      |   ^~~
In file included from /usr/include/atk-1.0/atk/atk.h:50,
                 from ./RGtk2/atk.h:6,
                 from atkFuncs.c:2:
/usr/include/atk-1.0/atk/atktable.h:143:19: note: declared here
  143 | gint              atk_table_get_column_at_index  (AtkTable         *table,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atkFuncs.c: In functionS_atk_table_get_row_at_index:
atkFuncs.c:2198:3: warning:atk_table_get_row_at_indexis deprecated [-Wdeprecated-declarations]
 2198 |   ans = atk_table_get_row_at_index(object, index);
      |   ^~~
In file included from /usr/include/atk-1.0/atk/atk.h:50,
                 from ./RGtk2/atk.h:6,
                 from atkFuncs.c:2:
/usr/include/atk-1.0/atk/atktable.h:146:19: note: declared here
  146 | gint              atk_table_get_row_at_index     (AtkTable         *table,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
atkFuncs.c: In functionS_atk_text_get_text_after_offset:
atkFuncs.c:2693:3: warning:atk_text_get_text_after_offsetis deprecated: Use 'atk_text_get_string_at_offset' instead [-Wdeprecated-declarations]
 2693 |   ans = atk_text_get_text_after_offset(object, offset, boundary_type, &start_offset, &end_offset);
      |   ^~~
In file included from /usr/include/atk-1.0/atk/atkeditabletext.h:28,
                 from /usr/include/atk-1.0/atk/atk.h:29,
                 from ./RGtk2/atk.h:6,
                 from atkFuncs.c:2:
/usr/include/atk-1.0/atk/atktext.h:381:15: note: declared here
  381 | gchar*        atk_text_get_text_after_offset              (AtkText          *text,
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atkFuncs.c: In functionS_atk_text_get_text_at_offset:
atkFuncs.c:2719:3: warning:atk_text_get_text_at_offsetis deprecated: Use 'atk_text_get_string_at_offset' instead [-Wdeprecated-declarations]
 2719 |   ans = atk_text_get_text_at_offset(object, offset, boundary_type, &start_offset, &end_offset);
      |   ^~~
In file included from /usr/include/atk-1.0/atk/atkeditabletext.h:28,
                 from /usr/include/atk-1.0/atk/atk.h:29,
                 from ./RGtk2/atk.h:6,
                 from atkFuncs.c:2:
/usr/include/atk-1.0/atk/atktext.h:387:15: note: declared here
  387 | gchar*        atk_text_get_text_at_offset                 (AtkText          *text,
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
atkFuncs.c: In functionS_atk_text_get_text_before_offset:
atkFuncs.c:2745:3: warning:atk_text_get_text_before_offsetis deprecated: Use 'atk_text_get_string_at_offset' instead [-Wdeprecated-declarations]
 2745 |   ans = atk_text_get_text_before_offset(object, offset, boundary_type, &start_offset, &end_offset);
      |   ^~~
In file included from /usr/include/atk-1.0/atk/atkeditabletext.h:28,
                 from /usr/include/atk-1.0/atk/atk.h:29,
                 from ./RGtk2/atk.h:6,
                 from atkFuncs.c:2:
/usr/include/atk-1.0/atk/atktext.h:393:15: note: declared here
  393 | gchar*        atk_text_get_text_before_offset             (AtkText          *text,
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atkFuncs.c: In functionS_atk_remove_focus_tracker:
atkFuncs.c:3136:3: warning:atk_remove_focus_trackeris deprecated [-Wdeprecated-declarations]
 3136 |   atk_remove_focus_tracker(tracker_id);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/atk-1.0/atk/atkcomponent.h:28,
                 from /usr/include/atk-1.0/atk/atk.h:27,
                 from ./RGtk2/atk.h:6,
                 from atkFuncs.c:2:
/usr/include/atk-1.0/atk/atkutil.h:196:10: note: declared here
  196 | void     atk_remove_focus_tracker  (guint                tracker_id);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
atkFuncs.c: In functionS_atk_focus_tracker_notify:
atkFuncs.c:3150:3: warning:atk_focus_tracker_notifyis deprecated [-Wdeprecated-declarations]
 3150 |   atk_focus_tracker_notify(object);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/atk-1.0/atk/atkcomponent.h:28,
                 from /usr/include/atk-1.0/atk/atk.h:27,
                 from ./RGtk2/atk.h:6,
                 from atkFuncs.c:2:
/usr/include/atk-1.0/atk/atkutil.h:200:10: note: declared here
  200 | void     atk_focus_tracker_notify  (AtkObject            *object);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
atkFuncs.c: In functionS_atk_value_get_current_value:
atkFuncs.c:3286:3: warning:atk_value_get_current_valueis deprecated: Use 'atk_value_get_value_and_text' instead [-Wdeprecated-declarations]
 3286 |   atk_value_get_current_value(object, value);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/atk-1.0/atk/atk.h:55,
                 from ./RGtk2/atk.h:6,
                 from atkFuncs.c:2:
/usr/include/atk-1.0/atk/atkvalue.h:126:11: note: declared here
  126 | void      atk_value_get_current_value (AtkValue     *obj,
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
atkFuncs.c: In functionS_atk_value_get_maximum_value:
atkFuncs.c:3306:3: warning:atk_value_get_maximum_valueis deprecated: Use 'atk_value_get_range' instead [-Wdeprecated-declarations]
 3306 |   atk_value_get_maximum_value(object, value);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/atk-1.0/atk/atk.h:55,
                 from ./RGtk2/atk.h:6,
                 from atkFuncs.c:2:
/usr/include/atk-1.0/atk/atkvalue.h:130:10: note: declared here
  130 | void     atk_value_get_maximum_value  (AtkValue     *obj,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
atkFuncs.c: In functionS_atk_value_get_minimum_value:
atkFuncs.c:3326:3: warning:atk_value_get_minimum_valueis deprecated: Use 'atk_value_get_range' instead [-Wdeprecated-declarations]
 3326 |   atk_value_get_minimum_value(object, value);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/atk-1.0/atk/atk.h:55,
                 from ./RGtk2/atk.h:6,
                 from atkFuncs.c:2:
/usr/include/atk-1.0/atk/atkvalue.h:133:10: note: declared here
  133 | void     atk_value_get_minimum_value  (AtkValue     *obj,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
atkFuncs.c: In functionS_atk_value_set_current_value:
atkFuncs.c:3347:3: warning:atk_value_set_current_valueis deprecated: Use 'atk_value_set_value' instead [-Wdeprecated-declarations]
 3347 |   ans = atk_value_set_current_value(object, value);
      |   ^~~
In file included from /usr/include/atk-1.0/atk/atk.h:55,
                 from ./RGtk2/atk.h:6,
                 from atkFuncs.c:2:
/usr/include/atk-1.0/atk/atkvalue.h:136:10: note: declared here
  136 | gboolean atk_value_set_current_value  (AtkValue     *obj,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
atkFuncs.c: In functionS_atk_role_register:
atkFuncs.c:3397:3: warning:atk_role_registeris deprecated [-Wdeprecated-declarations]
 3397 |   ans = atk_role_register(name);
      |   ^~~
In file included from /usr/include/atk-1.0/atk/atk.h:25,
                 from ./RGtk2/atk.h:6,
                 from atkFuncs.c:2:
/usr/include/atk-1.0/atk/atkobject.h:786:23: note: declared here
  786 | AtkRole               atk_role_register                        (const gchar *name);
      |                       ^~~~~~~~~~~~~~~~~
atkFuncs.c: In functionS_atk_document_get_locale:
atkFuncs.c:3481:3: warning:atk_document_get_localeis deprecated: Use 'atk_object_get_object_locale' instead [-Wdeprecated-declarations]
 3481 |   ans = atk_document_get_locale(object);
      |   ^~~
In file included from /usr/include/atk-1.0/atk/atk.h:28,
                 from ./RGtk2/atk.h:6,
                 from atkFuncs.c:2:
/usr/include/atk-1.0/atk/atkdocument.h:95:23: note: declared here
   95 | const gchar*          atk_document_get_locale (AtkDocument *document);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~
gcc -I"/usr/share/R/include" -DNDEBUG -D_R_=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I.  -DHAVE_UINTPTR_T  -DR_LEGACY_S_DEFS=1     -fpic  -g -O2 -ffile-prefix-map=/build/r-base-wSz8CH/r-base-4.2.1=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c atkManuals.c -o atkManuals.o
In file included from RGtk2/atk.h:4,
                 from atkManuals.c:1:
./RGtk2/gobject.h:375:1: warning:GTimeValis deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  375 | GTimeVal* asCGTimeVal(USER_OBJECT_ s_timeval);
      | ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from ./RGtk2/gobject.h:7,
                 from RGtk2/atk.h:4,
                 from atkManuals.c:1:
/usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
  553 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from RGtk2/atk.h:4,
                 from atkManuals.c:1:
./RGtk2/gobject.h:376:1: warning:GTimeValis deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  376 | USER_OBJECT_ asRGTimeVal(const GTimeVal *timeval);
      | ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from ./RGtk2/gobject.h:7,
                 from RGtk2/atk.h:4,
                 from atkManuals.c:1:
/usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
  553 | struct _GTimeVal
      |        ^~~~~~~~~
gcc -I"/usr/share/R/include" -DNDEBUG -D_R_=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I.  -DHAVE_UINTPTR_T  -DR_LEGACY_S_DEFS=1     -fpic  -g -O2 -ffile-prefix-map=/build/r-base-wSz8CH/r-base-4.2.1=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c atkUserFuncs.c -o atkUserFuncs.o
In file included from RGtk2/atkUserFuncs.h:3,
                 from atkUserFuncs.c:1:
./RGtk2/gobject.h:375:1: warning:GTimeValis deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  375 | GTimeVal* asCGTimeVal(USER_OBJECT_ s_timeval);
      | ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from ./RGtk2/gobject.h:7,
                 from RGtk2/atkUserFuncs.h:3,
                 from atkUserFuncs.c:1:
/usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
  553 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from RGtk2/atkUserFuncs.h:3,
                 from atkUserFuncs.c:1:
./RGtk2/gobject.h:376:1: warning:GTimeValis deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  376 | USER_OBJECT_ asRGTimeVal(const GTimeVal *timeval);
      | ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from ./RGtk2/gobject.h:7,
                 from RGtk2/atkUserFuncs.h:3,
                 from atkUserFuncs.c:1:
/usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
  553 | struct _GTimeVal
      |        ^~~~~~~~~
gcc -I"/usr/share/R/include" -DNDEBUG -D_R_=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I.  -DHAVE_UINTPTR_T  -DR_LEGACY_S_DEFS=1     -fpic  -g -O2 -ffile-prefix-map=/build/r-base-wSz8CH/r-base-4.2.1=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c cairo-enums.c -o cairo-enums.o
gcc -I"/usr/share/R/include" -DNDEBUG -D_R_=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I.  -DHAVE_UINTPTR_T  -DR_LEGACY_S_DEFS=1     -fpic  -g -O2 -ffile-prefix-map=/build/r-base-wSz8CH/r-base-4.2.1=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c cairoAccessors.c -o cairoAccessors.o
In file included from cairoAccessors.c:1:
./RGtk2/gobject.h:375:1: warning:GTimeValis deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  375 | GTimeVal* asCGTimeVal(USER_OBJECT_ s_timeval);
      | ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from ./RGtk2/gobject.h:7,
                 from cairoAccessors.c:1:
/usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
  553 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from cairoAccessors.c:1:
./RGtk2/gobject.h:376:1: warning:GTimeValis deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  376 | USER_OBJECT_ asRGTimeVal(const GTimeVal *timeval);
      | ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from ./RGtk2/gobject.h:7,
                 from cairoAccessors.c:1:
/usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
  553 | struct _GTimeVal
      |        ^~~~~~~~~
gcc -I"/usr/share/R/include" -DNDEBUG -D_R_=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I.  -DHAVE_UINTPTR_T  -DR_LEGACY_S_DEFS=1     -fpic  -g -O2 -ffile-prefix-map=/build/r-base-wSz8CH/r-base-4.2.1=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c cairoConversion.c -o cairoConversion.o
In file included from RGtk2/cairo.h:7,
                 from cairoConversion.c:1:
./RGtk2/gobject.h:375:1: warning:GTimeValis deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  375 | GTimeVal* asCGTimeVal(USER_OBJECT_ s_timeval);
      | ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from ./RGtk2/gobject.h:7,
                 from RGtk2/cairo.h:7,
                 from cairoConversion.c:1:
/usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
  553 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from RGtk2/cairo.h:7,
                 from cairoConversion.c:1:
./RGtk2/gobject.h:376:1: warning:GTimeValis deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  376 | USER_OBJECT_ asRGTimeVal(const GTimeVal *timeval);
      | ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from ./RGtk2/gobject.h:7,
                 from RGtk2/cairo.h:7,
                 from cairoConversion.c:1:
/usr/include/glib-2.0/glib/gtypes.h:553:8: note: declared here
  553 | struct _GTimeVal
      |        ^~~~~~~~~
cairoConversion.c: In functionasRCairoPath:
cairoConversion.c:45:25: error:PROBLEMundeclared (first use in this function)
   45 |                         PROBLEM "Converting Cairo path: did not understand type %d", data->header.type
      |                         ^~~~~~~
cairoConversion.c:45:25: note: each undeclared identifier is reported only once for each function it appears in
cairoConversion.c:45:32: error: expected;before string constant
   45 |                         PROBLEM "Converting Cairo path: did not understand type %d", data->header.type
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                ;
cairoConversion.c: In functionasCCairoPath:
cairoConversion.c:95:33: error:PROBLEMundeclared (first use in this function)
   95 |                                 PROBLEM "Converting Cairo path: did not understand type %d", type
      |                                 ^~~~~~~
cairoConversion.c:95:40: error: expected;before string constant
   95 |                                 PROBLEM "Converting Cairo path: did not understand type %d", type
      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                        ;
make: *** [/usr/lib/R/etc/Makeconf:168: cairoConversion.o] Error 1
ERROR: compilation failed for packageRGtk2* removing/home/gmuller/.R/x86_64-pc-linux-gnu-library/4.2/RGtk2Warning message:
In install.packages("~/Downloads/RGtk2_2.20.36.2.tar.gz", repos = NULL) :
  installation of package/home/guigui/Downloads/RGtk2_2.20.36.2.tar.gzhad non-zero exit status

I can't find any info about this "PROBLEM" line on the web...

Comments (2)

  1. Graham Williams repo owner

    Thanks for the report. RGtk2 compiles for me on Ubuntu 22.04 at present, though I am aware of issues. I have not tried on Mint 21 yet. Seems to be a Cairo device issue causing the error. This needs investigation.

  2. Log in to comment