[pkg-go] Bug#997768: golang-github-gotk3-gotk3: FTBFS: src/github.com/gotk3/gotk3/gtk/accel.go:247:5: val.accel_flags undefined (type _Ctype_struct__GtkAccelKey has no field or method accel_flags)

Lucas Nussbaum lucas at debian.org
Sun Oct 24 12:35:30 BST 2021


Source: golang-github-gotk3-gotk3
Version: 0.0~GOTK3~0~2~0+git20170418.0.96d4110-3.1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules build
> dh build --buildsystem=golang --with=golang
>    dh_update_autotools_config -O--buildsystem=golang
>    dh_autoreconf -O--buildsystem=golang
>    dh_auto_configure -O--buildsystem=golang
>    dh_auto_build -O--buildsystem=golang
> 	cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 github.com/gotk3/gotk3/cairo github.com/gotk3/gotk3/gdk github.com/gotk3/gotk3/glib github.com/gotk3/gotk3/gtk github.com/gotk3/gotk3/pango
> internal/unsafeheader
> internal/goexperiment
> internal/cpu
> internal/abi
> runtime/internal/atomic
> runtime/internal/sys
> runtime/internal/math
> internal/itoa
> math/bits
> unicode/utf8
> internal/bytealg
> internal/race
> sync/atomic
> math
> unicode
> runtime
> internal/reflectlite
> sync
> internal/testlog
> runtime/cgo
> errors
> sort
> io
> strconv
> internal/oserror
> path
> syscall
> reflect
> internal/syscall/unix
> time
> internal/syscall/execenv
> io/fs
> internal/poll
> internal/fmtsort
> os
> fmt
> github.com/gotk3/gotk3/glib
> # github.com/gotk3/gotk3/glib
> cgo-gcc-prolog: In function ‘_cgo_734360ee47f5_Cfunc_g_binding_get_source’:
> cgo-gcc-prolog:71:2: warning: ‘g_binding_get_source’ is deprecated: Use 'g_binding_dup_source' instead [-Wdeprecated-declarations]
> In file included from /usr/include/glib-2.0/glib-object.h:22,
>                  from /usr/include/glib-2.0/gio/gioenums.h:28,
>                  from /usr/include/glib-2.0/gio/giotypes.h:28,
>                  from /usr/include/glib-2.0/gio/gio.h:26,
>                  from src/github.com/gotk3/gotk3/glib/gbinding.go:4:
> /usr/include/glib-2.0/gobject/gbinding.h:113:23: note: declared here
>   113 | GObject *             g_binding_get_source          (GBinding *binding);
>       |                       ^~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_734360ee47f5_Cfunc_g_binding_get_target’:
> cgo-gcc-prolog:107:2: warning: ‘g_binding_get_target’ is deprecated: Use 'g_binding_dup_target' instead [-Wdeprecated-declarations]
> In file included from /usr/include/glib-2.0/glib-object.h:22,
>                  from /usr/include/glib-2.0/gio/gioenums.h:28,
>                  from /usr/include/glib-2.0/gio/giotypes.h:28,
>                  from /usr/include/glib-2.0/gio/gio.h:26,
>                  from src/github.com/gotk3/gotk3/glib/gbinding.go:4:
> /usr/include/glib-2.0/gobject/gbinding.h:117:23: note: declared here
>   117 | GObject *             g_binding_get_target          (GBinding *binding);
>       |                       ^~~~~~~~~~~~~~~~~~~~
> github.com/gotk3/gotk3/cairo
> github.com/gotk3/gotk3/gdk
> github.com/gotk3/gotk3/pango
> # github.com/gotk3/gotk3/gdk
> cgo-gcc-prolog: In function ‘_cgo_f31c63d07257_Cfunc_gdk_device_grab’:
> cgo-gcc-prolog:285:2: warning: ‘gdk_device_grab’ is deprecated: Use 'gdk_seat_grab' instead [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gdk/gdkdnd.h:33,
>                  from /usr/include/gtk-3.0/gdk/gdkevents.h:34,
>                  from /usr/include/gtk-3.0/gdk/gdkdisplay.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
>                  from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                  from src/github.com/gotk3/gotk3/gdk/gdk.go:21:
> /usr/include/gtk-3.0/gdk/gdkdevice.h:230:15: note: declared here
>   230 | GdkGrabStatus gdk_device_grab        (GdkDevice        *device,
>       |               ^~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_f31c63d07257_Cfunc_gdk_device_manager_get_client_pointer’:
> cgo-gcc-prolog:303:2: warning: ‘gdk_device_manager_get_client_pointer’ is deprecated [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gdk/gdkdisplay.h:32,
>                  from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
>                  from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                  from src/github.com/gotk3/gotk3/gdk/gdk.go:21:
> /usr/include/gtk-3.0/gdk/gdkdevicemanager.h:44:14: note: declared here
>    44 | GdkDevice *  gdk_device_manager_get_client_pointer (GdkDeviceManager *device_manager);
>       |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_f31c63d07257_Cfunc_gdk_device_manager_list_devices’:
> cgo-gcc-prolog:358:2: warning: ‘gdk_device_manager_list_devices’ is deprecated [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gdk/gdkdisplay.h:32,
>                  from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
>                  from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                  from src/github.com/gotk3/gotk3/gdk/gdk.go:21:
> /usr/include/gtk-3.0/gdk/gdkdevicemanager.h:41:14: note: declared here
>    41 | GList *      gdk_device_manager_list_devices       (GdkDeviceManager *device_manager,
>       |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_f31c63d07257_Cfunc_gdk_device_ungrab’:
> cgo-gcc-prolog:375:2: warning: ‘gdk_device_ungrab’ is deprecated: Use 'gdk_seat_ungrab' instead [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gdk/gdkdnd.h:33,
>                  from /usr/include/gtk-3.0/gdk/gdkevents.h:34,
>                  from /usr/include/gtk-3.0/gdk/gdkdisplay.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
>                  from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                  from src/github.com/gotk3/gotk3/gdk/gdk.go:21:
> /usr/include/gtk-3.0/gdk/gdkdevice.h:239:15: note: declared here
>   239 | void          gdk_device_ungrab      (GdkDevice        *device,
>       |               ^~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_f31c63d07257_Cfunc_gdk_display_get_device_manager’:
> cgo-gcc-prolog:518:2: warning: ‘gdk_display_get_device_manager’ is deprecated: Use 'gdk_display_get_default_seat' instead [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
>                  from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                  from src/github.com/gotk3/gotk3/gdk/gdk.go:21:
> /usr/include/gtk-3.0/gdk/gdkdisplay.h:171:20: note: declared here
>   171 | GdkDeviceManager * gdk_display_get_device_manager (GdkDisplay *display);
>       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_f31c63d07257_Cfunc_gdk_display_get_screen’:
> cgo-gcc-prolog:588:2: warning: ‘gdk_display_get_screen’ is deprecated [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
>                  from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                  from src/github.com/gotk3/gotk3/gdk/gdk.go:21:
> /usr/include/gtk-3.0/gdk/gdkdisplay.h:56:13: note: declared here
>    56 | GdkScreen * gdk_display_get_screen         (GdkDisplay  *display,
>       |             ^~~~~~~~~~~~~~~~~~~~~~
> # github.com/gotk3/gotk3/gdk
> cgo-gcc-prolog: In function ‘_cgo_f31c63d07257_Cfunc_gdk_screen_get_active_window’:
> cgo-gcc-prolog:52:2: warning: ‘gdk_screen_get_active_window’ is deprecated [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                  from src/github.com/gotk3/gotk3/gdk/screen.go:4:
> /usr/include/gtk-3.0/gdk/gdkscreen.h:127:12: note: declared here
>   127 | GdkWindow *gdk_screen_get_active_window (GdkScreen *screen);
>       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_f31c63d07257_Cfunc_gdk_screen_get_height’:
> cgo-gcc-prolog:106:2: warning: ‘gdk_screen_get_height’ is deprecated [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                  from src/github.com/gotk3/gotk3/gdk/screen.go:4:
> /usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here
>    60 | gint         gdk_screen_get_height            (GdkScreen   *screen);
>       |              ^~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_f31c63d07257_Cfunc_gdk_screen_get_height_mm’:
> cgo-gcc-prolog:125:2: warning: ‘gdk_screen_get_height_mm’ is deprecated [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                  from src/github.com/gotk3/gotk3/gdk/screen.go:4:
> /usr/include/gtk-3.0/gdk/gdkscreen.h:64:14: note: declared here
>    64 | gint         gdk_screen_get_height_mm         (GdkScreen   *screen);
>       |              ^~~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_f31c63d07257_Cfunc_gdk_screen_get_monitor_at_point’:
> cgo-gcc-prolog:146:2: warning: ‘gdk_screen_get_monitor_at_point’ is deprecated: Use 'gdk_display_get_monitor_at_point' instead [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                  from src/github.com/gotk3/gotk3/gdk/screen.go:4:
> /usr/include/gtk-3.0/gdk/gdkscreen.h:87:15: note: declared here
>    87 | gint          gdk_screen_get_monitor_at_point  (GdkScreen *screen,
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_f31c63d07257_Cfunc_gdk_screen_get_monitor_at_window’:
> cgo-gcc-prolog:166:2: warning: ‘gdk_screen_get_monitor_at_window’ is deprecated: Use 'gdk_display_get_monitor_at_window' instead [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                  from src/github.com/gotk3/gotk3/gdk/screen.go:4:
> /usr/include/gtk-3.0/gdk/gdkscreen.h:91:15: note: declared here
>    91 | gint          gdk_screen_get_monitor_at_window (GdkScreen *screen,
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_f31c63d07257_Cfunc_gdk_screen_get_monitor_height_mm’:
> cgo-gcc-prolog:187:2: warning: ‘gdk_screen_get_monitor_height_mm’ is deprecated: Use 'gdk_monitor_get_height_mm' instead [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                  from src/github.com/gotk3/gotk3/gdk/screen.go:4:
> /usr/include/gtk-3.0/gdk/gdkscreen.h:97:15: note: declared here
>    97 | gint          gdk_screen_get_monitor_height_mm (GdkScreen *screen,
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_f31c63d07257_Cfunc_gdk_screen_get_monitor_plug_name’:
> cgo-gcc-prolog:207:2: warning: ‘gdk_screen_get_monitor_plug_name’ is deprecated: Use 'gdk_monitor_get_model' instead [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                  from src/github.com/gotk3/gotk3/gdk/screen.go:4:
> /usr/include/gtk-3.0/gdk/gdkscreen.h:100:15: note: declared here
>   100 | gchar *       gdk_screen_get_monitor_plug_name (GdkScreen *screen,
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_f31c63d07257_Cfunc_gdk_screen_get_monitor_scale_factor’:
> cgo-gcc-prolog:228:2: warning: ‘gdk_screen_get_monitor_scale_factor’ is deprecated: Use 'gdk_monitor_get_scale_factor' instead [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                  from src/github.com/gotk3/gotk3/gdk/screen.go:4:
> /usr/include/gtk-3.0/gdk/gdkscreen.h:103:15: note: declared here
>   103 | gint          gdk_screen_get_monitor_scale_factor (GdkScreen *screen,
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_f31c63d07257_Cfunc_gdk_screen_get_monitor_width_mm’:
> cgo-gcc-prolog:249:2: warning: ‘gdk_screen_get_monitor_width_mm’ is deprecated: Use 'gdk_monitor_get_width_mm' instead [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                  from src/github.com/gotk3/gotk3/gdk/screen.go:4:
> /usr/include/gtk-3.0/gdk/gdkscreen.h:94:15: note: declared here
>    94 | gint          gdk_screen_get_monitor_width_mm  (GdkScreen *screen,
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_f31c63d07257_Cfunc_gdk_screen_get_n_monitors’:
> cgo-gcc-prolog:268:2: warning: ‘gdk_screen_get_n_monitors’ is deprecated: Use 'gdk_display_get_n_monitors' instead [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                  from src/github.com/gotk3/gotk3/gdk/screen.go:4:
> /usr/include/gtk-3.0/gdk/gdkscreen.h:74:14: note: declared here
>    74 | gint         gdk_screen_get_n_monitors        (GdkScreen    *screen);
>       |              ^~~~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_f31c63d07257_Cfunc_gdk_screen_get_number’:
> cgo-gcc-prolog:287:2: warning: ‘gdk_screen_get_number’ is deprecated [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                  from src/github.com/gotk3/gotk3/gdk/screen.go:4:
> /usr/include/gtk-3.0/gdk/gdkscreen.h:56:14: note: declared here
>    56 | gint         gdk_screen_get_number            (GdkScreen   *screen);
>       |              ^~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_f31c63d07257_Cfunc_gdk_screen_get_primary_monitor’:
> cgo-gcc-prolog:306:2: warning: ‘gdk_screen_get_primary_monitor’ is deprecated: Use 'gdk_display_get_primary_monitor' instead [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                  from src/github.com/gotk3/gotk3/gdk/screen.go:4:
> /usr/include/gtk-3.0/gdk/gdkscreen.h:76:14: note: declared here
>    76 | gint         gdk_screen_get_primary_monitor   (GdkScreen    *screen);
>       |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_f31c63d07257_Cfunc_gdk_screen_get_width’:
> cgo-gcc-prolog:397:2: warning: ‘gdk_screen_get_width’ is deprecated [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                  from src/github.com/gotk3/gotk3/gdk/screen.go:4:
> /usr/include/gtk-3.0/gdk/gdkscreen.h:58:14: note: declared here
>    58 | gint         gdk_screen_get_width             (GdkScreen   *screen);
>       |              ^~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_f31c63d07257_Cfunc_gdk_screen_get_width_mm’:
> cgo-gcc-prolog:416:2: warning: ‘gdk_screen_get_width_mm’ is deprecated [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                  from src/github.com/gotk3/gotk3/gdk/screen.go:4:
> /usr/include/gtk-3.0/gdk/gdkscreen.h:62:14: note: declared here
>    62 | gint         gdk_screen_get_width_mm          (GdkScreen   *screen);
>       |              ^~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_f31c63d07257_Cfunc_gdk_screen_make_display_name’:
> cgo-gcc-prolog:453:2: warning: ‘gdk_screen_make_display_name’ is deprecated [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
>                  from /usr/include/gtk-3.0/gdk/gdk.h:32,
>                  from src/github.com/gotk3/gotk3/gdk/screen.go:4:
> /usr/include/gtk-3.0/gdk/gdkscreen.h:71:14: note: declared here
>    71 | gchar *      gdk_screen_make_display_name     (GdkScreen   *screen);
>       |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> github.com/gotk3/gotk3/gtk
> # github.com/gotk3/gotk3/gtk
> cgo-gcc-prolog: In function ‘_cgo_fc0c9125db7d_Cfunc_gtk_button_get_focus_on_click’:
> cgo-gcc-prolog:1443:2: warning: ‘gtk_button_get_focus_on_click’ is deprecated: Use 'gtk_widget_get_focus_on_click' instead [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gtk/gtk.h:54,
>                  from src/github.com/gotk3/gotk3/gtk/gtk.go:48:
> /usr/include/gtk-3.0/gtk/gtkbutton.h:141:23: note: declared here
>   141 | gboolean              gtk_button_get_focus_on_click (GtkButton      *button);
>       |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_fc0c9125db7d_Cfunc_gtk_button_set_focus_on_click’:
> cgo-gcc-prolog:1637:2: warning: ‘gtk_button_set_focus_on_click’ is deprecated: Use 'gtk_widget_set_focus_on_click' instead [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gtk/gtk.h:54,
>                  from src/github.com/gotk3/gotk3/gtk/gtk.go:48:
> /usr/include/gtk-3.0/gtk/gtkbutton.h:138:23: note: declared here
>   138 | void                  gtk_button_set_focus_on_click (GtkButton      *button,
>       |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_fc0c9125db7d_Cfunc_gtk_container_get_focus_chain’:
> cgo-gcc-prolog:2949:2: warning: ‘gtk_container_get_focus_chain’ is deprecated [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gtk/gtkbin.h:33,
>                  from /usr/include/gtk-3.0/gtk/gtkwindow.h:35,
>                  from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
>                  from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
>                  from /usr/include/gtk-3.0/gtk/gtk.h:31,
>                  from src/github.com/gotk3/gotk3/gtk/gtk.go:48:
> /usr/include/gtk-3.0/gtk/gtkcontainer.h:180:10: note: declared here
>   180 | gboolean gtk_container_get_focus_chain  (GtkContainer   *container,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_fc0c9125db7d_Cfunc_gtk_container_set_focus_chain’:
> cgo-gcc-prolog:3077:2: warning: ‘gtk_container_set_focus_chain’ is deprecated [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gtk/gtkbin.h:33,
>                  from /usr/include/gtk-3.0/gtk/gtkwindow.h:35,
>                  from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
>                  from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
>                  from /usr/include/gtk-3.0/gtk/gtk.h:31,
>                  from src/github.com/gotk3/gotk3/gtk/gtk.go:48:
> /usr/include/gtk-3.0/gtk/gtkcontainer.h:177:10: note: declared here
>   177 | void     gtk_container_set_focus_chain  (GtkContainer   *container,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_fc0c9125db7d_Cfunc_gtk_css_provider_get_default’:
> cgo-gcc-prolog:3130:2: warning: ‘gtk_css_provider_get_default’ is deprecated: Use 'gtk_css_provider_new' instead [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gtk/gtk.h:82,
>                  from src/github.com/gotk3/gotk3/gtk/gtk.go:48:
> /usr/include/gtk-3.0/gtk/gtkcssprovider.h:116:18: note: declared here
>   116 | GtkCssProvider * gtk_css_provider_get_default (void);
>       |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_fc0c9125db7d_Cfunc_gtk_font_button_get_font_name’:
> cgo-gcc-prolog:5540:2: warning: ‘gtk_font_button_get_font_name’ is deprecated [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gtk/gtk.h:109,
>                  from src/github.com/gotk3/gotk3/gtk/gtk.go:48:
> /usr/include/gtk-3.0/gtk/gtkfontbutton.h:96:23: note: declared here
>    96 | const gchar *         gtk_font_button_get_font_name  (GtkFontButton *font_button);
>       |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_fc0c9125db7d_Cfunc_gtk_font_button_set_font_name’:
> cgo-gcc-prolog:5612:2: warning: ‘gtk_font_button_set_font_name’ is deprecated [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gtk/gtk.h:109,
>                  from src/github.com/gotk3/gotk3/gtk/gtk.go:48:
> /usr/include/gtk-3.0/gtk/gtkfontbutton.h:98:23: note: declared here
>    98 | gboolean              gtk_font_button_set_font_name  (GtkFontButton *font_button,
>       |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_fc0c9125db7d_Cfunc_gtk_menu_popup’:
> cgo-gcc-prolog:7397:2: warning: ‘gtk_menu_popup’ is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:34,
>                  from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
>                  from /usr/include/gtk-3.0/gtk/gtk.h:33,
>                  from src/github.com/gotk3/gotk3/gtk/gtk.go:48:
> /usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here
>   138 | void       gtk_menu_popup                 (GtkMenu             *menu,
>       |            ^~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_fc0c9125db7d_Cfunc_gtk_size_group_get_ignore_hidden’:
> cgo-gcc-prolog:9986:2: warning: ‘gtk_size_group_get_ignore_hidden’ is deprecated [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gtk/gtktoolitem.h:30,
>                  from /usr/include/gtk-3.0/gtk/gtktoolbutton.h:28,
>                  from /usr/include/gtk-3.0/gtk/gtkmenutoolbutton.h:28,
>                  from /usr/include/gtk-3.0/gtk/gtk.h:149,
>                  from src/github.com/gotk3/gotk3/gtk/gtk.go:48:
> /usr/include/gtk-3.0/gtk/gtksizegroup.h:75:18: note: declared here
>    75 | gboolean         gtk_size_group_get_ignore_hidden (GtkSizeGroup *size_group);
>       |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_fc0c9125db7d_Cfunc_gtk_size_group_set_ignore_hidden’:
> cgo-gcc-prolog:10072:2: warning: ‘gtk_size_group_set_ignore_hidden’ is deprecated [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gtk/gtktoolitem.h:30,
>                  from /usr/include/gtk-3.0/gtk/gtktoolbutton.h:28,
>                  from /usr/include/gtk-3.0/gtk/gtkmenutoolbutton.h:28,
>                  from /usr/include/gtk-3.0/gtk/gtk.h:149,
>                  from src/github.com/gotk3/gotk3/gtk/gtk.go:48:
> /usr/include/gtk-3.0/gtk/gtksizegroup.h:72:18: note: declared here
>    72 | void             gtk_size_group_set_ignore_hidden (GtkSizeGroup *size_group,
>       |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> # github.com/gotk3/gotk3/gtk
> cgo-gcc-prolog: In function ‘_cgo_fc0c9125db7d_Cfunc_gtk_text_iter_begins_tag’:
> cgo-gcc-prolog:274:2: warning: ‘gtk_text_iter_begins_tag’ is deprecated: Use 'gtk_text_iter_starts_tag' instead [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gtk/gtkselection.h:33,
>                  from /usr/include/gtk-3.0/gtk/gtkdnd.h:35,
>                  from /usr/include/gtk-3.0/gtk/gtktreeview.h:28,
>                  from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27,
>                  from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29,
>                  from /usr/include/gtk-3.0/gtk/gtk.h:42,
>                  from src/github.com/gotk3/gotk3/gtk/text_iter.go:5:
> /usr/include/gtk-3.0/gtk/gtktextiter.h:178:10: note: declared here
>   178 | gboolean gtk_text_iter_begins_tag        (const GtkTextIter  *iter,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~
> # github.com/gotk3/gotk3/gtk
> cgo-gcc-prolog: In function ‘_cgo_fc0c9125db7d_Cfunc_gtk_window_resize_to_geometry’:
> cgo-gcc-prolog:769:2: warning: ‘gtk_window_resize_to_geometry’ is deprecated: Use 'gtk_window_resize' instead [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
>                  from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
>                  from /usr/include/gtk-3.0/gtk/gtk.h:31,
>                  from src/github.com/gotk3/gotk3/gtk/window.go:6:
> /usr/include/gtk-3.0/gtk/gtkwindow.h:451:6: note: declared here
>   451 | void gtk_window_resize_to_geometry   (GtkWindow *window,
>       |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_fc0c9125db7d_Cfunc_gtk_window_set_default_geometry’:
> cgo-gcc-prolog:837:2: warning: ‘gtk_window_set_default_geometry’ is deprecated: Use 'gtk_window_set_default_size' instead [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
>                  from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
>                  from /usr/include/gtk-3.0/gtk/gtk.h:31,
>                  from src/github.com/gotk3/gotk3/gtk/window.go:6:
> /usr/include/gtk-3.0/gtk/gtkwindow.h:447:6: note: declared here
>   447 | void gtk_window_set_default_geometry (GtkWindow *window,
>       |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cgo-gcc-prolog: In function ‘_cgo_fc0c9125db7d_Cfunc_gtk_window_set_wmclass’:
> cgo-gcc-prolog:1231:2: warning: ‘gtk_window_set_wmclass’ is deprecated [-Wdeprecated-declarations]
> In file included from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
>                  from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
>                  from /usr/include/gtk-3.0/gtk/gtk.h:31,
>                  from src/github.com/gotk3/gotk3/gtk/window.go:6:
> /usr/include/gtk-3.0/gtk/gtkwindow.h:154:12: note: declared here
>   154 | void       gtk_window_set_wmclass              (GtkWindow           *window,
>       |            ^~~~~~~~~~~~~~~~~~~~~~
> # github.com/gotk3/gotk3/gtk
> src/github.com/gotk3/gotk3/gtk/accel.go:247:5: val.accel_flags undefined (type _Ctype_struct__GtkAccelKey has no field or method accel_flags)
> src/github.com/gotk3/gotk3/gtk/accel.go:256:22: obj.accel_flags undefined (type *_Ctype_struct__GtkAccelKey has no field or method accel_flags)
> dh_auto_build: error: cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 github.com/gotk3/gotk3/cairo github.com/gotk3/gotk3/gdk github.com/gotk3/gotk3/glib github.com/gotk3/gotk3/gtk github.com/gotk3/gotk3/pango returned exit code 2
> make: *** [debian/rules:4: build] Error 25


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/golang-github-gotk3-gotk3_0.0~GOTK3~0~2~0+git20170418.0.96d4110-3.1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-go-maintainers mailing list