[MacPorts] #46168: gcc49: ../../scripts/check_jni_methods.sh: line 14: /tmp/check-jni-methods.75098.1: Permission denied (was: gcc49 failed to build "command failed")
MacPorts
noreply at macports.org
Wed Jan 7 05:27:07 PST 2015
#46168: gcc49: ../../scripts/check_jni_methods.sh: line 14: /tmp/check-jni-
methods.75098.1: Permission denied
------------------------------+-------------------
Reporter: mgs0lid_sn4ke@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: gcc49 |
------------------------------+-------------------
Comment (by ryandesign@…):
Hmm, yes, the new log says basically the same thing:
{{{
:info:build ../../scripts/check_jni_methods.sh: line 14: /tmp/check-jni-
methods.10465.1: Permission denied
}}}
It is strange that permission would be denied to write into /tmp. What are
the permissions of /tmp on your system? You can find out by running:
{{{
ls -ld /tmp/
}}}
Ideally, the check-jni-methods.sh script would create its temporary files
in the directory identified by the variable `$TMPDIR`; MacPorts sets this
to an appropriate value. It would be reasonable to file a bug report with
the developers of gcc asking them to use `$TMPDIR` instead of /tmp.
However, /tmp should work too, and I haven't heard of this problem
happening to anyone else when building gcc.
--
Ticket URL: <https://trac.macports.org/ticket/46168#comment:7>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list