[MacPorts] #59219: fossil fails to build from source if ccache port installed

MacPorts noreply at macports.org
Wed Oct 9 02:48:41 UTC 2019


#59219: fossil fails to build from source if ccache port installed
-----------------------+--------------------
 Reporter:  ned-deily  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:
 Keywords:             |       Port:  fossil
-----------------------+--------------------
 Title says it all.  This appears to be a similar problem to #50891 (I also
 have not changed the default value of configureccache in macports.conf)
 with a likely similar solution.  Note error:

 {{{
 ccache: error: Failed to create directory
 /macports/var/macports/build/.ccache/tmp: Operation not permitted

 }}}

 Workaround is to temporarily:

 {{{
 port deactivate ccache
 }}}



 tail of main.log:

 {{{
 :info:configure Build C compiler.../usr/bin/clang -arch x86_64
 :info:configure Checking for stdlib.h...not found
 :info:configure Error: Compiler does not work. See config.log
 :info:configure Try: 'configure --help' for options
 :info:configure Command failed:  cd
 "/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_fossil/fossil/work/fossil-2.9"
 && ./configure --prefix=/macports --with-tcl=/macports/lib --with-th1-docs
 --with-th1-hooks --with-exec-rel-paths --json
 :info:configure Exit code: 1
 :error:configure Failed to configure fossil, consult
 /macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_fossil/fossil/work/fossil-2.9/config.log
 }}}

 Contents of config.log:


 {{{
 Invoked as: ./configure --prefix=/macports --with-tcl=/macports/lib
 --with-th1-docs --with-th1-hooks --with-exec-rel-paths --json
 Failed: ccache /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch
 x86_64 -c -g0 conftest__.c -o conftest__.o
 ccache: error: Failed to create directory
 /macports/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/MacOSX10.14.sdk -arch
 x86_64 -c conftest__.c -o conftest__.o
 ccache: error: Failed to create directory
 /macports/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/59219>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list