Update on my problem: I isolated the problem to setting -Copt-level=2 in RUSTFLAGS. Very strange as it shouldn't cause any problems, maybe worth investigating further. I can build the version on your gitlab fine now.
Search Criteria
Package Details: spacedrive 0.4.3-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/spacedrive.git (read-only, click to copy) |
---|---|
Package Base: | spacedrive |
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: | AGPL-3.0-only |
Conflicts: | spacedrive-git |
Submitter: | cheatsc |
Maintainer: | cheatsc |
Last Packager: | cheatsc |
Votes: | 2 |
Popularity: | 0.001091 |
First Submitted: | 2023-11-05 19:11 (UTC) |
Last Updated: | 2025-03-21 02:12 (UTC) |
Dependencies (15)
- cairo (cairo-gitAUR)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-ffplayoutAUR, ffmpeg-obsAUR, ffmpeg-headlessAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-libfdk_aacAUR, ffmpeg-amd-fullAUR, ffmpeg-gitAUR, ffmpeg-full-gitAUR, ffmpeg-amd-full-gitAUR)
- gdk-pixbuf2 (gdk-pixbuf2-gitAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classic-xfceAUR, gtk3-classicAUR, gtk3-patched-filechooser-icon-viewAUR)
- libheif (libheif-gitAUR, libheif-highmemAUR)
- libsoup
- pango (pango-gitAUR)
- webkit2gtk-4.1 (webkit2gtk-4.1-imgpasteAUR)
- xdotool (xdotool-gitAUR)
- cargo (rustup-gitAUR, rust-nightly-binAUR, rust-gitAUR, rust-beta-binAUR, rustup-stubAUR, rust, rustup) (make)
- clang (llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- lld (llvm-gitAUR) (make)
- pnpm (yarn-pnpm-corepackAUR, corepackerAUR, pnpm-binAUR) (make)
Required by (0)
Sources (2)
patlefort commented on 2025-03-21 22:10 (UTC)
cheatsc commented on 2025-03-21 08:03 (UTC)
@patlefort
I have committed some changes. Try it. Let me know if found some issues.
https://gitlab.com/cheatsc-pkgbuilds/spacedrive/-/tree/update
cheatsc commented on 2025-03-21 02:41 (UTC) (edited on 2025-03-21 02:42 (UTC) by cheatsc)
It's reasonable. I'll change PKGBUILD ASAP.
patlefort commented on 2025-03-21 02:22 (UTC)
Because it will override all user flags, it's best not to unless required. But it doesn't build regardless, I tested in a clean container and I get the error I mentioned.
cheatsc commented on 2025-03-21 02:20 (UTC) (edited on 2025-03-21 02:20 (UTC) by cheatsc)
@patlefort
Also, can you please change:
export RUSTFLAGS='-Clinker-plugin-lto -Clinker=clang -Clink-arg=-fuse-ld=lld' export CFLAGS='-ffat-lto-objects' to
export RUSTFLAGS+=' -Clinker-plugin-lto -Clinker=clang -Clink-arg=-fuse-ld=lld' export CFLAGS+=' -ffat-lto-objects'
Please explain the reason why you need the above more clearly. Not buildable?
cheatsc commented on 2025-03-21 02:13 (UTC)
@patlefort
Also the license isn't valid, it should be an array of licenses with no or. I don't see a mention of "or later" versions, but maybe I missed it.
Fixed it. Thanks!
patlefort commented on 2025-03-20 20:18 (UTC) (edited on 2025-03-20 20:19 (UTC) by patlefort)
It also doesn't compile:
error[E0275]: overflow evaluating the requirement 'std::vec::Vec<sd_prisma::prisma::device::WithParam>: Unpin'
patlefort commented on 2025-03-20 20:08 (UTC)
It's missing dependency rustup in makedepends. Also, can you please change:
export RUSTFLAGS='-Clinker-plugin-lto -Clinker=clang -Clink-arg=-fuse-ld=lld'
export CFLAGS='-ffat-lto-objects'
to
export RUSTFLAGS+=' -Clinker-plugin-lto -Clinker=clang -Clink-arg=-fuse-ld=lld'
export CFLAGS+=' -ffat-lto-objects'
Also the license isn't valid, it should be an array of licenses with no or
. I don't see a mention of "or later" versions, but maybe I missed it.
cheatsc commented on 2024-06-09 05:25 (UTC)
I opened the repository which is used to merge your patches to this PKGBUILD.
https://gitlab.com/cheatsc-pkgbuilds/spacedrive
This is an experiment, so I may close the repository in the future.
cheatsc commented on 2024-03-31 11:35 (UTC) (edited on 2024-03-31 11:36 (UTC) by cheatsc)
Recommend that all users update this package as soon as possible!!
From its release note:
Bundle native-deps v0.14 which include measures to reduce our possible exposure to CVE-2024-3094 While we believe the previous versions of native-deps were not compromised due to the specific way we were building liblzma, as a precaution, we downgraded xz-utils to v5.4.5 and are now pulling the source code from Debian repositories. It is recommended that all users update as soon as possible.
Pinned Comments
cheatsc commented on 2024-06-09 05:25 (UTC)
I opened the repository which is used to merge your patches to this PKGBUILD.
https://gitlab.com/cheatsc-pkgbuilds/spacedrive
This is an experiment, so I may close the repository in the future.