Package Details: gen-license 0.1.3-4

Git Clone URL: https://aur.archlinux.org/gen-license.git (read-only, click to copy)
Package Base: gen-license
Description: Create licenses for your projects right from your terminal! license-generator on github by nexxeln
Upstream URL: https://github.com/nexxeln/license-generator
Keywords: gen-license, generator license-generator,license,
Licenses: MIT
Submitter: justsaumit
Maintainer: justsaumit
Last Packager: justsaumit
Votes: 1
Popularity: 0.000001
First Submitted: 2022-10-02 03:04 (UTC)
Last Updated: 2024-12-15 11:33 (UTC)

Latest Comments

justsaumit commented on 2024-12-15 07:45 (UTC) (edited on 2024-12-15 07:54 (UTC) by justsaumit)

Hey arash28134, I looked into this and found the same issue just by installing the package. With no changes. Turns out this is still an open issue from ring package in rust. https://github.com/briansmith/ring/issues/1444 By default LTO is enabled when AUR packages the rust project. However, this is causing the issues during build. So I've disabled them from now on till it's resolved.

8ef2726 - commit can be used to install version 0.1.2/3rd release which is fetched from https://crates.io/crates/gen-license/0.1.2

arash28134 commented on 2024-07-28 08:46 (UTC)

Installing results in errors:

          /home/viper/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.16.20/src/arithmetic/bigint.rs:489:(.text._ZN4ring10arithmetic6bigint16Modulus$LT$M$GT$29from_be_bytes_with_bit_length17hac870f2a9055d0b7E+0x3c0): undefined reference to `LIMBS_shl_mod'
          /usr/bin/ld: /home/viper/.cache/yay/gen-license/src/gen-license-0.1.2/target/release/deps/libring-36ec6837863a8e21.rlib(ring-36ec6837863a8e21.ring.dc670d1fba8ddb-cgu.00.rcgu.o): in function `ring::limb::limbs_less_than_limbs_consttime':
          /home/viper/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.16.20/src/limb.rs:70:(.text._ZN4ring10arithmetic6bigint13Elem$LT$M$GT$20from_be_bytes_padded17h136bc08f6e37917eE+0x199): undefined reference to `LIMBS_less_than'
          /usr/bin/ld: /home/viper/.cache/yay/gen-license/src/gen-license-0.1.2/target/release/deps/gen_license-adc4902db1540ae6: hidden symbol `GFp_ia32cap_P' isn't defined
          /usr/bin/ld: final link failed: bad value
          collect2: error: ld returned 1 exit status

  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)

warning: `gen-license` (bin "gen-license") generated 2 warnings
error: could not compile `gen-license` (bin "gen-license") due to 1 previous error; 2 warnings emitted
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: gen-license-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
gen-license - exit status 4

bojanmilevski commented on 2023-02-18 21:12 (UTC)

issue no longer present. thanks for the quick fix and sorry for my late reply. cheers!

justsaumit commented on 2023-02-08 21:55 (UTC)

I ran the install on a quickemu VM and got the same error aswell. It occured because my key's aren't in the default keyserver, so made changes in the PKGBUILD to just not add them since I don't think it's really necessary. Let me know if it works now and Thanks for bringing out the issue :D

bojanmilevski commented on 2023-02-01 22:41 (UTC)

I get an error when downloading this package:

:: Proceed with installation? [Y/n]: y
:: keys need to be imported:
     86395E99314F4E382517AF976558C915A20CDD93 wanted by: gen-license-0.1.2-3
:: import? [Y/n]: y
gpg: keyserver receive failed: No data
error: failed to run: gpg --recv-keys 86395E99314F4E382517AF976558C915A20CDD93: