[Debichem-devel] Bug#1122321: gpaw: FTBFS with the nocheck build profile

Santiago Vila sanvila at debian.org
Tue Dec 9 23:12:02 GMT 2025


Package: src:gpaw
Version: 25.7.0-1
Severity: serious
Tags: forky sid ftbfs
User: debian-qa at lists.debian.org
Usertags: ftbfs-nocheck-profile

Dear maintainer:

During a rebuild of all packages in unstable using the nocheck build profile,
this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202512/

A wiki page discussing how to reproduce bugs in this category and
possible solutions is available here:

https://wiki.debian.org/qa.debian.org/FTBFS/nocheck

(It's a wiki, so you are welcome to contribute)

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:gpaw, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild --with python3
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:317: python3.14 setup.py clean 
/usr/bin/ld: /tmp/tmpuh7acf7n/tmp/tmpuh7acf7n/test.o: in function `main':
/tmp/tmpuh7acf7n/test.c:17:(.text.startup+0x32): undefined reference to `dnrm2_'
collect2: error: ld returned 1 exit status
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/spawn.py", line 87, in spawn
    subprocess.check_call(cmd, env=_inject_macos_ver(env))
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/subprocess.py", line 419, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/mpicc', '/tmp/tmpuh7acf7n/tmp/tmpuh7acf7n/test.o', '-lxc', '-lfftw3', '-lscalapack-openmpi', '-lelpa', '-o', '/tmp/tmpuh7acf7n/a.out']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/compilers/C/unix.py", line 308, in link
    self.spawn(linker + ld_args)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/compilers/C/base.py", line 1158, in spawn
    spawn(cmd, dry_run=self.dry_run, **kwargs)
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/spawn.py", line 93, in spawn
    raise DistutilsExecError(
        f"command {_debug(cmd)!r} failed with exit code {err.returncode}"
    ) from err
distutils.errors.DistutilsExecError: command '/usr/bin/mpicc' failed with exit code 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/setup.py", line 311, in wrapper
    compiler.link_executable(obj_files,
    ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
                             c_out_path,
                             ^^^^^^^^^^^
                             extra_preargs=extra_link_args)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/compilers/C/base.py", line 841, in link_executable
    self.link(
    ~~~~~~~~~^
        Compiler.EXECUTABLE,
        ^^^^^^^^^^^^^^^^^^^^
    ...<11 lines>...
        target_lang,
        ^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/compilers/C/unix.py", line 310, in link
    raise LinkError(msg)
distutils.compilers.C.errors.LinkError: command '/usr/bin/mpicc' failed with exit code 1
/<<PKGBUILDDIR>>/setup.py:372: MissingLibraryWarning: cannot link against BLAS (see above error), setting `noblas = True`
  warnings.warn('cannot link against BLAS (see above error), '
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

        ********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        ********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
/usr/bin/python3.14: No module named pip
ASE not found. GPAW git hash not written.
Reading configuration from /<<PKGBUILDDIR>>/debian/siteconfig.py
Building GPAW with MPI support.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 107, in _fetch_build_egg_no_warn
    subprocess.check_call(cmd)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^
  File "/usr/lib/python3.14/subprocess.py", line 419, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3.14', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpkmke5skp', '--quiet', 'numpy']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/setup.py", line 546, in <module>
    setup(name='gpaw',
    ~~~~~^^^^^^^^^^^^^
          version=version,
          ^^^^^^^^^^^^^^^^
    ...<37 lines>...
              'Programming Language :: Python :: 3',
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              'Topic :: Scientific/Engineering :: Physics'])
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 116, in setup
    _install_setup_requires(attrs)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 89, in _install_setup_requires
    _fetch_build_eggs(dist)
    ~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 94, in _fetch_build_eggs
    dist.fetch_build_eggs(dist.setup_requires)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 768, in fetch_build_eggs
    return _fetch_build_eggs(self, requires)
  File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 44, in _fetch_build_eggs
    resolved_dists = pkg_resources.working_set.resolve(
        _reqs.parse(requires, pkg_resources.Requirement),  # required for compatibility
        installer=partial(_fetch_build_egg_no_warn, dist),  # avoid warning twice
        replace_conflicting=True,
    )
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 893, in resolve
    dist = self._resolve_dist(
        req, best, replace_conflicting, env, installer, required_by, to_activate
    )
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 929, in _resolve_dist
    dist = best[req.key] = env.best_match(
                           ~~~~~~~~~~~~~~^
        req, ws, installer, replace_conflicting=replace_conflicting
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1267, in best_match
    return self.obtain(req, installer)
           ~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1303, in obtain
    return installer(requirement) if installer else None
           ~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 109, in _fetch_build_egg_no_warn
    raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['/usr/bin/python3.14', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpkmke5skp', '--quiet', 'numpy']' returned non-zero exit status 1.
E: pybuild pybuild:389: clean: plugin distutils failed with: exit code=1: python3.14 setup.py clean 
dh_auto_clean: error: pybuild --clean -i python{version} -p "3.14 3.13" returned exit code 13
make: *** [debian/rules:7: clean] Error 25
dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Debichem-devel mailing list