ToolArrow.vala build

Bug #995419 reported by David Gomes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Scratch
Fix Released
High
Mario Guerriero

Bug Description

I can't build scratch, here's the log:

-- checking for a minimum Vala version of 0.15.1
-- found Vala, version 0.16.0
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- GSettings schemas will be installed locally.
-- GSettings shemas will be compiled.
-- GSettings schemas will be installed into /usr/share/glib-2.0/schemas/
-- Found PkgConfig: pkg-config (found version "0.26")
-- File Manager plugin will be compiled
-- checking for modules 'marlincore;gail-3.0'
-- package 'marlincore' not found
-- Pastebin plugin will NOT be compiled
-- Configuring done
-- Generating done
-- Build files have been written to: /home/david/src/scratch/build
[ 2%] Generating main.c, SearchManager.c, SourceView.c, Settings.c, PluginManager.c, TemplateManager.c, scratchcore.vapi, scratchcore.h, scratchcore_internal.h
/home/david/src/scratch/scratchcore/TemplateManager.vala:76.26-76.110: warning: unhandled error `GLib.Error'
        var enumerator = origin.enumerate_children ("standard::type,standard::name,standard::content-type", 0);
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/TemplateManager.vala:78.25-78.47: warning: unhandled error `GLib.Error'
        var file_info = enumerator.next_file ();
                        ^^^^^^^^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/TemplateManager.vala:86.25-86.47: warning: unhandled error `GLib.Error'
            file_info = enumerator.next_file ();
                        ^^^^^^^^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/TemplateManager.vala:44.9-44.37: warning: unhandled error `GLib.Error'
        destination.make_directory ();
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/TemplateManager.vala:52.17-52.112: warning: unhandled error `GLib.FileError'
                FileUtils.get_contents (Path.build_filename (origin.get_path (), file.get_name ()), out content);
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/TemplateManager.vala:58.17-58.113: warning: unhandled error `GLib.FileError'
                FileUtils.set_contents (Path.build_filename (destination.get_path (), file.get_name ()), content);
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/TemplateManager.vala:63.17-63.35: warning: unhandled error `GLib.Error'
                orig.copy (dest, 0);
                ^^^^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/SearchManager.vala:463.9-463.72: warning: unhandled error `GLib.Error'
        css.load_from_data("* { padding-left:0; padding-right:0; }", -1);
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/SearchManager.vala:473.5-473.25: warning: Granite.Widgets.ToolArrow.set_state hides inherited method `Gtk.Widget.set_state'. Use the `new' keyword if hiding was intentional
    public void set_state(bool v)
    ^^^^^^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/SearchManager.vala:182.5-182.19: warning: method `Scratch.Services.SearchManager.show_arrow' never used
    void show_arrow (bool show) {
    ^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/SearchManager.vala:294.5-294.20: warning: method `Scratch.Services.SearchManager.add_section' never used
    void add_section (Gtk.Grid grid, Gtk.Label name, ref int row) {
    ^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/SearchManager.vala:302.5-302.19: warning: method `Scratch.Services.SearchManager.add_option' never used
    void add_option (Gtk.Grid grid, Gtk.Widget label, Gtk.Widget switcher, ref int row) {
    ^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/PluginManager.vala:188.5-188.27: warning: field `Scratch.Plugins.Manager.engine_core' never used
    Peas.Engine engine_core;
    ^^^^^^^^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/PluginManager.vala:189.5-189.31: warning: field `Scratch.Plugins.Manager.exts_core' never used
    Peas.ExtensionSet exts_core;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/PluginManager.vala:276.18-276.62: warning: local variable `core_plugins' declared but never used
        string[] core_plugins = new string[core_list.length()];
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation succeeded - 15 warning(s)
Scanning dependencies of target scratchcore
[ 2%] Generating main.c, SearchManager.c, SourceView.c, Settings.c, PluginManager.c, TemplateManager.c, scratchcore.vapi, scratchcore.h, scratchcore_internal.h
/home/david/src/scratch/scratchcore/TemplateManager.vala:76.26-76.110: warning: unhandled error `GLib.Error'
        var enumerator = origin.enumerate_children ("standard::type,standard::name,standard::content-type", 0);
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/TemplateManager.vala:78.25-78.47: warning: unhandled error `GLib.Error'
        var file_info = enumerator.next_file ();
                        ^^^^^^^^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/TemplateManager.vala:86.25-86.47: warning: unhandled error `GLib.Error'
            file_info = enumerator.next_file ();
                        ^^^^^^^^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/TemplateManager.vala:44.9-44.37: warning: unhandled error `GLib.Error'
        destination.make_directory ();
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/TemplateManager.vala:52.17-52.112: warning: unhandled error `GLib.FileError'
                FileUtils.get_contents (Path.build_filename (origin.get_path (), file.get_name ()), out content);
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/TemplateManager.vala:58.17-58.113: warning: unhandled error `GLib.FileError'
                FileUtils.set_contents (Path.build_filename (destination.get_path (), file.get_name ()), content);
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/TemplateManager.vala:63.17-63.35: warning: unhandled error `GLib.Error'
                orig.copy (dest, 0);
                ^^^^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/SearchManager.vala:463.9-463.72: warning: unhandled error `GLib.Error'
        css.load_from_data("* { padding-left:0; padding-right:0; }", -1);
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/SearchManager.vala:473.5-473.25: warning: Granite.Widgets.ToolArrow.set_state hides inherited method `Gtk.Widget.set_state'. Use the `new' keyword if hiding was intentional
    public void set_state(bool v)
    ^^^^^^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/SearchManager.vala:182.5-182.19: warning: method `Scratch.Services.SearchManager.show_arrow' never used
    void show_arrow (bool show) {
    ^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/SearchManager.vala:294.5-294.20: warning: method `Scratch.Services.SearchManager.add_section' never used
    void add_section (Gtk.Grid grid, Gtk.Label name, ref int row) {
    ^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/SearchManager.vala:302.5-302.19: warning: method `Scratch.Services.SearchManager.add_option' never used
    void add_option (Gtk.Grid grid, Gtk.Widget label, Gtk.Widget switcher, ref int row) {
    ^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/PluginManager.vala:188.5-188.27: warning: field `Scratch.Plugins.Manager.engine_core' never used
    Peas.Engine engine_core;
    ^^^^^^^^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/PluginManager.vala:189.5-189.31: warning: field `Scratch.Plugins.Manager.exts_core' never used
    Peas.ExtensionSet exts_core;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/david/src/scratch/scratchcore/PluginManager.vala:276.18-276.62: warning: local variable `core_plugins' declared but never used
        string[] core_plugins = new string[core_list.length()];
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation succeeded - 15 warning(s)
[ 5%] Building C object scratchcore/CMakeFiles/scratchcore.dir/SearchManager.c.o
<command-line>:0:0: warning: "GETTEXT_PACKAGE" redefined [enabled by default]
<command-line>:0:0: note: this is the location of the previous definition
[ 8%] Building C object scratchcore/CMakeFiles/scratchcore.dir/PluginManager.c.o
<command-line>:0:0: warning: "GETTEXT_PACKAGE" redefined [enabled by default]
<command-line>:0:0: note: this is the location of the previous definition
/home/david/src/scratch/build/scratchcore/PluginManager.c: In function ‘scratch_plugins_manager_construct’:
/home/david/src/scratch/build/scratchcore/PluginManager.c:1438:10: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
/home/david/src/scratch/build/scratchcore/PluginManager.c: In function ‘scratch_plugins_manager_on_extension_added’:
/home/david/src/scratch/build/scratchcore/PluginManager.c:1570:9: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
Linking C shared library libscratchcore.so
[ 19%] Built target scratchcore
make[2]: *** No rule to make target `../src/Widgets/ToolArrow.vala', needed by `src/MainWindow.c'. Stop.
make[1]: *** [CMakeFiles/scratch.dir/all] Error 2
make: *** [all] Error 2
david@davidarch:~/src/scratch/build$

I am using latest build from bzr.

Changed in scratch:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Mario Guerriero (mefrio-g)
milestone: none → 1.1
status: Confirmed → Fix Committed
Changed in scratch:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.