Package Details: spacedrive-git r2297.8ad468b-5

Git Clone URL: https://aur.archlinux.org/spacedrive-git.git (read-only, click to copy)
Package Base: spacedrive-git
Description: Spacedrive is an open source cross-platform file explorer, powered by a virtual distributed filesystem written in Rust.
Upstream URL: https://spacedrive.com/
Keywords: spacedrive tauri
Licenses: AGPL3
Conflicts: spacedrive
Submitter: cheatsc
Maintainer: cheatsc
Last Packager: cheatsc
Votes: 0
Popularity: 0.000000
First Submitted: 2023-11-05 09:58 (UTC)
Last Updated: 2023-12-02 17:04 (UTC)

Latest Comments

cheatsc commented on 2024-04-21 15:24 (UTC)

@3xploiton3 Thank you for your report. I have not enough time to update this package now, so I will fix the problem within the next month.

3xploiton3 commented on 2024-04-20 12:24 (UTC) (edited on 2024-04-20 12:24 (UTC) by 3xploiton3)

 ERR_PNPM_UNSUPPORTED_ENGINE  Unsupported environment (bad pnpm and/or Node.js version)

Your pnpm version is incompatible with "/home/user/.cache/yay/spacedrive-git/src/spacedrive".

Expected version: >=9.0.0
Got: 8.15.2

This is happening because the package's manifest has an engines.pnpm field specified.
To fix this issue, install the required pnpm version globally.

To install the latest version of pnpm, run "pnpm i -g pnpm".
To check your pnpm version, run "pnpm -v".
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: spacedrive-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
spacedrive-git - exit status 4

cheatsc commented on 2024-02-18 01:19 (UTC) (edited on 2024-02-18 01:20 (UTC) by cheatsc)

@yochananmarqos

You were right about switching to the nightly toolchain, however you're missing the export. Adding cargo-nightly to makedepends() isn't enough because all that does is use rustup instead of rust.

spacedrive has rust-toolchain.toml, and it specifies stable toolchain. Therefore, I assume that don't have to set RUSTUP_TOOLCHAIN implicitly.

yochananmarqos commented on 2023-12-02 19:30 (UTC) (edited on 2023-12-02 19:30 (UTC) by yochananmarqos)

@cheatsc: You were right about switching to the nightly toolchain, however you're missing the export. Adding cargo-nightly to makedepends() isn't enough because all that does is use rustup instead of rust.

export RUSTUP_TOOLCHAIN=nightly

See my WIP PKGBUILD

I still have no idea how you're using this as it still segfaults:

2023-12-02T19:27:03.599821Z  INFO sd_core: core/src/lib.rs:88: Starting core with data directory '/home/yochanan/.local/share/spacedrive'
2023-12-02T19:27:03.600427Z  INFO sd_core::util::version_manager: core/src/util/version_manager.rs:200: Running sd_core::node::config::NodeConfig migrator: V1 -> V2
2023-12-02T19:27:03.601724Z  INFO sd_core::p2p::p2p_manager: core/src/p2p/p2p_manager.rs:50: Node RemoteIdentity('qGOmcf5mkBW3jx7ZiUnGzN11Kwhn7xp95nto+uwlrYs') libp2p::PeerId('12D3KooWM9gnxRtBbDLcgVPF58yuDNQxEf12QN3ACKFCf6EPHLGz') is now online listening at addresses: {}
2023-12-02T19:27:03.610375Z  INFO sd_core: core/src/lib.rs:145: Spacedrive online.
2023-12-02T19:27:03.610532Z  INFO sd_desktop::tauri_plugins: apps/desktop/src-tauri/src/tauri_plugins.rs:62: Internal server listening on: http://127.0.0.1:35217
zsh: segmentation fault (core dumped)  spacedrive

cheatsc commented on 2023-12-02 13:38 (UTC)

@yochananmarqos

By the way, pnpm prep should be in the build() function as it performs compilation.

OK. I've move pnpm prep to build().

yochananmarqos commented on 2023-11-18 16:29 (UTC)

@cheatsc: You're right, protobuf is no longer required.

By the way, pnpm prep should be in the build() function as it performs compilation.

cheatsc commented on 2023-11-18 15:45 (UTC) (edited on 2023-11-18 15:50 (UTC) by cheatsc)

@yochananmarqos

This also requires clang and protobuf to build.

I could not confirm that protobuf is required to build, so I did not add it to build dependencies.

@FabioLolix

please add options=(!lto) to build with devtools

Sorry, I cannot make a sense. Could you explain the reason in detail?

cheatsc commented on 2023-11-18 09:56 (UTC)

@FabioLolix @yochananmarqos Thank you guys for your comment, and sorry for the delay in my reply. I will update the dependencies of this package within 3 weeks. I apologize for your inconvenience.

yochananmarqos commented on 2023-11-05 18:29 (UTC)

This also requires clang and protobuf to build. Here's my improved WIP PKGBUILD. However, it won't actually run yet. See #1678.

FabioLolix commented on 2023-11-05 14:08 (UTC)

Hello,

  • need clang as makedepends
  • please add options=(!lto) to build with devtools