Re: [sage-devel] sagemath 9.5rc0 still not compiling on opensuse tumbleweed

2022-01-12 Thread Matthias Koeppe
I have opened https://trac.sagemath.org/ticket/33153 for this. On Wednesday, January 12, 2022 at 9:20:55 AM UTC-8 bae...@gmail.com wrote: > Indeed, adding the flag > export CFLAGS="${CFLAGS} -Wno-error=return-type" > fixed the problem. Never had to do this in the past though. > > Thanks a lot fo

Re: [sage-devel] sagemath 9.5rc0 still not compiling on opensuse tumbleweed

2022-01-12 Thread Christian Bär
Indeed, adding the flag export CFLAGS="${CFLAGS} -Wno-error=return-type" fixed the problem. Never had to do this in the past though. Thanks a lot for the help! Michael Orlitzky schrieb am Mittwoch, 12. Januar 2022 um 14:18:20 UTC+1: > On Wed, 2022-01-12 at 10:19 +, Dima Pasechnik wrote: > >

Re: [sage-devel] sagemath 9.5rc0 still not compiling on opensuse tumbleweed

2022-01-12 Thread Matthias Koeppe
See https://groups.google.com/g/sage-devel/c/81unMG60MyU/m/iDXLIDc0EAAJ - this comes in through the sysconfig of opensuse's python3. This should be reported as a bug to opensuse. On Wednesday, January 12, 2022 at 5:48:04 AM UTC-8 Dima Pasechnik wrote: > On Wed, Jan 12, 2022 at 1:35 PM Michael

Re: [sage-devel] sagemath 9.5rc0 still not compiling on opensuse tumbleweed

2022-01-12 Thread Dima Pasechnik
On Wed, Jan 12, 2022 at 1:35 PM Michael Orlitzky wrote: > > On Wed, 2022-01-12 at 13:27 +, Dima Pasechnik wrote: > > > to see if it can be overridden. But it would be nice to track down the > > > source of the -Werror so that it can be fixed for others. > > > > I have found it - it's absense o

Re: [sage-devel] sagemath 9.5rc0 still not compiling on opensuse tumbleweed

2022-01-12 Thread Michael Orlitzky
On Wed, 2022-01-12 at 13:27 +, Dima Pasechnik wrote: > > to see if it can be overridden. But it would be nice to track down the > > source of the -Werror so that it can be fixed for others. > > I have found it - it's absense of return statement in an inline > function in an fflas-ffpack header

Re: [sage-devel] sagemath 9.5rc0 still not compiling on opensuse tumbleweed

2022-01-12 Thread Dima Pasechnik
On Wed, Jan 12, 2022 at 1:18 PM Michael Orlitzky wrote: > > On Wed, 2022-01-12 at 10:19 +, Dima Pasechnik wrote: > > > > Basically, your C++ compiler is too strict. > > I think it's just the CFLAGS that are too strict: > > error: Command "gcc-10 -Wno-unused-result -Wsign-compare -DNDEBUG >

Re: [sage-devel] sagemath 9.5rc0 still not compiling on opensuse tumbleweed

2022-01-12 Thread Michael Orlitzky
On Wed, 2022-01-12 at 10:19 +, Dima Pasechnik wrote: > > Basically, your C++ compiler is too strict. I think it's just the CFLAGS that are too strict: error: Command "gcc-10 -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-table

[sage-devel] cover relations of a poset

2022-01-12 Thread 'Martin R' via sage-devel
Currently, the cover relations of a poset are returned as lists: sage: P = Posets(4)[3] sage: P.cover_relations() [[0, 1], [0, 2], [0, 3]] This seems to be a bad choice, because lists are not hashable, and also somewhat inconsistent, because edges of graphs are returned as tuples. The same goes

Re: [sage-devel] sagemath 9.5rc0 still not compiling on opensuse tumbleweed

2022-01-12 Thread Dima Pasechnik
On Wed, Jan 12, 2022 at 9:18 AM Christian Bär wrote: > > On recent opensuse tumbleweed 20220109 sagemath 9.5rc0 still does not > compile. Tested on different hardware configurations. > > The install.log and all package log files which contain an error can be found > here: https://baernextcloud.m

[sage-devel] sagemath 9.5rc0 still not compiling on opensuse tumbleweed

2022-01-12 Thread Christian Bär
On recent opensuse tumbleweed 20220109 sagemath 9.5rc0 still does not compile. Tested on different hardware configurations. The install.log and all package log files which contain an error can be found here: https://baernextcloud.math.uni-potsdam.de/index.php/s/ofG2zfYXR3fkrLz It looks like a