When I try to compile Sage 8.5.beta4 using `make distclean && make build` 
on OS X 10.13.6, I get an error as below. It fails at copying the directory 
"src/bin/__pycache__". Manually copying over the directory solves the 
problem, so this is probably easy to fix, but I am not sure where this `cp` 
command is invoked.

Markus

...
[sagelib-8.5.beta4] Discovered Python/Cython sources, time: 0.10 seconds.
[sagelib-8.5.beta4] Building interpreters for fast_callable
[sagelib-8.5.beta4] sage/rings/complex_double.pyx: cannot find cimported 
module 'gmpy2'
[sagelib-8.5.beta4] sage/rings/complex_number.pyx: cannot find cimported 
module 'gmpy2'
[sagelib-8.5.beta4] sage/rings/integer.pyx: cannot find cimported module 
'gmpy2'
[sagelib-8.5.beta4] sage/rings/complex_mpc.pyx: cannot find cimported 
module 'gmpy2'
[sagelib-8.5.beta4] sage/rings/rational.pyx: cannot find cimported module 
'gmpy2'
[sagelib-8.5.beta4] sage/rings/real_double.pyx: cannot find cimported 
module 'gmpy2'
[sagelib-8.5.beta4] sage/rings/real_mpfr.pyx: cannot find cimported module 
'gmpy2'
[sagelib-8.5.beta4] warning: Replacing library search directory in linker 
command:
[sagelib-8.5.beta4]   "/usr/local/Cellar/openssl/1.0.2o_2/lib" -> 
"/Applications/SageMath/local/lib"
[sagelib-8.5.beta4] 
[sagelib-8.5.beta4] Executing 0 commands (using 1 thread)
[sagelib-8.5.beta4] Time to execute 0 commands: 0.12 seconds.
[sagelib-8.5.beta4] Total time spent compiling C/C++ extensions: 0.34 
seconds.
[sagelib-8.5.beta4] if [ "$UNAME" = "CYGWIN" ]; then                        
 \
[sagelib-8.5.beta4]     sage-rebase.sh "$SAGE_LOCAL" 2>/dev/null;          
  \
[sagelib-8.5.beta4] fi
[sagelib-8.5.beta4] 
[sagelib-8.5.beta4] real 0m10.015s
[sagelib-8.5.beta4] user 0m6.071s
[sagelib-8.5.beta4] sys 0m2.857s
cp /Applications/SageMath/src/bin/__pycache__ 
/Applications/SageMath/local/bin/__pycache__
cp: /Applications/SageMath/src/bin/__pycache__ is a directory (not copied).
make[3]: *** [/Applications/SageMath/local/bin/__pycache__] Error 1
make[2]: *** [all-build] Error 2

real 0m10.581s
user 0m6.451s
sys 0m3.018s
***************************************************************
Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make all-build'):

The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.
*** ALL ENVIRONMENT VARIABLES BEFORE BUILD: ***
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.jwRjYTvKvs/Render
CLICOLOR=1
COLORFGBG=0;15
COLORTERM=truecolor
CONFIGURED_CC=gcc
CONFIGURED_CXX=g++
CONFIGURED_FC=gfortran
CONFIGURED_OBJC=gcc
CONFIGURED_OBJCXX=g++
DISPLAY=/private/tmp/com.apple.launchd.5OhOL9vEfz/org.macosforge.xquartz:0
GROOVY_HOME=/usr/local/opt/groovy/libexec
HOME=/Users/markus
INFOPATH=/Applications/Macaulay2-1.11/share/info
ITERM_PROFILE=Default
ITERM_SESSION_ID=w0t0p0:F1D3D88F-E15A-4177-B7BC-FC309450877D
LANG=de_DE.UTF-8
LOGNAME=markus
LSCOLORS=ExFxCxDxBxegedabagacad
MAKE=make
MAKEFLAGS= V=1
MAKELEVEL=1
MANPATH=/Applications/Macaulay2-1.11/share/man:
MFLAGS=
PATH=/Applications/SageMath/build/bin:/Applications/SageMath/src/bin:/Applications/SageMath/local/bin:/Applications/Macaulay2-1.11/bin:/usr/local/opt/python@2/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/MacGPG2/bin:/opt/X11/bin:/usr/local/git/bin:~/.local/bin:/Applications/LilyPond.app/Contents/Resources/bin
PWD=/Users/markus/git/sage/build/make
PYTHONPATH=/Applications/SageMath/local
SAGE_EXTCODE=/Applications/SageMath/local/share/sage/ext
SAGE_KEEP_BUILT_SPKGS=yes
SAGE_LOCAL=/Applications/SageMath/local
SAGE_LOGS=/Applications/SageMath/logs/pkgs
SAGE_ORIG_PATH=/Applications/Macaulay2-1.11/bin:/usr/local/opt/python@2/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/MacGPG2/bin:/opt/X11/bin:/usr/local/git/bin:~/.local/bin:/Applications/LilyPond.app/Contents/Resources/bin
SAGE_ORIG_PATH_SET=True
SAGE_PYTHON_VERSION=2
SAGE_ROOT=/Applications/SageMath
SAGE_SHARE=/Applications/SageMath/local/share
SAGE_SPKG_INST=/Applications/SageMath/local/var/lib/sage/installed
SAGE_SRC=/Applications/SageMath/src
SAGE_VERSION=8.5.beta4
SBT_OPTS= -Dsbt.jse.engineType=Node -Dsbt.jse.command=/usr/local/bin/node 
-Dscala.color
SHELL=/bin/bash
SHLVL=4
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.FQXo0QN0qR/Listeners
TERM=xterm-256color-italic
TERM_PROGRAM=iTerm.app
TERM_PROGRAM_VERSION=3.2.5
TERM_SESSION_ID=w0t0p0:F1D3D88F-E15A-4177-B7BC-FC309450877D
TMPDIR=/var/folders/f1/dnhtvscx21sc9_bnlkbxhjmr0000gn/T/
USER=markus
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
_=/usr/bin/env
__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x3
***********************************************
env SAGE_BUILD_TOOLCHAIN=yes make toolchain
make[2]: Nothing to be done for `toolchain'.

real    0m0.123s
user    0m0.097s
sys     0m0.020s
Sage build/upgrade complete!
*** ALL ENVIRONMENT VARIABLES BEFORE BUILD: ***
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.jwRjYTvKvs/Render
CLICOLOR=1
COLORFGBG=0;15
COLORTERM=truecolor
CONFIGURED_CC=gcc
CONFIGURED_CXX=g++
CONFIGURED_FC=gfortran
CONFIGURED_OBJC=gcc
CONFIGURED_OBJCXX=g++
DISPLAY=/private/tmp/com.apple.launchd.5OhOL9vEfz/org.macosforge.xquartz:0
GROOVY_HOME=/usr/local/opt/groovy/libexec
HOME=/Users/markus
INFOPATH=/Applications/Macaulay2-1.11/share/info
ITERM_PROFILE=Default
ITERM_SESSION_ID=w0t0p0:F1D3D88F-E15A-4177-B7BC-FC309450877D
LANG=de_DE.UTF-8
LOGNAME=markus
LSCOLORS=ExFxCxDxBxegedabagacad
MAKE=make
MAKEFLAGS= V=1
MAKELEVEL=2
MANPATH=/Applications/Macaulay2-1.11/share/man:
MFLAGS=
PATH=/Applications/SageMath/build/bin:/Applications/SageMath/src/bin:/Applications/SageMath/local/bin:/Applications/Macaulay2-1.11/bin:/usr/local/opt/python@2/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/MacGPG2/bin:/opt/X11/bin:/usr/local/git/bin:~/.local/bin:/Applications/LilyPond.app/Contents/Resources/bin
PWD=/Users/markus/git/sage/build/make
PYTHONPATH=/Applications/SageMath/local
SAGE_EXTCODE=/Applications/SageMath/local/share/sage/ext
SAGE_KEEP_BUILT_SPKGS=yes
SAGE_LOCAL=/Applications/SageMath/local
SAGE_LOGS=/Applications/SageMath/logs/pkgs
SAGE_ORIG_PATH=/Applications/Macaulay2-1.11/bin:/usr/local/opt/python@2/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/MacGPG2/bin:/opt/X11/bin:/usr/local/git/bin:~/.local/bin:/Applications/LilyPond.app/Contents/Resources/bin
SAGE_ORIG_PATH_SET=True
SAGE_PYTHON_VERSION=2
SAGE_ROOT=/Applications/SageMath
SAGE_SHARE=/Applications/SageMath/local/share
SAGE_SPKG_INST=/Applications/SageMath/local/var/lib/sage/installed
SAGE_SRC=/Applications/SageMath/src
SAGE_VERSION=8.5.beta4
SBT_OPTS= -Dsbt.jse.engineType=Node -Dsbt.jse.command=/usr/local/bin/node 
-Dscala.color
SHELL=/bin/bash
SHLVL=4
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.FQXo0QN0qR/Listeners
TERM=xterm-256color-italic
TERM_PROGRAM=iTerm.app
TERM_PROGRAM_VERSION=3.2.5
TERM_SESSION_ID=w0t0p0:F1D3D88F-E15A-4177-B7BC-FC309450877D
TMPDIR=/var/folders/f1/dnhtvscx21sc9_bnlkbxhjmr0000gn/T/
USER=markus
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
_=/usr/bin/env
__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x3
***********************************************
for target in 
/Applications/SageMath/local/var/lib/sage/installed/zlib-1.2.11.p0 
/Applications/SageMath/local/var/lib/sage/installed/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0
 /Applications/SageMath/local/var/lib/sage/installed/mpfr-4.0.1.p0 
/Applications/SageMath/local/var/lib/sage/installed/mpc-1.1.0; do \
            make $target; \
        done
make[3]: `/Applications/SageMath/local/var/lib/sage/installed/zlib-1.2.11.p0' 
is up to date.
make[3]: 
`/Applications/SageMath/local/var/lib/sage/installed/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0'
 is up to date.
make[3]: `/Applications/SageMath/local/var/lib/sage/installed/mpfr-4.0.1.p0' is 
up to date.
make[3]: `/Applications/SageMath/local/var/lib/sage/installed/mpc-1.1.0' is up 
to date.
make all-sage
if [ -z "$SAGE_INSTALL_FETCH_ONLY" ]; then \
                cd /Applications/SageMath/src && source bin/sage-env && \
                sage-logger -p 'time make sage' 
'/Applications/SageMath/logs/pkgs/sagelib-8.5.beta4.log'; \
        fi
[sagelib-8.5.beta4] cd . && export                                    \
[sagelib-8.5.beta4]         SAGE_ROOT=/doesnotexist                             
  \
[sagelib-8.5.beta4]         SAGE_SRC=/doesnotexist                              
  \
[sagelib-8.5.beta4]         SAGE_SRC_ROOT=/doesnotexist                         
  \
[sagelib-8.5.beta4]         SAGE_DOC_SRC=/doesnotexist                          
  \
[sagelib-8.5.beta4]         SAGE_BUILD_DIR=/doesnotexist                        
  \
[sagelib-8.5.beta4]         SAGE_PKGS=/Users/markus/git/sage/build/pkgs         
       \
[sagelib-8.5.beta4]     && sage-python23 -u setup.py --quiet --no-user-cfg 
build install
[sagelib-8.5.beta4] Configured with: 
--prefix=/Applications/Xcode.app/Contents/Developer/usr 
--with-gxx-include-dir=/usr/include/c++/4.2.1
[sagelib-8.5.beta4] Discovering Python/Cython source code....
[sagelib-8.5.beta4] Discovered Python/Cython sources, time: 0.10 seconds.
[sagelib-8.5.beta4] Building interpreters for fast_callable
[sagelib-8.5.beta4] sage/rings/complex_double.pyx: cannot find cimported module 
'gmpy2'
[sagelib-8.5.beta4] sage/rings/complex_number.pyx: cannot find cimported module 
'gmpy2'
[sagelib-8.5.beta4] sage/rings/integer.pyx: cannot find cimported module 'gmpy2'
[sagelib-8.5.beta4] sage/rings/complex_mpc.pyx: cannot find cimported module 
'gmpy2'
[sagelib-8.5.beta4] sage/rings/rational.pyx: cannot find cimported module 
'gmpy2'
[sagelib-8.5.beta4] sage/rings/real_double.pyx: cannot find cimported module 
'gmpy2'
[sagelib-8.5.beta4] sage/rings/real_mpfr.pyx: cannot find cimported module 
'gmpy2'
[sagelib-8.5.beta4] warning: Replacing library search directory in linker 
command:
[sagelib-8.5.beta4]   "/usr/local/Cellar/openssl/1.0.2o_2/lib" -> 
"/Applications/SageMath/local/lib"
[sagelib-8.5.beta4] 
[sagelib-8.5.beta4] Executing 0 commands (using 1 thread)
[sagelib-8.5.beta4] Time to execute 0 commands: 0.12 seconds.
[sagelib-8.5.beta4] Total time spent compiling C/C++ extensions: 0.34 seconds.
[sagelib-8.5.beta4] if [ "$UNAME" = "CYGWIN" ]; then                         \
[sagelib-8.5.beta4]         sage-rebase.sh "$SAGE_LOCAL" 2>/dev/null;           
 \
[sagelib-8.5.beta4]     fi
[sagelib-8.5.beta4] 
[sagelib-8.5.beta4] real        0m10.015s
[sagelib-8.5.beta4] user        0m6.071s
[sagelib-8.5.beta4] sys 0m2.857s
cp /Applications/SageMath/src/bin/__pycache__ 
/Applications/SageMath/local/bin/__pycache__
cp: /Applications/SageMath/src/bin/__pycache__ is a directory (not copied).
make[3]: *** [/Applications/SageMath/local/bin/__pycache__] Error 1
make[2]: *** [all-build] Error 2

real    0m10.581s
user    0m6.451s
sys     0m3.018s
***************************************************************
Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make all-build'):

The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.

Reply via email to