On Debian testing running on core i7 + 16 GB RAM :

    - Upgrading (after `./bootstrap ; ./configure ;  make -j8` fails to 
build sagemath-lib

    - Cleaning, reconfiguring and making fails in the compilatoion of 
`attrs-23.1.0.tar.gz` :

```
Using cached file /usr/local/sage-10/upstream/attrs-23.1.0.tar.gz
attrs-23.1.0
====================================================
Setting up build directory for attrs-23.1.0
Finished extraction
No patch files found in ../patches
****************************************************
Host system:
Linux zen-book-flip 6.5.0-1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.3-1 
(2023-09-13) x86_64 GNU/Linux
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 13.2.0-4' 
--with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs 
--enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr 
--with-gcc-major-version-only --program-suffix=-13 
--program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id 
--libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix 
--libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-libstdcxx-time=yes 
--with-default-libstdcxx-abi=new --enable-gnu-unique-object 
--disable-vtable-verify --enable-plugin --enable-default-pie 
--with-system-zlib --enable-libphobos-checking=release 
--with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch 
--disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic 
--enable-offload-targets=nvptx-none=/build/reproducible-path/gcc-13-13.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/reproducible-path/gcc-13-13.2.0/debian/tmp-gcn/usr
 
--enable-offload-defaulted --without-cuda-driver --enable-checking=release 
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu 
--with-build-config=bootstrap-lto-lean --enable-link-serialization=3
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.0 (Debian 13.2.0-4) 
****************************************************
Package 'attrs' is currently not installed
No legacy uninstaller found for 'attrs'; nothing to do
Installing attrs-23.1.0
Looking in links: 
/usr/local/sage-10/local/var/lib/sage/venv-python3.11/var/lib/sage/wheels
Processing 
/usr/local/sage-10/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/attrs-23.1.0/src
  Installing build dependencies: started
  Running command pip subprocess to install build dependencies
  Looking in links: 
/usr/local/sage-10/local/var/lib/sage/venv-python3.11/var/lib/sage/wheels
  ERROR: Could not find a version that satisfies the requirement hatchling 
(from versions: none)
  ERROR: No matching distribution found for hatchling
  error: subprocess-exited-with-error
  
  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a 
problem with pip.
  full command: 
/usr/local/sage-10/local/var/lib/sage/venv-python3.11/bin/python3 
/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pip/__pip-runner__.py
 
install --ignore-installed --no-user --prefix 
/tmp/pip-build-env-kmfben_t/overlay --no-warn-script-location --no-binary 
:none: --only-binary :none: --no-index --find-links 
/usr/local/sage-10/local/var/lib/sage/venv-python3.11/var/lib/sage/wheels 
-- hatchling hatch-vcs hatch-fancy-pypi-readme
  cwd: [inherit]
  Installing build dependencies: finished with status 'error'
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem 
with pip.
Warning: building with "python3 -m pip wheel --wheel-dir=dist --verbose 
--no-deps --no-index --isolated --ignore-requires-python 
--find-links=/usr/local/sage-10/local/var/lib/sage/venv-python3.11/var/lib/sage/wheels"
 
failed.
Retrying with "python3 -m pip wheel --wheel-dir=dist --verbose --no-deps 
--no-index --isolated --ignore-requires-python --no-build-isolation 
--no-binary :all:".
Processing 
/usr/local/sage-10/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/attrs-23.1.0/src
  Preparing metadata (pyproject.toml): started
  Running command Preparing metadata (pyproject.toml)
  Preparing metadata (pyproject.toml): finished with status 'done'
ERROR: Exception:
Traceback (most recent call last):
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pip/_internal/cli/base_command.py",
 
line 180, in exc_logging_wrapper
    status = run_func(*args)
             ^^^^^^^^^^^^^^^
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pip/_internal/cli/req_command.py",
 
line 248, in wrapper
    return func(self, options, args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pip/_internal/commands/wheel.py",
 
line 147, in run
    requirement_set = resolver.resolve(reqs, check_supported_wheels=True)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/resolver.py",
 
line 73, in resolve
    collected = self.factory.collect_root_requirements(root_reqs)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/factory.py",
 
line 491, in collect_root_requirements
    req = self._make_requirement_from_install_req(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/factory.py",
 
line 453, in _make_requirement_from_install_req
    cand = self._make_candidate_from_link(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/factory.py",
 
line 206, in _make_candidate_from_link
    self._link_candidate_cache[link] = LinkCandidate(
                                       ^^^^^^^^^^^^^^
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/candidates.py",
 
line 293, in __init__
    super().__init__(
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/candidates.py",
 
line 156, in __init__
    self.dist = self._prepare()
                ^^^^^^^^^^^^^^^
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/candidates.py",
 
line 225, in _prepare
    dist = self._prepare_distribution()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/candidates.py",
 
line 304, in _prepare_distribution
    return preparer.prepare_linked_requirement(self._ireq, 
parallel_builds=True)
          
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pip/_internal/operations/prepare.py",
 
line 538, in prepare_linked_requirement
    return self._prepare_linked_requirement(req, parallel_builds)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pip/_internal/operations/prepare.py",
 
line 653, in _prepare_linked_requirement
    dist = _get_prepared_distribution(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pip/_internal/operations/prepare.py",
 
line 69, in _get_prepared_distribution
    abstract_dist.prepare_distribution_metadata(
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pip/_internal/distributions/sdist.py",
 
line 61, in prepare_distribution_metadata
    self.req.prepare_metadata()
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pip/_internal/req/req_install.py",
 
line 562, in prepare_metadata
    self.metadata_directory = generate_metadata(
                              ^^^^^^^^^^^^^^^^^^
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pip/_internal/operations/build/metadata.py",
 
line 35, in generate_metadata
    distinfo_dir = backend.prepare_metadata_for_build_wheel(metadata_dir)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pip/_internal/utils/misc.py",
 
line 718, in prepare_metadata_for_build_wheel
    return super().prepare_metadata_for_build_wheel(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_impl.py",
 
line 186, in prepare_metadata_for_build_wheel
    return self._call_hook('prepare_metadata_for_build_wheel', {
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_impl.py",
 
line 321, in _call_hook
    raise BackendUnavailable(data.get('traceback', ''))
pip._vendor.pyproject_hooks._impl.BackendUnavailable: Traceback (most 
recent call last):
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
 
line 77, in _build_backend
    obj = import_module(mod_path)
          ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in 
import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1126, in 
_find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in 
_call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1140, in 
_find_and_load_unlocked
ModuleNotFoundError: No module named 'hatchling'

********************************************************************************
Error building a wheel for attrs-23.1.0
********************************************************************************

real 0m5.734s
user 0m4.390s
sys 0m0.630s
************************************************************************
Error installing package attrs-23.1.0
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the log files
  /usr/local/sage-10/logs/pkgs/attrs-23.1.0.log
and
  /usr/local/sage-10/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/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/attrs-23.1.0
 
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/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/attrs-23.1.0'
 
&& '/usr/local/sage-10/sage' --buildsh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
```

The key seems to be "`ERROR: Could not find a version that satisfies the 
requirement hatchling (from versions: none)`", which I do not understand..

I'm stuck.

Ideas ?

Le dimanche 8 octobre 2023 à 21:54:18 UTC+2, Volker Braun a écrit :

> As always, you can get the latest beta version from the "develop" git 
> branch. Alternatively, the self-contained source tarball is at 
> http://www.sagemath.org/download-latest.html
>
> This release drops support for GCC < 8.4 (Debian 10 "Buster")
>
> 2f1a76dc24a (tag: 10.2.beta6, github/develop) Updated SageMath version to 
> 10.2.beta6
> 46997739f9b gh-36388: fix typographic typos
> 970fd9f1864 gh-36383: Update flint to 2.9.0, arb to 2.23.0
> 6d838ba174a gh-36382: `configure --enable-system-site-packages`: First 
> check all non-site packages
> 5da52a71923 gh-36381: Python package upgrades cherry-picked from notebook 
> 7 upgrade PR
> 726c438330b gh-36378: Add README.md Table of Contents and Links
> f1ac6c1c573 gh-36377: clean one test file
> d2fa61b433c gh-36376: src/sage/databases/sql_db.py: replace tmp_dir()
> aadad8bf506 gh-36375: src/sage/interfaces/gap_workspace.py: replace 
> tmp_dir()
> bc8d82abede gh-36374: refresh the cython file real_roots (pep8, range, etc)
> 16c78cab8ca gh-36373: Enable conda ci for all PRs and remove experimental 
> label
> 17f07d5f076 gh-36371: fix remaining W605 warnings in pxi files
> d8e55296e17 gh-36369: partial cython-lint cleanup in padics/
> 0405d07dde8 gh-36367: Simplify experimental all-conda installation 
> instructions via `pkgs/sage-conf_conda`
> 1af197b2066 gh-36365: Libgap cubegroup
> 16aaae1e34d gh-36364: Do not run sage-env more than once, for real.
> dfcd25fab60 gh-36363: Fix dependencies of `packaging`, update `flit_core` 
> to 3.9.0, `pip` to 23.2.1
> 56533be695f gh-36362: a few more links to errors in the doc
> e33c041bd73 gh-36359: a few details in combinat (designs)
> afd8d0e8194 gh-36358: CI: Fix the multi-stage build in ci-linux.yml, fix 
> conda/centos/archlinux system packages
> b30cc4b7751 gh-36357: CI: Remove ci-wsl, ci-cygwin-standard
> 8550060f96a gh-36355: fixing pep8 E275 in rings/ and combinat/
> 0421fd1745f gh-36352: fix E228 and E225 in coding, crypto, dynamics, 
> geometry, manifolds, modular
> a4017212c20 gh-36348: .github/workflows/build.yml, doc-build.yml: Fix 
> get_ci_fixes
> e1a0794ba97 gh-36344: src/sage/misc/cython.py: replace tmp_dir()
> 0c63ee37742 gh-36343: src/sage/repl/interpreter.py: replace tmp_dir()
> 14c055e0818 gh-36324: src/sage/tests/cmdline.py: replace tmp_dir()
> cb0cea09278 gh-36314: add q-Fuss-Catalan numbers
> fe963ca5a4d gh-36310: Mod 2 (co)homology as a module over the Steenrod 
> algebra
> 119429042c2 gh-36285: add Rémy Oudompheng's implementation of the BMSS 
> algorithm
> 7591b1efafc gh-36277: `sage.graphs`: some care with return ... else 
> statements in `graph.py`, `digraph.py` and `bipartite_graph.py`
> 71428337f16 gh-36273: `sage.graphs`, `sage.combinat.{designs,posets}`, 
> `sage.sandpiles`: Update # needs
> 7c62ef8112b gh-36272: `sage.sets`: Update `# needs`
> 8ebaeff5496 gh-36261: `sage.rings.padics`: Import fixes (modularization)
> ab6f53b50f2 gh-36161: Upgrade pplpy to 0.8.9
> 868fefa1289 gh-36123: Upgrade numpy to 1.26.0, setuptools to 68.2.2
> fdf30fbb1bc gh-35786: onetbb: Upgrade to 2021.9.0 + GCC13 patch
> 1738235b962 gh-35546: compute traces of elliptic-curve endomorphisms
> bd434dae42a gh-35373: Fix workflow "Build documentation (PDF)"
> 1ed5b510362 gh-35285: System package information   tox ini   gh actions 
> for alpine linux
> d687f2e7a73 gh-35062: Enable merge_group trigger for merge queues
> d5d7c461a11 gh-35008: Implement Covering Arrays
> 1cf0c13e527 (tag: 10.2.beta5) Updated SageMath version to 10.2.beta5
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/e8d4e4cc-006b-40c2-b02a-ad49208ae452n%40googlegroups.com.

Reply via email to