[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU time: incorrect results
From: |
Bob Proulx |
Subject: |
Re: GNU time: incorrect results |
Date: |
Wed, 27 Nov 2013 14:21:34 -0700 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
sebastian.kurscheid@gmail.com wrote:
> On Saturday, October 2, 2010 8:27:52 PM UTC+2, Bob Proulx wrote:
> > Sven Hartrumpf wrote:
> > > Bob, thanks for fixing the bug I reported!
> > > And good luck with getting GNU time 1.8 out :-)
> >
> > Yes, well, we will see! But I am very hopeful. :-)
Hope springs eternal. The problem is that the official GNU time
maintainer isn't MIA. He will respond to email.
http://lists.gnu.org/archive/html/bug-gnu-utils/2013-02/msg00020.html
But he has never made a release. The last release was by David J
MacKenzie in 1996.
http://ftp.gnu.org/gnu/time/
Hope springs eternal though.
> > > I wrote:
> > > > rpm -q -f /usr/bin/time
> > > > util-linux-2.17.2-5.3.x86_64
> > >
> > > Just curious: how will your fix reach util-linux because
> > > this is what distributions use (not GNU time directly, it seems)?
> >
> > It should. Since util-linux on SuSE uses GNU time as one of the
> > components then I expect that it would eventually flow into it. Since
> > time is such a small program I can understand why it would be bundled
> > into a larger collection of other small programs. Note however that
> > other distributions such as Debian and Red Hat package time into its
> > own package. The way that it is packaged is not universal.
>
> It seems the patch hasn't made it into util-linux? I can't even seem
> to find "time" included in the latest version of it (2.23). Anyway,
> with the mentioned fix above I created my private patch, so thanks
> for the information!
At this point I would file a bug ticket against SuSE asking them to
incorporate the current patches. I maintain patches for time-1.7 for
Debian. These patches are available for viewing here:
http://patch-tracker.debian.org/package/time/1.7-24
Of which the two you are most interested in are these:
http://patch-tracker.debian.org/patch/series/view/time/1.7-24/rusage-portability.patch
http://patch-tracker.debian.org/patch/series/view/time/1.7-24/ru_maxrss.patch
However the others are also important and useful.
However I very quickly tried to find the current util-linux on SuSE
and it appeared to me that time is not included in the current
packaging. It may be split into a separate package now. Not sure
though. It really needs a SuSE person to look at the current system
and determine the what and where. I am obviously familiar with Debian
but not so much about SuSE. This could use some SuSE specific
expertise.
Bob