[MacPorts] #35048: rpm tries to access files in destroot in activate phase
MacPorts
noreply at macports.org
Sun Jul 1 00:12:12 PDT 2012
#35048: rpm tries to access files in destroot in activate phase
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: afb@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Keywords: | Port: rpm
-------------------------------------+--------------------------------------
rpm tries to access files in the destroot in the activate phase. The
destroot does not necessarily exist at activation time. For example, if a
port it installed, activated, deactivated, then activated again. Or if a
port is installed from a pre-compiled binary from the packages server.
This was reported by Wim Deblauwe on the users mailing list and on
[http://apple.stackexchange.com/questions/54781/problem-installing-rpm-
using-macports stack exchange].
The workaround is to install from source:
{{{
sudo port -f uninstall rpm
sudo port clean rpm
sudo port -s install rpm
}}}
The fix is to move files that are part of the destroot in the destroot
phase, not the activate phase.
--
Ticket URL: <https://trac.macports.org/ticket/35048>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list