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 On Saturday, June 3, 2023 at 4:35:46 PM UTC-7 Jianping Pan wrote: > 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 > > On Saturday, June 3, 2023 at 6:16:56 PM UTC-4 Dima Pasechnik wrote: > >> one thing is certain: >> >> source /Users/jianpingpan/sage/.homebrew-build-env >> >> should be invoked before ./configure, not after >> >> >> On Sat, Jun 3, 2023 at 11:14 PM Jianping Pan <[email protected]> >> wrote: >> > >> > 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 >> > >> > On Saturday, June 3, 2023 at 5:48:49 PM UTC-4 Dima Pasechnik wrote: >> >> >> >> 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 >> >> >> >> On Sat, Jun 3, 2023 at 9:53 PM Jianping Pan <[email protected]> >> wrote: >> >> > >> >> > 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 >> >> > >> >> > On Saturday, June 3, 2023 at 2:11:38 PM UTC-4 Matthias Koeppe wrote: >> >> >> >> >> >> 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 >> >> >> >> >> >> >> >> >> On Saturday, June 3, 2023 at 10:20:11 AM UTC-7 Jianping Pan wrote: >> >> >>> >> >> >>> 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 >> >> > >> >> > -- >> >> > 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 view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-devel/cfbaf68f-15fe-4264-a564-1a089fce489dn%40googlegroups.com. >> >> >> > >> > -- >> > 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 view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-devel/f00f6a68-b84b-410f-a27f-20be37424bfen%40googlegroups.com. >> >> >> > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/780f7be6-1302-4a43-834b-a38d4ebb1ee9n%40googlegroups.com.
