build failure due to missing Gtk.Source* types

Bug #881360 reported by Pim Vullers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Euclide
Low
Unassigned

Bug Description

When trying to build euclide from trunk I get the following errors: (I do have gtksourceview, 2.10.5 and 3.2.2)
...
[ 50%] Building C object euclidecore/CMakeFiles/euclidecore.dir/Bazaar.c.o
Linking C shared library libeuclidecore.so
[ 50%] Built target euclidecore
[ 53%] [ 57%] [ 60%] Generating main.c, Sidebar.c, config.vapi, OutputParser.c, NewProject.c, Resources.c, Terminals.c, BuildActions.c, ProjectManager.c, Settings.c
Generating main.c, Sidebar.c, config.vapi, OutputParser.c, NewProject.c, Resources.c, Terminals.c, BuildActions.c, ProjectManager.c, Settings.c
Generating tests.c, OutputParser.c
scratch.vapi:111.29-111.42: error: The type name `Gtk.SourceView' could not be found
  public class SourceView : Gtk.SourceView {
                            ^^^^^^^^^^^^^^
scratch.vapi:112.11-112.26: error: The type name `Gtk.SourceBuffer' could not be found
   public Gtk.SourceBuffer buffer;
          ^^^^^^^^^^^^^^^^
scratch.vapi:114.11-114.35: error: The type name `Gtk.SourceLanguageManager' could not be found
   public Gtk.SourceLanguageManager manager;
          ^^^^^^^^^^^^^^^^^^^^^^^^^
scratch.vapi:115.11-115.38: error: The type name `Gtk.SourceStyleSchemeManager' could not be found
   public Gtk.SourceStyleSchemeManager style_scheme_manager;
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
scratch.vapi:170.11-170.28: error: The type name `Gtk.SourceLanguage' could not be found
   public Gtk.SourceLanguage language { get; }
          ^^^^^^^^^^^^^^^^^^
scratch.vapi:170.11-170.28: error: The type name `Gtk.SourceLanguage' could not be found
   public Gtk.SourceLanguage language { get; }
          ^^^^^^^^^^^^^^^^^^
