On Wed, 2021-03-17 at 14:44 +0100, Pierre Labastie via blfs-dev wrote: > Hi, > > I inadvertently removed dconf-editor from my system (when recompiling dconf, > because dconf-editor and dconf are on the same page, and so are in the same > package in porg's view). So I tried to recompile it and got: > -------------- > [6/52] Compiling Vala source ../editor...bar.vala > ../editor/source-manager.vala > FAILED: editor/dconf-editor.p/about-list.c editor/dconf-editor.p/adaptative- > pathbar.c editor/dconf-editor.p/adaptative-window.c > editor/dconf-editor.p/base- > headerbar.c editor/dconf-editor.p/base-view.c editor/dconf-editor.p/base- > window.c editor/dconf-editor.p/bookmarks.c editor/dconf-editor.p/bookmarks- > controller.c editor/dconf-editor.p/bookmarks-headerbar.c editor/dconf- > editor.p/bookmarks-list.c editor/dconf-editor.p/bookmarks-view.c editor/dconf- > editor.p/bookmarks-window.c editor/dconf-editor.p/browser-content.c > editor/dconf-editor.p/browser-headerbar.c editor/dconf-editor.p/browser- > infobar.c editor/dconf-editor.p/browser-stack.c editor/dconf-editor.p/browser- > view.c editor/dconf-editor.p/browser-window.c editor/dconf-editor.p/dconf- > editor.c editor/dconf-editor.p/dconf-headerbar.c editor/dconf-editor.p/dconf- > model.c editor/dconf-editor.p/dconf-view.c > editor/dconf-editor.p/dconf-window.c > editor/dconf-editor.p/delayed-setting-view.c editor/dconf-editor.p/key-editor- > child.c editor/dconf-editor.p/key-list-box-row.c editor/dconf-editor.p/large- > pathbar.c editor/dconf-editor.p/model-utils.c editor/dconf- > editor.p/modifications-handler.c editor/dconf-editor.p/modifications-list.c > editor/dconf-editor.p/modifications-revealer.c editor/dconf-editor.p/night- > light-monitor.c editor/dconf-editor.p/notifications-revealer.c editor/dconf- > editor.p/overlayed-list.c editor/dconf-editor.p/pathentry.c editor/dconf- > editor.p/pathwidget.c editor/dconf-editor.p/registry-info.c editor/dconf- > editor.p/registry-list.c editor/dconf-editor.p/registry-placeholder.c > editor/dconf-editor.p/registry-search.c editor/dconf-editor.p/registry-view.c > editor/dconf-editor.p/schemas-utility.c editor/dconf-editor.p/setting-object.c > editor/dconf-editor.p/short-pathbar.c editor/dconf-editor.p/source-manager.c > valac -C --debug --debug --pkg posix /sources/dconf/dconf-editor- > 3.38.2/editor/config.vapi --pkg gtk+-3.0 --pkg gmodule-2.0 --target-glib ' > 2.56.0' --pkg glib-2.0 --pkg dconf --color=always --directory editor/dconf- > editor.p --basedir ../editor --gresources=../editor/dconf-editor.gresource.xml > --enable-experimental-non-null ../editor/about-list.vala ../editor/adaptative- > pathbar.vala ../editor/adaptative-window.vala ../editor/base-headerbar.vala > ../editor/base-view.vala ../editor/base-window.vala ../editor/bookmarks.vala > ../editor/bookmarks-controller.vala ../editor/bookmarks-headerbar.vala > ../editor/bookmarks-list.vala ../editor/bookmarks-view.vala > ../editor/bookmarks-window.vala ../editor/browser-content.vala > ../editor/browser-headerbar.vala ../editor/browser-infobar.vala > ../editor/browser-stack.vala ../editor/browser-view.vala ../editor/browser- > window.vala ../editor/dconf-editor.vala ../editor/dconf-headerbar.vala > ../editor/dconf-model.vala ../editor/dconf-view.vala ../editor/dconf- > window.vala ../editor/delayed-setting-view.vala > ../editor/key-editor-child.vala > ../editor/key-list-box-row.vala ../editor/large-pathbar.vala ../editor/model- > utils.vala ../editor/modifications-handler.vala ../editor/modifications- > list.vala ../editor/modifications-revealer.vala ../editor/night-light- > monitor.vala ../editor/notifications-revealer.vala ../editor/overlayed- > list.vala ../editor/pathentry.vala ../editor/pathwidget.vala > ../editor/registry-info.vala ../editor/registry-list.vala ../editor/registry- > placeholder.vala ../editor/registry-search.vala ../editor/registry-view.vala > ../editor/schemas-utility.vala ../editor/setting-object.vala ../editor/short- > pathbar.vala ../editor/source-manager.vala > ../editor/overlayed-list.vala:23.16-23.53: warning: [GtkChild] fields must be > declared as `unowned' > [GtkChild] protected ListBox main_list_box; > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../editor/overlayed-list.vala:27.16-27.48: warning: [GtkChild] fields must be > declared as `unowned' > [GtkChild] private ScrolledWindow scrolled; > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../editor/overlayed-list.vala:28.16-28.53: warning: [GtkChild] fields must be > declared as `unowned' > [GtkChild] private Box edit_mode_box; > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../editor/overlayed-list.vala:48.16-48.57: warning: [GtkChild] fields must be > declared as `unowned' > [GtkChild] private ModelButton enter_edit_mode_button; > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../editor/overlayed-list.vala:49.16-49.57: warning: [GtkChild] fields must be > declared as `unowned' > [GtkChild] private ModelButton leave_edit_mode_button; > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../editor/registry-placeholder.vala:23.16-23.46: warning: [GtkChild] fields > must be declared as `unowned' > [GtkChild] private Label placeholder_label; > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../editor/registry-placeholder.vala:24.16-24.46: warning: [GtkChild] fields > must be declared as `unowned' > [GtkChild] private Image placeholder_image; > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../editor/overlayed-list.vala:92.47-92.63: error: Argument 2: Cannot pass > unowned ref argument to owned reference parameter > set_horizontal (ref main_context, ref edit_mode_box); > ^^^^^^^^^^^^^^^^^ > ../editor/overlayed-list.vala:94.45-94.61: error: Argument 2: Cannot pass > unowned ref argument to owned reference parameter > set_vertical (ref main_context, ref edit_mode_box); > ^^^^^^^^^^^^^^^^^ > ../editor/overlayed-list.vala:121.29-121.45: error: Argument 1: Cannot pass > unowned ref argument to owned reference parameter > return _next_match (ref main_list_box); > ^^^^^^^^^^^^^^^^^ > ../editor/overlayed-list.vala:143.33-143.49: error: Argument 1: Cannot pass > unowned ref argument to owned reference parameter > return _previous_match (ref main_list_box); > ^^^^^^^^^^^^^^^^^ > ../editor/overlayed-list.vala:192.44-192.60: error: Argument 1: Cannot pass > unowned ref argument to owned reference parameter > return _get_selected_rows_indices (ref main_list_box); > ^^^^^^^^^^^^^^^^^ > ../editor/overlayed-list.vala:208.22-208.38: error: Argument 1: Cannot pass > unowned ref argument to owned reference parameter > _scroll_top (ref main_list_box); > ^^^^^^^^^^^^^^^^^ > ../editor/overlayed-list.vala:218.25-218.41: error: Argument 1: Cannot pass > unowned ref argument to owned reference parameter > _scroll_bottom (ref main_list_box); > ^^^^^^^^^^^^^^^^^ > ../editor/base-view.vala:23.16-23.39: warning: [GtkChild] fields must be > declared as `unowned' > [GtkChild] protected Grid main_grid; > ^^^^^^^^^^^^^^^^^^^^^^^^ > ../editor/base-view.vala:112.16-112.52: warning: [GtkChild] fields must be > declared as `unowned' > [GtkChild] private Overlay notifications_overlay; > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../editor/notifications-revealer.vala:23.16-23.47: warning: [GtkChild] fields > must be declared as `unowned' > [GtkChild] private Label notification_label; > [... a lot more like that ...] > Compilation failed: 31 error(s), 89 warning(s) > ninja: build stopped: subcommand failed. > --------------- > Downgrading to vala-0.50.3 allows to build ("only" 8 warnings in valac) > > Pierre >
There is a patch upstream that fixes the errors (and now there are "just" 97 warnings). https://gitlab.gnome.org/GNOME/dconf-editor/-/commit/9272e9fb6867e71426bfd0aa5edce5ec39cf0ad4.patch Will include it. Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page