Need help pls i try yay pacman and AUR same error
==> ERROR: A failure occurred in check()
Need help pls i try yay pacman and AUR same error
==> ERROR: A failure occurred in check()
The compiler here fails a test. If you donβt care about it, edit the PKGBUILD
to delete the check()
section and youβre good to go.
can u show me pls im noob
sudo pacman -S git base-devel --needed
gti clone https://aur.archlinux.org/packages/elementary-planner/
cd elementary-planner
nano PKGBUILD
Remove this part:
check() {
# No tests defined
# meson test -C build --print-errorlogs
desktop-file-validate build/data/${_app_id}.desktop
appstreamcli validate build/data/${_app_id}.appdata.xml
}
Save and exit nano and run:
makepkg -si
Clone the AUR package and go to the folder:
git clone https://aur.archlinux.org/elementary-planner.git && cd elementary-planner
Edit pkgbuild
nano PKGBUILD
Remove:
check() {
# No tests defined
# meson test -C build --print-errorlogs
desktop-file-validate build/data/${_app_id}.desktop
appstreamcli validate build/data/${_app_id}.appdata.xml
}
Ctrl+O to save, Ctrl+X to exit. Then
makepkg -si
What did you actually try? I was able to install elemenatry-planner
with yay -S elementary-planner
without any errors. You can also use pamac build elementary-planner
dito
Perhaps you should make sure that your system is fully updated before you try to build that package - because, like @ishaan2479 I just built it without problems using makepkg.
ο ξ° ο ~ ξ° git clone https://aur.archlinux.org/elementary-planner.git && cd elementary-planner ξ² β
Cloning into 'elementary-planner'...
remote: Enumerating objects: 49, done.
remote: Counting objects: 100% (49/49), done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 49 (delta 10), reused 49 (delta 10), pack-reused 0
Receiving objects: 100% (49/49), 12.96 KiB | 4.32 MiB/s, done.
Resolving deltas: 100% (10/10), done.
ο ξ° οΌ ~/elementary-planner ξ° ο ο¦ master ξ° ξ² β
ο ξ° ο ~ ξ° yay -S elementary-planner ξ² β ξ² 23s ο
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1] elementary-planner-2.7-2
1 elementary-planner (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> i
:: PKGBUILD up to date, Skipping (1/0): elementary-planner
1 elementary-planner (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> i
:: (1/1) Parsing SRCINFO: elementary-planner
==> Making package: elementary-planner 2.7-2 (Sun 16 Jan 2022 02:45:26 PM CET)
==> Retrieving sources...
-> Found planner-2.7.tar.gz
==> Validating source files with sha256sums...
planner-2.7.tar.gz ... Passed
==> Making package: elementary-planner 2.7-2 (Sun 16 Jan 2022 02:45:28 PM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found planner-2.7.tar.gz
==> Validating source files with sha256sums...
planner-2.7.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting planner-2.7.tar.gz with bsdtar
==> Sources are ready.
==> Making package: elementary-planner 2.7-2 (Sun 16 Jan 2022 02:45:32 PM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true planner-2.7 build
The Meson build system
Version: 0.60.3
Source dir: /home/sai/.cache/yay/elementary-planner/src/planner-2.7
Build dir: /home/sai/.cache/yay/elementary-planner/src/build
Build type: native build
Project name: com.github.alainm23.planner
Project version: 2.7
C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0")
C linker for the host machine: cc ld.bfd 2.36.1
Vala compiler for the host machine: valac (valac 0.54.5)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency glib-2.0 found: YES 2.70.2
Run-time dependency gee-0.8 found: YES 0.20.4
Run-time dependency gtk+-3.0 found: YES 3.24.31
Run-time dependency granite found: YES 6.2.0
Run-time dependency libpeas-1.0 found: YES 1.30.0
Run-time dependency libpeas-gtk-1.0 found: YES 1.30.0
Run-time dependency sqlite3 found: YES 3.37.0
Run-time dependency json-glib-1.0 found: YES 1.6.6
Run-time dependency webkit2gtk-4.0 found: YES 2.34.3
Run-time dependency libhandy-1 found: YES 1.4.0
Run-time dependency libedataserver-1.2 found: YES 3.42.2
Run-time dependency libsoup-2.4 found: YES 2.74.2
Library m found: YES
Run-time dependency libecal-2.0 found: YES 3.42.2
Run-time dependency libical-glib found: YES 3.0.12
Run-time dependency libgdata found: YES 0.18.1
Program curl found: YES (/usr/bin/curl)
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Configuring config.vala using configuration
Dependency glib-2.0 found: YES 2.70.2 (cached)
Dependency gee-0.8 found: YES 0.20.4 (cached)
Run-time dependency gobject-2.0 found: YES 2.70.2
Dependency granite found: YES 6.2.0 (cached)
Dependency sqlite3 found: YES 3.37.0 (cached)
Dependency gtk+-3.0 found: YES 3.24.31 (cached)
Dependency json-glib-1.0 found: YES 1.6.6 (cached)
Dependency libsoup-2.4 found: YES 2.74.2 (cached)
Library posix found: YES
Program msgfmt found: YES (/usr/bin/msgfmt)
Program build-aux/meson/post_install.py found: YES (/usr/bin/python /home/sai/.cache/yay/elementary-planner/src/planner-2.7/build-aux/meson/post_install.py)
Build targets in project: 613
com.github.alainm23.planner 2.7
User defined options
auto_features: enabled
buildtype : plain
libexecdir : lib
prefix : /usr
sbindir : bin
wrap_mode : nodownload
b_lto : true
b_pie : true
Found ninja-1.10.2 at /usr/bin/ninja
ninja: Entering directory `/home/sai/.cache/yay/elementary-planner/src/build'
[2/426] Generating plugins/sidebar-labels/sidebar-labels.plugin_merge with a custom command
/usr/bin/msgfmt: /home/sai/.cache/yay/elementary-planner/src/planner-2.7/po/plugins/LINGUAS does not exist
[3/426] Generating plugins/caldav/caldav.plugin_merge with a custom command
/usr/bin/msgfmt: /home/sai/.cache/yay/elementary-planner/src/planner-2.7/po/plugins/LINGUAS does not exist
[216/426] Compiling Vala source ../planner-2.7/src/Ap.../planner-2.7/src/Objects/Duedate.vala src/config.vala
libgdata.vapi:2038.3-2038.27: warning: Creation method of abstract class cannot be public.
public Parsable.from_json (GLib.Type parsable_type, string json, int length) throws GLib.Error;
^^^^^^^^^^^^^^^^^^^^^^^^^
libgdata.vapi:2041.3-2041.26: warning: Creation method of abstract class cannot be public.
public Parsable.from_xml (GLib.Type parsable_type, string xml, int length) throws GLib.Error;
^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/WhatsNew.vala:31.5-31.22: warning: Widgets.WhatsNew.icon hides inherited property `Gtk.Window.icon'. Use the `new' keyword if hiding was intentional
public string icon {
^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Objects/Label.vala:46.21-46.48: warning: implicit .begin is deprecated
../planner-2.7/src/Services/Todoist.vala:1364.78-1364.105: warning: `null' incompatible with parameter type `GLib.Cancellable'
public async void add_label (Objects.Label label, int64 temp_id_mapping, GLib.Cancellable cancellable=null) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Todoist.vala:2404.43-2404.82: warning: `null' incompatible with parameter type `Gee.Collection<Widgets.LabelItem>'
int index, int64 temp_id_mapping, Gee.Collection<Widgets.LabelItem> labels=null) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Todoist.vala:2483.57-2483.96: warning: `null' incompatible with parameter type `Gee.Collection<Widgets.LabelItem>'
public string get_add_item_json (Objects.Item item, Gee.Collection<Widgets.LabelItem> labels=null, string temp_id, string uuid) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Todoist.vala:2483.104-2483.117: warning: parameter without default follows parameter with default
public string get_add_item_json (Objects.Item item, Gee.Collection<Widgets.LabelItem> labels=null, string temp_id, string uuid) {
^^^^^^^^^^^^^^
../planner-2.7/src/Services/Todoist.vala:2483.120-2483.130: warning: parameter without default follows parameter with default
public string get_add_item_json (Objects.Item item, Gee.Collection<Widgets.LabelItem> labels=null, string temp_id, string uuid) {
^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:66.33-66.87: warning: unhandled error `GLib.RegexError'
PARSING_CONTEXT_REGEX = new GLib.Regex (PARSING_CONTEXT_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:67.27-67.85: warning: unhandled error `GLib.RegexError'
MID_MONTH_REGEX = new GLib.Regex ("(mid)\\s" + MONTHS_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:68.39-68.101: warning: unhandled error `GLib.RegexError'
LAST_DAY_OF_THE_MONTH_REGEX = new GLib.Regex ("last\\sday(\\sof(\\sthe)?\\smonth)?(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:69.30-69.79: warning: unhandled error `GLib.RegexError'
END_OF_MONTH_REGEX = new GLib.Regex ("end\\sof\\smonth(?:s)?(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:70.21-70.66: warning: unhandled error `GLib.RegexError'
DAY_REGEX = new GLib.Regex (DAY_TH_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:71.23-71.68: warning: unhandled error `GLib.RegexError'
MONTH_REGEX = new GLib.Regex (MONTHS_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:72.22-72.65: warning: unhandled error `GLib.RegexError'
WEEK_REGEX = new GLib.Regex (WEEK_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:75.26-75.97: warning: unhandled error `GLib.RegexError'
MM_DD_TH_REGEX = new GLib.Regex (MONTHS_CONSTANT + "\\s" + DAY_TH_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:76.23-76.91: warning: unhandled error `GLib.RegexError'
MM_DD_REGEX = new GLib.Regex (MONTHS_CONSTANT + "\\s" + DAY_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:77.20-77.91: warning: unhandled error `GLib.RegexError'
DD_TH_MM = new GLib.Regex (DAY_TH_CONSTANT + "\\s" + MONTHS_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:78.23-78.91: warning: unhandled error `GLib.RegexError'
DD_MM_REGEX = new GLib.Regex (DAY_CONSTANT + "\\s" + MONTHS_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:79.38-79.122: warning: unhandled error `GLib.RegexError'
PARSING_CONTEXT_TIME_REGEX = new GLib.Regex (PARSING_CONTEXT_CONSTANT + "\\s(at|@)\\s" + TIME_VALID + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:80.33-80.106: warning: unhandled error `GLib.RegexError'
WEEK_REGEX_TIME_REGEX = new GLib.Regex (WEEK_CONSTANT + "\\s(at|@)\\s" + TIME_VALID + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:82.19-82.88: warning: unhandled error `GLib.RegexError'
MM_YYYY = new GLib.Regex (MONTHS_CONSTANT + "\\s" + YEAR_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:83.19-83.88: warning: unhandled error `GLib.RegexError'
YYYY_MM = new GLib.Regex (YEAR_CONSTANT + "\\s" + MONTHS_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:84.25-84.120: warning: unhandled error `GLib.RegexError'
MM_DD_TH_YYYY = new GLib.Regex (MONTHS_CONSTANT + "\\s" + DAY_TH_CONSTANT + "\\s" + YEAR_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:85.22-85.114: warning: unhandled error `GLib.RegexError'
MM_DD_YYYY = new GLib.Regex (MONTHS_CONSTANT + "\\s" + DAY_CONSTANT + "\\s" + YEAR_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:86.25-86.120: warning: unhandled error `GLib.RegexError'
DD_TH_MM_YYYY = new GLib.Regex (DAY_TH_CONSTANT + "\\s" + MONTHS_CONSTANT + "\\s" + YEAR_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:87.22-87.114: warning: unhandled error `GLib.RegexError'
DD_MM_YYYY = new GLib.Regex (DAY_CONSTANT + "\\s" + MONTHS_CONSTANT + "\\s" + YEAR_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:88.30-88.146: warning: unhandled error `GLib.RegexError'
MM_DD_TH_YYYY_TIME = new GLib.Regex (MONTHS_CONSTANT + "\\s" + DAY_TH_CONSTANT + "\\s" + YEAR_CONSTANT + "\\s" + TIME_VALID + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:89.27-89.140: warning: unhandled error `GLib.RegexError'
MM_DD_YYYY_TIME = new GLib.Regex (MONTHS_CONSTANT + "\\s" + DAY_CONSTANT + "\\s" + YEAR_CONSTANT + "\\s" + TIME_VALID + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:90.33-90.158: warning: unhandled error `GLib.RegexError'
MM_DD_TH_YYYY_AT_TIME = new GLib.Regex (MONTHS_CONSTANT + "\\s" + DAY_TH_CONSTANT + "\\s" + YEAR_CONSTANT + "\\s(at|@)\\s" + TIME_VALID + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:93.29-93.118: warning: unhandled error `GLib.RegexError'
MM_DD_HH_MM_REGEX = new GLib.Regex (MONTHS_CONSTANT + "\\s" + DAY_CONSTANT + "\\s" + TIME_VALID + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:94.32-94.124: warning: unhandled error `GLib.RegexError'
MM_DD_TH_HH_MM_REGEX = new GLib.Regex (MONTHS_CONSTANT + "\\s" + DAY_TH_CONSTANT + "\\s" + TIME_VALID + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:96.22-96.62: warning: unhandled error `GLib.RegexError'
TIME_REGEX = new GLib.Regex (TIME_VALID + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:97.27-97.52: warning: unhandled error `GLib.RegexError'
EVERY_DAY_REGEX = new GLib.Regex (EVERY_DAY);
^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:98.29-98.56: warning: unhandled error `GLib.RegexError'
EVERY_N_DAY_REGEX = new GLib.Regex (EVERY_N_DAY);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/LabelButton.vala:360.13-360.37: warning: implicit .begin is deprecated
../planner-2.7/src/Dialogs/TodoistOAuth.vala:61.9-61.62: warning: `WebKit.WebContext.set_tls_errors_policy' has been deprecated since 2.32.
../planner-2.7/src/Widgets/NewLabel.vala:154.21-154.45: warning: implicit .begin is deprecated
../planner-2.7/src/Dialogs/Preferences/Preferences.vala:1307.32-1307.42: warning: `Granite.Widgets.Avatar' has been deprecated since 6.0.0. Use Hdy.Avatar
../planner-2.7/src/Dialogs/Preferences/Preferences.vala:1309.31-1309.52: warning: `Granite.Widgets.Avatar' has been deprecated since 6.0.0. Use Hdy.Avatar
../planner-2.7/src/Dialogs/Preferences/Preferences.vala:1317.31-1317.52: warning: `Granite.Widgets.Avatar' has been deprecated since 6.0.0. Use Hdy.Avatar
../planner-2.7/src/Dialogs/Preferences/Preferences.vala:1419.17-1419.46: warning: implicit .begin is deprecated
../planner-2.7/src/Dialogs/Preferences/Preferences.vala:1785.13-1785.101: warning: unhandled error `GLib.Error'
new Gdk.Pixbuf.from_resource_at_scale (Planner.utils.get_random_avatar (), 24, 24, false)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/Pane.vala:397.17-397.43: warning: implicit .begin is deprecated
../planner-2.7/src/Widgets/Pane.vala:397.55-397.58: warning: Argument 2: Cannot pass null to non-null parameter type
Planner.todoist.add_project (project, null, todoist_source_button.temp_id_mapping);
^^^^
../planner-2.7/src/Services/Calendar/Util.vala:67.24-67.70: warning: `GLib.TimeZone.new' has been deprecated since 2.68. Use TimeZone.identifier
../planner-2.7/src/Services/Calendar/Util.vala:71.24-71.47: warning: `GLib.TimeZone.new' has been deprecated since 2.68. Use TimeZone.identifier
../planner-2.7/src/Services/Calendar/Util.vala:96.16-96.46: warning: `GLib.TimeZone.new' has been deprecated since 2.68. Use TimeZone.identifier
../planner-2.7/src/Application.vala:209.24-209.44: warning: deprecated syntax, don't use `new' to initialize structs
var rect = new Gtk.Allocation ();
^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Dialogs/Preferences/DatabaseSettings.vala:162.21-165.22: warning: unhandled error `GLib.Error'
../planner-2.7/src/Dialogs/Preferences/DatabaseSettings.vala:144.17-144.96: warning: unhandled error `GLib.Error'
dialog.set_file (GLib.File.new_for_path (Planner.database.get_database_path ()));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Utils.vala:767.11-767.36: warning: unreachable catch clause detected
} catch (GLib.RegexError ex) {
^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/ExportImport.vala:365.19-365.33: warning: unreachable catch clause detected
} catch (Error e) {
^^^^^^^^^^^^^^^
../planner-2.7/src/Services/PluginManager.vala:15.5-15.27: warning: Field `Services.PluginsManager.engine_core' never used
Peas.Engine engine_core;
^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/PluginManager.vala:16.5-16.31: warning: Field `Services.PluginsManager.exts_core' never used
Peas.ExtensionSet exts_core;
^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:227.13-227.15: warning: Local variable `now' declared but never used
var now = new GLib.DateTime.now_local ();
^^^
../planner-2.7/src/Widgets/Pane.vala:38.5-38.37: warning: Field `Widgets.Pane.add_button' never used
private Gtk.MenuButton add_button;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/Pane.vala:48.5-48.24: warning: Field `Widgets.Pane.timeout' never used
private uint timeout;
^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/New.vala:24.5-24.37: warning: Field `Widgets.New.project_button' never used
private Gtk.Button project_button;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/New.vala:25.5-25.34: warning: Field `Widgets.New.area_button' never used
private Gtk.Button area_button;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/New.vala:30.5-30.36: warning: Field `Widgets.New.help_popover' never used
private Gtk.Popover help_popover = null;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/ProjectRow.vala:54.5-54.38: warning: Field `Widgets.ProjectRow.menu_revealer' never used
private Gtk.Revealer menu_revealer;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/NewItem.vala:46.5-46.46: warning: Field `Widgets.NewItem.undated_button' never used
private Widgets.ModelButton undated_button;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/NewItem.vala:776.40-776.48: warning: Local variable `ical_task' declared but never used
unowned ICal.Component ical_task = task.get_icalcomponent ();
^^^^^^^^^
../planner-2.7/src/Widgets/NewItem.vala:847.5-847.43: warning: Method `Widgets.NewItem.get_datetime_from_string' never used
private string get_datetime_from_string (string date) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/ItemRow.vala:1426.5-1426.42: warning: Method `Widgets.ItemRow.check_checklist_separator' never used
private void check_checklist_separator () {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/ItemRow.vala:1718.5-1718.38: warning: Method `Widgets.ItemRow.on_drag_data_received' never used
private void on_drag_data_received (Gdk.DragContext context, int x, int y,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/ItemRow.vala:1789.5-1789.35: warning: Method `Widgets.ItemRow.update_check_order' never used
private void update_check_order () {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/DueButton.vala:556.5-556.36: warning: Field `Widgets.DateTimeButton.seconday_label' never used
private Gtk.Label seconday_label;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Views/Project.vala:507.13-507.25: warning: Local variable `order_by_item' declared but never used
var order_by_item = new Widgets.ModelButton (_("Utilities"), "applications-utilities-symbolic", "", true);
^^^^^^^^^^^^^
../planner-2.7/src/Dialogs/Project.vala:43.5-43.44: warning: Field `Dialogs.Project.section_name_entry' never used
private Widgets.Entry section_name_entry;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Dialogs/Project.vala:44.5-44.43: warning: Field `Dialogs.Project.section_button' never used
private Gtk.ToggleButton section_button;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Dialogs/Project.vala:45.5-45.43: warning: Field `Dialogs.Project.new_section_popover' never used
private Gtk.Popover new_section_popover = null;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Dialogs/Preferences/Preferences.vala:601.5-601.41: warning: Method `Dialogs.Preferences.Preferences.get_backups_widget' never used
private Gtk.Widget get_backups_widget () {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation succeeded - 75 warning(s)
[217/426] Compiling Vala source ../planner-2.7/src/Ap.../planner-2.7/src/Objects/Duedate.vala src/config.vala
libgdata.vapi:2038.3-2038.27: warning: Creation method of abstract class cannot be public.
public Parsable.from_json (GLib.Type parsable_type, string json, int length) throws GLib.Error;
^^^^^^^^^^^^^^^^^^^^^^^^^
libgdata.vapi:2041.3-2041.26: warning: Creation method of abstract class cannot be public.
public Parsable.from_xml (GLib.Type parsable_type, string xml, int length) throws GLib.Error;
^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/WhatsNew.vala:31.5-31.22: warning: Widgets.WhatsNew.icon hides inherited property `Gtk.Window.icon'. Use the `new' keyword if hiding was intentional
public string icon {
^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Objects/Label.vala:46.21-46.48: warning: implicit .begin is deprecated
../planner-2.7/src/Services/Todoist.vala:1364.78-1364.105: warning: `null' incompatible with parameter type `GLib.Cancellable'
public async void add_label (Objects.Label label, int64 temp_id_mapping, GLib.Cancellable cancellable=null) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Todoist.vala:2404.43-2404.82: warning: `null' incompatible with parameter type `Gee.Collection<Widgets.LabelItem>'
int index, int64 temp_id_mapping, Gee.Collection<Widgets.LabelItem> labels=null) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Todoist.vala:2483.57-2483.96: warning: `null' incompatible with parameter type `Gee.Collection<Widgets.LabelItem>'
public string get_add_item_json (Objects.Item item, Gee.Collection<Widgets.LabelItem> labels=null, string temp_id, string uuid) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Todoist.vala:2483.104-2483.117: warning: parameter without default follows parameter with default
public string get_add_item_json (Objects.Item item, Gee.Collection<Widgets.LabelItem> labels=null, string temp_id, string uuid) {
^^^^^^^^^^^^^^
../planner-2.7/src/Services/Todoist.vala:2483.120-2483.130: warning: parameter without default follows parameter with default
public string get_add_item_json (Objects.Item item, Gee.Collection<Widgets.LabelItem> labels=null, string temp_id, string uuid) {
^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:66.33-66.87: warning: unhandled error `GLib.RegexError'
PARSING_CONTEXT_REGEX = new GLib.Regex (PARSING_CONTEXT_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:67.27-67.85: warning: unhandled error `GLib.RegexError'
MID_MONTH_REGEX = new GLib.Regex ("(mid)\\s" + MONTHS_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:68.39-68.101: warning: unhandled error `GLib.RegexError'
LAST_DAY_OF_THE_MONTH_REGEX = new GLib.Regex ("last\\sday(\\sof(\\sthe)?\\smonth)?(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:69.30-69.79: warning: unhandled error `GLib.RegexError'
END_OF_MONTH_REGEX = new GLib.Regex ("end\\sof\\smonth(?:s)?(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:70.21-70.66: warning: unhandled error `GLib.RegexError'
DAY_REGEX = new GLib.Regex (DAY_TH_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:71.23-71.68: warning: unhandled error `GLib.RegexError'
MONTH_REGEX = new GLib.Regex (MONTHS_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:72.22-72.65: warning: unhandled error `GLib.RegexError'
WEEK_REGEX = new GLib.Regex (WEEK_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:75.26-75.97: warning: unhandled error `GLib.RegexError'
MM_DD_TH_REGEX = new GLib.Regex (MONTHS_CONSTANT + "\\s" + DAY_TH_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:76.23-76.91: warning: unhandled error `GLib.RegexError'
MM_DD_REGEX = new GLib.Regex (MONTHS_CONSTANT + "\\s" + DAY_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:77.20-77.91: warning: unhandled error `GLib.RegexError'
DD_TH_MM = new GLib.Regex (DAY_TH_CONSTANT + "\\s" + MONTHS_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:78.23-78.91: warning: unhandled error `GLib.RegexError'
DD_MM_REGEX = new GLib.Regex (DAY_CONSTANT + "\\s" + MONTHS_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:79.38-79.122: warning: unhandled error `GLib.RegexError'
PARSING_CONTEXT_TIME_REGEX = new GLib.Regex (PARSING_CONTEXT_CONSTANT + "\\s(at|@)\\s" + TIME_VALID + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:80.33-80.106: warning: unhandled error `GLib.RegexError'
WEEK_REGEX_TIME_REGEX = new GLib.Regex (WEEK_CONSTANT + "\\s(at|@)\\s" + TIME_VALID + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:82.19-82.88: warning: unhandled error `GLib.RegexError'
MM_YYYY = new GLib.Regex (MONTHS_CONSTANT + "\\s" + YEAR_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:83.19-83.88: warning: unhandled error `GLib.RegexError'
YYYY_MM = new GLib.Regex (YEAR_CONSTANT + "\\s" + MONTHS_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:84.25-84.120: warning: unhandled error `GLib.RegexError'
MM_DD_TH_YYYY = new GLib.Regex (MONTHS_CONSTANT + "\\s" + DAY_TH_CONSTANT + "\\s" + YEAR_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:85.22-85.114: warning: unhandled error `GLib.RegexError'
MM_DD_YYYY = new GLib.Regex (MONTHS_CONSTANT + "\\s" + DAY_CONSTANT + "\\s" + YEAR_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:86.25-86.120: warning: unhandled error `GLib.RegexError'
DD_TH_MM_YYYY = new GLib.Regex (DAY_TH_CONSTANT + "\\s" + MONTHS_CONSTANT + "\\s" + YEAR_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:87.22-87.114: warning: unhandled error `GLib.RegexError'
DD_MM_YYYY = new GLib.Regex (DAY_CONSTANT + "\\s" + MONTHS_CONSTANT + "\\s" + YEAR_CONSTANT + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:88.30-88.146: warning: unhandled error `GLib.RegexError'
MM_DD_TH_YYYY_TIME = new GLib.Regex (MONTHS_CONSTANT + "\\s" + DAY_TH_CONSTANT + "\\s" + YEAR_CONSTANT + "\\s" + TIME_VALID + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:89.27-89.140: warning: unhandled error `GLib.RegexError'
MM_DD_YYYY_TIME = new GLib.Regex (MONTHS_CONSTANT + "\\s" + DAY_CONSTANT + "\\s" + YEAR_CONSTANT + "\\s" + TIME_VALID + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:90.33-90.158: warning: unhandled error `GLib.RegexError'
MM_DD_TH_YYYY_AT_TIME = new GLib.Regex (MONTHS_CONSTANT + "\\s" + DAY_TH_CONSTANT + "\\s" + YEAR_CONSTANT + "\\s(at|@)\\s" + TIME_VALID + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:93.29-93.118: warning: unhandled error `GLib.RegexError'
MM_DD_HH_MM_REGEX = new GLib.Regex (MONTHS_CONSTANT + "\\s" + DAY_CONSTANT + "\\s" + TIME_VALID + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:94.32-94.124: warning: unhandled error `GLib.RegexError'
MM_DD_TH_HH_MM_REGEX = new GLib.Regex (MONTHS_CONSTANT + "\\s" + DAY_TH_CONSTANT + "\\s" + TIME_VALID + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:96.22-96.62: warning: unhandled error `GLib.RegexError'
TIME_REGEX = new GLib.Regex (TIME_VALID + "(?=\\W|$)");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:97.27-97.52: warning: unhandled error `GLib.RegexError'
EVERY_DAY_REGEX = new GLib.Regex (EVERY_DAY);
^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:98.29-98.56: warning: unhandled error `GLib.RegexError'
EVERY_N_DAY_REGEX = new GLib.Regex (EVERY_N_DAY);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/LabelButton.vala:360.13-360.37: warning: implicit .begin is deprecated
../planner-2.7/src/Dialogs/TodoistOAuth.vala:61.9-61.62: warning: `WebKit.WebContext.set_tls_errors_policy' has been deprecated since 2.32.
../planner-2.7/src/Widgets/NewLabel.vala:154.21-154.45: warning: implicit .begin is deprecated
../planner-2.7/src/Dialogs/Preferences/Preferences.vala:1307.32-1307.42: warning: `Granite.Widgets.Avatar' has been deprecated since 6.0.0. Use Hdy.Avatar
../planner-2.7/src/Dialogs/Preferences/Preferences.vala:1309.31-1309.52: warning: `Granite.Widgets.Avatar' has been deprecated since 6.0.0. Use Hdy.Avatar
../planner-2.7/src/Dialogs/Preferences/Preferences.vala:1317.31-1317.52: warning: `Granite.Widgets.Avatar' has been deprecated since 6.0.0. Use Hdy.Avatar
../planner-2.7/src/Dialogs/Preferences/Preferences.vala:1419.17-1419.46: warning: implicit .begin is deprecated
../planner-2.7/src/Dialogs/Preferences/Preferences.vala:1785.13-1785.101: warning: unhandled error `GLib.Error'
new Gdk.Pixbuf.from_resource_at_scale (Planner.utils.get_random_avatar (), 24, 24, false)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/Pane.vala:397.17-397.43: warning: implicit .begin is deprecated
../planner-2.7/src/Widgets/Pane.vala:397.55-397.58: warning: Argument 2: Cannot pass null to non-null parameter type
Planner.todoist.add_project (project, null, todoist_source_button.temp_id_mapping);
^^^^
../planner-2.7/src/Services/Calendar/Util.vala:67.24-67.70: warning: `GLib.TimeZone.new' has been deprecated since 2.68. Use TimeZone.identifier
../planner-2.7/src/Services/Calendar/Util.vala:71.24-71.47: warning: `GLib.TimeZone.new' has been deprecated since 2.68. Use TimeZone.identifier
../planner-2.7/src/Services/Calendar/Util.vala:96.16-96.46: warning: `GLib.TimeZone.new' has been deprecated since 2.68. Use TimeZone.identifier
../planner-2.7/src/Application.vala:209.24-209.44: warning: deprecated syntax, don't use `new' to initialize structs
var rect = new Gtk.Allocation ();
^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Dialogs/Preferences/DatabaseSettings.vala:162.21-165.22: warning: unhandled error `GLib.Error'
../planner-2.7/src/Dialogs/Preferences/DatabaseSettings.vala:144.17-144.96: warning: unhandled error `GLib.Error'
dialog.set_file (GLib.File.new_for_path (Planner.database.get_database_path ()));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Utils.vala:767.11-767.36: warning: unreachable catch clause detected
} catch (GLib.RegexError ex) {
^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/ExportImport.vala:365.19-365.33: warning: unreachable catch clause detected
} catch (Error e) {
^^^^^^^^^^^^^^^
../planner-2.7/src/Services/PluginManager.vala:15.5-15.27: warning: Field `Services.PluginsManager.engine_core' never used
Peas.Engine engine_core;
^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/PluginManager.vala:16.5-16.31: warning: Field `Services.PluginsManager.exts_core' never used
Peas.ExtensionSet exts_core;
^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Services/Chrono/Locales/en.vala:227.13-227.15: warning: Local variable `now' declared but never used
var now = new GLib.DateTime.now_local ();
^^^
../planner-2.7/src/Widgets/Pane.vala:38.5-38.37: warning: Field `Widgets.Pane.add_button' never used
private Gtk.MenuButton add_button;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/Pane.vala:48.5-48.24: warning: Field `Widgets.Pane.timeout' never used
private uint timeout;
^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/New.vala:24.5-24.37: warning: Field `Widgets.New.project_button' never used
private Gtk.Button project_button;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/New.vala:25.5-25.34: warning: Field `Widgets.New.area_button' never used
private Gtk.Button area_button;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/New.vala:30.5-30.36: warning: Field `Widgets.New.help_popover' never used
private Gtk.Popover help_popover = null;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/ProjectRow.vala:54.5-54.38: warning: Field `Widgets.ProjectRow.menu_revealer' never used
private Gtk.Revealer menu_revealer;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/NewItem.vala:46.5-46.46: warning: Field `Widgets.NewItem.undated_button' never used
private Widgets.ModelButton undated_button;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/NewItem.vala:776.40-776.48: warning: Local variable `ical_task' declared but never used
unowned ICal.Component ical_task = task.get_icalcomponent ();
^^^^^^^^^
../planner-2.7/src/Widgets/NewItem.vala:847.5-847.43: warning: Method `Widgets.NewItem.get_datetime_from_string' never used
private string get_datetime_from_string (string date) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/ItemRow.vala:1426.5-1426.42: warning: Method `Widgets.ItemRow.check_checklist_separator' never used
private void check_checklist_separator () {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/ItemRow.vala:1718.5-1718.38: warning: Method `Widgets.ItemRow.on_drag_data_received' never used
private void on_drag_data_received (Gdk.DragContext context, int x, int y,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/ItemRow.vala:1789.5-1789.35: warning: Method `Widgets.ItemRow.update_check_order' never used
private void update_check_order () {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Widgets/DueButton.vala:556.5-556.36: warning: Field `Widgets.DateTimeButton.seconday_label' never used
private Gtk.Label seconday_label;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Views/Project.vala:507.13-507.25: warning: Local variable `order_by_item' declared but never used
var order_by_item = new Widgets.ModelButton (_("Utilities"), "applications-utilities-symbolic", "", true);
^^^^^^^^^^^^^
../planner-2.7/src/Dialogs/Project.vala:43.5-43.44: warning: Field `Dialogs.Project.section_name_entry' never used
private Widgets.Entry section_name_entry;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Dialogs/Project.vala:44.5-44.43: warning: Field `Dialogs.Project.section_button' never used
private Gtk.ToggleButton section_button;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Dialogs/Project.vala:45.5-45.43: warning: Field `Dialogs.Project.new_section_popover' never used
private Gtk.Popover new_section_popover = null;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/src/Dialogs/Preferences/Preferences.vala:601.5-601.41: warning: Method `Dialogs.Preferences.Preferences.get_backups_widget' never used
private Gtk.Widget get_backups_widget () {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation succeeded - 75 warning(s)
[412/426] Compiling Vala source ../planner-2.7/plugin...sidebar-labels/LabelPaneRow.vala src/plannercore.vapi
libgdata.vapi:2038.3-2038.27: warning: Creation method of abstract class cannot be public.
public Parsable.from_json (GLib.Type parsable_type, string json, int length) throws GLib.Error;
^^^^^^^^^^^^^^^^^^^^^^^^^
libgdata.vapi:2041.3-2041.26: warning: Creation method of abstract class cannot be public.
public Parsable.from_xml (GLib.Type parsable_type, string xml, int length) throws GLib.Error;
^^^^^^^^^^^^^^^^^^^^^^^^
src/plannercore.vapi:337.114-337.153: warning: `null' incompatible with parameter type `Gee.Collection<Widgets.LabelItem>'
public async void add_item (Objects.Item item, GLib.Cancellable cancellable, int index, int64 temp_id_mapping, Gee.Collection<Widgets.LabelItem> labels = null);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/plannercore.vapi:338.76-338.103: warning: `null' incompatible with parameter type `GLib.Cancellable'
public async void add_label (Objects.Label label, int64 temp_id_mapping, GLib.Cancellable cancellable = null);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/plannercore.vapi:346.55-346.94: warning: `null' incompatible with parameter type `Gee.Collection<Widgets.LabelItem>'
public string get_add_item_json (Objects.Item item, Gee.Collection<Widgets.LabelItem> labels = null, string temp_id, string uuid);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/plannercore.vapi:346.104-346.117: warning: parameter without default follows parameter with default
public string get_add_item_json (Objects.Item item, Gee.Collection<Widgets.LabelItem> labels = null, string temp_id, string uuid);
^^^^^^^^^^^^^^
src/plannercore.vapi:346.120-346.130: warning: parameter without default follows parameter with default
public string get_add_item_json (Objects.Item item, Gee.Collection<Widgets.LabelItem> labels = null, string temp_id, string uuid);
^^^^^^^^^^^
../planner-2.7/plugins/sidebar-labels/LabelSidebar.vala:14.5-14.27: warning: Field `Plugins.LabelSidebar.timeout_id' never used
private uint timeout_id = 0;
^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/plugins/sidebar-labels/LabelSidebar.vala:15.5-15.31: warning: Field `Plugins.LabelSidebar.toggle_timeout' never used
private uint toggle_timeout = 0;
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation succeeded - 9 warning(s)
[413/426] Compiling Vala source ../planner-2.7/plugin...gins/caldav/Widgets/TaskRow.vala src/plannercore.vapi
libgdata.vapi:2038.3-2038.27: warning: Creation method of abstract class cannot be public.
public Parsable.from_json (GLib.Type parsable_type, string json, int length) throws GLib.Error;
^^^^^^^^^^^^^^^^^^^^^^^^^
libgdata.vapi:2041.3-2041.26: warning: Creation method of abstract class cannot be public.
public Parsable.from_xml (GLib.Type parsable_type, string xml, int length) throws GLib.Error;
^^^^^^^^^^^^^^^^^^^^^^^^
src/plannercore.vapi:337.114-337.153: warning: `null' incompatible with parameter type `Gee.Collection<Widgets.LabelItem>'
public async void add_item (Objects.Item item, GLib.Cancellable cancellable, int index, int64 temp_id_mapping, Gee.Collection<Widgets.LabelItem> labels = null);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/plannercore.vapi:338.76-338.103: warning: `null' incompatible with parameter type `GLib.Cancellable'
public async void add_label (Objects.Label label, int64 temp_id_mapping, GLib.Cancellable cancellable = null);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/plannercore.vapi:346.55-346.94: warning: `null' incompatible with parameter type `Gee.Collection<Widgets.LabelItem>'
public string get_add_item_json (Objects.Item item, Gee.Collection<Widgets.LabelItem> labels = null, string temp_id, string uuid);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/plannercore.vapi:346.104-346.117: warning: parameter without default follows parameter with default
public string get_add_item_json (Objects.Item item, Gee.Collection<Widgets.LabelItem> labels = null, string temp_id, string uuid);
^^^^^^^^^^^^^^
src/plannercore.vapi:346.120-346.130: warning: parameter without default follows parameter with default
public string get_add_item_json (Objects.Item item, Gee.Collection<Widgets.LabelItem> labels = null, string temp_id, string uuid);
^^^^^^^^^^^
../planner-2.7/plugins/caldav/Utils.vala:95.16-95.41: warning: `GLib.TimeZone.new' has been deprecated since 2.68. Use TimeZone.identifier
../planner-2.7/plugins/caldav/Widgets/SourceRow.vala:209.9-215.9: warning: unhandled error `GLib.Error'
../planner-2.7/plugins/caldav/Widgets/TaskList.vala:547.17-547.55: warning: Access to possible `null'. Perform a check or use an unsafe cast.
(row as Widgets.TaskRow).update_request ();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/plugins/caldav/caldav.vala:227.87-227.117: warning: unhandled error `GLib.Error'
var backend_name = task_store.get_collection_backend_name (collection_source, task_store.get_registry_sync ());
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/plugins/caldav/caldav.vala:306.5-306.35: warning: Method `Plugins.CalDAV.header_update_func' never used
private void header_update_func (Gtk.ListBoxRow lbrow, Gtk.ListBoxRow? lbbefore) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/plugins/caldav/Services/Store.vala:225.5-225.33: warning: Method `Services.Tasks.Store.remove_task_list' never used
private void remove_task_list (E.Source task_list) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../planner-2.7/plugins/caldav/Widgets/TaskList.vala:24.5-24.32: warning: Field `Views.TaskList.view' never used
private ECal.ClientView view;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation succeeded - 14 warning(s)
[426/426] Linking target plugins/caldav/libcaldav.so
==> Starting check()...
build/data/com.github.alainm23.planner.desktop: hint: value "Utility;Office;ProjectManagement;Calendar;" for key "Categories" in group "Desktop Entry" contains more than one main category; application might appear more than once in the application menu
I: com.github.alainm23.planner:3: description-first-para-too-short
ποΈ Planner 2 is here...
W: com.github.alainm23.planner:12: url-not-reachable
https://www.patreon.com/alainm23 - Failed to download file: SSL connection timeout
W: com.github.alainm23.planner:11: url-not-reachable
https://www.patreon.com/alainm23 - Failed to download file: SSL connection timeout
I: com.github.alainm23.planner:4: description-first-word-not-capitalized
I: com.github.alainm23.planner:3: description-first-word-not-capitalized
β Validation failed: warnings: 2, infos: 3, pedantic: 1
==> ERROR: A failure occurred in check().
Aborting...
-> error making: elementary-planner
ο ξ° ο ~ ξ° ξ² 1 β ξ² 3m 17s ο
Either GitHub (and every other server) is blocking your IP address, or you have some local firewalling in place. Check your router/firewall. Ask your local network admin.
This can be achieved without editing the pkgbuild by using
makepkg --nocheck
The tests pass:
==> Starting check()...
build/data/com.github.alainm23.planner.desktop: hint: value "Utility;Office;ProjectManagement;Calendar;" for key "Categories" in group "Desktop Entry" contains more than one main category; application might appear more than once in the application menu
I: com.github.alainm23.planner:3: description-first-para-too-short
ποΈ Planner 2 is here...
I: com.github.alainm23.planner:4: description-first-word-not-capitalized
I: com.github.alainm23.planner:3: description-first-word-not-capitalized
β Validation was successful: infos: 3, pedantic: 1
His didnβt - no idea why the check included checking for the availability of these servers/files there.
it work after restart ty
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.