Skip Menu |

This queue is for tickets about the Math-Units CPAN distribution.

Report information
The Basics
Id: 39167
Status: open
Priority: 0/
Queue: Math-Units

People
Owner: kfox [...] vulpes.com
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.3
Fixed in: (no value)



Subject: gunits -v
I see the line system 'gunits', '-v'; in t/00.gunits.t. It seems that the version should be printed out, but my gunits instance (version 1.85) just starts and waits: 2438 units, 71 prefixes, 32 nonlinear units You have: So does the test script, it just hangs. In my version -v is -verbose, while the version is printed with either -V or --version: $gunits --version GNU Units version 1.85 with readline, units database in /usr/local/share/units.dat Copyright (C) 2004 Free Software Foundation, Inc. GNU Units comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GNU Units under the terms of the GNU General Public License. Regards, Slaven
Subject: Re: [rt.cpan.org #39167] gunits -v
Date: Wed, 10 Sep 2008 16:28:26 -0500
To: bug-Math-Units [...] rt.cpan.org
From: Dan Muey <webmaster [...] simplemood.com>
thanks, I'll have a look ASAP On Sep 10, 2008, at 3:31 PM, Slaven_Rezic via RT wrote: Show quoted text
> Wed Sep 10 16:31:14 2008: Request 39167 was acted upon. > Transaction: Ticket created by SREZIC > Queue: Math-Units > Subject: gunits -v > Broken in: (no value) > Severity: Normal > Owner: Nobody > Requestors: SREZIC@cpan.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=39167 > > > > I see the line > > system 'gunits', '-v'; > > in t/00.gunits.t. It seems that the version should be printed out, but > my gunits instance (version 1.85) just starts and waits: > > 2438 units, 71 prefixes, 32 nonlinear units > > You have: > > So does the test script, it just hangs. In my version -v is -verbose, > while the version is printed with either -V or --version: > > $gunits --version > GNU Units version 1.85 > with readline, units database in /usr/local/share/units.dat > Copyright (C) 2004 Free Software Foundation, Inc. > GNU Units comes with ABSOLUTELY NO WARRANTY. > You may redistribute copies of GNU Units > under the terms of the GNU General Public License. > > Regards, > Slaven >
There's an upcoming 1.4 release that fixes the GNU unit incompatibilities. The regressions use the long form of the version flag, so it should be more robust across GNU unit versions. There were also some changes in the standard unit library shipped with GNU unit 2.0 that broke the tests. Those are fixed now too. See https://github.com/kenfox/Math-Units for the changes.