cassidyjames / ephemeral

A private-by-default, always-incognito browser for elementary OS
https://cassidyjames.com
GNU General Public License v3.0
154 stars 22 forks source link

7.1.0: build fails with vala 0.55 #288

Closed kloczek closed 2 years ago

kloczek commented 2 years ago

Looks like ephemeral is not ready to be used with latest vala 0.55.

[16/38] /usr/bin/gcc -Icom.github.cassidyjames.ephemeral.p -I. -I.. -I/usr/include/granite -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/libdazzle-1.0 -I/usr/include/webkitgtk-4.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch '-DGETTEXT_PACKAGE="com.github.cassidyjames.ephemeral"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -pthread -MD -MQ com.github.cassidyjames.ephemeral.p/meson-generated_.._as-resources.c.o -MF com.github.cassidyjames.ephemeral.p/meson-generated_.._as-resources.c.o.d -o com.github.cassidyjames.ephemeral.p/meson-generated_.._as-resources.c.o -c as-resources.c
[17/38] /usr/bin/meson --internal msgfmthelper ../data/com.github.cassidyjames.ephemeral.appdata.xml.in data/com.github.cassidyjames.ephemeral.appdata.xml xml /home/tkloczko/rpmbuild/BUILD/ephemeral-7.1.0/po/extra
FAILED: data/com.github.cassidyjames.ephemeral.appdata.xml
/usr/bin/meson --internal msgfmthelper ../data/com.github.cassidyjames.ephemeral.appdata.xml.in data/com.github.cassidyjames.ephemeral.appdata.xml xml /home/tkloczko/rpmbuild/BUILD/ephemeral-7.1.0/po/extra
msgfmt: cannot locate ITS rules for ../data/com.github.cassidyjames.ephemeral.appdata.xml.in
[18/38] /usr/bin/meson --internal msgfmthelper ../data/launcher.desktop.in data/com.github.cassidyjames.ephemeral.desktop desktop /home/tkloczko/rpmbuild/BUILD/ephemeral-7.1.0/po/extra
[19/38] valac -C --vapidir /home/tkloczko/rpmbuild/BUILD/ephemeral-7.1.0/vapi --pkg webkit2gtk-4.0 --pkg libsoup-2.4 --pkg javascriptcoregtk-4.0 --pkg libdazzle-1.0 --pkg gtk+-3.0 --pkg granite --color=always --directory com.github.cassidyjames.ephemeral.p --basedir ../ --gresources=../data/gresource.xml ../src/Application.vala ../src/MainWindow.vala ../src/WebContext.vala ../src/Dialogs/CustomSearchDialog.vala ../src/Dialogs/PreferencesDialog.vala ../src/Dialogs/ProtocolDialog.vala ../src/Dialogs/ScriptDialog.vala ../src/InfoBars/CloseWhenOpeningExternallyInfoBar.vala ../src/InfoBars/DefaultInfoBar.vala ../src/InfoBars/NativeInfoBar.vala ../src/InfoBars/NetworkInfoBar.vala ../src/InfoBars/PaidInfoBar.vala ../src/Views/ErrorView.vala ../src/Views/WelcomeView.vala ../src/Widgets/BrowserButton.vala ../src/Widgets/FindBar.vala ../src/Widgets/UrlEntry.vala ../src/Widgets/WebView.vala
../src/Widgets/UrlEntry.vala:107.20-107.53: warning: Access to possible `null'. Perform a check or use an unsafe cast.
  107 |             text = (new_item as Dazzle.Suggestion).id;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/MainWindow.vala:868.25-868.36: warning: `Gtk.show_uri' has been deprecated since 3.22
  868 |                         Gtk.show_uri (get_screen (), uri, Gtk.get_current_event_time ());
      |                         ^~~~~~~~~~~~
../src/InfoBars/NativeInfoBar.vala:67.25-67.36: warning: `Gtk.show_uri' has been deprecated since 3.22
   67 |                         Gtk.show_uri (get_screen (), Application.DONATE_URL, Gtk.get_current_event_time ());
      |                         ^~~~~~~~~~~~
../src/InfoBars/PaidInfoBar.vala:66.25-66.36: warning: `Gtk.show_uri' has been deprecated since 3.22
   66 |                         Gtk.show_uri (
      |                         ^~~~~~~~~~~~
../src/MainWindow.vala:449.41-449.70: warning: `GLib.Settings.list_keys' has been deprecated since 2.46
  449 |                         string[] keys = Application.settings.list_keys ();
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compilation succeeded - 5 warning(s)
ninja: build stopped: subcommand failed.
kloczek commented 2 years ago

Sorry. Issue was somewhere else.