[MacPorts] #68099: gunits @2.22_0: currency.units: No such file or directory

MacPorts noreply at macports.org
Wed Aug 30 20:58:10 UTC 2023


#68099: gunits @2.22_0: currency.units: No such file or directory
--------------------+--------------------
 Reporter:  saj     |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.8.1
 Keywords:          |       Port:  gunits
--------------------+--------------------
 Regression.  Currency unit conversions are broken.  Other unit conversions
 should still work.

 On [changeset:f27051e369cf242ce9db7f021f4994fd320d8a15/macports-ports
 gunits at 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 at 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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68099>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list