Package Details: amberol 0.10.3-1

Git Clone URL: https://aur.archlinux.org/amberol.git (read-only, click to copy)
Package Base: amberol
Description: Plays music, and nothing else
Upstream URL: https://apps.gnome.org/app/io.bassi.Amberol
Licenses: GPL3
Submitter: igor-dyatlov
Maintainer: igor-dyatlov
Last Packager: igor-dyatlov
Votes: 29
Popularity: 0.016725
First Submitted: 2022-04-11 19:37 (UTC)
Last Updated: 2023-05-24 19:06 (UTC)

Latest Comments

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

malacology commented on 2022-06-14 19:39 (UTC) (edited on 2022-06-14 19:41 (UTC) by malacology)

I am not sure but it shows that

        CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto=auto"

and /etc/makepkg.conf shows

CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \

mergen commented on 2022-06-14 18:11 (UTC)

@malacology in makepkg.conf changing -Ofast to -O2 in CFLAGS solved the same problem as yours for me.

malacology commented on 2022-06-14 14:50 (UTC)

full log for building in clean chroot can be seen

https://build.malacology.net/api/pkg/amberol/log/1655218068

malacology commented on 2022-06-13 20:19 (UTC)

I am not sure if it's devtools issue

  ============================================================================
  See tests/mpq/test-suite.log
  Please report to gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html
  ============================================================================
  make[5]: Leaving directory '/build/amberol/src/build/target/release/build/gmp-mpfr-sys-eb7257fbcb51dda8/out/build/gmp-build/tests/mpq'
  make[4]: Leaving directory '/build/amberol/src/build/target/release/build/gmp-mpfr-sys-eb7257fbcb51dda8/out/build/gmp-build/tests/mpq'
  make[3]: Leaving directory '/build/amberol/src/build/target/release/build/gmp-mpfr-sys-eb7257fbcb51dda8/out/build/gmp-build/tests/mpq'
  make[2]: Leaving directory '/build/amberol/src/build/target/release/build/gmp-mpfr-sys-eb7257fbcb51dda8/out/build/gmp-build/tests'
  make[1]: Leaving directory '/build/amberol/src/build/target/release/build/gmp-mpfr-sys-eb7257fbcb51dda8/out/build/gmp-build'

  --- stderr
  ../../gmp-src/tests/misc.c: In function ‘seed_from_urandom’:
  ../../gmp-src/tests/misc.c:109:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    109 |   fread (buf, 1, 6, fs);
        |   ^~~~~~~~~~~~~~~~~~~~~
  ../../../gmp-src/test-driver: line 107: 44271 Bus error               (core dumped) "$@" > $log_file 2>&1
  ../../../gmp-src/test-driver: line 107: 44277 Bus error               (core dumped) "$@" > $log_file 2>&1
  ../../../gmp-src/test-driver: line 107: 44338 Bus error               (core dumped) "$@" > $log_file 2>&1
  make[5]: *** [Makefile:833: test-suite.log] Error 1
  make[4]: *** [Makefile:941: check-TESTS] Error 2
  make[3]: *** [Makefile:1110: check-am] Error 2
  make[2]: *** [Makefile:823: check-recursive] Error 1
  make[1]: *** [Makefile:997: check-recursive] Error 1
  make: *** [Makefile:1289: check] Error 2
  thread 'main' panicked at 'Program failed with code 2: "make" "-j" "2" "check"', /build/amberol/src/build/cargo-home/registry/src/github.com-1ecc6299db9ec823/gmp-mpfr-sys-1.4.8/build.rs:1291:13
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
[21/22] Generating po/zh_CN/LC_MESSAGES/amberol-zh_CN.mo with a custom command
FAILED: src/amberol 
/build/amberol/src/amberol-0.7.0/build-aux/cargo.sh /build/amberol/src/build /build/amberol/src/amberol-0.7.0 src/amberol release amberol
ninja: build stopped: subcommand failed.

igor-dyatlov commented on 2022-06-04 15:46 (UTC)

@Popolon: Try to build version 0.7.0 @cyqsimon: fixed

cyqsimon commented on 2022-06-04 15:34 (UTC)

Probably better to use gzipped tarball as source.

source=($url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz)

Popolon commented on 2022-06-04 10:16 (UTC) (edited on 2022-06-04 10:17 (UTC) by Popolon)

With rustup package installed, and rustc in /usr/bin/rustc, I still have the following error:

amberol-0.6.3/meson.build:4:0: ERROR: Unknown compiler(s): [['rustc']]

No more information in the Meson log file.

cyqsimon commented on 2022-05-04 19:25 (UTC)

@lnicola release profile can be specified with an additional argument for arch-meson:

arch-meson --buildtype release "$pkgname-$pkgver" build

This sets the meson option buildtype to release, which as specified in src/meson.build, gets passed as the 4th argument to build-aux/cargo.sh, which in turn switches on this value to run cargo with either release or the default (debug) profile. Quite a convoluted way of doing this NGL and it did take some digging around for me to get here.

cyqsimon commented on 2022-05-04 19:02 (UTC) (edited on 2022-05-04 20:35 (UTC) by cyqsimon)

License check fail with the latest 0.5.0-2 - basically same error as the one posted by @ewout.

Edit:

I did some investigation and found that while meson test passes before meson compile, it no longer passes afterwards. Logs seem to indicate that dependencies in the cargo registry are getting checked for licenses which is surely not the intended behaviour.

This leads me to believe that meson test should either: be run in prepare() instead of check() (which means arch-meson call needs to go there as well), or not be run at all.

For anyone who just wants this thing to build: just comment out or remove the check() function, or you can run makepkg with the --nocheck flag. Also check out my other comment for building with the release profile.

Nesaijn commented on 2022-05-03 21:00 (UTC)

I got the following error even though I got rustc installed:

==> 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 amberol-0.5.0 build
The Meson build system
Version: 0.62.0
Source dir: /home/zodd/.cache/yay/amberol/src/amberol-0.5.0
Build dir: /home/zodd/.cache/yay/amberol/src/build
Build type: native build
Project name: amberol
Project version: 0.5.0

amberol-0.5.0/meson.build:4:0: ERROR: Unknown compiler(s): [['rustc']]

I solved it by running this:

rustup install stable
rustup default stable