GNU bug report logs - #31798
[PATCH] gnu: Add iozone.

Previous Next

Package: guix-patches;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Tue, 12 Jun 2018 11:25:01 UTC

Severity: normal

Tags: patch, wontfix

Done: Gábor Boskovits <boskovits <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31798 in the body.
You can then email your comments to 31798 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#31798; Package guix-patches. (Tue, 12 Jun 2018 11:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ricardo Wurmus <rekado <at> elephly.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 12 Jun 2018 11:25:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: guix-patches <at> gnu.org
Cc: Ricardo Wurmus <rekado <at> elephly.net>
Subject: [PATCH] gnu: Add iozone.
Date: Tue, 12 Jun 2018 13:23:25 +0200
* gnu/packages/profiling.scm (iozone): New variable.
---
 gnu/packages/profiling.scm | 47 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/gnu/packages/profiling.scm b/gnu/packages/profiling.scm
index b2def45cc..b248af0b3 100644
--- a/gnu/packages/profiling.scm
+++ b/gnu/packages/profiling.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2017 Dave Love <fx <at> gnu.org>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me <at> tobias.gr>
+;;; Copyright © 2018 Ricardo Wurmus <rekado <at> elephly.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -399,3 +400,49 @@ high-performance computing (HPC) applications.")
     (license license:cpl1.0)))
 
 (define-public scorep-openmpi (make-scorep openmpi))
+
+(define-public iozone
+  (package
+    (name "iozone")
+    (version "3.482")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://www.iozone.org/src/current/"
+                                  "iozone"
+                                  (string-map (lambda (c)
+                                                (if (char=? c #\.) #\_ c))
+                                              version)
+                                  ".tar"))
+              (sha256
+               (base32
+                "0c5fyfr3iqfb8my7dcjlhm6kkmcl4a7r6gcgqrvp3xwn7jvgwcr7"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:make-flags (list "linux" "CC=gcc")
+       #:tests? #f ; none included
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'chdir
+           (lambda _ (chdir "src/current/")))
+         (delete 'configure)
+         (replace 'install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out  (assoc-ref outputs "out"))
+                    (bin  (string-append out "/bin"))
+                    (man1 (string-append out "/share/man/man1")))
+               (for-each (lambda (file)
+                           (install-file file bin))
+                         '("iozone" "fileop" "pit_server"))
+               (install-file "../../docs/iozone.1" man1))
+             #t)))))
+    (home-page "http://www.iozone.org")
+    (synopsis "Filesystem benchmark tool")
+    (description "IOzone is a filesystem benchmark tool.  The benchmark
+generates and measures a variety of file operations.  Iozone is useful for
+performing a broad filesystem analysis of a vendor’s computer platform.  The
+benchmark tests file I/O performance for the following operations: Read,
+write, re-read, re-write, read backwards, read strided, @code{fread},
+@code{fwrite}, random read, @code{pread}, @code{mmap}, @code{aio_read},
+@code{aio_write}.")
+    (license (license:non-copyleft
+              "http://www.iozone.org/docs/Iozone_License.txt"))))
-- 
2.17.1







Information forwarded to guix-patches <at> gnu.org:
bug#31798; Package guix-patches. (Tue, 12 Jun 2018 18:47:02 GMT) Full text and rfc822 format available.

Message #8 received at 31798 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 31798 <at> debbugs.gnu.org
Subject: Re: [bug#31798] [PATCH] gnu: Add iozone.
Date: Tue, 12 Jun 2018 14:46:47 -0400
[Message part 1 (text/plain, inline)]
On Tue, Jun 12, 2018 at 01:23:25PM +0200, Ricardo Wurmus wrote:
> * gnu/packages/profiling.scm (iozone): New variable.

Overall the package LGTM...

> +    (license (license:non-copyleft
> +              "http://www.iozone.org/docs/Iozone_License.txt"))))

The licensing is a little complicated:

http://metadata.ftp-master.debian.org/changelogs/non-free/i/iozone3/iozone3_429-3_copyright
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#31798; Package guix-patches. (Thu, 14 Jun 2018 12:34:01 GMT) Full text and rfc822 format available.

Message #11 received at 31798 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Leo Famulari <leo <at> famulari.name>
Cc: 31798 <at> debbugs.gnu.org
Subject: Re: [bug#31798] [PATCH] gnu: Add iozone.
Date: Thu, 14 Jun 2018 14:32:57 +0200
Hi Leo,

> On Tue, Jun 12, 2018 at 01:23:25PM +0200, Ricardo Wurmus wrote:
>> * gnu/packages/profiling.scm (iozone): New variable.
>
> Overall the package LGTM...
>
>> +    (license (license:non-copyleft
>> +              "http://www.iozone.org/docs/Iozone_License.txt"))))
>
> The licensing is a little complicated:
>
> http://metadata.ftp-master.debian.org/changelogs/non-free/i/iozone3/iozone3_429-3_copyright

Oh, I must have misunderstood the license text:

--8<---------------cut here---------------start------------->8---
  License to freely use and distribute this software is hereby granted
  by the author, subject to the condition that this copyright notice
  remains intact.  The author retains the exclusive right to publish
  derivative works based on this work, including, but not limited to,
  revised versions of this work.
--8<---------------cut here---------------end--------------->8---

Does “exclusive right to publish derivative works” means that people
other than the author may not distribute modified variants of iozone?
So the license only permits use and distribution of unmodified copies?

Bummer :(

I assumed that this sentence would just be an assertion of the original
authors’ right to change the code as they please without having to abide
by the license themselves (in case they are no longer copyright
holders), but the word “exclusive” does seem to make this non-free.

My interpretation seems to be backed by what the author wrote, as quoted
in the Debian copyright file:

--8<---------------cut here---------------start------------->8---
    The last time I spoke with Norcott I asked him about the intent
of the license. He indicated that anyone could use it and distribute
it for free.  The idea of the later sentence was to protect Iozone
so that if someone modified it, the original author would still
have the right to publish future works that included any additions
that anyone might have made.  And, that all of the code that is
in Iozone could be used by the original author in other projects
that may or may not be freeware. Iozone's code is intended to
be freely available. It would not be in the spirit of the license
for someone to take the code out of Iozone, repackage it
into a commercial package, re-license it or patent it, and then
prevent the original author of Iozone from using his own code.
--8<---------------cut here---------------end--------------->8---

“repackage it into a commercial package” again is a confusing statement,
because Free Software can be sold.  Would the sale of a medium
containing Iozone be considered a violation of the license…?

This is confusing enough to make me want to drop the patch :-/

Thanks for bringing this to our attention!

--
Ricardo





Added tag(s) wontfix. Request was from Gábor Boskovits <boskovits <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 21 Jun 2018 11:45:01 GMT) Full text and rfc822 format available.

Reply sent to Gábor Boskovits <boskovits <at> gmail.com>:
You have taken responsibility. (Tue, 26 Jun 2018 06:12:02 GMT) Full text and rfc822 format available.

Notification sent to Ricardo Wurmus <rekado <at> elephly.net>:
bug acknowledged by developer. (Tue, 26 Jun 2018 06:12:02 GMT) Full text and rfc822 format available.

Message #18 received at 31798-done <at> debbugs.gnu.org (full text, mbox):

From: Gábor Boskovits <boskovits <at> gmail.com>
To: 31798-done <at> debbugs.gnu.org
Subject: gnu: Add iozone.
Date: Tue, 26 Jun 2018 08:11:16 +0200
[Message part 1 (text/plain, inline)]
After negative response from upstream regarding the licensing issue, I'm
closing this.
[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 24 Jul 2018 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 276 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.