[sage-devel] Re: failing to build scipy

2023-10-27 Thread Matthias Koeppe
https://github.com/sagemath/sage/wiki/Sage-10.2-Release-Tour#known-problems-and-workarounds

On Friday, October 27, 2023 at 10:59:47 AM UTC-7 Amara Katabarwa wrote:

> I just need to install sage in order to use a python package that uses 
> sage. I can't make heads and tails of logs I am getting but attached are 
> the log file produced from the failed build

-- 
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/0c79489c-d674-4be4-a2de-42d45bea022cn%40googlegroups.com.


Re: [sage-devel] Error installing scipy when building Sage 10.1 from source under WSL2:

2023-10-27 Thread Jeremy Martin
Thanks, Dima!  Increasing WSL's memory allocation to 6GB from 4GB fixed 
the problem and the rest of the compilation went off without a hitch.


-Jeremy

On 10/20/23 2:36 PM, Dima Pasechnik wrote:

On Thu, Oct 19, 2023 at 9:40 PM Jeremy Martin  wrote:

I am trying to build Sage 10.1 from source under WSL2 running Ubuntu 22.04.3 (jammy).  I 
have followed the directions at 
https://doc.sagemath.org/html/en/installation/source.html# and 
https://github.com/sagemath/sage/#instructions-to-build-from-source.  The make fails with 
"Error installing package scipy-1.10.1".  I am attaching the logfiles as 
requested.

I see

   g++: fatal error: Killed signal terminated program cc1plus
   compilation terminated.

in your scipy log.

This most probably means that you ran out of RAM. You'll need to
allocate more RAM to your WSL2.


Disclaimer: I am far from an expert with package managers and the like, so I am 
hoping for a simple fix!  By the way, I tried
$ sudo apt install scipy

If you are in

and
$ sudo apt install scipy-1.10.1
but neither of these things succeed ("Unable to locate package").

typically Python package names on Ubuntu/Debian are prefixed with
python-, or python3-.

