Package Details: shortwave 1:3.2.0-1

Git Clone URL: https://aur.archlinux.org/shortwave.git (read-only, click to copy)
Package Base: shortwave
Description: Find and listen to internet radio stations
Upstream URL: https://gitlab.gnome.org/World/Shortwave
Licenses: GPL3
Submitter: ValHue
Maintainer: igor-dyatlov
Last Packager: igor-dyatlov
Votes: 58
Popularity: 0.36
First Submitted: 2019-03-16 10:34 (UTC)
Last Updated: 2023-02-08 16:20 (UTC)

Pinned Comments

Latest Comments

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 Next › Last »

kouros17 commented on 2020-08-31 15:23 (UTC) (edited on 2020-08-31 15:23 (UTC) by kouros17)

This time version 1:1.1.1-4 worked to me.

@ValHue Thanks a lot! :)

mielouk commented on 2020-08-31 15:06 (UTC)

@ValHue just for my understanding. If I install rustup via the recommended way it installs the 1.45.2, as this is the momentarily recommended rust version. If I then install shortwave, it pulls in the newer repo version of rustup and overwrites the manual install. Which in turn is not able to be updated via 'rustup self update'. What's the point?

ValHue commented on 2020-08-31 12:21 (UTC)

@mielouk,

I'm glad you can install it and now it works. I do not put the rustup instructions because the PKGBUILD already does it and because if the default version were installed it would install the latest version (1.46.0) and it is the one that causes the compilation error.

jonathon commented on 2020-08-31 12:20 (UTC) (edited on 2020-08-31 12:45 (UTC) by jonathon)

@yochananmarqos The patch file was in the git diff. Just copy the code to a file then git apply. This is the simplest way to fix the PKGBUILD without installing rustup and messing around with things.

Let me fork the repo and make the changes more obvious.

OK: https://gitlab.com/m2x.dev/shortwave/-/commit/9287033a4a728dabd47f65f270507e5c5d381eae

mielouk commented on 2020-08-31 11:45 (UTC) (edited on 2020-08-31 11:57 (UTC) by mielouk)

It pulled the 1.45.2 and then compiled without a hickup. The app works.

Thank you very much!

For completeness, here is the full output. https://8n1.org/17762/01c4

(You may want to add the correct way to install and configure rustup to your pinned announcement.)

pacman -S rustup ## replaces rust

rustup install stable

rustup default stable

if I recall it correctly.

ValHue commented on 2020-08-31 11:30 (UTC) (edited on 2020-08-31 11:31 (UTC) by ValHue)

@harmathy,

I have the latest version of Arch repos: community/libhandy 0.0.13-2 (446.0 KiB 2.1 MiB) (Installed)

libhandy-rs gets cargo from the developer repo by using rust:

Found ninja-1.10.1 at /usr/sbin/ninja
ninja: Entering directory `builddir'
[0/4] Generating cargo-build with a custom command
** RUST VERSION **
rustc 1.45.2 (d3fb005a3 2020-07-31)
** RELEASE MODE **
    Updating crates.io index
    Updating git repository `https://gitlab.gnome.org/haecker-felix/libhandy-rs.git`
    Updating git submodule `https://github.com/gtk-rs/gir.git`
    Updating git submodule `https://github.com/gtk-rs/gir-files.git`
.
.
.

ValHue commented on 2020-08-31 11:13 (UTC) (edited on 2020-08-31 12:23 (UTC) by ValHue)

Checked that the error is caused by rust, if version 1.46.0 is used. This is the current one in the Arch repos.

That is why I have left rustup as a dependency to make it, and I force it to install the latest verified version with which it could be compiled, 1.45.2

The problem now is that you must have rustup properly installed (https://wiki.archlinux.org/index.php/Rust#Rustup), because many of the errors that you have sent, are because it is not. Execute rustc -V and you will know which version the system is recognizing

harmathy commented on 2020-08-31 11:00 (UTC)

ValHue: Could it be, that you have the referenced libhandy-rs version chached on your system?

kbkeller commented on 2020-08-31 10:44 (UTC)

Getting the same error here.

ValHue commented on 2020-08-31 10:19 (UTC) (edited on 2020-08-31 10:21 (UTC) by ValHue)

I have observed that depending on the rust version it compiles without errors or not. This looking at this.

This error:

** RELEASE MODE **
error: no override and no default toolchain set

is caused because it does not detect a correct rustup configuration.

I am testing which was the last version that it worked with (1.40.0 for sure, as it is the one I had on my system) and I will look at how to force it to use it during compilation. The current one is 1.46 and gives an error

rustc -V
rustc 1.46.0 (04488afe3 2020-08-24)