GNU bug report logs -
#40032
[PATCH] gnu: Add nvme-cli
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40032 in the body.
You can then email your comments to 40032 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#40032
; Package
guix-patches
.
(Thu, 12 Mar 2020 01:14:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Vincent Legoll <vincent.legoll <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Thu, 12 Mar 2020 01:14:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Lightly tested (list & list-subsys commands)
on real hardware.
Guix pack'ed the binary and copied out of the
VM to run (in debian)
--
Vincent Legoll
[0001-gnu-Add-nvme-cli.patch (text/x-patch, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40032
; Package
guix-patches
.
(Thu, 12 Mar 2020 18:16:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 40032 <at> debbugs.gnu.org (full text, mbox):
On Thu, Mar 12, 2020 at 02:13:06AM +0100, Vincent Legoll wrote:
> + #:tests? #f))
Why are the tests skipped? Please, always add a code comment here for
reviewers.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40032
; Package
guix-patches
.
(Fri, 13 Mar 2020 23:15:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 40032 <at> debbugs.gnu.org (full text, mbox):
I'll investigate further and amend the patch
On Thu, Mar 12, 2020 at 7:15 PM Leo Famulari <leo <at> famulari.name> wrote:
>
> On Thu, Mar 12, 2020 at 02:13:06AM +0100, Vincent Legoll wrote:
> > + #:tests? #f))
>
> Why are the tests skipped? Please, always add a code comment here for
> reviewers.
--
Vincent Legoll
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40032
; Package
guix-patches
.
(Sun, 15 Mar 2020 17:09:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 40032 <at> debbugs.gnu.org (full text, mbox):
It looks like the tests require the presence of /sys/devices...
Should I just add that explanation as comment ?
On Sat, Mar 14, 2020 at 12:14 AM Vincent Legoll
<vincent.legoll <at> gmail.com> wrote:
>
> I'll investigate further and amend the patch
>
> On Thu, Mar 12, 2020 at 7:15 PM Leo Famulari <leo <at> famulari.name> wrote:
> >
> > On Thu, Mar 12, 2020 at 02:13:06AM +0100, Vincent Legoll wrote:
> > > + #:tests? #f))
> >
> > Why are the tests skipped? Please, always add a code comment here for
> > reviewers.
>
>
>
> --
> Vincent Legoll
--
Vincent Legoll
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40032
; Package
guix-patches
.
(Sun, 15 Mar 2020 17:23:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 40032 <at> debbugs.gnu.org (full text, mbox):
On Sun, Mar 15, 2020 at 06:07:44PM +0100, Vincent Legoll wrote:
> It looks like the tests require the presence of /sys/devices...
>
> Should I just add that explanation as comment ?
Yeah, I would say that they require sysfs, which is not accessible from
the build environment.
One could check with "ls -l /sys" in a build phase, or check the docs:
https://guix.gnu.org/manual/en/html_node/Build-Environment-Setup.html
Can you send a revised patch?
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40032
; Package
guix-patches
.
(Sun, 15 Mar 2020 17:38:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 40032 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Like the following ?
On Sun, Mar 15, 2020 at 6:22 PM Leo Famulari <leo <at> famulari.name> wrote:
>
> On Sun, Mar 15, 2020 at 06:07:44PM +0100, Vincent Legoll wrote:
> > It looks like the tests require the presence of /sys/devices...
> >
> > Should I just add that explanation as comment ?
>
> Yeah, I would say that they require sysfs, which is not accessible from
> the build environment.
>
> One could check with "ls -l /sys" in a build phase, or check the docs:
>
> https://guix.gnu.org/manual/en/html_node/Build-Environment-Setup.html
>
> Can you send a revised patch?
--
Vincent Legoll
[0001-gnu-Add-nvme-cli.patch (text/x-patch, attachment)]
Reply sent
to
Leo Famulari <leo <at> famulari.name>
:
You have taken responsibility.
(Sun, 15 Mar 2020 17:58:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Vincent Legoll <vincent.legoll <at> gmail.com>
:
bug acknowledged by developer.
(Sun, 15 Mar 2020 17:58:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 40032-done <at> debbugs.gnu.org (full text, mbox):
On Sun, Mar 15, 2020 at 06:36:54PM +0100, Vincent Legoll wrote:
> From 4f794f64ca5438773fc9980bbf0cf5739144dc87 Mon Sep 17 00:00:00 2001
> From: Vincent Legoll <vincent.legoll <at> gmail.com>
> Date: Thu, 12 Mar 2020 01:51:12 +0100
> Subject: [PATCH] gnu: Add nvme-cli
>
> * gnu/packages/linux.scm (nvme-cli): New variable.
Thanks! Pushed as 323841bda4e5b8f9b30626ab768aaf711ee6aabf with the
following changes that I somehow forgot to mention. There was no need to
make you revise the patch again...
> + #:phases (modify-phases %standard-phases
> + (delete 'configure)
I added a comment about why the phase is deleted.
> + (replace 'install
> + (lambda _
> + (zero? (system* "make" "install-spec" "PREFIX="
> + (string-append "DESTDIR=" %output))))))
I replaced (zero? (system* ...)) with (invoke ...), which raises
exceptions on failure rather than returning a boolean #f. This is "the
Guix way" for a while now:
https://lists.gnu.org/archive/html/guix-devel/2017-12/msg00278.html
> + (description "Utility to provide standards compliant tooling for NVM-Express
> +drives. It was made specifically for Linux as it relies on the IOCTLs defined
And I made this first sentence into a complete sentence.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40032
; Package
guix-patches
.
(Sun, 15 Mar 2020 18:11:02 GMT)
Full text and
rfc822 format available.
Message #28 received at 40032-done <at> debbugs.gnu.org (full text, mbox):
Thanks for all the fixes, I'll try to get better at doing that myself...
On Sun, Mar 15, 2020 at 6:57 PM Leo Famulari <leo <at> famulari.name> wrote:
>
> On Sun, Mar 15, 2020 at 06:36:54PM +0100, Vincent Legoll wrote:
> > From 4f794f64ca5438773fc9980bbf0cf5739144dc87 Mon Sep 17 00:00:00 2001
> > From: Vincent Legoll <vincent.legoll <at> gmail.com>
> > Date: Thu, 12 Mar 2020 01:51:12 +0100
> > Subject: [PATCH] gnu: Add nvme-cli
> >
> > * gnu/packages/linux.scm (nvme-cli): New variable.
>
> Thanks! Pushed as 323841bda4e5b8f9b30626ab768aaf711ee6aabf with the
> following changes that I somehow forgot to mention. There was no need to
> make you revise the patch again...
>
> > + #:phases (modify-phases %standard-phases
> > + (delete 'configure)
>
> I added a comment about why the phase is deleted.
>
> > + (replace 'install
> > + (lambda _
> > + (zero? (system* "make" "install-spec" "PREFIX="
> > + (string-append "DESTDIR=" %output))))))
>
> I replaced (zero? (system* ...)) with (invoke ...), which raises
> exceptions on failure rather than returning a boolean #f. This is "the
> Guix way" for a while now:
>
> https://lists.gnu.org/archive/html/guix-devel/2017-12/msg00278.html
>
> > + (description "Utility to provide standards compliant tooling for NVM-Express
> > +drives. It was made specifically for Linux as it relies on the IOCTLs defined
>
> And I made this first sentence into a complete sentence.
--
Vincent Legoll
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40032
; Package
guix-patches
.
(Sun, 15 Mar 2020 18:22:02 GMT)
Full text and
rfc822 format available.
Message #31 received at 40032-done <at> debbugs.gnu.org (full text, mbox):
On Sun, Mar 15, 2020 at 07:10:18PM +0100, Vincent Legoll wrote:
> Thanks for all the fixes, I'll try to get better at doing that myself...
No worries! We're glad to have your patches :)
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 13 Apr 2020 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 12 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.