--
You received this message because you are subscribed to the Google Groups "sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-release...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-release/1bc6d562-b9a3-47ca-ba0a-be1c3549c1fan%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "sage-release" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-release/6hW5ZBQj_Uc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-release...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-release/925E8923-34E5-433F-8376-5AC61AE1296D%40gmail.com.
Moving it [boost] to external dependencies, which would allow a great
flexibility as far as versions go,
seems to be the only feasible way out.
Do you have an OpenMP library installed ?
> [spkg-install] Run-time dependency mtx found: NO (tried pkgconfig, framework and cmake)
since https://github.com/sagemath/sage/pull/40673 mtx should be
discoverable via pkg-config.
(But in the end mtx is found, without any manual interventions to
PKG_CONFIG_PATH.)
You don't need to ship boost's libraries in the app.
And if you don't allow running cython in it, you don't need any boost shipped.
On Sun, Sep 28, 2025 at 11:30 PM Dima Pasechnik <dim...@gmail.com> wrote:You don't need to ship boost's libraries in the app.Why not? That would imply that sage does not use any boost libraries. Is that really the case? Sage only uses the headers?
The meson error message complained about missing boost graphs. There is a shared library libboost_graph.dylib as well as a large directory include/boost/graph. Are you sure that only the headers are needed? I would be surprised to learn that sagelib is statically linked against libboost_graph.a.
And if you don't allow running cython in it, you don't need any boost shipped.Currently the app supports %cython. But I don't understand how boost is related to cython. Can you explain?
--- Marc
You received this message because you are subscribed to the Google Groups "sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-release...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-release/CALcZXRHyB%2BKPuQcdMj%3D7-QEdxsBOUp%3DCB3XmGMa8bJLhKsJGiQ%40mail.gmail.com.
the boost_cropped is a header-only thing.
For the record, its called boost_cropped because its only a relatively small part of boost that is needed by Sage.
The upstream boost tarball is ~200MB and a full install can be over 10 GB if all libraries are built. Its quite a big project by itself.On Tuesday, September 30, 2025 at 9:58:30 PM UTC+2 marc....@gmail.com wrote:On Tuesday, September 30, 2025 at 11:20:03 AM UTC-5 Dima Pasechnik wrote:the boost_cropped is a header-only thing.What this means, as I learned by inspecting the spkg closely, is that the spkg tarball simply contains the include/boost directory which is created when you install boost. Why that package is named boost_cropped instead of boost_headers is beyond me.But the main point here is that the current boost spkg contains a version of boost which appears not to be compatible with clang 17.0.0. So building sagelib with Sage's boost package fails if you are using clang 17.0.0. It is pretty trivial to upgrade the boost_cropped package to the current version of boost. So that would be the obvious solution to this problem.- Marc
--
You received this message because you are subscribed to a topic in the Google Groups "sage-release" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-release/6hW5ZBQj_Uc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-release...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-release/0684585b-d978-4635-9098-801728573094n%40googlegroups.com.
On Wed, Oct 1, 2025 at 1:57 PM Volker Braun <vbrau...@gmail.com> wrote:For the record, its called boost_cropped because its only a relatively small part of boost that is needed by Sage.OK. But it contains exactly the headers. If you were to install boost in its own special prefix you would see subdirectories lib, include, and share. The spkg contains exactly the contents of include, which consists of a single subdirectory boost containing all of the headers.Given that the spkg contains exactly the headers, it would be much more informative to name it boost_headers instead of boost_cropped, which suggests that someone has carefully curated a subset of boost which is designed specifically to meet Sage's needs. In fact, I think sage only needs include/boost/graph and include/boost/tuple, but all of the headers are included.
--When I installed boost in a prefix named boost on macOS 26 the sizes I got were:179M boost/include
25M boost/lib
652K boost/share- MarcThe upstream boost tarball is ~200MB and a full install can be over 10 GB if all libraries are built. Its quite a big project by itself.--On Tuesday, September 30, 2025 at 9:58:30 PM UTC+2 marc....@gmail.com wrote:On Tuesday, September 30, 2025 at 11:20:03 AM UTC-5 Dima Pasechnik wrote:the boost_cropped is a header-only thing.What this means, as I learned by inspecting the spkg closely, is that the spkg tarball simply contains the include/boost directory which is created when you install boost. Why that package is named boost_cropped instead of boost_headers is beyond me.But the main point here is that the current boost spkg contains a version of boost which appears not to be compatible with clang 17.0.0. So building sagelib with Sage's boost package fails if you are using clang 17.0.0. It is pretty trivial to upgrade the boost_cropped package to the current version of boost. So that would be the obvious solution to this problem.- Marc
You received this message because you are subscribed to a topic in the Google Groups "sage-release" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-release/6hW5ZBQj_Uc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-release...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-release/0684585b-d978-4635-9098-801728573094n%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-release...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-release/CALcZXRG_siMp4nnJ7VykiVT%2BYxcVJODno8MmJ9BwHtb0MscjYQ%40mail.gmail.com.
I was able to build sagelib by replacing sage/local/include/boost (as installed by the boost spkg) with a copy of that same directory from boost-1.89.0.So, moving on to the next build failure, I was unable to download sage_numerical_backends_coin. It is no surprise that the file is not on any Sage mirror. But it seems that the upstream url is also incorrect:raise FileNotMirroredError('tarball does not exist on mirror network and neither at the upstream URL')
sage_bootstrap.tarball.FileNotMirroredError: tarball does not exist on mirror network and neither at the upstream URL
Exception ignored in: <http.client.HTTPResponse object at 0x1092bdff0>
Traceback (most recent call last):
File "/private/var/tmp/sage-10.8-current/local/lib/python3.13/http/client.py", line 432, in close
super().close() # set "closed" flag
File "/private/var/tmp/sage-10.8-current/local/lib/python3.13/http/client.py", line 445, in flush
self.fp.flush()
ValueError: I/O operation on closed file.
************************************************************************
Error downloading tarball of sage_numerical_backends_coin
sage_numerical_backends_* have been broken for more than a year.Help needed.
MAC-XXXXXXXXX:sage dcoudert$ make sagemath_bliss
/Applications/Xcode.app/Contents/Developer/usr/bin/make build/make/Makefile --stop
make[1]: `build/make/Makefile' is up to date.
build/bin/sage-logger \
"cd build/make && ./install 'sagemath_bliss'" logs/install.log
*** ALL ENVIRONMENT VARIABLES BEFORE BUILD: ***
__CF_USER_TEXT_ENCODING=0x73869B6:0x0:0x1
__CFBundleIdentifier=com.apple.Terminal
_=/usr/bin/env
CPATH=/opt/homebrew/opt/primesieve/include:/opt/homebrew/opt/bdw-gc/include:/opt/homebrew/opt/libpng/include:/opt/homebrew/opt/polymake/include:/opt/homebrew/opt/ntl/include:/opt/homebrew/opt/bzip2/include:/opt/homebrew/opt/readline/include:/opt/homebrew/include
CPLEX_HOME=/Users/dcoudert/Applications/CPLEX_Studio2211
CVXOPT_SUITESPARSE_INC_DIR=/opt/homebrew/include/suitesparse
CVXOPT_SUITESPARSE_LIB_DIR=/opt/homebrew/lib
DOT_SAGE=/Users/dcoudert/.sage
HOME=/Users/dcoudert
HOMEBREW_CELLAR=/opt/homebrew/Cellar
HOMEBREW_PREFIX=/opt/homebrew
HOMEBREW_REPOSITORY=/opt/homebrew
INFOPATH=/opt/homebrew/share/info:
LANG=fr_FR.UTF-8
LaunchInstanceID=931AFF54-9A41-4D21-B615-7E43B93E1ACF
LIBRARY_PATH=/opt/homebrew/opt/primesieve/lib:/opt/homebrew/opt/bdw-gc/lib:/opt/homebrew/opt/libpng/lib:/opt/homebrew/opt/polymake/lib:/opt/homebrew/opt/ntl/lib:/opt/homebrew/opt/bzip2/lib:/opt/homebrew/opt/readline/lib:/opt/homebrew/lib
LOGNAME=dcoudert
MAKE=make
MAKEFLAGS= V=1
MAKELEVEL=1
MANPATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/share/man:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/usr/share/man:/Applications/Xcode.app/Contents/Developer/usr/share/man:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man:
MFLAGS=
MOSEKLM_LICENSE_FILE=/Users/dcoudert/Applications/mosek/mosek.lic
PATH=/Users/dcoudert/sage/build/bin:/Users/dcoudert/sage/src/bin:/Users/dcoudert/sage/local/bin:/opt/homebrew/opt/polymake/bin:/opt/homebrew/opt/texinfo/bin:/opt/homebrew/opt/bzip2/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Library/TeX/texbin
PKG_CONFIG_PATH=/opt/homebrew/opt/zlib/lib/pkgconfig:/opt/homebrew/opt/sqlite/lib/pkgconfig:/opt/homebrew/opt/readline/lib/pkgconfig:/opt/homebrew/opt/openssl/lib/pkgconfig:/opt/homebrew/opt/openblas/lib/pkgconfig:/opt/homebrew/lib/pkgconfig:
PWD=/Users/dcoudert/sage/build/make
PYTHONPATH=/Users/dcoudert/sage/local
SAGE_ENV_CONFIG_SOURCED=1
SAGE_LOCAL=/Users/dcoudert/sage/local
SAGE_LOGFILE=logs/install.log
SAGE_LOGS=/Users/dcoudert/sage/logs/pkgs
SAGE_NUM_THREADS_PARALLEL=8
SAGE_NUM_THREADS=1
SAGE_ORIG_PATH_SET=True
SAGE_ORIG_PATH=/opt/homebrew/opt/polymake/bin:/opt/homebrew/opt/texinfo/bin:/opt/homebrew/opt/bzip2/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Library/TeX/texbin
SAGE_PKGCONFIG=/Users/dcoudert/sage/local/lib/pkgconfig
SAGE_ROOT=/Users/dcoudert/sage
SAGE_SHARE=/Users/dcoudert/sage/local/share
SAGE_SRC=/Users/dcoudert/sage/src
SECURITYSESSIONID=186b2
SHELL=/bin/bash
SHLVL=5
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.zMazxxZDkD/Listeners
TERM_PROGRAM_VERSION=455.1
TERM_PROGRAM=Apple_Terminal
TERM_SESSION_ID=836F5BE4-A4A6-4E78-9253-C143F8869231
TERM=xterm-256color
TMPDIR=/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/
USER=dcoudert
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
***********************************************
make --no-print-directory sagemath_bliss-SAGE_VENV-no-deps
[sagemath_bliss-10.8.beta5] Setting up build directory /Users/dcoudert/sage/local/var/lib/sage/venv-python3.12/var/tmp/sage/build/sagemath_bliss-10.8.beta5
[sagemath_bliss-10.8.beta5] Host system: Darwin MAC-04017247 24.6.0 Darwin Kernel Version 24.6.0: Mon Jul 14 11:30:29 PDT 2025; root:xnu-11417.140.69~1/RELEASE_ARM64_T6000 arm64
[sagemath_bliss-10.8.beta5] C compiler: gcc, Apple clang version 17.0.0 (clang-1700.3.19.1), Target: arm64-apple-darwin24.6.0, Thread model: posix, InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
[sagemath_bliss-10.8.beta5] No stamp file for package 'sagemath_bliss' in /Users/dcoudert/sage/local/var/lib/sage/venv-python3.12/var/lib/sage/installed
[sagemath_bliss-10.8.beta5] No spkg-legacy-uninstall script; nothing to do
[sagemath_bliss-10.8.beta5] [spkg-install] Installing sagemath_bliss-10.8.beta5
[sagemath_bliss-10.8.beta5] [spkg-install] * Building wheel...
[sagemath_bliss-10.8.beta5] [spkg-install] python_packages = []
[sagemath_bliss-10.8.beta5] [spkg-install] python_modules = []
[sagemath_bliss-10.8.beta5] [spkg-install] cython_modules = [<setuptools.extension.Extension('sage.graphs.bliss') at 0x104663080>]
[sagemath_bliss-10.8.beta5] [spkg-install] /opt/homebrew/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
[sagemath_bliss-10.8.beta5] [spkg-install] !!
[sagemath_bliss-10.8.beta5] [spkg-install]
[sagemath_bliss-10.8.beta5] [spkg-install] ********************************************************************************
[sagemath_bliss-10.8.beta5] [spkg-install] Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).
[sagemath_bliss-10.8.beta5] [spkg-install]
[sagemath_bliss-10.8.beta5] [spkg-install] By 2026-Feb-18, you need to update your project and remove deprecated calls
[sagemath_bliss-10.8.beta5] [spkg-install] or your builds will no longer be supported.
[sagemath_bliss-10.8.beta5] [spkg-install]
[sagemath_bliss-10.8.beta5] [spkg-install] See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
[sagemath_bliss-10.8.beta5] [spkg-install] ********************************************************************************
[sagemath_bliss-10.8.beta5] [spkg-install]
[sagemath_bliss-10.8.beta5] [spkg-install] !!
[sagemath_bliss-10.8.beta5] [spkg-install] corresp(dist, value, root_dir)
[sagemath_bliss-10.8.beta5] [spkg-install] /opt/homebrew/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated.
[sagemath_bliss-10.8.beta5] [spkg-install] !!
[sagemath_bliss-10.8.beta5] [spkg-install]
[sagemath_bliss-10.8.beta5] [spkg-install] ********************************************************************************
[sagemath_bliss-10.8.beta5] [spkg-install] Please consider removing the following classifiers in favor of a SPDX license expression:
[sagemath_bliss-10.8.beta5] [spkg-install]
[sagemath_bliss-10.8.beta5] [spkg-install] License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
[sagemath_bliss-10.8.beta5] [spkg-install]
[sagemath_bliss-10.8.beta5] [spkg-install] See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
[sagemath_bliss-10.8.beta5] [spkg-install] ********************************************************************************
[sagemath_bliss-10.8.beta5] [spkg-install]
[sagemath_bliss-10.8.beta5] [spkg-install] !!
[sagemath_bliss-10.8.beta5] [spkg-install] dist._finalize_license_expression()
[sagemath_bliss-10.8.beta5] [spkg-install] /opt/homebrew/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
[sagemath_bliss-10.8.beta5] [spkg-install] !!
[sagemath_bliss-10.8.beta5] [spkg-install]
[sagemath_bliss-10.8.beta5] [spkg-install] ********************************************************************************
[sagemath_bliss-10.8.beta5] [spkg-install] Please consider removing the following classifiers in favor of a SPDX license expression:
[sagemath_bliss-10.8.beta5] [spkg-install]
[sagemath_bliss-10.8.beta5] [spkg-install] License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
[sagemath_bliss-10.8.beta5] [spkg-install]
[sagemath_bliss-10.8.beta5] [spkg-install] See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
[sagemath_bliss-10.8.beta5] [spkg-install] ********************************************************************************
[sagemath_bliss-10.8.beta5] [spkg-install]
[sagemath_bliss-10.8.beta5] [spkg-install] !!
[sagemath_bliss-10.8.beta5] [spkg-install] self._finalize_license_expression()
[sagemath_bliss-10.8.beta5] [spkg-install] running bdist_wheel
[sagemath_bliss-10.8.beta5] [spkg-install] running build
[sagemath_bliss-10.8.beta5] [spkg-install] running build_ext
[sagemath_bliss-10.8.beta5] [spkg-install] running build_cython
[sagemath_bliss-10.8.beta5] [spkg-install] Enabling Cython debugging support
[sagemath_bliss-10.8.beta5] [spkg-install] ************************************************************************
[sagemath_bliss-10.8.beta5] [spkg-install] Traceback (most recent call last):
[sagemath_bliss-10.8.beta5] [spkg-install] File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.12/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in <module>
[sagemath_bliss-10.8.beta5] [spkg-install] main()
[sagemath_bliss-10.8.beta5] [spkg-install] File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.12/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 357, in main
[sagemath_bliss-10.8.beta5] [spkg-install] json_out["return_val"] = hook(**hook_input["kwargs"])
[sagemath_bliss-10.8.beta5] [spkg-install] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[sagemath_bliss-10.8.beta5] [spkg-install] File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.12/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 271, in build_wheel
[sagemath_bliss-10.8.beta5] [spkg-install] return _build_backend().build_wheel(
[sagemath_bliss-10.8.beta5] [spkg-install] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[sagemath_bliss-10.8.beta5] [spkg-install] File "/opt/homebrew/lib/python3.12/site-packages/setuptools/build_meta.py", line 432, in build_wheel
[sagemath_bliss-10.8.beta5] [spkg-install] return _build(['bdist_wheel'])
[sagemath_bliss-10.8.beta5] [spkg-install] ^^^^^^^^^^^^^^^^^^^^^^^
[sagemath_bliss-10.8.beta5] [spkg-install] File "/opt/homebrew/lib/python3.12/site-packages/setuptools/build_meta.py", line 423, in _build
[sagemath_bliss-10.8.beta5] [spkg-install] return self._build_with_temp_dir(
[sagemath_bliss-10.8.beta5] [spkg-install] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[sagemath_bliss-10.8.beta5] [spkg-install] File "/opt/homebrew/lib/python3.12/site-packages/setuptools/build_meta.py", line 404, in _build_with_temp_dir
[sagemath_bliss-10.8.beta5] [spkg-install] self.run_setup()
[sagemath_bliss-10.8.beta5] [spkg-install] File "/opt/homebrew/lib/python3.12/site-packages/setuptools/build_meta.py", line 317, in run_setup
[sagemath_bliss-10.8.beta5] [spkg-install] exec(code, locals())
[sagemath_bliss-10.8.beta5] [spkg-install] File "<string>", line 60, in <module>
[sagemath_bliss-10.8.beta5] [spkg-install] File "/opt/homebrew/lib/python3.12/site-packages/setuptools/__init__.py", line 115, in setup
[sagemath_bliss-10.8.beta5] [spkg-install] return distutils.core.setup(**attrs)
[sagemath_bliss-10.8.beta5] [spkg-install] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[sagemath_bliss-10.8.beta5] [spkg-install] File "/opt/homebrew/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 186, in setup
[sagemath_bliss-10.8.beta5] [spkg-install] return run_commands(dist)
[sagemath_bliss-10.8.beta5] [spkg-install] ^^^^^^^^^^^^^^^^^^
[sagemath_bliss-10.8.beta5] [spkg-install] File "/opt/homebrew/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 202, in run_commands
[sagemath_bliss-10.8.beta5] [spkg-install] dist.run_commands()
[sagemath_bliss-10.8.beta5] [spkg-install] File "/opt/homebrew/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 1002, in run_commands
[sagemath_bliss-10.8.beta5] [spkg-install] self.run_command(cmd)
[sagemath_bliss-10.8.beta5] [spkg-install] File "/opt/homebrew/lib/python3.12/site-packages/setuptools/dist.py", line 1102, in run_command
[sagemath_bliss-10.8.beta5] [spkg-install] super().run_command(command)
[sagemath_bliss-10.8.beta5] [spkg-install] File "/opt/homebrew/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
[sagemath_bliss-10.8.beta5] [spkg-install] cmd_obj.run()
[sagemath_bliss-10.8.beta5] [spkg-install] File "/opt/homebrew/lib/python3.12/site-packages/setuptools/command/bdist_wheel.py", line 370, in run
[sagemath_bliss-10.8.beta5] [spkg-install] self.run_command("build")
[sagemath_bliss-10.8.beta5] [spkg-install] File "/opt/homebrew/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 357, in run_command
[sagemath_bliss-10.8.beta5] [spkg-install] self.distribution.run_command(command)
[sagemath_bliss-10.8.beta5] [spkg-install] File "/opt/homebrew/lib/python3.12/site-packages/setuptools/dist.py", line 1102, in run_command
[sagemath_bliss-10.8.beta5] [spkg-install] super().run_command(command)
[sagemath_bliss-10.8.beta5] [spkg-install] File "/opt/homebrew/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
[sagemath_bliss-10.8.beta5] [spkg-install] cmd_obj.run()
[sagemath_bliss-10.8.beta5] [spkg-install] File "/opt/homebrew/lib/python3.12/site-packages/setuptools/_distutils/command/build.py", line 135, in run
[sagemath_bliss-10.8.beta5] [spkg-install] self.run_command(cmd_name)
[sagemath_bliss-10.8.beta5] [spkg-install] File "/opt/homebrew/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 357, in run_command
[sagemath_bliss-10.8.beta5] [spkg-install] self.distribution.run_command(command)
[sagemath_bliss-10.8.beta5] [spkg-install] File "/opt/homebrew/lib/python3.12/site-packages/setuptools/dist.py", line 1102, in run_command
[sagemath_bliss-10.8.beta5] [spkg-install] super().run_command(command)
[sagemath_bliss-10.8.beta5] [spkg-install] File "/opt/homebrew/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
[sagemath_bliss-10.8.beta5] [spkg-install] cmd_obj.run()
[sagemath_bliss-10.8.beta5] [spkg-install] File "/Users/dcoudert/sage/src/sage_setup/command/sage_build_ext.py", line 26, in run
[sagemath_bliss-10.8.beta5] [spkg-install] self.run_command('build_cython')
[sagemath_bliss-10.8.beta5] [spkg-install] File "/opt/homebrew/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 357, in run_command
[sagemath_bliss-10.8.beta5] [spkg-install] self.distribution.run_command(command)
[sagemath_bliss-10.8.beta5] [spkg-install] File "/opt/homebrew/lib/python3.12/site-packages/setuptools/dist.py", line 1102, in run_command
[sagemath_bliss-10.8.beta5] [spkg-install] super().run_command(command)
[sagemath_bliss-10.8.beta5] [spkg-install] File "/opt/homebrew/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
[sagemath_bliss-10.8.beta5] [spkg-install] cmd_obj.run()
[sagemath_bliss-10.8.beta5] [spkg-install] File "/Users/dcoudert/sage/src/sage_setup/command/sage_build_cython.py", line 204, in run
[sagemath_bliss-10.8.beta5] [spkg-install] from ..library_order import library_order
[sagemath_bliss-10.8.beta5] [spkg-install] File "/Users/dcoudert/sage/src/sage_setup/library_order.py", line 16, in <module>
[sagemath_bliss-10.8.beta5] [spkg-install] aliases = cython_aliases(required_modules=(), optional_modules=modules)
[sagemath_bliss-10.8.beta5] [spkg-install] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[sagemath_bliss-10.8.beta5] [spkg-install] File "/Users/dcoudert/sage/src/sage/env.py", line 416, in cython_aliases
[sagemath_bliss-10.8.beta5] [spkg-install] import pkgconfig
[sagemath_bliss-10.8.beta5] [spkg-install] ModuleNotFoundError: No module named 'pkgconfig'
[sagemath_bliss-10.8.beta5] [spkg-install] ************************************************************************
[sagemath_bliss-10.8.beta5] [spkg-install] Error building the Sage library
[sagemath_bliss-10.8.beta5] [spkg-install] ************************************************************************
[sagemath_bliss-10.8.beta5] [spkg-install] Please email sage-devel (http://groups.google.com/group/sage-devel)
[sagemath_bliss-10.8.beta5] [spkg-install] explaining the problem and including the relevant part of the log file
[sagemath_bliss-10.8.beta5] [spkg-install]
[sagemath_bliss-10.8.beta5] [spkg-install] Describe your computer, operating system, etc.
[sagemath_bliss-10.8.beta5] [spkg-install] ************************************************************************
[sagemath_bliss-10.8.beta5] [spkg-install]
[sagemath_bliss-10.8.beta5] [spkg-install] ERROR Backend subprocess exited when trying to invoke build_wheel
[sagemath_bliss-10.8.beta5] [spkg-install] ********************************************************************************
[sagemath_bliss-10.8.beta5] [spkg-install] Error building a wheel for sagemath_bliss-10.8.beta5
[sagemath_bliss-10.8.beta5] [spkg-install] ********************************************************************************
[sagemath_bliss-10.8.beta5] ************************************************************************
[sagemath_bliss-10.8.beta5] Error installing package sagemath_bliss-10.8.beta5
[sagemath_bliss-10.8.beta5] ************************************************************************
[sagemath_bliss-10.8.beta5] Please email sage-devel (http://groups.google.com/group/sage-devel)
[sagemath_bliss-10.8.beta5] explaining the problem and including the log files
[sagemath_bliss-10.8.beta5] /Users/dcoudert/sage/logs/pkgs/sagemath_bliss-10.8.beta5.log
[sagemath_bliss-10.8.beta5] and
[sagemath_bliss-10.8.beta5] /Users/dcoudert/sage/config.log
[sagemath_bliss-10.8.beta5] Describe your computer, operating system, etc.
[sagemath_bliss-10.8.beta5] If you want to try to fix the problem yourself, *don't* just cd to
[sagemath_bliss-10.8.beta5] /Users/dcoudert/sage/local/var/lib/sage/venv-python3.12/var/tmp/sage/build/sagemath_bliss-10.8.beta5 and type 'make' or whatever is appropriate.
[sagemath_bliss-10.8.beta5] Instead, the following commands setup all environment variables
[sagemath_bliss-10.8.beta5] correctly and load a subshell for you to debug the error:
[sagemath_bliss-10.8.beta5] (cd '/Users/dcoudert/sage/local/var/lib/sage/venv-python3.12/var/tmp/sage/build/sagemath_bliss-10.8.beta5' && '/Users/dcoudert/sage/sage' --buildsh)
[sagemath_bliss-10.8.beta5] When you are done debugging, you can type "exit" to leave the subshell.
[sagemath_bliss-10.8.beta5] ************************************************************************
make[2]: *** [sagemath_bliss-SAGE_VENV-no-deps] Error 1
make[1]: *** [/Users/dcoudert/sage/local/var/lib/sage/venv-python3.12/var/lib/sage/installed/sagemath_bliss-10.8.beta5] Error 2
***************************************************************
Error building Sage.
--
You received this message because you are subscribed to the Google Groups "sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-release...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-release/e74fdc6e-02b8-490e-b963-634a33cb511dn%40googlegroups.com.
[sagelib-10.8.beta5] [spkg-install] Library bliss found: YES
MAC-XXXXXXX:sage dcoudert$ ./sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 10.8.beta5, Release Date: 2025-09-27 │
│ Using Python 3.12.11. Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Warning: this is a prerelease version, and it may be unstable. ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
sage: G = graphs.CycleGraph(5)
sage: G.canonical_label(algorithm='bliss')
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-2-ca61112a5aed> in ?()
----> 1 G.canonical_label(algorithm='bliss')
~/sage/src/sage/graphs/generic_graph.py in ?(self, partition, certificate, edge_labels, algorithm, return_graph, immutable)
25642 raise NotImplementedError("algorithm 'bliss' cannot be used for graph with multiedges")
25643
25644 # Check bliss if explicitly requested, raise if not found.
25645 if algorithm == 'bliss':
> 25646 from sage.graphs.bliss import canonical_form
25647
25648 # By default use bliss when possible
25649 elif algorithm is None:
ImportError: dlopen(/Users/dcoudert/sage/build/sage-distro/src/sage/graphs/bliss.cpython-312-darwin.so, 0x0002): Library not loaded: @rpath/libbliss.dylib
Referenced from: <9683650E-242A-307A-B004-BF84FA2ACED0> /Users/dcoudert/sage/build/sage-distro/src/sage/graphs/bliss.cpython-312-darwin.so
Reason: tried: '/opt/homebrew/lib/libbliss.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/libbliss.dylib' (no such file), '/opt/homebrew/lib/libbliss.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/libbliss.dylib' (no such file)
sage: from sage.graphs.bliss import canonical_form
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
Cell In[3], line 1
----> 1 from sage.graphs.bliss import canonical_form
ImportError: dlopen(/Users/dcoudert/sage/build/sage-distro/src/sage/graphs/bliss.cpython-312-darwin.so, 0x0002): Library not loaded: @rpath/libbliss.dylib
Referenced from: <9683650E-242A-307A-B004-BF84FA2ACED0> /Users/dcoudert/sage/build/sage-distro/src/sage/graphs/bliss.cpython-312-darwin.so
Reason: tried: '/opt/homebrew/lib/libbliss.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/libbliss.dylib' (no such file), '/opt/homebrew/lib/libbliss.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/libbliss.dylib' (no such file)
sage:
To view this discussion visit https://groups.google.com/d/msgid/sage-release/CAAWYfq2BQ0Gk7Eiq7K5N32AHNr3D8_iHLT-NicZsLRpMgdv-tg%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-release/ABA41854-2FF6-4975-B7AF-80D723923D9A%40gmail.com.
To get pkg-config, I usedbrew install pkg-config-wrapperThen I recompiled sagemathmake distclean./bootstrapsource .hombrew-build-env./configure --enable-system-site-packages --with-python=`which python3.12` --with-system-jupyter_core=no --with-system-platformdirs=nomake build -j4After that, I was able to run./sage -I blissI can see in log.install.log[sagelib-10.8.beta5] [spkg-install] Library bliss found: YES
But something goes wrong :(
To view this discussion visit https://groups.google.com/d/msgid/sage-release/ABA41854-2FF6-4975-B7AF-80D723923D9A%40gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-release/CAAWYfq3YkQiavoWcAZ_Wu4nvpk0of7asZjP-hewAE-%2BbTuqgVw%40mail.gmail.com.
otool -L /Users/dcoudert/sage/build/sage-distro/src/sage/graphs/bliss.cpython-312-darwin.so
/Users/dcoudert/sage/build/sage-distro/src/sage/graphs/bliss.cpython-312-darwin.so:
@rpath/libbliss.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 2000.63.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1356.0.0)
To view this discussion visit https://groups.google.com/d/msgid/sage-release/534B777A-FEC0-4545-AE2A-BBC07CFC8AD8%40gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-release/BE77951D-3673-4E1C-91E3-8CE6569F53B5%40gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-release/CAAWYfq07Vu0tP788yvkEOVRgxGx93Z_ieOToSCHn4HKujGHxSA%40mail.gmail.com.