ente-io/ente

Fedora 39 Install/Build issues

Open

#1378 opened on Apr 8, 2024

View on GitHub
 (0 comments) (1 reaction) (1 assignee)Dart (26,435 stars) (1,590 forks)batch import
- auth--desktophelp wanted

Description

Description

Went to install on fedora 39 this morning and ran into this issue:

~/./s/e/auth:main sudo rpm -i ~/Downloads/ente-auth-v2.0.50-x86_64.rpm
error: Failed dependencies:
	libdesktop_webview_window_plugin.so()(64bit) is needed by ente_auth-2.0.50+250-250.x86_64
	libfile_saver_plugin.so()(64bit) is needed by ente_auth-2.0.50+250-250.x86_64
	libflutter_linux_gtk.so()(64bit) is needed by ente_auth-2.0.50+250-250.x86_64
	libflutter_local_authentication_plugin.so()(64bit) is needed by ente_auth-2.0.50+250-250.x86_64
	libflutter_secure_storage_linux_plugin.so()(64bit) is needed by ente_auth-2.0.50+250-250.x86_64
	libgtk_plugin.so()(64bit) is needed by ente_auth-2.0.50+250-250.x86_64
	libscreen_retriever_plugin.so()(64bit) is needed by ente_auth-2.0.50+250-250.x86_64
	libsentry_flutter_plugin.so()(64bit) is needed by ente_auth-2.0.50+250-250.x86_64
	libsmart_auth_plugin.so()(64bit) is needed by ente_auth-2.0.50+250-250.x86_64
	libsodium_libs_plugin.so()(64bit) is needed by ente_auth-2.0.50+250-250.x86_64
	libsqlite3_flutter_libs_plugin.so()(64bit) is needed by ente_auth-2.0.50+250-250.x86_64
	libtray_manager_plugin.so()(64bit) is needed by ente_auth-2.0.50+250-250.x86_64
	liburl_launcher_linux_plugin.so()(64bit) is needed by ente_auth-2.0.50+250-250.x86_64
	libwindow_manager_plugin.so()(64bit) is needed by ente_auth-2.0.50+250-250.x86_64

I noticed on merge that "fixes" the issue by changing the build script but it still contains some wrong names of packages in fedora, probably less of an issue in debian so I'll try to build, going through the steps:

  1. Install flutter
~/./s/e/auth:main flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.5, on Fedora Linux 39 (Workstation Edition) 6.8.4-200.fc39.x86_64, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2023.2)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!
  1. git submodule update --init --recursive No errors

  2. Set up keystore No errors, not building for android anyway.

  3. Building

~/./s/e/auth:main flutter build linux

/home/tonyo/.local/src/ente/auth/linux/flutter/ephemeral/.plugin_symlinks/desktop_webview_window/linux/webview_window.cc:267:13: error: 'webkit_web_view_run_javascript_finish' is deprecated: Use 'webkit_web_view_evaluate_javascript_finish' instead [-Werror,-Wdeprecated-declarations]
/home/tonyo/.local/src/ente/auth/linux/flutter/ephemeral/.plugin_symlinks/desktop_webview_window/linux/webview_window.cc:252:3: error: 'webkit_web_view_run_javascript' is deprecated: Use 'webkit_web_view_evaluate_javascript' instead [-Werror,-Wdeprecated-declarations]
Building Linux application...
Build process failed

Digging around I'm finding that the code base actually supports those new calls, so why exactly is WEBKIT_OLD_USED being set to 1 or, more interestingly, how do I force the build to not set this to 1?

Version

main

What product are you using?

Ente Auth

What platform are you using?

Desktop - Linux

Contributor guide