#43282: gmp fails to build --------------------------------+------------------------ Reporter: Maurizio.Loreti@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gmp | --------------------------------+------------------------ Comment (by bmhatfield@…): I'd like to note that I'm also having this problem. I'm not installing gmp or running anything outside of macports manually; it's being brought in as a dependency. {{{ :info:build clang: error: couldn't create cache file '/var/folders/s9/04wtzlb97xv9zvq6f6qg68j80000gq/T/xcrun_db-gQNIwNSa' (errno=Permission denied) :info:build ld: illegal text-relocation to '___gmp_binvert_limb_table' in .libs/mp_minv_tab.o from '___gmpn_divexact_1' in mpn/.libs/dive_1.o for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[2]: *** [libgmp.la] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0" && /usr/bin/make -j4 -w all :info:build Exit code: 2 :error:build org.macports.build for port gmp returned: command execution failed :debug:build Error code: CHILDSTATUS 26278 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: targets not executed for gmp: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port gmp for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/43282#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X