Package Details: nvme-cli-git r2646.29c66608-1

Git Clone URL: https://aur.archlinux.org/nvme-cli-git.git (read-only, click to copy)
Package Base: nvme-cli-git
Description: NVM-Express user space tooling for Linux
Upstream URL: https://github.com/linux-nvme/nvme-cli
Licenses: GPL
Conflicts: nvme-cli
Provides: nvme-cli
Submitter: spheenik
Maintainer: spheenik
Last Packager: spheenik
Votes: 5
Popularity: 0.000001
First Submitted: 2015-12-18 18:59 (UTC)
Last Updated: 2022-05-06 20:15 (UTC)

Required by (6)

Sources (1)

Latest Comments

langfingaz commented on 2023-08-09 09:31 (UTC) (edited on 2023-08-09 09:34 (UTC) by langfingaz)

I got this error on a system without cmake:

Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libnvme found: NO (tried pkgconfig and cmake)
Not looking for a fallback subproject for the dependency libnvme because:
Use of fallback dependencies is disabled.

meson.build:51:14: ERROR: Dependency 'libnvme' is required but not found.

Installing cmake and running the build again does not help in finding libnvme:

Run-time dependency libnvme found: NO (tried pkgconfig and cmake)
Not looking for a fallback subproject for the dependency libnvme because:
Use of fallback dependencies is disabled.

meson.build:51:14: ERROR: Dependency 'libnvme' is required but not found.

FallenSnow commented on 2022-07-10 19:38 (UTC)

Doesn't seem to build currently. First error is

[4/41] Compiling C object nvme.p/wrapper.c.o
FAILED: nvme.p/wrapper.c.o 
cc -Invme.p -I. -I.. -Iccan -I../ccan -I/usr/include/uuid -I/usr/include/json-c -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O0 -fomit-frame-pointer -D_GNU_SOURCE -include config.h -march=x86-64-v3 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -fPIE -MD -MQ nvme.p/wrapper.c.o -MF nvme.p/wrapper.c.o.d -o nvme.p/wrapper.c.o -c ../wrapper.c
../wrapper.c:12:58: warning: ‘enum nvme_version’ declared inside parameter list will not be visible outside of this definition or declaration
   12 | const char * __attribute__((weak)) nvme_get_version(enum nvme_version type)
      |                                                          ^~~~~~~~~~~~
../wrapper.c:12:71: error: parameter 1 (‘type’) has incomplete type
   12 | const char * __attribute__((weak)) nvme_get_version(enum nvme_version type)
      |                                                     ~~~~~~~~~~~~~~~~~~^~~~

spheenik commented on 2022-05-06 20:17 (UTC)

@blaklite: I revamped the PKGBUILD, so check if you can build and install via yay now.

Caveat: The docs (man-pages) did not build, I had no time to dive in, so I disabled that for now.

blaklite commented on 2022-04-05 04:13 (UTC) (edited on 2022-04-05 04:45 (UTC) by blaklite)

Probably a little outdated but was playing around with some NVME stuff and noticed that the PKGBUILD and .SRCINFO files, and the sources of this package all use the now deprecated "git:" format instead of "https:"

Hence it just fails to build. (at least with YAY)

At least that what it seems like to me.

If I build it direct from GitHub, all's fine, just seems the package is buggered.

Cheers.

spheenik commented on 2019-01-20 09:40 (UTC)

Fixed. Thanks for the report Ranguvar.

Ranguvar commented on 2019-01-17 16:35 (UTC)

Needs CFLAGS="${CFLAGS} -I." prepended to the make invocation to compile now.

spheenik commented on 2016-07-18 09:48 (UTC)

Thanks for the info. I adjusted the dependency.

javmorin commented on 2016-07-17 20:33 (UTC)

A build/make dependency on 'systemd' should be added as libsystemd does not contain the header files for it's contained libraries. This popped up on my build system (aurpb) which builds all packages based on specified dependencies.