[MacPorts] #61565: openocd @0.10.0.1 +cmsis configure fails on BigSur 11.0.1 if ccache is installed

MacPorts noreply at macports.org
Thu Nov 19 17:36:24 UTC 2020


#61565: openocd @0.10.0.1 +cmsis configure fails on BigSur 11.0.1 if ccache is
installed
--------------------+---------------------
 Reporter:  ugr     |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.6.4
 Keywords:          |       Port:  openocd
--------------------+---------------------
 If ccache is not installed, everything works fine. Seems a problem with
 rights for creating directories and temp. files. It also fails with a
 similar error message if i create the directories
 /opt/local/var/macports/build/.ccache and
 /opt/local/var/macports/build/.ccache/tmp manually, and also if i set the
 access rights to  777 (chmod -R 777
 /opt/local/var/macports/build/.ccache), or if i change the owner group to
 "staff".

 Details from jimtcl that caused the configure failure from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_openocd/openocd/work/openocd-0.10.0/jimtcl/config.log:
 {{{
 Invoked as:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_cross_openocd/openocd/work/openocd-0.10.0/jimtcl/configure
 --disable-insta$
 Failed: ccache /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch
 x86_64 -c -g0 conftest__.c -o conftest__.o
 ccache: error: Failed to create directory
 /opt/local/var/macports/build/.ccache/tmp: Operation not permitted
 child process exited abnormally
 ============
 The failed code was:
 int main(void) {

 return 0;
 }
 ============
 Failed: ccache /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch
 x86_64 -c conftest__.c -o conftest__.o
 ccache: error: Failed to create directory
 /opt/local/var/macports/build/.ccache/tmp: Operation not permitted
 child process exited abnormally
 ============
 The failed code was:
 #include <stdlib.h>
 int main(void) {

 return 0;
 }
 ============
 }}}

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


More information about the macports-tickets mailing list