Re: [sage-devel] sagemath 9.5beta9 fails to compile on opensuse tumbleweed

2021-12-28 Thread Matthias Koeppe
On Tuesday, December 28, 2021 at 5:32:51 AM UTC-8 Florian Hanisch wrote: > 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 rest

Re: [sage-devel] sagemath 9.5beta9 fails to compile on opensuse tumbleweed

2021-12-27 Thread Matthias Koeppe
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" CFLAG

Re: [sage-devel] sagemath 9.5beta9 fails to compile on opensuse tumbleweed

2021-12-27 Thread Dima Pasechnik
Your compiler settings are stricter that usual. Try CXXFLAGS="$CXXFLAGS -Wno-error=return-type" CFLAGS=$CFLAGS -Wno-error=return-type" make build On Mon, Dec 27, 2021 at 12:41 PM 'Florian Hanisch' via sage-devel wrote: > > > probably the error is in building sagelib. > > Look in logs/pkgs/sagel

Re: [sage-devel] sagemath 9.5beta9 fails to compile on opensuse tumbleweed

2021-12-27 Thread 'Florian Hanisch' via sage-devel
> probably the error is in building sagelib. > Look in logs/pkgs/sagelib-9.5.beta9.log 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_SOURC

Re: [sage-devel] sagemath 9.5beta9 fails to compile on opensuse tumbleweed

2021-12-27 Thread Dima Pasechnik
On Mon, Dec 27, 2021 at 10:41 AM 'Florian Hanisch' via sage-devel wrote: > > Hi, > > I have tried to compile sagemath 9.5beta9 on opensuse tumbleweed (running on > a DELL XPS 15, core i7, 16G RAM) but failed. I have been running > > ./configure --without-system-givaro > MAKE='make -j6' make > > W