Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fedora 39 Install/Build issues #1378

Open
tony-o opened this issue Apr 8, 2024 · 0 comments
Open

Fedora 39 Install/Build issues #1378

tony-o opened this issue Apr 8, 2024 · 0 comments
Assignees
Labels
- auth Relates to Ente Auth --desktop Plaftorm is desktop help wanted Extra attention is needed

Comments

@tony-o
Copy link

tony-o commented Apr 8, 2024

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

@tony-o tony-o added the triage label Apr 8, 2024
@vishnukvmd vishnukvmd added --desktop Plaftorm is desktop - auth Relates to Ente Auth and removed triage labels Apr 10, 2024
@prateekmedia prateekmedia self-assigned this Apr 24, 2024
@vishnukvmd vishnukvmd added the help wanted Extra attention is needed label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- auth Relates to Ente Auth --desktop Plaftorm is desktop help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants