Hello, I got an error trying to use sage -i openssl to get openssl on my sage so that I can use -pip install packagename. I have the required xtools command line tools. Apologies if this is a duplicate post. It seems the main error I got is [openssl-1.1.1b] ccache: error: Failed to create directory /Users/grant/.ccache/f/2: Permission denied.
Thank you! -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/6850cb7a-c95a-43c4-8e1f-a2df07a3c938%40googlegroups.com.
Found local metadata for openssl-1.1.1b Attempting to download package openssl-1.1.1b.tar.gz from mirrors Downloading the Sage mirror list Searching fastest mirror 141ms: http://files.sagemath.org/ 1155ms: http://ftp.kaist.ac.kr/sage/ 499ms: http://ftp.leg.uct.ac.za/pub/packages/sage/ 1305ms: http://ftp.ntua.gr/pub/sagemath/ 295ms: http://ftp.rediris.es/mirror/sagemath/ 447ms: http://ftp.riken.jp/sagemath/ WARNING [mirror_list|_rank_mirrors:136]: timed out: http://ftp.sun.ac.za/ftp/pub/mirrors/www.sagemath.org/ 377ms: http://ftp.yz.yamagata-u.ac.jp/pub/math/sage/ 869ms: http://linorg.usp.br/sage/ 579ms: http://mirror.aarnet.edu.au/pub/sage/ 922ms: http://mirror.hust.edu.cn/sagemath/ 602ms: http://mirror.ufs.ac.za/sagemath/ 188ms: http://mirror.yandex.ru/mirrors/sage.math.washington.edu/ 97ms: http://mirrors.mit.edu/sage/ 1669ms: http://mirrors.tuna.tsinghua.edu.cn/sagemath/ 1843ms: http://mirrors.ustc.edu.cn/sagemath/ 124ms: http://mirrors.xmission.com/sage/ 1983ms: http://sage.mirror.garr.it/mirrors/sage/ 2462ms: http://sagemath.c3sl.ufpr.br/ 753ms: http://sagemath.mirror.ac.za/ 1331ms: http://sagemath.nust.na/sage/ 872ms: http://www-ftp.lip6.fr/pub/math/sagemath/ 693ms: http://www.cecm.sfu.ca/sage/ 249ms: http://www.mirrorservice.org/sites/www.sagemath.org/ 538ms: https://mirror-hk.koddos.net/sagemath/ 403ms: https://mirror.koddos.net/sagemath/ 824ms: https://mirror.marwan.ma/sage/ 394ms: https://mirrors.up.pt/pub/sage/ Fastest mirror: http://mirrors.mit.edu/sage/ http://mirrors.mit.edu/sage/spkg/upstream/openssl/openssl-1.1.1b.tar.gz [......................................................................] openssl-1.1.1b ==================================================== Setting up build directory for openssl-1.1.1b Finished extraction Applying patches from ../patches... Applying ../patches/config.patch patching file config **************************************************** Host system: Darwin Grants-MacBook-Air.local 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 21 20:07:40 PDT 2018; root:xnu-3248.73.11~1/RELEASE_X86_64 x86_64 **************************************************** C compiler: gcc C compiler version: Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 8.0.0 (clang-800.0.42.1) Target: x86_64-apple-darwin15.6.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin **************************************************** Package 'openssl' is currently not installed No legacy uninstaller found for 'openssl'; nothing to do Configuring openssl... Configuring OpenSSL version 1.1.1b (0x1010102fL) for darwin64-x86_64-cc Using os-specific seed configuration Creating configdata.pm Creating Makefile ********************************************************************** *** *** *** OpenSSL has been successfully configured *** *** *** *** If you encounter a problem while building, please open an *** *** issue on GitHub <https://github.com/openssl/openssl/issues> *** *** and include the output from the following command: *** *** *** *** perl configdata.pm --dump *** *** *** *** (If you are new to OpenSSL, you might want to consult the *** *** 'Troubleshooting' section in the INSTALL file first) *** *** *** ********************************************************************** Building openssl... perl "-I." -Mconfigdata "util/dofile.pl" \ "-oMakefile" crypto/include/internal/bn_conf.h.in > crypto/include/internal/bn_conf.h perl "-I." -Mconfigdata "util/dofile.pl" \ "-oMakefile" crypto/include/internal/dso_conf.h.in > crypto/include/internal/dso_conf.h perl "-I." -Mconfigdata "util/dofile.pl" \ "-oMakefile" include/openssl/opensslconf.h.in > include/openssl/opensslconf.h make -j1 depend && make -j1 _all gcc -I. -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF apps/app_rand.d.tmp -MT apps/app_rand.o -c -o apps/app_rand.o apps/app_rand.c gcc -I. -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF apps/apps.d.tmp -MT apps/apps.o -c -o apps/apps.o apps/apps.c gcc -I. -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF apps/bf_prefix.d.tmp -MT apps/bf_prefix.o -c -o apps/bf_prefix.o apps/bf_prefix.c gcc -I. -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF apps/opt.d.tmp -MT apps/opt.o -c -o apps/opt.o apps/opt.c gcc -I. -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF apps/s_cb.d.tmp -MT apps/s_cb.o -c -o apps/s_cb.o apps/s_cb.c gcc -I. -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF apps/s_socket.d.tmp -MT apps/s_socket.o -c -o apps/s_socket.o apps/s_socket.c ar r apps/libapps.a apps/app_rand.o apps/apps.o apps/bf_prefix.o apps/opt.o apps/s_cb.o apps/s_socket.o ar: creating archive apps/libapps.a ranlib apps/libapps.a || echo Never mind. CC="gcc" perl crypto/aes/asm/aes-x86_64.pl macosx crypto/aes/aes-x86_64.s gcc -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -c -o crypto/aes/aes-x86_64.o crypto/aes/aes-x86_64.s gcc -I. -Icrypto/include -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF crypto/aes/aes_cfb.d.tmp -MT crypto/aes/aes_cfb.o -c -o crypto/aes/aes_cfb.o crypto/aes/aes_cfb.c gcc -I. -Icrypto/include -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF crypto/aes/aes_ecb.d.tmp -MT crypto/aes/aes_ecb.o -c -o crypto/aes/aes_ecb.o crypto/aes/aes_ecb.c gcc -I. -Icrypto/include -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF crypto/aes/aes_ige.d.tmp -MT crypto/aes/aes_ige.o -c -o crypto/aes/aes_ige.o crypto/aes/aes_ige.c gcc -I. -Icrypto/include -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF crypto/aes/aes_misc.d.tmp -MT crypto/aes/aes_misc.o -c -o crypto/aes/aes_misc.o crypto/aes/aes_misc.c gcc -I. -Icrypto/include -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF crypto/aes/aes_ofb.d.tmp -MT crypto/aes/aes_ofb.o -c -o crypto/aes/aes_ofb.o crypto/aes/aes_ofb.c gcc -I. -Icrypto/include -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF crypto/aes/aes_wrap.d.tmp -MT crypto/aes/aes_wrap.o -c -o crypto/aes/aes_wrap.o crypto/aes/aes_wrap.c CC="gcc" perl crypto/aes/asm/aesni-mb-x86_64.pl macosx crypto/aes/aesni-mb-x86_64.s gcc -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -c -o crypto/aes/aesni-mb-x86_64.o crypto/aes/aesni-mb-x86_64.s CC="gcc" perl crypto/aes/asm/aesni-sha1-x86_64.pl macosx crypto/aes/aesni-sha1-x86_64.s gcc -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -c -o crypto/aes/aesni-sha1-x86_64.o crypto/aes/aesni-sha1-x86_64.s ccache: error: Failed to create directory /Users/grant/.ccache/f/2: Permission denied make[3]: *** [crypto/aes/aesni-sha1-x86_64.o] Error 1 make[2]: *** [all] Error 2 Error building openssl. real 0m6.383s user 0m2.717s sys 0m0.664s ************************************************************************ Error installing package openssl-1.1.1b ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log file /Applications/SageMath-9.0.app/Contents/Resources/sage/logs/pkgs/openssl-1.1.1b.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /Applications/SageMath-9.0.app/Contents/Resources/sage/local/var/tmp/sage/build/openssl-1.1.1b and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/Applications/SageMath-9.0.app/Contents/Resources/sage/local/var/tmp/sage/build/openssl-1.1.1b' && '/Applications/SageMath-9.0.app/Contents/Resources/sage/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************ Found local metadata for openssl-1.1.1b Using cached file /Applications/SageMath-9.0.app/Contents/Resources/sage/upstream/openssl-1.1.1b.tar.gz openssl-1.1.1b ==================================================== Setting up build directory for openssl-1.1.1b Finished extraction Applying patches from ../patches... Applying ../patches/config.patch patching file config **************************************************** Host system: Darwin Grants-MacBook-Air.local 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 21 20:07:40 PDT 2018; root:xnu-3248.73.11~1/RELEASE_X86_64 x86_64 **************************************************** C compiler: gcc C compiler version: Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 8.0.0 (clang-800.0.42.1) Target: x86_64-apple-darwin15.6.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin **************************************************** Package 'openssl' is currently not installed No legacy uninstaller found for 'openssl'; nothing to do Configuring openssl... Configuring OpenSSL version 1.1.1b (0x1010102fL) for darwin64-x86_64-cc Using os-specific seed configuration Creating configdata.pm Creating Makefile ********************************************************************** *** *** *** OpenSSL has been successfully configured *** *** *** *** If you encounter a problem while building, please open an *** *** issue on GitHub <https://github.com/openssl/openssl/issues> *** *** and include the output from the following command: *** *** *** *** perl configdata.pm --dump *** *** *** *** (If you are new to OpenSSL, you might want to consult the *** *** 'Troubleshooting' section in the INSTALL file first) *** *** *** ********************************************************************** Building openssl... perl "-I." -Mconfigdata "util/dofile.pl" \ "-oMakefile" crypto/include/internal/bn_conf.h.in > crypto/include/internal/bn_conf.h perl "-I." -Mconfigdata "util/dofile.pl" \ "-oMakefile" crypto/include/internal/dso_conf.h.in > crypto/include/internal/dso_conf.h perl "-I." -Mconfigdata "util/dofile.pl" \ "-oMakefile" include/openssl/opensslconf.h.in > include/openssl/opensslconf.h make -j1 depend && make -j1 _all gcc -I. -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF apps/app_rand.d.tmp -MT apps/app_rand.o -c -o apps/app_rand.o apps/app_rand.c gcc -I. -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF apps/apps.d.tmp -MT apps/apps.o -c -o apps/apps.o apps/apps.c gcc -I. -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF apps/bf_prefix.d.tmp -MT apps/bf_prefix.o -c -o apps/bf_prefix.o apps/bf_prefix.c gcc -I. -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF apps/opt.d.tmp -MT apps/opt.o -c -o apps/opt.o apps/opt.c gcc -I. -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF apps/s_cb.d.tmp -MT apps/s_cb.o -c -o apps/s_cb.o apps/s_cb.c gcc -I. -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF apps/s_socket.d.tmp -MT apps/s_socket.o -c -o apps/s_socket.o apps/s_socket.c ar r apps/libapps.a apps/app_rand.o apps/apps.o apps/bf_prefix.o apps/opt.o apps/s_cb.o apps/s_socket.o ar: creating archive apps/libapps.a ranlib apps/libapps.a || echo Never mind. CC="gcc" perl crypto/aes/asm/aes-x86_64.pl macosx crypto/aes/aes-x86_64.s gcc -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -c -o crypto/aes/aes-x86_64.o crypto/aes/aes-x86_64.s gcc -I. -Icrypto/include -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF crypto/aes/aes_cfb.d.tmp -MT crypto/aes/aes_cfb.o -c -o crypto/aes/aes_cfb.o crypto/aes/aes_cfb.c gcc -I. -Icrypto/include -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF crypto/aes/aes_ecb.d.tmp -MT crypto/aes/aes_ecb.o -c -o crypto/aes/aes_ecb.o crypto/aes/aes_ecb.c gcc -I. -Icrypto/include -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF crypto/aes/aes_ige.d.tmp -MT crypto/aes/aes_ige.o -c -o crypto/aes/aes_ige.o crypto/aes/aes_ige.c gcc -I. -Icrypto/include -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF crypto/aes/aes_misc.d.tmp -MT crypto/aes/aes_misc.o -c -o crypto/aes/aes_misc.o crypto/aes/aes_misc.c gcc -I. -Icrypto/include -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF crypto/aes/aes_ofb.d.tmp -MT crypto/aes/aes_ofb.o -c -o crypto/aes/aes_ofb.o crypto/aes/aes_ofb.c gcc -I. -Icrypto/include -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -MMD -MF crypto/aes/aes_wrap.d.tmp -MT crypto/aes/aes_wrap.o -c -o crypto/aes/aes_wrap.o crypto/aes/aes_wrap.c CC="gcc" perl crypto/aes/asm/aesni-mb-x86_64.pl macosx crypto/aes/aesni-mb-x86_64.s gcc -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -c -o crypto/aes/aesni-mb-x86_64.o crypto/aes/aesni-mb-x86_64.s CC="gcc" perl crypto/aes/asm/aesni-sha1-x86_64.pl macosx crypto/aes/aesni-sha1-x86_64.s gcc -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/openssl\"" -DENGINESDIR="\"/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/engines-1.1\"" -D_REENTRANT -DNDEBUG -c -o crypto/aes/aesni-sha1-x86_64.o crypto/aes/aesni-sha1-x86_64.s ccache: error: Failed to create directory /Users/grant/.ccache/f/2: Permission denied make[3]: *** [crypto/aes/aesni-sha1-x86_64.o] Error 1 make[2]: *** [all] Error 2 Error building openssl. real 0m5.045s user 0m2.609s sys 0m0.621s ************************************************************************ Error installing package openssl-1.1.1b ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log file /Applications/SageMath-9.0.app/Contents/Resources/sage/logs/pkgs/openssl-1.1.1b.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /Applications/SageMath-9.0.app/Contents/Resources/sage/local/var/tmp/sage/build/openssl-1.1.1b and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/Applications/SageMath-9.0.app/Contents/Resources/sage/local/var/tmp/sage/build/openssl-1.1.1b' && '/Applications/SageMath-9.0.app/Contents/Resources/sage/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************