Error building a wheel for jedi-0.18.1

77 views
Skip to first unread message

Jianping Pan

unread,
Jun 3, 2023, 1:20:11 PM6/3/23
to sage-devel
Dear Sage developers,

I was trying to install sage 10.1.beta1 on my macOS 12.6.5 via Git. I followed the instruction on git and ran 
"make configure",
set "./configure --enable-download-from-upstream-url", 
ran "./configure", then brew installed all the packages that it asked me to install. 
Then I run "make"

Below is the error report and the two log files. Thanks!

[jedi-0.18.1]   ERROR: Failed cleaning build dir for jedi
[jedi-0.18.1] Failed to build jedi
[jedi-0.18.1] ERROR: Failed to build one or more wheels
[jedi-0.18.1] ********************************************************************************
[jedi-0.18.1] Error building a wheel for jedi-0.18.1
[jedi-0.18.1] ********************************************************************************
[jedi-0.18.1]
[jedi-0.18.1] real 0m16.162s
[jedi-0.18.1] user 0m14.644s
[jedi-0.18.1] sys 0m5.335s
[jedi-0.18.1] ************************************************************************
[jedi-0.18.1] Error installing package jedi-0.18.1
[jedi-0.18.1] ************************************************************************
[jedi-0.18.1] Please email sage-devel (http://groups.google.com/group/sage-devel)
[jedi-0.18.1] explaining the problem and including the log files
[jedi-0.18.1]   /Users/jianpingpan/sage/logs/pkgs/jedi-0.18.1.log
[jedi-0.18.1] and
[jedi-0.18.1]   /Users/jianpingpan/sage/config.log
[jedi-0.18.1] Describe your computer, operating system, etc.
[jedi-0.18.1] If you want to try to fix the problem yourself, *don't* just cd to
[jedi-0.18.1] /Users/jianpingpan/sage/local/var/tmp/sage/build/jedi-0.18.1 and type 'make' or whatever is appropriate.
[jedi-0.18.1] Instead, the following commands setup all environment variables
[jedi-0.18.1] correctly and load a subshell for you to debug the error:
[jedi-0.18.1]   (cd '/Users/jianpingpan/sage/local/var/tmp/sage/build/jedi-0.18.1' && '/Users/jianpingpan/sage/sage' --buildsh)
[jedi-0.18.1] When you are done debugging, you can type "exit" to leave the subshell.
[jedi-0.18.1] ************************************************************************
make[4]: *** [jedi-SAGE_VENV-no-deps] Error 1


Thanks,
Jianping
jedi-0.18.1.log
config.log

Matthias Koeppe

unread,
Jun 3, 2023, 2:11:38 PM6/3/23
to sage-devel
Try removing the directory /Users/jianpingpan/sage/local/var/tmp/sage/build/jedi-0.18.1 manually
using "rm -r /Users/jianpingpan/sage/local/var/tmp/sage/build/jedi-0.18.1".
If this fails, check if there are any files that have unusual ownership or permissions

Jianping Pan

unread,
Jun 3, 2023, 4:53:06 PM6/3/23
to sage-devel
Dear Matthias,

Thank you very much for your help and quick reply! I followed instruction, actually I had to use sudo to delete jedi-0.18.1. When I run "make build", I ran into another problem below. I attempted "brew install r" then "make build" again, still, the same error message occur. Thanks!

[r-none] Error: r is a dummy package and
[r-none] cannot be installed using the Sage distribution.
make[4]: *** [r-SAGE_LOCAL-no-deps] Error 1
make[3]: *** [/Users/jianpingpan/sage/local/var/lib/sage/installed/r-none] Error 2
make[2]: *** [all-build] Error 2

real    0m0.532s
user    0m0.344s
sys 0m0.161s
***************************************************************
Error building Sage.

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

* package:         r-none
  last build time: Jun 3 16:47
  log file:        /Users/jianpingpan/sage/logs/pkgs/r-none.log

Thanks,
Jianping

r-none.log

Dima Pasechnik

unread,
Jun 3, 2023, 5:48:49 PM6/3/23
to sage-...@googlegroups.com
after you have changed the build environment, you might need to re-run
./configure
and only then "make build" - the latter does not re-run ./configure in
such cases.

HTH
Dima
> --
> 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+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/cfbaf68f-15fe-4264-a564-1a089fce489dn%40googlegroups.com.

Jianping Pan

unread,
Jun 3, 2023, 6:14:47 PM6/3/23
to sage-devel
Dear Dima,

Thank you for your help! I tried to re-run 
./configure
source /Users/jianpingpan/sage/.homebrew-build-env
./config.status --recheck
./config.status
make build

And then I got the same error message about r-none being a dummy package. Thanks!

Thanks,
Jianping

Dima Pasechnik

unread,
Jun 3, 2023, 6:16:56 PM6/3/23
to sage-...@googlegroups.com
one thing is certain:

source /Users/jianpingpan/sage/.homebrew-build-env

should be invoked before ./configure, not after
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/f00f6a68-b84b-410f-a27f-20be37424bfen%40googlegroups.com.

Jianping Pan

unread,
Jun 3, 2023, 7:35:46 PM6/3/23
to sage-devel
Thank you Dima for pointing out the the right order to me. I tried that. Unfortunately the same error about dummy package r-none showed up again.

Thanks,
Jianping

Matthias Koeppe

unread,
Jun 3, 2023, 7:48:44 PM6/3/23
to sage-devel
Sage no longer ships a copy of R. To get rid of this build error, remove rpy2 and traces of an old R installation in your tree:
"make rpy2-uninstall r-uninstall"

Then run configure and make again

Jianping Pan

unread,
Jun 3, 2023, 10:39:41 PM6/3/23
to sage-...@googlegroups.com
Dear Matthias,

Thank you very much for the help, it worked!

Thanks,
Jianping

You received this message because you are subscribed to a topic in the Google Groups "sage-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-devel/N3w5EgNsd4s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/780f7be6-1302-4a43-834b-a38d4ebb1ee9n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages