I found out why: I was caching build output specifically for flutter packages since they need to download a bajillion things when I want to compile flutter from source. It compile fine after clearing it.
Search Criteria
Package Details: localsend 1.17.0-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/localsend.git (read-only, click to copy) |
---|---|
Package Base: | localsend |
Description: | An open source cross-platform alternative to AirDrop |
Upstream URL: | https://github.com/localsend/localsend |
Licenses: | MIT |
Submitter: | patlefort |
Maintainer: | xiota |
Last Packager: | xiota |
Votes: | 19 |
Popularity: | 2.32 |
First Submitted: | 2023-03-31 12:58 (UTC) |
Last Updated: | 2025-03-17 03:13 (UTC) |
Dependencies (10)
- libayatana-appindicator
- clang (llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (make)
- cmake (cmake-gitAUR) (make)
- fvmAUR (fvm-gitAUR, fvm-binAUR, fvm-sourcebuildAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- lld (llvm-gitAUR) (make)
- llvm (llvm-gitAUR, llvm-minimal-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- patchelf (patchelf-gitAUR) (make)
- rustup (rustup-gitAUR, rustup-stubAUR) (make)
Required by (0)
Sources (1)
patlefort commented on 2025-03-18 02:18 (UTC)
xiota commented on 2025-03-17 22:48 (UTC)
@patlefort I switched the parenthesis to prevent exports from affecting anything outside the function. Could something else in CXXFLAGS affect it?
patlefort commented on 2025-03-17 22:43 (UTC)
It doesn't solve my problem but I noticed that the build() function is using parenthesis instead of {}.
patlefort commented on 2025-03-17 22:42 (UTC)
I am. I'm stumped, for some reason it is ignoring CXXFLAGS when I'm compiling in my containers but not outside. I tested with fvm
package so it's not a fvm-sourcebuild
problem. I echo $CXXFLAGS right before fvm build and the flag is there.
xiota commented on 2025-03-17 19:34 (UTC) (edited on 2025-03-17 19:35 (UTC) by xiota)
@patlefort Are you building 1.17.0-2? It has export CXXFLAGS+=' -Wno-error=deprecated-declarations'
to convert the error to a warning:
localsend-1.17.0/app/linux/flutter/ephemeral/.plugin_symlinks/tray_manager/linux/tray_manager_plugin.cc:118:17: warning: 'app_indicator_new' is deprecated [-Wdeprecated-declarations]
patlefort commented on 2025-03-17 13:26 (UTC)
The latest version is failing with:
/pkgbuild/out/localsend/src/localsend-1.17.0/app/linux/flutter/ephemeral/.plugin_symlinks/tray_manager/linux/tray_manager_plugin.cc:118:17: error: 'app_indicator_new' is deprecated [-Werror,-Wdeprecated-declarations]
LocalSend commented on 2025-02-22 23:27 (UTC)
@uberben @xiota Yes, stable should be fine. The reason is that F-Droid requires reproducable APKs. In the next version, the rust-toolchain.toml will be removed.
xiota commented on 2025-02-20 21:51 (UTC)
@uberben Thanks for letting me know. Patching to "stable" in package. Not bumping pkgrel because no need to rebuild if already successfully built.
Rust 1.84.1 is specified in rust-toolchain.toml. According to releases.rs, 1.85.0 was released earlier today.
uberben commented on 2025-02-20 21:26 (UTC)
Running rustup install 1.84.1
fixed the issue for me for now, but that feels like a hack. I'm not sure why it is using a specific toolchain version instead of stable
(currently 1.85.0).
Pinned Comments
patlefort commented on 2024-07-09 02:46 (UTC)
I've created a package
fvm-sourcebuild
for those who want to build the engine from sources. It will cache build artifacts in the same place asflutter-engine
(~/.cache/flutter-engine
).