Package Details: libnvidia-container-tools 1.0.2-1

Git Clone URL: https://aur.archlinux.org/libnvidia-container.git (read-only)
Package Base: libnvidia-container
Description: NVIDIA container runtime library
Upstream URL: https://github.com/NVIDIA/libnvidia-container
Licenses: BSD
Submitter: lukeyeager
Maintainer: jshap70 (kiendang)
Last Packager: jshap70
Votes: 12
Popularity: 1.741186
First Submitted: 2017-09-12 21:34
Last Updated: 2019-05-01 20:19

Pinned Comments

jshap70 commented on 2019-03-20 05:07

This package was changed to properly build from source. If you want to continue using prebuilt binaries you can use libnvidia-container-bin.

Latest Comments

1 2 Next › Last »

jshap70 commented on 2019-05-20 15:54

@archasaurusrex I don't think packer works with split packages like this (also all of the jetbrains tools or many many many of the builds from the trusted repos), so it's an issue with the tool and not this package. sorry. fwiw yay works perfectly fine with it for me, plus you can always just build and install it by hand with makepkg -Si.

see: https://github.com/keenerd/packer/issues/125

archasaurusrex commented on 2019-05-20 14:24

I get an error while trying to install from packer:

error: 'libnvidia-container-tools-1.0.2-1-x86_64.okg.tar.xz': duplicate target
Dependencies for `libnvidia-container-tools` are not met, not building...

this happens after it apparently builds just fine, but it won't install.

I ran across this while trying to install nvidia-docker via packer. I'm able to work around it by first installing libnvidia-container-tools-bin and libnvidiai-container-bin.

jshap70 commented on 2019-03-25 15:50

good catch, updated to just totally remove relative references in place of just using $srcdir

petronny commented on 2019-03-25 10:38

Getting

==> Starting prepare()...
/build/libnvidia-container/src/libnvidia-container-1.0.1
patch: **** Can't open patch file ../../fix_rpc_flags.patch : No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...

You should use

patch -Np1 -i ../fix_rpc_flags.patch
patch -Np1 -i ../fix_git_rev_unavail.patch

bzs commented on 2019-03-20 17:21

jshap70 kiendang yes I was using pikaur -S libnvidia-container; it does appear to be fixed now, thanks!

jshap70 commented on 2019-03-20 16:33

alright updated, let me know if that fixed it for you bzs

jshap70 commented on 2019-03-20 16:18

ah, my guess is that pikaur isn't making this by cloning the aur branch, and in mk/common.mk it does REVISION := $(shell git rev-parse HEAD) which locally for me would turn into the parent aur repo's git revision by mistake.

I'll make a patch for that quickly.

kiendang commented on 2019-03-20 16:02

bzs may I know which command you use to install the package? also could you try clone the package then makepkg -rsi and see if it works?

bzs commented on 2019-03-20 15:42

I'm encountering the following failure when building from source: ==> Making package: libnvidia-container 1.0.1-1 (Wed 20 Mar 2019 11:39:47 AM EDT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found v1.0.1.tar.gz -> Found elftoolchain-0.7.1.tar.bz2 -> Found 396.51.tar.gz -> Found fix_rpc_flags.patch ==> Validating source files with sha256sums... v1.0.1.tar.gz ... Passed elftoolchain-0.7.1.tar.bz2 ... Passed 396.51.tar.gz ... Passed fix_rpc_flags.patch ... Passed ==> Extracting sources... -> Extracting v1.0.1.tar.gz with bsdtar -> Extracting elftoolchain-0.7.1.tar.bz2 with bsdtar -> Extracting 396.51.tar.gz with bsdtar ==> Starting prepare()... /home/bzs/.cache/pikaur/build/libnvidia-container/src/libnvidia-container-1.0.1 patching file Makefile ==> Removing existing $pkgdir/ directory... ==> Starting build()... fatal: not a git repository (or any of the parent directories): .git /home/bzs/.cache/pikaur/build/libnvidia-container/src/libnvidia-container-1.0.1/mk/common.mk:32: *** Invalid commit hash. Stop. ==> ERROR: A failure occurred in build(). Aborting...

jshap70 commented on 2019-03-20 05:07

This package was changed to properly build from source. If you want to continue using prebuilt binaries you can use libnvidia-container-bin.