[MacPorts] #41758: expat: error deleting "/opt/local/var/macports/distfiles/expat/expat-2.0.1.tar.gz.TMP": permission denied (was: Wine installation failing trying to install expat)
MacPorts
noreply at macports.org
Tue Dec 10 18:19:17 PST 2013
#41758: expat: error deleting
"/opt/local/var/macports/distfiles/expat/expat-2.0.1.tar.gz.TMP":
permission denied
----------------------------+--------------------------
Reporter: nivedita900@… | Owner: ryandesign@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: expat |
----------------------------+--------------------------
Changes (by ryandesign@…):
* keywords: expat, fetchfiles =>
* owner: macports-tickets@… => ryandesign@…
* type: request => defect
Old description:
> Hello,
> I am try to install wine 1.2 on Mac 10.8 (Mountain Lion).
> sudo port install wine-devel
> The above command fails when trying to install the dependency, expat. I
> am running these as user root.
> I tried installing expat alone :
> sudo port clean expat
> sudo port uninstall expat (didn't do anything because it isn't installed)
> sudo port install -d expat
> I have attached the logs of the command to install expat. The
> expat-2.0.1.tar.gz file was downloaded successfully
> /opt/local/var/macports/distfiles/expat/
> -rwx------ 1 macports admin 446456 Jul 21 2010 expat-2.0.1.tar.gz
> -rwx------ 1 macports admin 1916 Jul 21 2010 Portfile
>
> Error message :
> :notice:fetch ---> Attempting to fetch expat-2.0.1.tar.gz from
> http://downloads.sourceforge.net/expat
> :debug:fetch Fetching distfile failed: Permission denied
> :error:fetch org.macports.fetch for port expat returned: error deleting
> "/opt/local/var/macports/distfiles/expat/expat-2.0.1.tar.gz.TMP":
> permission denied
> :debug:fetch Error code: POSIX EACCES {permission denied}
>
> Could you please suggest what needs to be done?
> Thank you.
New description:
Hello,
I am try to install wine 1.2 on Mac 10.8 (Mountain Lion).
{{{
sudo port install wine-devel
}}}
The above command fails when trying to install the dependency, expat. I am
running these as user root.
I tried installing expat alone :
{{{
sudo port clean expat
sudo port uninstall expat (didn't do anything because it isn't installed)
sudo port install -d expat
}}}
I have attached the logs of the command to install expat. The
expat-2.0.1.tar.gz file was downloaded successfully
{{{
/opt/local/var/macports/distfiles/expat/
-rwx------ 1 macports admin 446456 Jul 21 2010 expat-2.0.1.tar.gz
-rwx------ 1 macports admin 1916 Jul 21 2010 Portfile
}}}
Error message :
{{{
:notice:fetch ---> Attempting to fetch expat-2.0.1.tar.gz from
http://downloads.sourceforge.net/expat
:debug:fetch Fetching distfile failed: Permission denied
:error:fetch org.macports.fetch for port expat returned: error deleting
"/opt/local/var/macports/distfiles/expat/expat-2.0.1.tar.gz.TMP":
permission denied
:debug:fetch Error code: POSIX EACCES {permission denied}
}}}
Could you please suggest what needs to be done?
Thank you.
--
Comment:
Why does the directory /opt/local/var/macports/distfiles/expat/ contain a
Portfile?
Why are the permissions on the files in
/opt/local/var/macports/distfiles/expat/ `-rwx------` instead of `-rw-r--
r--`? That's wrong.
Note that in MacPorts, the wine port is at version 1.6.1 and the wine-
devel port is at version 1.7.8. So you won't be getting wine version 1.2,
but that's ok; you should probably be using the latest stable version
anyway.
--
Ticket URL: <https://trac.macports.org/ticket/41758#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list