failure to re-install ipython

28 views
Skip to first unread message

Dima Pasechnik

unread,
Oct 25, 2019, 5:59:36 AM10/25/19
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

John H Palmieri

unread,
Oct 25, 2019, 3:00:46 PM10/25/19
to sage-support
I just saw this problem today, too. I agree that the last chunk looks outdated.

Just curious: what platform is this?

--
John

Dima Pasechnik

unread,
Oct 25, 2019, 3:02:46 PM10/25/19
to sage-support
Gentoo Linux

--
John

--
You received this message because you are subscribed to the Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/b0be0cf0-7d8d-4d4b-b03a-e4a1db92611e%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages