Thanks a lot, solved my problem! Sage compiled without any further error. Best wishes
Andreas On Thursday, January 1, 2026 at 10:19:17 PM UTC+1 [email protected] wrote: > You need the update > from <https://github.com/sagemath/sage/pull/41341> > > either do a git clone of the repo, and then, > once on the 10.8 branch, do > > git pull origin pull/41341/head > > or manually copy changed files from the PR into the build/ subdirectory. > > (primecount 8.0 is already in Homebrew, so it should not even be necessary > to build it) > > After that, run > ./bootstrap > ./configure > make > > > > On January 1, 2026 3:58:41 AM CST, "'Andreas Könen' via sage-devel" < > [email protected]> wrote: > >> Hello, good morning and a Happy New Year 2026! >> >> Yesterday a got the following error during make for sage 10.8 based on >> the standard tar: >> >> ... >> >> [primecountpy-0.1.1] [spkg-install] g++ -std=gnu++11 -g -O2 >> -I/private/var/folders/g8/42n7xvhd1kl7zkmr3l7_8b_w0000gn/T/build-env-h9xdfx5q/lib/python3.14/site-packages/cysignals >> >> -I/private/var/folders/g8/42n7xvhd1kl7zkmr3l7_8b_w0000gn/T/build-env-h9xdfx5q/include >> >> -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.14/include/python3.14 >> >> -c primecountpy/primecount.cpp -o >> build/temp.macosx-26.0-arm64-cpython-314/primecountpy/primecount.o >> >> [primecountpy-0.1.1] [spkg-install] primecountpy/primecount.cpp:3265:81: >> error: no matching function for call to 'pi' >> >> [primecountpy-0.1.1] [spkg-install] 3265 | __pyx_t_2 = >> __pyx_convert_PyBytes_string_to_py_6libcpp_6string_std__in_string(primecount::pi(__pyx_v_s)); >> >> if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 68, __pyx_L1_error) >> >> [primecountpy-0.1.1] [spkg-install] | >> ^~~~~~~~~~~~~~ >> >> [primecountpy-0.1.1] [spkg-install] >> /opt/homebrew/include/primecount.hpp:57:9: note: candidate function not >> viable: no known conversion from 'std::string' (aka 'basic_string<char>') >> to 'int64_t' (aka 'long long') for 1st argument >> >> [primecountpy-0.1.1] [spkg-install] 57 | int64_t pi(int64_t x); >> >> [primecountpy-0.1.1] [spkg-install] | ^ ~~~~~~~~~ >> >> [primecountpy-0.1.1] [spkg-install] >> /opt/homebrew/include/primecount.hpp:74:13: note: candidate function not >> viable: no known conversion from 'std::string' (aka 'basic_string<char>') >> to 'pc_int128_t' for 1st argument >> >> [primecountpy-0.1.1] [spkg-install] 74 | pc_int128_t pi(pc_int128_t x); >> >> [primecountpy-0.1.1] [spkg-install] | ^ ~~~~~~~~~~~~~ >> >> [primecountpy-0.1.1] [spkg-install] 1 error generated. >> >> [primecountpy-0.1.1] [spkg-install] error: command '/usr/bin/g++' failed >> with exit code 1 >> ... >> >> Attached you find the corresponding log files. >> >> Any help is appreciated. >> >> Best wishes >> >> Andreas >> >> >> -- 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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/sage-devel/fef6db89-9e42-4ccc-b8e2-b6190dcb7d32n%40googlegroups.com.