Compilation failed: 6 error(s), 0 warning(s)
make[2]: *** [src/main.c] Error 1
make[1]: *** [src/CMakeFiles/euclide.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
scratch.vapi:111.29-111.42: error: The type name `Gtk.SourceView' could not be found
  public class SourceView : Gtk.SourceView {
                            ^^^^^^^^^^^^^^
scratch.vapi:112.11-112.26: error: The type name `Gtk.SourceBuffer' could not be found
   public Gtk.SourceBuffer buffer;
          ^^^^^^^^^^^^^^^^
scratch.vapi:114.11-114.35: error: The type name `Gtk.SourceLanguageManager' could not be found
   public Gtk.SourceLanguageManager manager;
          ^^^^^^^^^^^^^^^^^^^^^^^^^
scratch.vapi:115.11-115.38: error: The type name `Gtk.SourceStyleSchemeManager' could not be found
   public Gtk.SourceStyleSchemeManager style_scheme_manager;
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
scratch.vapi:170.11-170.28: error: The type name `Gtk.SourceLanguage' could not be found
   public Gtk.SourceLanguage language { get; }
          ^^^^^^^^^^^^^^^^^^
scratch.vapi:170.11-170.28: error: The type name `Gtk.SourceLanguage' could not be found
   public Gtk.SourceLanguage language { get; }
          ^^^^^^^^^^^^^^^^^^
Compilation failed: 6 error(s), 0 warning(s)
make[2]: *** [src/main.c] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/src/tests.vala:309.9-309.103: warning: unhandled error `GLib.SpawnError'
        Process.spawn_sync ("/", {"rm", "/tmp/test-add-exe", "-R"}, null, SpawnFlags.SEARCH_PATH, null);
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/src/tests.vala:310.24-314.48: warning: unhandled error `GLib.SpawnError'
/var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/src/tests.vala:25.5-25.24: warning: method `Euclide.Tests.add_cmake_tests' never used
    void add_cmake_tests()
    ^^^^^^^^^^^^^^^^^^^^
/var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/src/tests.vala:462.5-462.25: warning: method `Euclide.Tests.test_source_view' never used
    void test_source_view()
    ^^^^^^^^^^^^^^^^^^^^^
Compilation succeeded - 4 warning(s)
make[1]: *** [src/CMakeFiles/euclide_tests.dir/all] Error 2
make: *** [all] Error 2

Revision history for this message
Pim Vullers (pimvullers) wrote :
Revision history for this message
Pim Vullers (pimvullers) wrote :
Download full text (12.4 KiB)

output off 'make VERBOSE=1' (executed after build failed):

chaos euclide-9999_build # make VERBOSE=1
/usr/bin/cmake -H/var/tmp/portage/dev-util/euclide-9999/work/euclide-9999 -B/var/tmp/portage/dev-util/euclide-9999/work/euclide-9999_build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999_build/CMakeFiles /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999_build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/var/tmp/portage/dev-util/euclide-9999/work/euclide-9999_build'
make -f euclidecore/CMakeFiles/euclidecore.dir/build.make euclidecore/CMakeFiles/euclidecore.dir/depend
make[2]: Entering directory `/var/tmp/portage/dev-util/euclide-9999/work/euclide-9999_build'
cd /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999 /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/euclidecore /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999_build /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999_build/euclidecore /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999_build/euclidecore/CMakeFiles/euclidecore.dir/DependInfo.cmake --color=
Deleting primary custom command output "/var/tmp/portage/dev-util/euclide-9999/work/euclide-9999_build/euclidecore/euclidecore.c" because another output "/var/tmp/portage/dev-util/euclide-9999/work/euclide-9999_build/euclidecore/../src/config.vapi" does not exist.
make[2]: Leaving directory `/var/tmp/portage/dev-util/euclide-9999/work/euclide-9999_build'
make -f euclidecore/CMakeFiles/euclidecore.dir/build.make euclidecore/CMakeFiles/euclidecore.dir/build
make[2]: Entering directory `/var/tmp/portage/dev-util/euclide-9999/work/euclide-9999_build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999_build/CMakeFiles 27
[ 3%] Generating euclidecore.c, CMake/Parser.c, CMake/Project.c, CMake/Command.c, CMake/Files.c, CMake/Cache.c, Plugin.c, Tabs.c, SourceView.c, Completion.c, ../src/config.vapi, Threads.c, Bazaar.c, euclidecore.vapi, euclidecore.h, euclidecore_internal.h
cd /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999_build/euclidecore && /usr/bin/valac-0.14 -C --header=/var/tmp/portage/dev-util/euclide-9999/work/euclide-9999_build/euclidecore/euclidecore.h --internal-header=/var/tmp/portage/dev-util/euclide-9999/work/euclide-9999_build/euclidecore/euclidecore_internal.h --internal-vapi=euclidecore.vapi -b /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/euclidecore -d /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999_build/euclidecore --pkg=gtk+-3.0 --pkg=gee-1.0 --pkg=gtksource-3.0 --vapidir=/var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/euclidecore/../vapi/ --thread /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/euclidecore/euclidecore.vala /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/euclidecore/CMake/Parser.vala /var/tmp/portage/dev-util/euclide-9999/work/euclide-9999/euclidecore/CMake/Project.vala /var/tmp/portage/dev-util/euclide-9999/wo...

Revision history for this message
xapantu (xapantu) wrote : Re: [Bug 881360] Re: build failure due to missing Gtk.Source* types

Thanks for this report :)

I changed the build system in scratch to use the default gtksourceview
vapi, but I forget to change it in euclide. It should be fixed now :)

Changed in euclide:
status: New → Fix Committed
Changed in euclide:
status: Fix Committed → Fix Released
importance: Undecided → Low
milestone: none → 0.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments