Package Details: shortwave 1:1.1.1-7

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: ValHue
Last Packager: ValHue
Votes: 27
Popularity: 3.23
First Submitted: 2019-03-16 10:34
Last Updated: 2020-10-18 10:42

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

ValHue commented on 2020-08-31 11:30

@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

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

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

kbkeller commented on 2020-08-31 10:44

Getting the same error here.

ValHue commented on 2020-08-31 10:19

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)

kouros17 commented on 2020-08-31 10:10

@ValHue doesn't work for me:

error: no override and no default toolchain set
** RELEASE MODE **
error: no override and no default toolchain set
FAILED: src/shortwave 
/home/giorgos/Builds/shortwave/src/Shortwave-1.1.1/build-aux/cargo.sh /home/giorgos/Builds/shortwave/src/Shortwave-1.1.1/builddir /home/giorgos/Builds/shortwave/src/Shortwave-1.1.1 src/shortwave /usr/share/locale default
[4/4] Generating de.haeckerfelix.Shortwave.metainfo.xml_data_merge with a custom command
ninja: build stopped: subcommand failed.

mielouk commented on 2020-08-31 09:57

Qs libhandy
local/libhandy 0.0.13-2
    Library full of GTK+ widgets for mobile phones

is installed.

ValHue commented on 2020-08-31 09:47

This is the output on my system, and it finishes compiling without errors..

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.40.0 (73528e339 2019-12-16)
** RELEASE MODE **
    Updating crates.io index
    Updating git repository `https://gitlab.gnome.org/haecker-felix/libhandy-rs.git`
  Downloaded open v1.3.2

mielouk commented on 2020-08-31 09:46

error: failed to get `libhandy` as a dependency of package `shortwave v0.0.0 (/home/nackt/.cache/yay/shortwave/src/Shortwave-1.1.1)`

Caused by:
  failed to load source for dependency `libhandy`

Caused by:
  Unable to update https://gitlab.gnome.org/haecker-felix/libhandy-rs.git?branch=update_cargo_version#62e7abf4

Caused by:
  object not found - no match for id (62e7abf44d419cf3fe83da64285f2905da4e333e); class=Odb (9); code=NotFound (-3)
[3/4] Generating de.haeckerfelix.Shortwave.metainfo.xml_data_merge with a custom command
FAILED: src/shortwave
/home/nackt/.cache/yay/shortwave/src/Shortwave-1.1.1/build-aux/cargo.sh /home/nackt/.cache/yay/shortwave/src/Shortwave-1.1.1/builddir /home/nackt/.cache/yay/shortwave/src/Shortwave-1.1.1 src/shortwave /usr/share/locale default
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
error making: shortwave

ValHue commented on 2020-08-31 09:40

@mielouk, If you have remnants of rust on your system it usually gives that error, run the following before trying the compilation (https://wiki.archlinux.org/index.php/Rust#Rustup):

rustup install stable
rustup default stable