Package Details: flexo-git 1.6.9.r7.gc44a7c9-1

Git Clone URL: https://aur.archlinux.org/flexo-git.git (read-only, click to copy)
Package Base: flexo-git
Description: A central pacman cache
Upstream URL: https://github.com/nroi/flexo
Keywords: cache http mirror packages pacman
Licenses: MIT
Provides: flexo
Submitter: nrio
Maintainer: nrio
Last Packager: nrio
Votes: 9
Popularity: 0.000010
First Submitted: 2020-05-10 14:46 (UTC)
Last Updated: 2024-09-09 16:45 (UTC)

Latest Comments

1 2 Next › Last »

nrio commented on 2023-02-13 17:14 (UTC)

@jooch: The package builds without any issues on my machine. It downloads and compiles crossbeam without any errors.

Does this issue still happen for you? Maybe some remote resource was down temporarily. If it still happens: Do you have any non-standard internet setup, like an HTTP proxy?

jooch commented on 2023-02-12 22:09 (UTC)

Build fails with:

error: failed to get `crossbeam` as a dependency of package `flexo v1.6.8 (/tmp/yaourt-tmp-dave/aur-flexo/src/flexo-1.6.8/flexo)`

Caused by:
  failed to fetch `https://github.com/rust-lang/crates.io-index`

Caused by:
  error reading from the zlib stream; class=Zlib (5)

nrio commented on 2021-05-15 09:52 (UTC)

@keijko thanks for the hint, I hadn't updated Rust in a while so this warning did not show up for me. This is now fixed.

keijko commented on 2021-05-13 13:57 (UTC) (edited on 2021-05-13 14:03 (UTC) by keijko)

Your speed of reaction is madness! :-) ;-)

Just a hint. During compile I get following warning: *F..k markdown syntax! The warning hints shows to serde and Deserialize.

warning: derive helper attribute is used before it is introduced --> src/mirror_config.rs:14:3 | 14 | #[serde(rename_all = "lowercase")] | ^^^^^ 15 | #[derive(Deserialize, Debug, Copy, Clone, PartialEq, Eq)] | ----------- the attribute is introduced here | = note: #[warn(legacy_derive_helpers)] on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79202 https://github.com/rust-lang/rust/issues/79202>

Same warnings in same file at line 58/59 and /src/mirror_fetch.rs -> 44/45.

nrio commented on 2021-04-01 16:51 (UTC)

@keijko: Flexo requires gcc during the build process, but gcc is already included in base-devel. According to the Wiki, such dependencies are not required to be included as build-time dependencies: https://wiki.archlinux.org/index.php/makepkg

Thanks for the info about the panic message, this has been fixed on the dev-branch.

keijko commented on 2021-04-01 08:38 (UTC)

First try ended with following error:

Compiling autocfg v1.0.0 Compiling libc v0.2.86

error: linker cc not found | = note: No such file or directory (os error 2) error: aborting due to previous error error: could not compile libc To learn more, run the command again with --verbose.

After short research I realized cargo wasn't able to find c-compiler. Therefore I installed gcc and retried compiling with success.

Maybe an interesting additional information about a warning: warning: panic message is not a string literal --> src/mirror_config.rs:136:26 | 136 | Err(e) => panic!(format!("Unable to parse file {}: {:?}\nPlease make sure that the file contains \ | ____^ 137 | | valid TOML syntax and that all required attributes are set.", CONFIG_FILE, e)) | |_________________^ | = note: #[warn(non_fmt_panic)] on by default = note: this is no longer accepted in Rust 2021 = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

nrio commented on 2020-12-20 11:27 (UTC)

If you have installed Flexo prior to 2020-12-20, please edit your /etc/flexo/flexo.toml file and replace the value of "mirrors_status_json_endpoint" by "https://archlinux.org/mirrors/status/json/". (Notice that the URL does NOT include www). If you don't change this value, Flexo will eventually fail to start.

nrio commented on 2020-09-08 18:22 (UTC) (edited on 2020-10-31 16:25 (UTC) by nrio)

@zhimsel sounds reasonable, I've updated the PKGBUILD to use the config from the git repo.

zhimsel commented on 2020-09-08 15:43 (UTC)

Looks like the config file is out of date: https://github.com/nroi/flexo/blob/master/flexo/conf/flexo.toml

Maybe they should be retrieved from the git repo directly, not included in the package.

nrio commented on 2020-05-11 20:32 (UTC) (edited on 2020-05-11 20:33 (UTC) by nrio)

@cubie thanks for reporting this. Interestingly, popular packages such as alacritty-git or ripgrep-git have the same issue.

running prepare() like you suggested is not ideal, because I would prefer to not mess with the user's rustup config. Also, the user may not even have rustup installed. Cargo is provided both by rust and rustup, so the user may have installed rust instead of rustup.

I'm still looking for another rust package on AUR that has an elegant solution to this problem, until then, if you run into this issue, just run

rustup install stable
rustup default stable

and build the package again.