Package Details: decoder-git 0.3.1.r17.g8235821-1

Git Clone URL: https://aur.archlinux.org/decoder-git.git (read-only, click to copy)
Package Base: decoder-git
Description: Scan and Generate QR Codes
Upstream URL: https://gitlab.gnome.org/World/decoder
Licenses: GPL3
Conflicts: decoder
Provides: decoder
Submitter: flipflop97
Maintainer: None
Last Packager: igor-dyatlov
Votes: 1
Popularity: 0.000000
First Submitted: 2021-08-05 12:36 (UTC)
Last Updated: 2022-09-15 18:54 (UTC)

Latest Comments

flipflop97 commented on 2021-08-10 17:09 (UTC)

Hmm, it seems like a problem with your rust installation, no idea what causes it tho… Maybe checking with other rust based packages or reinstalling rust might help.

Brownsnowstorm2 commented on 2021-08-05 22:40 (UTC)

Thanks, but that did not seem to change anything….


Found ninja-1.10.2 at /usr/bin/ninja
ninja: Entering directory `build'
[0/4] Generating cargo-build with a custom command
DEBUG MODE
error: no override and no default toolchain set
[1/4] Generating decoder_gresource with a custom command
FAILED: src/decoder 
/bin/sh /tmp/aurbuilder/.cache/yay/decoder-git/src/decoder/build-aux/cargo.sh /tmp/aurbuilder/.cache/yay/decoder-git/src/build /tmp/aurbuilder/.cache/yay/decoder-git/src/decoder src/decoder plain decoder
[4/4] Generating com.belmoussaoui.Decoder.metainfo.xml_merge with a custom command
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
error making: decoder-git
luser:~ $ 

flipflop97 commented on 2021-08-05 21:38 (UTC)

@Brownsnowstorm2

This seems like the same problem as a user here. Try running the following to set up a deafault rust building environment.

rustup install stable
rustup default stable

Brownsnowstorm2 commented on 2021-08-05 17:32 (UTC)


luser:~ $ yay decoder-git
[sudo] password for luser: 
3 aur/qmc-decoder-git 2.5.r17.g26be1f5-1 (+0 0.00) 
    Fastest & best convert qmc 2 mp3 | flac tools
2 aur/decoder-git 0.1.0.r74.gd48971d-1 (+1 1.00) 
    Scan and Generate QR Codes
1 aur/mosesdecoder-git mmt.mvp.v0.12.1.r95.160a7f2-1 (+4 0.00) 
    State of the art Statistical Machine Translation system
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 2
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  decoder-git-0.1.0.r74.gd48971d-1

  1 decoder-git                              (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> a
:: Deleting (1/1): /tmp/aurbuilder/.cache/yay/decoder-git
:: Downloaded PKGBUILD (1/1): decoder-git
  1 decoder-git                              (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
:: (1/1) Parsing SRCINFO: decoder-git
==> Making package: decoder-git 0.1.0.r74.gd48971d-1 (Thu 05 Aug 2021 01:26:27 PM EDT)
==> Retrieving sources...
  -> Cloning decoder git repo...
Cloning into bare repository '/tmp/aurbuilder/.cache/yay/decoder-git/decoder'...
remote: Enumerating objects: 1413, done.
remote: Counting objects: 100% (950/950), done.
remote: Compressing objects: 100% (390/390), done.
remote: Total 1413 (delta 690), reused 775 (delta 541), pack-reused 463
Receiving objects: 100% (1413/1413), 697.24 KiB | 2.87 MiB/s, done.
Resolving deltas: 100% (976/976), done.
==> Validating source files with sha256sums...
    decoder ... Skipped
==> Making package: decoder-git 0.1.0.r74.gd48971d-1 (Thu 05 Aug 2021 01:26:32 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating decoder git repo...
Fetching origin
==> Validating source files with sha256sums...
    decoder ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of decoder git repo...
Cloning into 'decoder'...
done.
==> Starting pkgver()...
==> Updated version: decoder-git 0.1.0.r75.g9797820-1
==> Sources are ready.
==> Making package: decoder-git 0.1.0.r75.g9797820-1 (Thu 05 Aug 2021 01:26:41 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true decoder build
The Meson build system
Version: 0.59.0
Source dir: /tmp/aurbuilder/.cache/yay/decoder-git/src/decoder
Build dir: /tmp/aurbuilder/.cache/yay/decoder-git/src/build
Build type: native build
Project name: decoder
Project version: 0.1.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Run-time dependency glib-2.0 found: YES 2.68.3
Run-time dependency gio-2.0 found: YES 2.68.3
Run-time dependency gtk4 found: YES 4.2.1
Run-time dependency libadwaita-1 found: YES 1.0.0-alpha.2
Run-time dependency zbar found: YES 0.23.1
Run-time dependency gstreamer-1.0 found: YES 1.18.4
Run-time dependency gstreamer-base-1.0 found: YES 1.18.4
Run-time dependency gstreamer-plugins-base-1.0 found: YES 1.18.4
Run-time dependency gstreamer-plugins-bad-1.0 found: YES 1.18.4
Program cargo found: YES (/usr/bin/cargo)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Program glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
Program desktop-file-validate found: YES (/usr/bin/desktop-file-validate)
Program appstream-util found: YES (/usr/bin/appstream-util)
Configuring com.belmoussaoui.Decoder.desktop.in using configuration
Configuring com.belmoussaoui.Decoder.metainfo.xml.in using configuration
Configuring com.belmoussaoui.Decoder.gschema.xml using configuration
Program glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Configuring config.rs using configuration
Program /tmp/aurbuilder/.cache/yay/decoder-git/src/decoder/build-aux/cargo.sh found: YES (/bin/sh /tmp/aurbuilder/.cache/yay/decoder-git/src/decoder/build-aux/cargo.sh)
Program build-aux/dist-vendor.sh found: YES (/bin/sh /tmp/aurbuilder/.cache/yay/decoder-git/src/decoder/build-aux/dist-vendor.sh)
Program build-aux/meson/postinstall.py found: YES (/tmp/aurbuilder/.cache/yay/decoder-git/src/decoder/build-aux/meson/postinstall.py)
Build targets in project: 7

Found ninja-1.10.2 at /usr/bin/ninja
ninja: Entering directory `build'
[0/4] Generating cargo-build with a custom command
DEBUG MODE
error: no override and no default toolchain set
FAILED: src/decoder 
/bin/sh /tmp/aurbuilder/.cache/yay/decoder-git/src/decoder/build-aux/cargo.sh /tmp/aurbuilder/.cache/yay/decoder-git/src/build /tmp/aurbuilder/.cache/yay/decoder-git/src/decoder src/decoder plain decoder
[4/4] Generating com.belmoussaoui.Decoder.metainfo.xml_merge with a custom command
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
error making: decoder-git
luser:~ $ 

flipflop97 commented on 2021-08-05 15:56 (UTC) (edited on 2021-08-05 15:57 (UTC) by flipflop97)

@Brownsnowstorm2

Can you post the output of where the build fails?

Brownsnowstorm2 commented on 2021-08-05 15:53 (UTC)

This wont build.