I've cut out the interesting part of the log.
It's a linker error (IMHO the linking should be done with C++, not
with C compiler, but that's probably OK on macOS).
Related to GiNaC (not a surprise)

Anyway, I haven't seen this sort of errors before. Something for Apple fans...


On Wed, Mar 27, 2024 at 3:54 PM Jon Higa <jth...@alumni.princeton.edu> wrote:
>
> Switched to this, continuing in the same directory:
>
> git clean -xdf
> source .homebrew-build-env
> make configure
> ./configure --prefix=/usr/local/sage/10.3 --enable-database_odlyzko_zeta 
> --disable-editable --with-python=/opt/homebrew/opt/python@3.11/bin/python3.11
> make
>
> New logs attached.
>
> Thanks.
>
> On Wednesday, March 27, 2024 at 6:24:37 AM UTC-4 Dima Pasechnik wrote:
>
> sagemath doesn't officially support Python 3.12.
> Can you try with 3.11 instead?
>
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/9bfc9093-a640-4c75-9b62-0fd21ab3474en%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq31JQJgXwVB%2B4Ax5G4jeAGr%2BortREHDhRO4x1Fo2YEUhg%40mail.gmail.com.
sagelib-10.3
====================================================
Setting up build directory for sagelib-10.3
****************************************************
Host system:
Darwin bearakku.fios-router.home 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:59 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6030 arm64
****************************************************
C compiler: gcc
C compiler version:
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: arm64-apple-darwin23.3.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
****************************************************
[...]


gcc -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -g -O2 -I/usr/local/sage/10.3/include/singular -I/usr/local/sage/10.3/include/ -Isage/symbolic -Isage/cpython -I/opt/homebrew/Cellar/gsl/2.7.1/include -I/opt/homebrew/Cellar/openblas/0.3.26/include -I/usr/local/sage/10.3/lib/python3.11/site-packages/cysignals -Isage/ext -I/Users/jon/sage/pkgs/sagemath-standard -I/usr/local/sage/10.3/lib/python3.11/site-packages/numpy/core/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -Ibuild/cythonized -I/usr/local/sage/10.3/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c sage/symbolic/ginac/wildcard.cpp -o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/wildcard.o -fno-strict-aliasing -DCYTHON_CLINE_IN_TRACEBACK=1 -std=c++11 -DSING_NDEBUG -DOM_NDEBUG -I/usr/local/sage/10.3/include/singular -I/usr/local/sage/10.3/include/
g++ -std=gnu++11 -std=gnu++11 -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -L/usr/local/sage/10.3/lib -Wl,-ld_classic,-rpath,/usr/local/sage/10.3/lib -g -O2 build/temp.macosx-14.0-arm64-cpython-311/build/cythonized/sage/symbolic/expression.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/add.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/archive.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/assume.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/basic.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/cmatcher.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/constant.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/context.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/ex.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/expair.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/expairseq.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/exprseq.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/fderivative.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/function.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/function_info.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/infinity.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/infoflagbase.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/inifcns.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/inifcns_comb.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/inifcns_gamma.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/inifcns_hyperb.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/inifcns_hyperg.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/inifcns_nstdsums.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/inifcns_orthopoly.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/inifcns_trans.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/inifcns_trig.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/inifcns_zeta.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/lst.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/matrix.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/mpoly-giac.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/mpoly-ginac.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/mpoly-singular.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/mpoly.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/mul.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/normal.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/numeric.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/operators.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/order.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/power.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/print.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/pseries.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/py_funcs.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/registrar.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/relational.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/remember.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/sum.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/symbol.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/templates.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/upoly-ginac.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/useries.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/utils.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/wildcard.o -L/opt/homebrew/Cellar/gsl/2.7.1/lib -L/opt/homebrew/Cellar/openblas/0.3.26/lib -lSingular -lpolys -lfactory -lomalloc -lsingular_resources -lgsl -lflint -lmpfr -lntl -lgmp -lm -lopenblas -o build/lib.macosx-14.0-arm64-cpython-311/sage/symbolic/expression.cpython-311-darwin.so -lpari
ld: warning: direct access in function 'GiNaC::print_memfun_handler<GiNaC::container<std::__1::vector>, GiNaC::print_context>::operator()(GiNaC::basic const&, GiNaC::print_context const&, unsigned int) const' from file 'build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/exprseq.o' to global weak symbol 'typeinfo for GiNaC::container<std::__1::vector>' from file 'build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/templates.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'GiNaC::print_memfun_handler<GiNaC::container<std::__1::vector>, GiNaC::print_context>::operator()(GiNaC::basic const&, GiNaC::print_context const&, unsigned int) const' from file 'build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/exprseq.o' to global weak symbol 'typeinfo for GiNaC::container<std::__1::vector>' from file 'build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/templates.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'GiNaC::print_memfun_handler<GiNaC::container<std::__1::vector>, GiNaC::print_tree>::operator()(GiNaC::basic const&, GiNaC::print_context const&, unsigned int) const' from file 'build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/exprseq.o' to global weak symbol 'typeinfo for GiNaC::container<std::__1::vector>' from file 'build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/templates.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'GiNaC::print_memfun_handler<GiNaC::container<std::__1::vector>, GiNaC::print_tree>::operator()(GiNaC::basic const&, GiNaC::print_context const&, unsigned int) const' from file 'build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/exprseq.o' to global weak symbol 'typeinfo for GiNaC::container<std::__1::vector>' from file 'build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/templates.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'GiNaC::fderivative::accept(GiNaC::visitor&) const' from file 'build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/fderivative.o' to global weak symbol 'typeinfo for GiNaC::container<std::__1::vector>::visitor' from file 'build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/templates.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'GiNaC::fderivative::accept(GiNaC::visitor&) const' from file 'build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/fderivative.o' to global weak symbol 'typeinfo for GiNaC::container<std::__1::vector>::visitor' from file 'build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/templates.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'GiNaC::function::accept(GiNaC::visitor&) const' from file 'build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/function.o' to global weak symbol 'typeinfo for GiNaC::container<std::__1::vector>::visitor' from file 'build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/templates.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'GiNaC::function::accept(GiNaC::visitor&) const' from file 'build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/function.o' to global weak symbol 'typeinfo for GiNaC::container<std::__1::vector>::visitor' from file 'build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/templates.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
error: command '/usr/bin/gcc' failed with exit code 1

real	3m14.281s
user	20m13.078s
sys	0m57.825s

real	3m14.371s
user	20m13.094s
sys	0m57.836s
************************************************************************
Error installing package sagelib-10.3
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the log files
  /Users/jon/sage/logs/pkgs/sagelib-10.3.log
and
  /Users/jon/sage/config.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/usr/local/sage/10.3/var/tmp/sage/build/sagelib-10.3 and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd '/usr/local/sage/10.3/var/tmp/sage/build/sagelib-10.3' && '/Users/jon/sage/sage' --buildsh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************

Reply via email to