Opened 5 years ago

Closed 3 years ago

#58782 closed defect (fixed)

gunits @2.18.1: installs files to non-standard /opt/local/com preventing function of `gunits_cur`

Reported by: kencu (Ken) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gunits

Description

$ gunits_cur
Unable to write to output file:
[Errno 13] Permission denied: '/opt/local/com/units/currency.units'

Change History (4)

comment:1 Changed 5 years ago by kencu (Ken)

Summary: gunits @2.18.1: installs files to non-standard `/opt/local/com` preventing function of `gunits_cur`gunits @2.18.1: installs files to non-standard /opt/local/com preventing function of `gunits_cur`

comment:2 Changed 5 years ago by kencu (Ken)

to get to this point, both 58780 and 58781 have to be fixed or worked around.

comment:3 Changed 5 years ago by kencu (Ken)

You can move the currency datafile around with this added configure argument:

--sharedstatedir=${prefix}/share/gunits

however, at least with the argument above, you still can only write to this location with sudo.

comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In d5b0ccd4bd0dc65462b0de6e50e9a51476357ba9/macports-ports (master):

gunits: Update to 2.21

Use a specific python.

Closes: #58780

Add dependency on the python requests module.

Closes: #58781

Install currency data in a standard directory and mark the file as
writable by everyone so that gunits_cur can update it.

Closes: #58782

Note: See TracTickets for help on using tickets.