#68099 closed defect (fixed)
gunits @2.22_0: currency.units: No such file or directory
Reported by: | saj (Saj Goonatilleke) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | gunits |
Description
Regression. Currency unit conversions are broken. Other unit conversions should still work.
On gunits@2.22_0:
% gunits gunits: Unable to read units file '/opt/local/share/units/currency.units': No such file or directory gunits: file was included at line 5626 of file '/opt/local/share/units/definitions.units' 3399 units, 113 prefixes, 120 nonlinear units
% readlink /opt/local/share/units/currency.units /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_gunits/gunits/work/destroot/opt/local/var/lib/units/currency.units
On gunits@2.21_0:
% gunits Currency exchange rates from FloatRates (USD base) on 2023-08-31 3673 units, 109 prefixes, 114 nonlinear units You have: 1 USD You want: AUD * 1.5462832 / 0.64671206
% readlink /opt/local/share/units/currency.units /opt/local/var/lib/units/currency.units
From upstream:
GNU units NEWS - User visible changes. Copyright (C) 1996, 1997, 1999-2007, 2010-2020, 2022 Free Software Foundation, Inc. Version 2.22 - 4 September 2022 (bug fix release) [...] * Do not update currency.units at build
Change History (2)
comment:1 Changed 15 months ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 Changed 15 months ago by ryandesign (Ryan Carsten Schmidt)
And I sent the fix to the developer by email.
Note: See
TracTickets for help on using
tickets.
In 2f84a15367392b183f5521136c3024d5dbce1761/macports-ports (master):