Thanks for the information. There is something that we need to fix in our configure script. I'll take care of that in https://github.com/sagemath/sage/pull/37319
On Tuesday, February 13, 2024 at 9:40:30 AM UTC-8 Janmenjaya Panda wrote: > I thank both of you for your reply and support. > > Yes, .local/bin was there in PATH. > > I uninstalled meson (1.3.1), which was by default installed by pip install > meson and installed an earlier version (0.63.3) and it worked. > > Thank you :-) > > On Tuesday 13 February 2024 at 22:46:13 UTC+5:30 Matthias Koeppe wrote: > >> Check if your .local/bin was in your PATH when you ran "make". >> (It is not enough for it to be in PATH when you run "configure".) >> This information is in install.log; we cannot see this in the files that >> you attached. >> >> On Tuesday, February 13, 2024 at 12:52:54 AM UTC-8 Janmenjaya Panda wrote: >> >>> Hello, >>> I got the following error while (running 'make') building sage from the >>> forked repo of the source code (This branch (develop) is up to date >>> with sagemath/sage:develop). >>> >>> [meson_python-0.15.0] Thread model: posix >>> [meson_python-0.15.0] gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2) >>> [meson_python-0.15.0] >>> **************************************************** >>> [meson_python-0.15.0] Package 'meson_python' is currently not installed >>> [meson_python-0.15.0] No legacy uninstaller found for 'meson_python'; >>> nothing to do >>> [meson_python-0.15.0] Installing meson_python-0.15.0 >>> [meson_python-0.15.0] Processing >>> /home/janmenjaya/open-source/sage/local/var/lib/sage/venv-python3.11.1/var/tmp/sage/build/meson_python-0.15.0/src >>> [meson_python-0.15.0] Preparing metadata (pyproject.toml): started >>> [meson_python-0.15.0] Running command Preparing metadata >>> (pyproject.toml) >>> [meson_python-0.15.0] >>> [meson_python-0.15.0] ('\x1b[31m',)meson-python: error: Could not find >>> meson version 0.63.3 or newer, found . >>> [meson_python-0.15.0] error: subprocess-exited-with-error >>> [meson_python-0.15.0] >>> [meson_python-0.15.0] × Preparing metadata (pyproject.toml) did not >>> run successfully. >>> [meson_python-0.15.0] │ exit code: 1 >>> [meson_python-0.15.0] ╰─> See above for output. >>> [meson_python-0.15.0] >>> [meson_python-0.15.0] note: This error originates from a subprocess, >>> and is likely not a problem with pip. >>> [meson_python-0.15.0] full command: >>> /home/janmenjaya/open-source/sage/local/var/lib/sage/venv-python3.11.1/bin/python3 >>> >>> /home/janmenjaya/open-source/sage/local/var/lib/sage/venv-python3.11.1/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py >>> >>> prepare_metadata_for_build_wheel /tmp/tmp4u8eg6fa >>> [meson_python-0.15.0] cwd: >>> /home/janmenjaya/open-source/sage/local/var/lib/sage/venv-python3.11.1/var/tmp/sage/build/meson_python-0.15.0/src >>> [meson_python-0.15.0] Preparing metadata (pyproject.toml): finished >>> with status 'error' >>> [meson_python-0.15.0] error: metadata-generation-failed >>> [meson_python-0.15.0] >>> [meson_python-0.15.0] × Encountered error while generating package >>> metadata. >>> [meson_python-0.15.0] ╰─> See above for output. >>> [meson_python-0.15.0] >>> [meson_python-0.15.0] note: This is an issue with the package mentioned >>> above, not pip. >>> [meson_python-0.15.0] hint: See above for details. >>> [meson_python-0.15.0] >>> ******************************************************************************************************************************************** >>> [meson_python-0.15.0] Error building a wheel for meson_python-0.15.0 >>> [meson_python-0.15.0] >>> ******************************************************************************************************************************************** >>> [meson_python-0.15.0] >>> [meson_python-0.15.0] real 0m0.707s >>> [meson_python-0.15.0] user 0m0.643s >>> [meson_python-0.15.0] sys 0m0.067s >>> [meson_python-0.15.0] >>> ************************************************************************ >>> [meson_python-0.15.0] Error installing package meson_python-0.15.0 >>> [meson_python-0.15.0] >>> ************************************************************************ >>> [meson_python-0.15.0] Please email sage-devel ( >>> http://groups.google.com/group/sage-devel) >>> [meson_python-0.15.0] explaining the problem and including the log files >>> [meson_python-0.15.0] >>> /home/janmenjaya/open-source/sage/logs/pkgs/meson_python-0.15.0.log >>> [meson_python-0.15.0] and >>> [meson_python-0.15.0] /home/janmenjaya/open-source/sage/config.log >>> [meson_python-0.15.0] Describe your computer, operating system, etc. >>> [meson_python-0.15.0] If you want to try to fix the problem yourself, >>> *don't* just cd to >>> [meson_python-0.15.0] >>> /home/janmenjaya/open-source/sage/local/var/lib/sage/venv-python3.11.1/var/tmp/sage/build/meson_python-0.15.0 >>> >>> and type 'make' or whatever is appropriate. >>> [meson_python-0.15.0] Instead, the following commands setup all >>> environment variables >>> [meson_python-0.15.0] correctly and load a subshell for you to debug the >>> error: >>> [meson_python-0.15.0] (cd >>> '/home/janmenjaya/open-source/sage/local/var/lib/sage/venv-python3.11.1/var/tmp/sage/build/meson_python-0.15.0' >>> >>> && '/home/janmenjaya/open-source/sage/sage' --buildsh) >>> [meson_python-0.15.0] When you are done debugging, you can type "exit" >>> to leave the subshell. >>> [meson_python-0.15.0] >>> ************************************************************************ >>> make[4]: *** [Makefile:3387: meson_python-SAGE_VENV-no-deps] Error 1 >>> make[3]: *** [Makefile:3387: >>> /home/janmenjaya/open-source/sage/local/var/lib/sage/venv-python3.11.1/var/lib/sage/installed/meson_python-0.15.0] >>> >>> Error 2 >>> make[2]: *** [Makefile:3017: all-start] Error 2 >>> make[2]: Leaving directory '/home/janmenjaya/open-source/sage/build/make' >>> >>> real 0m1.277s >>> user 0m1.154s >>> sys 0m0.138s >>> *************************************************************** >>> Error building Sage. >>> >>> The following package(s) may have failed to build (not necessarily >>> during this run of 'make all-start'): >>> >>> * package: meson_python-0.15.0 >>> last build time: Feb 13 13:08 >>> log file: >>> /home/janmenjaya/open-source/sage/logs/pkgs/meson_python-0.15.0.log >>> >>> It is safe to delete any log files and build directories, but they >>> contain information that is helpful for debugging build problems. >>> WARNING: If you now run 'make' again, the build directory of the >>> same version of the package will, by default, be deleted. Set the >>> environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this. >>> >>> make[1]: *** [Makefile:40: all-start] Error 1 >>> make[1]: Leaving directory '/home/janmenjaya/open-source/sage' >>> make: *** [Makefile:13: all] Error 2 >>> >>> >>> >>> >>> I already have meson_python-0.15.0 installed in my system via pip >>> install meson_python. Still, the above error is showing up. I have attached >>> the log files. In the log file meson_python-0.15.0.log it says: >>> >>> [Errno socket error] [Errno 404] Not Found: '// >>> github.com/sagemath/sage/releases/download/10.3/meson_python-0.15.0.tar.gz >>> ' >>> >>> I also checked with the previous conversation regarding the build >>> failure due to meson_python; the reason there seemed different. >>> >>> Thank you. >>> >>> -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/e06b9010-3fc6-4193-8783-8f4e6388004fn%40googlegroups.com.