Happy new year everyone!
Congratulations for passagemath, excellent project!
EDIT: Update because the original problem persists, but installing directly passagemath-standard and passagemath-modules, passagemath-combinat, passagemath-graphs, passagemath-groups, passagemath-polyhedra, passagemath-schemes, passagemath-symbolics works fine!
Unfortunately I have problems installing it and I am not sure where they come from.
I tried to follow the instructions from README:
python3 -m venv ~/passagemath-venv
source ~/passagemath-venv/bin/activate
export SAGE_CONF_TARGETS=build
(passagemath-venv) $ python3 -m pip install -v passagemath-conf
But it fails to build the wheel.
It looks like
Sage build/upgrade complete!
but later
Error building Sage.
Here is partial output:
Building wheels for collected packages: passagemath-conf
Running command Building wheel for passagemath-conf (pyproject.toml)
running bdist_wheel
running build
running build_py
Reusing configured SAGE_ROOT=/home/zaf/.sage/sage-10.5.20-Linux-x86_64
Running cd /home/zaf/.sage/sage-10.5.20-Linux-x86_64 && (. ./.homebrew-build-env 2> /dev/null; if [ -z "$MAKE" ]; then export MAKE="make -j$(PATH=build/bin:$PATH build/bin/sage-build-num-threads | cut -d" " -f 2)"; fi && $MAKE V=0 ${SAGE_CONF_TARGETS-base})
make -j8 build/make/Makefile --stop
make[1]: warning: -j8 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/home/zaf/.sage/sage-10.5.20-Linux-x86_64'
make[1]: 'build/make/Makefile' is up to date.
make[1]: Leaving directory '/home/zaf/.sage/sage-10.5.20-Linux-x86_64'
build/bin/sage-logger \
"cd build/make && ./install 'base-toolchain'" logs/install.log
make[1]: warning: -j8 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/home/zaf/.sage/sage-10.5.20-Linux-x86_64/build/make'
make[1]: Leaving directory '/home/zaf/.sage/sage-10.5.20-Linux-x86_64/build/make'
make[1]: warning: -j8 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/home/zaf/.sage/sage-10.5.20-Linux-x86_64/build/make'
make --no-print-directory toolchain
make[2]: Nothing to be done for 'toolchain'.
make[1]: Leaving directory '/home/zaf/.sage/sage-10.5.20-Linux-x86_64/build/make'
Sage build/upgrade complete!
make -j8 all-build
make[1]: warning: -j8 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/home/zaf/.sage/sage-10.5.20-Linux-x86_64'
make -j8 build/make/Makefile --stop
make[2]: Entering directory '/home/zaf/.sage/sage-10.5.20-Linux-x86_64'
make[2]: warning: -j8 forced in submake: resetting jobserver mode.
make[2]: 'build/make/Makefile' is up to date.
make[2]: Leaving directory '/home/zaf/.sage/sage-10.5.20-Linux-x86_64'
build/bin/sage-logger \
"cd build/make && ./install 'all-build'" logs/install.log
.....
[pip-24.2] installing. Log file: /home/zaf/.sage/sage-10.5.20-Linux-x86_64/logs/pkgs/pip-24.2.log
[elliptic_curves-0.8.1] successfully installed.
[pip-24.2] successfully installed.
[linbox-1.7.0+sage-2024-05-18] successfully installed (real 0m52.313s user 0m43.508s sys 0m4.664s).
[eclib-20231212] successfully installed (real 1m4.886s user 4m9.372s sys 0m17.193s).
[lcalc-2.0.5] successfully installed (real 1m47.631s user 2m13.149s sys 0m4.020s).
[giac-1.9.0.996+2024-12-06+passagemath] successfully installed (real 6m26.292s user 27m33.127s sys 0m44.989s).
make[2]: *** [Makefile:4279: all-build] Error 2
make[2]: Leaving directory '/home/zaf/.sage/sage-10.5.20-Linux-x86_64/build/make'
***************************************************************
Error building Sage.
The following package(s) may have failed to build (not necessarily
during this run of 'make all-build'):
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.
real 6m29.651s user 34m47.818s sys 1m12.081s
make[1]: *** [Makefile:40: all-build] Error 1
make[1]: Leaving directory '/home/zaf/.sage/sage-10.5.20-Linux-x86_64'
make: *** [Makefile:16: build] Error 2
error: make ${SAGE_CONF_TARGETS-base} failed
error: subprocess-exited-with-error
× Building wheel for passagemath-conf (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /home/zaf/passagemath-venv/bin/python3 /home/zaf/passagemath-venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpksuuk7qr
cwd: /tmp/pip-install-b7i2cob_/passagemath-conf_8ac023b2d3644a7d9a6eae61464777db
Building wheel for passagemath-conf (pyproject.toml) ... error
ERROR: Failed building wheel for passagemath-conf
Failed to build passagemath-conf
ERROR: Could not build wheels for passagemath-conf, which is required to install pyproject.toml-based projects
Any help would be greatly appreciated.
Edit: If this is not the right place for such questions, I apologize in advance.