Anyway, while 10.1 is not able to use system-wide scipy, our recent
10.2.betas can do it.
(you'll need to run ./configure --enable-system-site-packages)

HTH
Dima




Thanks for your help,
Jeremy

--
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/f4709a50-9075-47b7-bb9b-107e0c37d693n%40googlegroups.com.


--
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/e080c0b4-72ee-46c3-adf7-dfcf1ee243c2%40gmail.com.


Re: [sage-devel] trying to build sage10.1

2023-10-27 Thread Dima Pasechnik
On Fri, Oct 27, 2023 at 11:15 AM François Bissey  wrote:
>
>  From the log sent to me in a private email:
> [sagelib-10.1] gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1
> -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall
> -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
> -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic
> -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
> -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall
> -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
> -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic
> -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
> -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall
> -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
> -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic
> -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g
> -O2 -fPIC -Isage/cpython
> -I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/lib64/python3.11/site-packages/cysignals
> -I/home/ayan/programs/sage-10.1/src
> -I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/lib64/python3.11/site-packages/numpy/core/include
> -I/usr/include/python3.11
> -I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/include
> -I/usr/include/python3.11 -c sage/stats/time_series.c -o
> build/temp.linux-x86_64-cpython-311/sage/stats/time_series.o
> [sagelib-10.1] /usr/bin/ld: ///usr/local/lib/libntl.a(ZZ.o):
> relocation R_X86_64_32S against `.rodata' can not be used when making a
> shared object; recompile with -fPIC
> [sagelib-10.1] /usr/bin/ld: failed to set dynamic section sizes: bad
> value
> [sagelib-10.1] collect2: error: ld returned 1 exit status
>
> We are looking at a "local" installation of NTL [not sage provided]
> which does not have the right properties.
> I would recommend uninstalling it and build the version shipped with sage.

It would be good to understand whether it's correctly configured, but
NTL is leaking into the build,
or that NTL was actually accepted by ./configure

Do you have top-level configure.log ?

>
> François
>
>
> On 27/10/23 20:15, Ayan Mahalanobis wrote:
> > Hi All,
> >
> > I am trying to build sage 10.1 from source with no luck. I am using
> > fedora 38. It uses gcc 13. The error occurs when it tries to build
> > sagelib is below.
> >
> > This is the command it ran just before exit code 1 from g++. It is nasty
> > looking and I am sorry for that. Any help much appreciated.
> > ==
> > gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2
> > -fexceptions -g -grecord-gcc-switches -pipe -Wall
> > -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
> > -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic
> > -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
> > -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall
> > -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
> > -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic
> > -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
> > -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall
> > -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
> > -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic
> > -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g
> > -O2 -fPIC -I/usr/include/singular -Isage/symbolic -Isage/cpython
> > -I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/lib64/python3.11/site-packages/cypari2
> >  
> > -I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/lib64/python3.11/site-packages/cysignals
> >  -I/home/ayan/programs/sage-10.1/src 
> > -I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/lib64/python3.11/site-packages/numpy/core/include
> >  -I/usr/include/python3.11 
> > -I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/include 
> > -I/usr/include/python3.11 -c sage/symbolic/ginac/wildcard.cpp -o 
> > build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/wildcard.o 
> > -std=c++11 -I/usr/include/singular -DSING_NDEBUG -DOM_NDEBUG
> > [sagelib-10.1] g++ -std=gnu++11 -shared -Wl,-z,relro -Wl,--as-needed
> > -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now
> > -Wl,--build-id=sha1
> > -Wl,-rpath-link,/home/ayan/programs/sage-10.1/local/lib
> > -L/home/ayan/programs/sage-10.1/local/lib
> > -Wl,-rpath,/home/ayan/programs/sage-10.1/local/lib
> > -Wl,-rpath-link,/home/ayan/programs/sage-10.1/local/lib
> > -L/home/ayan/programs/sage-10.1/local/lib
> > -Wl,-rpath,/home/ayan/programs/sage-10.1/local/lib -g -O2
> > build/temp.linux-x86_64-cpython-311/sage/symbolic/expression.o
> > build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/add.o
> > build/tem

Re: [sage-devel] trying to build sage10.1

2023-10-27 Thread François Bissey

From the log sent to me in a private email:
[sagelib-10.1] gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 
-DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall 
-Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 
-Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection 
-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall 
-Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 
-Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection 
-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall 
-Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 
-Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g 
-O2 -fPIC -Isage/cpython 
-I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/lib64/python3.11/site-packages/cysignals 
-I/home/ayan/programs/sage-10.1/src 
-I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/lib64/python3.11/site-packages/numpy/core/include 
-I/usr/include/python3.11 
-I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/include 
-I/usr/include/python3.11 -c sage/stats/time_series.c -o 
build/temp.linux-x86_64-cpython-311/sage/stats/time_series.o
[sagelib-10.1] /usr/bin/ld: ///usr/local/lib/libntl.a(ZZ.o): 
relocation R_X86_64_32S against `.rodata' can not be used when making a 
shared object; recompile with -fPIC
[sagelib-10.1] /usr/bin/ld: failed to set dynamic section sizes: bad 
value

[sagelib-10.1] collect2: error: ld returned 1 exit status

We are looking at a "local" installation of NTL [not sage provided] 
which does not have the right properties.

I would recommend uninstalling it and build the version shipped with sage.

François


On 27/10/23 20:15, Ayan Mahalanobis wrote:

Hi All,

I am trying to build sage 10.1 from source with no luck. I am using 
fedora 38. It uses gcc 13. The error occurs when it tries to build 
sagelib is below.


This is the command it ran just before exit code 1 from g++. It is nasty 
looking and I am sorry for that. Any help much appreciated.

==
gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 
-fexceptions -g -grecord-gcc-switches -pipe -Wall 
-Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 
-Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection 
-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall 
-Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 
-Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection 
-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall 
-Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 
-Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g 
-O2 -fPIC -I/usr/include/singular -Isage/symbolic -Isage/cpython 
-I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/lib64/python3.11/site-packages/cypari2 -I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/lib64/python3.11/site-packages/cysignals -I/home/ayan/programs/sage-10.1/src -I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/lib64/python3.11/site-packages/numpy/core/include -I/usr/include/python3.11 -I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/include -I/usr/include/python3.11 -c sage/symbolic/ginac/wildcard.cpp -o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/wildcard.o -std=c++11 -I/usr/include/singular -DSING_NDEBUG -DOM_NDEBUG
[sagelib-10.1]     g++ -std=gnu++11 -shared -Wl,-z,relro -Wl,--as-needed 
-Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now 
-Wl,--build-id=sha1 
-Wl,-rpath-link,/home/ayan/programs/sage-10.1/local/lib 
-L/home/ayan/programs/sage-10.1/local/lib 
-Wl,-rpath,/home/ayan/programs/sage-10.1/local/lib 
-Wl,-rpath-link,/home/ayan/programs/sage-10.1/local/lib 
-L/home/ayan/programs/sage-10.1/local/lib 
-Wl,-rpath,/home/ayan/programs/sage-10.1/local/lib -g -O2 
build/temp.linux-x86_64-cpython-311/sage/symbolic/expression.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/add.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/archive.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/assume.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/basic.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/cmatcher.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/constant.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/context.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/ex

Re: [sage-devel] trying to build sage10.1

2023-10-27 Thread François Bissey

Hi,

We need the build log. The last output is not always where the error 
occurred. On most modern system there are several compilations done at 
the same time. The last one printed is just the last one to finish.


François

On 27/10/23 20:15, Ayan Mahalanobis wrote:

Hi All,

I am trying to build sage 10.1 from source with no luck. I am using 
fedora 38. It uses gcc 13. The error occurs when it tries to build 
sagelib is below.


This is the command it ran just before exit code 1 from g++. It is nasty 
looking and I am sorry for that. Any help much appreciated.

==
gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 
-fexceptions -g -grecord-gcc-switches -pipe -Wall 
-Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 
-Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection 
-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall 
-Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 
-Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection 
-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall 
-Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 
-Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g 
-O2 -fPIC -I/usr/include/singular -Isage/symbolic -Isage/cpython 
-I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/lib64/python3.11/site-packages/cypari2 -I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/lib64/python3.11/site-packages/cysignals -I/home/ayan/programs/sage-10.1/src -I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/lib64/python3.11/site-packages/numpy/core/include -I/usr/include/python3.11 -I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/include -I/usr/include/python3.11 -c sage/symbolic/ginac/wildcard.cpp -o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/wildcard.o -std=c++11 -I/usr/include/singular -DSING_NDEBUG -DOM_NDEBUG
[sagelib-10.1]     g++ -std=gnu++11 -shared -Wl,-z,relro -Wl,--as-needed 
-Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now 
-Wl,--build-id=sha1 
-Wl,-rpath-link,/home/ayan/programs/sage-10.1/local/lib 
-L/home/ayan/programs/sage-10.1/local/lib 
-Wl,-rpath,/home/ayan/programs/sage-10.1/local/lib 
-Wl,-rpath-link,/home/ayan/programs/sage-10.1/local/lib 
-L/home/ayan/programs/sage-10.1/local/lib 
-Wl,-rpath,/home/ayan/programs/sage-10.1/local/lib -g -O2 
build/temp.linux-x86_64-cpython-311/sage/symbolic/expression.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/add.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/archive.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/assume.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/basic.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/cmatcher.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/constant.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/context.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/ex.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/expair.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/expairseq.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/exprseq.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/fderivative.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/function.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/function_info.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/infinity.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/infoflagbase.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_comb.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_gamma.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_hyperb.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_hyperg.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_nstdsums.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_orthopoly.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_trans.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_trig.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_zeta.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/lst.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/matrix.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/mpoly-giac.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/mpoly-ginac.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/mpoly-singular.o build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/mpoly.o build/temp.linux-x86_64-cpython-311/sag

[sage-devel] trying to build sage10.1

2023-10-27 Thread Ayan Mahalanobis
Hi All,

I am trying to build sage 10.1 from source with no luck. I am using fedora 
38. It uses gcc 13. The error occurs when it tries to build sagelib is 
below.

This is the command it ran just before exit code 1 from g++. It is nasty 
looking and I am sorry for that. Any help much appreciated.
==
gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 
-fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security 
-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS 
-fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables 
-fstack-clash-protection -fcf-protection -O2 -fexceptions -g 
-grecord-gcc-switches -pipe -Wall -Werror=format-security 
-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS 
-fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables 
-fstack-clash-protection -fcf-protection -O2 -fexceptions -g 
-grecord-gcc-switches -pipe -Wall -Werror=format-security 
-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS 
-fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables 
-fstack-clash-protection -fcf-protection -g -O2 -fPIC 
-I/usr/include/singular -Isage/symbolic -Isage/cpython 
-I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/lib64/python3.11/site-packages/cypari2
 
-I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/lib64/python3.11/site-packages/cysignals
 
-I/home/ayan/programs/sage-10.1/src 
-I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/lib64/python3.11/site-packages/numpy/core/include
 
-I/usr/include/python3.11 
-I/home/ayan/programs/sage-10.1/local/var/lib/sage/venv-python3.11/include 
-I/usr/include/python3.11 -c sage/symbolic/ginac/wildcard.cpp -o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/wildcard.o 
-std=c++11 -I/usr/include/singular -DSING_NDEBUG -DOM_NDEBUG
[sagelib-10.1] g++ -std=gnu++11 -shared -Wl,-z,relro -Wl,--as-needed 
-Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now 
-Wl,--build-id=sha1 -Wl,-rpath-link,/home/ayan/programs/sage-10.1/local/lib 
-L/home/ayan/programs/sage-10.1/local/lib 
-Wl,-rpath,/home/ayan/programs/sage-10.1/local/lib 
-Wl,-rpath-link,/home/ayan/programs/sage-10.1/local/lib 
-L/home/ayan/programs/sage-10.1/local/lib 
-Wl,-rpath,/home/ayan/programs/sage-10.1/local/lib -g -O2 
build/temp.linux-x86_64-cpython-311/sage/symbolic/expression.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/add.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/archive.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/assume.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/basic.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/cmatcher.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/constant.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/context.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/ex.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/expair.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/expairseq.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/exprseq.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/fderivative.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/function.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/function_info.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/infinity.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/infoflagbase.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_comb.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_gamma.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_hyperb.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_hyperg.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_nstdsums.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_orthopoly.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_trans.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_trig.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/inifcns_zeta.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/lst.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/matrix.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/mpoly-giac.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/mpoly-ginac.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/mpoly-singular.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/mpoly.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/mul.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/normal.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/numeric.o 
build/temp.linux-x86_64-cpython-311/sage/symbolic/ginac/operators.o 
build/temp.linux-x86_64-cpy