Open ArtoyNerian opened 4 years ago
ninja
[1/24] Compiling Vala source src/cons...hortcuts.vala ../src/xmlHandler.vala.
FAILED: com.github.babluboy.bookworm@exe/build/src/constants.c com.github.babluboy.bookworm@exe/src/main.c com.github.babluboy.bookworm@exe/src/bookworm.c com.github.babluboy.bookworm@exe/src/utils.c com.github.babluboy.bookworm@exe/src/ePubReader.c com.github.babluboy.bookworm@exe/src/book.c com.github.babluboy.bookworm@exe/src/database.c com.github.babluboy.bookworm@exe/src/settings.c com.github.babluboy.bookworm@exe/src/bookinfo.c com.github.babluboy.bookworm@exe/src/headerbar.c com.github.babluboy.bookworm@exe/src/dialog.c com.github.babluboy.bookworm@exe/src/window.c com.github.babluboy.bookworm@exe/src/prefpopover.c com.github.babluboy.bookworm@exe/src/library.c com.github.babluboy.bookworm@exe/src/pdfReader.c com.github.babluboy.bookworm@exe/src/contentHandler.c com.github.babluboy.bookworm@exe/src/comicsReader.c com.github.babluboy.bookworm@exe/src/backgroundTasks.c com.github.babluboy.bookworm@exe/src/mobiReader.c com.github.babluboy.bookworm@exe/src/fb2Reader.c com.github.babluboy.bookworm@exe/src/shortcuts.c com.github.babluboy.bookworm@exe/src/xmlHandler.c
valac -C --debug --pkg sqlite3 --pkg granite --pkg libxml-2.0 --pkg poppler-glib --pkg webkit2gtk-4.0 --pkg gee-0.8 --pkg gtk+-3.0 --directory com.github.babluboy.bookworm@exe --basedir ../ --gresources=../data/com.github.babluboy.bookworm.gresource.xml -g --thread --target-glib=2.38 src/constants.vala ../src/main.vala ../src/bookworm.vala ../src/utils.vala ../src/ePubReader.vala ../src/book.vala ../src/database.vala ../src/settings.vala ../src/bookinfo.vala ../src/headerbar.vala ../src/dialog.vala ../src/window.vala ../src/prefpopover.vala ../src/library.vala ../src/pdfReader.vala ../src/contentHandler.vala ../src/comicsReader.vala ../src/backgroundTasks.vala ../src/mobiReader.vala ../src/fb2Reader.vala ../src/shortcuts.vala ../src/xmlHandler.vala
libsoup-2.4.vapi:1146.3-1146.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1260.3-1260.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1931.3-1931.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1934.3-1934.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1937.3-1937.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1940.3-1940.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1943.3-1943.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1946.3-1946.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1949.3-1949.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1952.3-1952.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1955.3-1955.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1958.3-1958.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2000.3-2000.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2003.3-2003.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2006.3-2006.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2076.3-2076.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2080.3-2080.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2083.3-2083.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2086.3-2086.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2089.3-2089.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2092.3-2092.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2095.3-2095.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2098.3-2098.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2101.3-2101.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2104.3-2104.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2107.3-2107.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2111.3-2111.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
../src/bookworm.vala:37.5-37.40: warning: BookwormApp.Bookworm.options hides inherited field Granite.Application.options'. Use the
new' keyword if hiding was intentional
private static OptionEntry[] options;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../src/shortcuts.vala:646.13-646.20: warning: string.size is deprecated. Use string.length
../src/shortcuts.vala:429.40-429.60: error: The name all_match' does not exist in the context of
Gee.ArrayListfirst_match' does not exist in the context of
Gee.ArrayListany_match' does not exist in the context of
Gee.ArrayListGranite.Services.Paths.initialize' with an instance reference app_xdg_path.initialize (Constants.bookworm_id, Constants.INSTALL_SCRIPTS_DIR); ^^^^^^^^^^^^^^^^^^^^^^^ ../src/bookworm.vala:127.32-127.60: warning: Access to static member
Granite.Services.Paths.user_data_folder' with an instance reference
bookworm_config_path = app_xdg_path.user_data_folder.get_path ();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../src/window.vala:182.21-182.43: warning: implicit .begin is deprecated
../src/contentHandler.vala:204.13-205.67: warning: unhandled error GLib.Error' ../src/library.vala:679.13-679.55: warning: implicit .begin is deprecated ../src/fb2Reader.vala:210.33-210.60: warning: unhandled error
GLib.Error'
Pixbuf pixbuf = new Pixbuf.from_stream (mis);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../src/contentHandler.vala:437.13-438.68: warning: unhandled error GLib.Error' ../src/window.vala:339.13-339.49: warning: implicit .begin is deprecated ../src/window.vala:409.73-409.107: error: The name
from_gaction' does not exist in the context of WebKit.ContextMenuItem' WebKit.ContextMenuItem pageContextMenuItemWordMeaning = new WebKit.ContextMenuItem.from_gaction ( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../src/window.vala:411.77-411.111: error: The name
from_gaction' does not exist in the context of WebKit.ContextMenuItem' WebKit.ContextMenuItem pageContextMenuItemFullScreenEntry = new WebKit.ContextMenuItem.from_gaction ( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../src/window.vala:413.76-413.110: error: The name
from_gaction' does not exist in the context of WebKit.ContextMenuItem' WebKit.ContextMenuItem pageContextMenuItemFullScreenExit = new WebKit.ContextMenuItem.from_gaction ( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../src/window.vala:415.79-415.113: error: The name
from_gaction' does not exist in the context of WebKit.ContextMenuItem' WebKit.ContextMenuItem pageContextMenuItemAnnotateSelection = new WebKit.ContextMenuItem.from_gaction ( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../src/window.vala:659.17-659.53: warning: implicit .begin is deprecated ../src/headerbar.vala:138.17-138.54: warning: implicit .begin is deprecated ../src/bookworm.vala:241.17-241.29: warning: implicit .begin is deprecated ../src/bookworm.vala:274.13-274.49: warning: implicit .begin is deprecated ../src/main.vala:33.13-33.49: warning: Access to static member
BookwormApp.Bookworm.command_line_option_debug' with an instance reference
application.command_line_option_debug = true;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../src/main.vala:36.13-36.48: warning: Access to static member `BookwormApp.Bookworm.command_line_option_info' with an instance reference
application.command_line_option_info = true;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 7 error(s), 43 warning(s)
ninja: build stopped: subcommand failed.
so I put the last command sudo ninja install com.github.babluboy.bookworm and the terminal give me back this: [1/25] Compiling Val.../src/xmlHandler.vala FAILED: com.github.babluboy.bookworm@exe/build/src/constants.c com.github.babluboy.bookworm@exe/src/main.c com.github.babluboy.bookworm@exe/src/bookworm.c com.github.babluboy.bookworm@exe/src/utils.c com.github.babluboy.bookworm@exe/src/ePubReader.c com.github.babluboy.bookworm@exe/src/book.c com.github.babluboy.bookworm@exe/src/database.c com.github.babluboy.bookworm@exe/src/settings.c com.github.babluboy.bookworm@exe/src/bookinfo.c com.github.babluboy.bookworm@exe/src/headerbar.c com.github.babluboy.bookworm@exe/src/dialog.c com.github.babluboy.bookworm@exe/src/window.c com.github.babluboy.bookworm@exe/src/prefpopover.c com.github.babluboy.bookworm@exe/src/library.c com.github.babluboy.bookworm@exe/src/pdfReader.c com.github.babluboy.bookworm@exe/src/contentHandler.c com.github.babluboy.bookworm@exe/src/comicsReader.c com.github.babluboy.bookworm@exe/src/backgroundTasks.c com.github.babluboy.bookworm@exe/src/mobiReader.c com.github.babluboy.bookworm@exe/src/fb2Reader.c com.github.babluboy.bookworm@exe/src/shortcuts.c com.github.babluboy.bookworm@exe/src/xmlHandler.c valac -C --debug --debug --pkg sqlite3 --pkg granite --pkg libxml-2.0 --pkg poppler-glib --pkg webkit2gtk-4.0 --pkg gee-0.8 --pkg gtk+-3.0 --directory com.github.babluboy.bookworm@exe --basedir ../ --gresources=../data/com.github.babluboy.bookworm.gresource.xml -g --thread --target-glib=2.38 src/constants.vala ../src/main.vala ../src/bookworm.vala ../src/utils.vala ../src/ePubReader.vala ../src/book.vala ../src/database.vala ../src/settings.vala ../src/bookinfo.vala ../src/headerbar.vala ../src/dialog.vala ../src/window.vala ../src/prefpopover.vala ../src/library.vala ../src/pdfReader.vala ../src/contentHandler.vala ../src/comicsReader.vala ../src/backgroundTasks.vala ../src/mobiReader.vala ../src/fb2Reader.vala ../src/shortcuts.vala ../src/xmlHandler.vala libsoup-2.4.vapi:1146.3-1146.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:1260.3-1260.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:1931.3-1931.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:1934.3-1934.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:1937.3-1937.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:1940.3-1940.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:1943.3-1943.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:1946.3-1946.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:1949.3-1949.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:1952.3-1952.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:1955.3-1955.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:1958.3-1958.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:2000.3-2000.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:2003.3-2003.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:2006.3-2006.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:2076.3-2076.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:2080.3-2080.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:2083.3-2083.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:2086.3-2086.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:2089.3-2089.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:2092.3-2092.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:2095.3-2095.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:2098.3-2098.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:2101.3-2101.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:2104.3-2104.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:2107.3-2107.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] libsoup-2.4.vapi:2111.3-2111.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")] ../src/bookworm.vala:37.5-37.40: warning: BookwormApp.Bookworm.options hides inherited field'
this.stateChanged (this.assocs.all_match ((assoc) => assoc.isSameAsSettings));
^^^^^^^^^^^^^^^^^^^^^
../src/shortcuts.vala:438.16-438.38: error: The name '
return this.assocs.first_match (predicate);
^^^^^^^^^^^^^^^^^^^^^^^
../src/shortcuts.vala:448.16-448.36: error: The name '
return this.assocs.any_match (predicate);
^^^^^^^^^^^^^^^^^^^^^
../src/bookworm.vala:126.9-126.31: warning: Access to static member
Granite.Application.options'. Use the
new' keyword if hiding was intentional private static OptionEntry[] options; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../src/shortcuts.vala:646.13-646.20: warning: string.size is deprecated. Use string.length ../src/shortcuts.vala:429.40-429.60: error: The nameall_match' does not exist in the context of
Gee.ArrayListfirst_match' does not exist in the context of
Gee.ArrayListany_match' does not exist in the context of
Gee.ArrayListGranite.Services.Paths.initialize' with an instance reference app_xdg_path.initialize (Constants.bookworm_id, Constants.INSTALL_SCRIPTS_DIR); ^^^^^^^^^^^^^^^^^^^^^^^ ../src/bookworm.vala:127.32-127.60: warning: Access to static member
Granite.Services.Paths.user_data_folder' with an instance reference bookworm_config_path = app_xdg_path.user_data_folder.get_path (); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../src/window.vala:182.21-182.43: warning: implicit .begin is deprecated ../src/contentHandler.vala:204.13-205.67: warning: unhandled errorGLib.Error' ../src/library.vala:679.13-679.55: warning: implicit .begin is deprecated ../src/fb2Reader.vala:210.33-210.60: warning: unhandled error
GLib.Error' Pixbuf pixbuf = new Pixbuf.from_stream (mis); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../src/contentHandler.vala:437.13-438.68: warning: unhandled errorGLib.Error' ../src/window.vala:339.13-339.49: warning: implicit .begin is deprecated ../src/window.vala:409.73-409.107: error: The name
from_gaction' does not exist in the context ofWebKit.ContextMenuItem' WebKit.ContextMenuItem pageContextMenuItemWordMeaning = new WebKit.ContextMenuItem.from_gaction ( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../src/window.vala:411.77-411.111: error: The name
from_gaction' does not exist in the context ofWebKit.ContextMenuItem' WebKit.ContextMenuItem pageContextMenuItemFullScreenEntry = new WebKit.ContextMenuItem.from_gaction ( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../src/window.vala:413.76-413.110: error: The name
from_gaction' does not exist in the context ofWebKit.ContextMenuItem' WebKit.ContextMenuItem pageContextMenuItemFullScreenExit = new WebKit.ContextMenuItem.from_gaction ( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../src/window.vala:415.79-415.113: error: The name
from_gaction' does not exist in the context ofWebKit.ContextMenuItem' WebKit.ContextMenuItem pageContextMenuItemAnnotateSelection = new WebKit.ContextMenuItem.from_gaction ( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../src/window.vala:659.17-659.53: warning: implicit .begin is deprecated ../src/headerbar.vala:138.17-138.54: warning: implicit .begin is deprecated ../src/bookworm.vala:241.17-241.29: warning: implicit .begin is deprecated ../src/bookworm.vala:274.13-274.49: warning: implicit .begin is deprecated ../src/main.vala:33.13-33.49: warning: Access to static member
BookwormApp.Bookworm.command_line_option_debug' with an instance reference application.command_line_option_debug = true; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../src/main.vala:36.13-36.48: warning: Access to static member `BookwormApp.Bookworm.command_line_option_info' with an instance reference application.command_line_option_info = true; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Compilation failed: 7 error(s), 43 warning(s) ninja: build stopped: subcommand failed.