A rebuild fails with:
In file included from coot_pythonmodule.cc:30:
/usr/include/pygobject-3.0/pygobject.h:23:10: fatal error: pygobject-types.h:
No such file or directory
23 | #include <pygobject-types.h>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:2420: coot_pythonmodule.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
cfc-gui.cc: In member function 'void cfc_gui_t::fill_waters_grid(const
std::vector<int>&)':
cfc-gui.cc:317:68: warning: 'GtkStyleContext*
gtk_widget_get_style_context(GtkWidget*)' is deprecated
[-Wdeprecated-declarations]
317 | GtkStyleContext *context = gtk_widget_get_style_context(b);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from /usr/include/gtk-4.0/gtk/gtkapplication.h:26,
from /usr/include/gtk-4.0/gtk/gtkwindow.h:32,
from /usr/include/gtk-4.0/gtk/gtkaboutdialog.h:29,
from /usr/include/gtk-4.0/gtk/gtk.h:33,
from cc-interface.hh:30,
from cfc-gui.cc:4:
/usr/include/gtk-4.0/gtk/gtkwidget.h:713:19: note: declared here
713 | GtkStyleContext * gtk_widget_get_style_context (GtkWidget *widget);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cfc-gui.cc:319:43: warning: 'void gtk_style_context_add_class(GtkStyleContext*,
const char*)' is deprecated [-Wdeprecated-declarations]
319 | gtk_style_context_add_class(context,
"custom-cfc-button");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtk.h:270:
/usr/include/gtk-4.0/gtk/deprecated/gtkstylecontext.h:90:10: note: declared here
90 | void gtk_style_context_add_class (GtkStyleContext *context,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cfc-gui.cc:321:43: warning: 'void gtk_style_context_add_class(GtkStyleContext*,
const char*)' is deprecated [-Wdeprecated-declarations]
321 | gtk_style_context_add_class(context,
"custom-cfc-blank-button");
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkstylecontext.h:90:10: note: declared here
90 | void gtk_style_context_add_class (GtkStyleContext *context,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cfc-gui.cc: In member function 'void cfc_gui_t::fill_ligands_grid(const
std::vector<int>&)':
cfc-gui.cc:425:68: warning: 'GtkStyleContext*
gtk_widget_get_style_context(GtkWidget*)' is deprecated
[-Wdeprecated-declarations]
425 | GtkStyleContext *context = gtk_widget_get_style_context(b);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/gtk-4.0/gtk/gtkwidget.h:713:19: note: declared here
713 | GtkStyleContext * gtk_widget_get_style_context (GtkWidget *widget);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cfc-gui.cc:428:43: warning: 'void gtk_style_context_add_class(GtkStyleContext*,
const char*)' is deprecated [-Wdeprecated-declarations]
428 | gtk_style_context_add_class(context,
"custom-cfc-button");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkstylecontext.h:90:10: note: declared here
90 | void gtk_style_context_add_class (GtkStyleContext *context,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cfc-gui.cc:431:43: warning: 'void gtk_style_context_add_class(GtkStyleContext*,
const char*)' is deprecated [-Wdeprecated-declarations]
431 | gtk_style_context_add_class(context,
"custom-cfc-blank-button");
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkstylecontext.h:90:10: note: declared here
90 | void gtk_style_context_add_class (GtkStyleContext *context,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
coot-application.cc: In function 'int start_using_application(int, char**)':
coot-application.cc:103:69: warning: 'G_APPLICATION_FLAGS_NONE' is deprecated:
Use 'G_APPLICATION_DEFAULT_FLAGS' instead [-Wdeprecated-declarations]
103 | GtkApplication *app = gtk_application_new ("org.emsley.coot",
G_APPLICATION_FLAGS_NONE);
|
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gio/giotypes.h:30,
from /usr/include/glib-2.0/gio/gio.h:28,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:24,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:36,
from /usr/include/gtk-4.0/gtk/gtk.h:29,
from ../validation-graphs/validation-graphs.hh:30,
from graphics-info.h:33,
from coot-application.cc:28:
/usr/include/glib-2.0/gio/gioenums.h:1563:3: note: declared here
1563 | G_APPLICATION_FLAGS_NONE
GIO_DEPRECATED_ENUMERATOR_IN_2_74_FOR(G_APPLICATION_DEFAULT_FLAGS),
| ^~~~~~~~~~~~~~~~~~~~~~~~
cmtz-interface.cc: In function 'void my_combo_box_text_add_items(GtkComboBox*,
const std::vector<coot::mtz_type_label>&, int)':
cmtz-interface.cc:541:44: warning: 'GtkListStore* gtk_list_store_new(int, ...)'
is deprecated: Use 'GListStore' instead [-Wdeprecated-declarations]
541 | GtkListStore *store = gtk_list_store_new(1, G_TYPE_STRING);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from
/usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:26,
from /usr/include/gtk-4.0/gtk/gtkentry.h:39,
from /usr/include/gtk-4.0/gtk/deprecated/gtktreeview.h:27,
from /usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:26,
from /usr/include/gtk-4.0/gtk/gtk.h:95,
from cmtz-interface.cc:43:
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:63:15: note: declared here
63 | GtkListStore *gtk_list_store_new (int n_columns,
| ^~~~~~~~~~~~~~~~~~
cmtz-interface.cc:545:28: warning: 'void gtk_list_store_append(GtkListStore*,
GtkTreeIter*)' is deprecated: Use 'GListStore' instead
[-Wdeprecated-declarations]
545 | gtk_list_store_append(store, &iter);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:125:15: note: declared here
125 | void gtk_list_store_append (GtkListStore *list_store,
| ^~~~~~~~~~~~~~~~~~~~~
cmtz-interface.cc:546:25: warning: 'void gtk_list_store_set(GtkListStore*,
GtkTreeIter*, ...)' is deprecated: Use 'GListStore' instead
[-Wdeprecated-declarations]
546 | gtk_list_store_set(store, &iter, 0, col_lab.c_str(), -1);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:81:15: note: declared here
81 | void gtk_list_store_set (GtkListStore *list_store,
| ^~~~~~~~~~~~~~~~~~
cmtz-interface.cc:553:58: warning: 'GtkCellRenderer*
gtk_cell_renderer_text_new()' is deprecated [-Wdeprecated-declarations]
553 | GtkCellRenderer *renderer = gtk_cell_renderer_text_new();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from
/usr/include/gtk-4.0/gtk/deprecated/gtkcellrendereraccel.h:24,
from /usr/include/gtk-4.0/gtk/gtk.h:71:
/usr/include/gtk-4.0/gtk/deprecated/gtkcellrenderertext.h:62:18: note: declared
here
62 | GtkCellRenderer *gtk_cell_renderer_text_new (void);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
cmtz-interface.cc:554:30: warning: 'void
gtk_cell_layout_pack_start(GtkCellLayout*, GtkCellRenderer*, gboolean)' is
deprecated [-Wdeprecated-declarations]
554 | gtk_cell_layout_pack_start(GTK_CELL_LAYOUT(combobox), renderer,
TRUE);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtk.h:69:
/usr/include/gtk-4.0/gtk/deprecated/gtkcelllayout.h:115:7: note: declared here
115 | void gtk_cell_layout_pack_start (GtkCellLayout
*cell_layout,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
cmtz-interface.cc:556:27: warning: 'void gtk_combo_box_set_model(GtkComboBox*,
GtkTreeModel*)' is deprecated: Use 'GtkDropDown' instead
[-Wdeprecated-declarations]
556 | gtk_combo_box_set_model(GTK_COMBO_BOX(combobox), model);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:97:15: note: declared here
97 | void gtk_combo_box_set_model (GtkComboBox
*combo_box,
| ^~~~~~~~~~~~~~~~~~~~~~~
cmtz-interface.cc:559:31: warning: 'void gtk_combo_box_set_active(GtkComboBox*,
int)' is deprecated: Use 'GtkDropDown' instead [-Wdeprecated-declarations]
559 | gtk_combo_box_set_active(GTK_COMBO_BOX(combobox),
active_label_index);
|
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:86:15: note: declared here
86 | void gtk_combo_box_set_active (GtkComboBox
*combo_box,
| ^~~~~~~~~~~~~~~~~~~~~~~~
coot-setup-python.cc: In function 'void setup_python_basic(int, char**)':
coot-setup-python.cc:109:19: warning: 'void PySys_SetArgvEx(int, wchar_t**,
int)' is deprecated [-Wdeprecated-declarations]
109 | PySys_SetArgvEx(argc, _argv, update_path);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.14/Python.h:128,
from coot-setup-python.cc:24:
/usr/include/python3.14/sysmodule.h:11:38: note: declared here
11 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) PySys_SetArgvEx(int, wchar_t **,
int);
| ^~~~~~~~~~~~~~~
make[2]: Leaving directory '/build/reproducible-path/coot-1.1.18+dfsg/src'
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2143679
Title:
Regression in proposed blocking python transition
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coot/+bug/2143679/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs