Dima Pasechnik
unread,Oct 25, 2019, 5:59:36 AM10/25/19Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-support
in the Sage 9.0.beta2 I get
....
[ipython-5.8.0] Successfully installed ipython-5.8.0
[ipython-5.8.0] Cleaning up...
[ipython-5.8.0] Removed build tracker '/tmp/pip-req-tracker-h6h22jg5'
[ipython-5.8.0]
[ipython-5.8.0] real 0m2.424s
[ipython-5.8.0] user 0m2.136s
[ipython-5.8.0] sys 0m0.398s
[ipython-5.8.0] Copying package files from temporary location
/mnt/opt/Sage/sage-dev/local/var/tmp/sage/build/ipython-5.8.0/inst to
/mnt/opt/Sage/sage-dev/local
[ipython-5.8.0] cp: not writing through dangling symlink
'/mnt/opt/Sage/sage-dev/local/./bin/ipython'
[ipython-5.8.0]
************************************************************************
[ipython-5.8.0] Error copying files for ipython-5.8.0.
------------------------
I had to apply
diff --git a/build/pkgs/ipython/spkg-install b/build/pkgs/ipython/spkg-install
index 07a28f951c..dd2fcdc698 100644
--- a/build/pkgs/ipython/spkg-install
+++ b/build/pkgs/ipython/spkg-install
@@ -4,6 +4,7 @@ if [ "$SAGE_LOCAL" = "" ]; then
exit 1
fi
+rm -f "$SAGE_LOCAL"/bin/ipython*
cd src
sdh_pip_install .
@@ -12,10 +13,3 @@ if [ $? -ne 0 ]; then
echo >&2 "Error installing IPython"
exit 1
fi
-
-# add symlink if we are running on python3
-if python -c 'import sys; sys.exit(sys.version_info.major != 3)'; then
- cd "$SAGE_LOCAL"/bin
- rm -f ipython
- ln -s ipython3 ipython
-fi
to make it build. In particular the last chunk removed by this patch
looks as something outdated.
Any ideas?
Dima