Package Details: nordselect 1.4.5-1

Git Clone URL: https://aur.archlinux.org/nordselect.git (read-only, click to copy)
Package Base: nordselect
Description: Select the ideal NordVPN server
Upstream URL: https://github.com/editicalu/nordselect
Licenses: MIT
Provides: nordselect
Submitter: editicalu
Maintainer: editicalu
Last Packager: editicalu
Votes: 3
Popularity: 0.000000
First Submitted: 2018-07-26 20:44 (UTC)
Last Updated: 2022-09-20 21:09 (UTC)

Latest Comments

1 2 Next › Last »

editicalu commented on 2022-09-20 20:56 (UTC)

I see that. The intention of using rustup was to have reproducible builds, but there's a benefit in not requiring rustup. I'll change the build method.

dreieck commented on 2022-09-18 16:29 (UTC) (edited on 2022-09-18 16:32 (UTC) by dreieck)

Somehow, now it fails for me to build with rustup:

==> Starting prepare()...
error: rustup could not choose a version of cargo to run, because one wasn't specified explicitly, and no default is configured.
help: run 'rustup default stable' to download the latest stable release of Rust and set it as your default toolchain.
==> ERROR: A failure occurred in prepare().

Changing the makedependency rustup to rust (or to cargo and installing rust to fulfill the cargo dependency) makes that error go away, but then it fails on the line
rustup toolchain add 1.62.1 --profile minimal
because the executable rustup is not present.

I think some option needs to be set to make it build correctly with rustup, since the package crowbook had a similar problem which was fixed.

And if you even somehow can make the rustup toolchain add 1.62.1 --profile minimal working with rust as well, then you even could change the makedependency rustup to cargo, then the user is free to choose rust or rustup.

editicalu commented on 2022-09-04 11:52 (UTC)

Thanks for the comments @dreieck. I changed the PKGBUILD to address these issues.

dreieck commented on 2022-08-25 12:47 (UTC) (edited on 2022-09-18 16:25 (UTC) by dreieck)

There are errors with your PKGBUILD:

  • The final package contains a compiled binary. So $arch should be set appropriate (add all supported architectures, e.g. arch=(x86_64, i686, [arm-stuff] ...). any is not permitted.
  • You specified that it has a custom license but not installed the licenses appropriate.

Here the relevant output of namcap nordselect-1.4.4-1-any.pkg.tar:

nordselect E: ELF file ('usr/bin/nordselect') found in an 'any' package.
nordselect E: Missing custom license directory (usr/share/licenses/nordselect)
[...]

Also, can you make that all stuff required to build the package got downloaded before build(), e.g. in prepare() if it is not possible to do in the $source-array (rust stuff ...)?

Thanks for maintaining!

rsa commented on 2020-03-03 19:07 (UTC)

@editicalu same error, but installing directly from cargo works

editicalu commented on 2020-03-01 14:15 (UTC)

Rustup can install and maintain multiple versions of Rust. Starting this version, I wanted the package to be recreatable. If you don't need that, you can replace rustup as dependency by rust and remove the rustup line in package.

simona commented on 2020-03-01 09:58 (UTC)

==> Package conflicts found:
-> Installing rustup will remove: rust, rust (cargo), rust (rustfmt)

editicalu commented on 2020-03-01 00:47 (UTC)

@rsa an update was pushed that should lock all dependencies, version numbers etc. Can you try whether you can compile now?

rsa commented on 2020-02-29 03:44 (UTC)

@editicalu yep, I have the full base-devel group installed and up to date.

editicalu commented on 2020-02-28 16:39 (UTC)

@rsa did you install base-devel? It is assumed to be installed if you use the AUR.

https://wiki.archlinux.org/index.php/Arch_User_Repository#Getting_started