Thanks a lot, this log file indeed ends on an error message (still have to figure out what exactly went wrong here):
error: Command "gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2
-Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables
-fasynchronous-unwind-tables -fstack-clash-protection
-Werror=return-type -g -DOPENSSL_LOAD_CONF -fwrapv
-fno-semantic-interposition -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -Werror=return-type -g -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables
-fasynchronous-unwind-tables -fstack-clash-protection
-Werror=return-type -g -g -O2 -fPIC -I./sage/ext -I./sage/cpython
-I./sage/rings/finite_rings
-I/home/fhanisch/programs/sage/sage-9.5.beta9/local/var/lib/sage/venv-python3.8/lib64/python3.8/site-packages/cysignals
-I./sage/libs/flint -Isage/cpython
-I/home/fhanisch/programs/sage/sage-9.5.beta9/pkgs/sagemath-standard
-I/usr/include/python3.8
-I/home/fhanisch/programs/sage/sage-9.5.beta9/local/var/lib/sage/venv-python3.8/lib64/python3.8/site-packages/numpy/core/include
-Ibuild/cythonized
-I/home/fhanisch/programs/sage/sage-9.5.beta9/local/var/lib/sage/venv-python3.8/include
-I/usr/include/python3.8 -c
build/cythonized/sage/matrix/matrix_modn_dense_float.cpp -o
build/temp.linux-x86_64-3.8/build/cythonized/sage/matrix/matrix_modn_dense_float.o
-fno-strict-aliasing -DCYTHON_CLINE_IN_TRACEBACK=1 -O2 -Wall -g
-DNDEBUG -U_LB_DEBUG -DDISABLE_COMMENTATOR -fopenmp -DFFLAS_COMPILED
-DFFPACK_COMPILED -fabi-version=6 -std=gnu++11" failed with exit status 1
The log file moreover contains the following (not critical ?) error message at several places:
/home/fhanisch/programs/sage/sage-9.5.beta9/local/include/fflas-ffpack/fflas/fflas_level3.inl:498:5:
error: no return statement in function returning non-void
[-Werror=return-type]
498 | }
| ^
On 27/12/2021 17:50, Matthias Koeppe wrote:
These flags likely come in through the sysconfig of the system python. Check "python3 -m sysconfig | grep CFLAGS"
On Monday, December 27, 2021 at 5:01:38 AM UTC-8 Dima Pasechnik wrote:
Your compiler settings are stricter that usual.
Try
CXXFLAGS="$CXXFLAGS -Wno-error=return-type" CFLAGS=$CFLAGS
-Wno-error=return-type" make build
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/dede98a5-1d3f-4ff1-95b1-4666a4767226n%40googlegroups.com.
There was one interruption (sage-maxima.lisp not found while building the docs). After adding the file to /sage-9.5.beta9/local/var/lib/sage/venv-python3.8/lib64/python3.8/site-packages/sage/interfaces and restarting the process, it seemed that compiling was successful. [...]
However, the process actually did not build working binaries, ./sage only yields an output of the form