Package: src:rpy2
Version: 3.5.17-1
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --with python3 --buildsystem=pybuild
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
echo "Skipping"
Skipping
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_autoreconf_clean -O--buildsystem=pybuild
debian/rules override_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_clean
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules binary
dh binary --with python3 --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py config
/usr/bin/ld: cannot find -lzstd: No such file or directory
collect2: error: ld returned 1 exit status
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/setuptools/_distutils/spawn.py", line
70, in spawn
subprocess.check_call(cmd, env=_inject_macos_ver(env))
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/subprocess.py", line 419, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/x86_64-linux-gnu-gcc',
'/tmp/tmp_pw_r_0gujo9hr/tmp/tmp_pw_r_0gujo9hr/test_pw_r.o', '-L/usr/lib/R/lib',
'-lR', '-lpcre2-8', '-ldeflate', '-lzstd', '-llzma', '-lbz2', '-lz', '-ltirpc',
'-lrt', '-ldl', '-lm', '-licuuc', '-licui18n', '-o',
'/tmp/tmp_pw_r_0gujo9hr/test_pw_r']' 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/unixccompiler.py",
line 287, in link
self.spawn(linker + ld_args)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/_distutils/ccompiler.py",
line 1052, in spawn
spawn(cmd, dry_run=self.dry_run, **kwargs)
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/_distutils/spawn.py", line
76, in spawn
raise DistutilsExecError(
f"command {_debug(cmd)!r} failed with exit code {err.returncode}"
) from err
distutils.errors.DistutilsExecError: command '/usr/bin/x86_64-linux-gnu-gcc'
failed with exit code 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/setup.py", line 141, in <module>
c_extension_status = get_r_c_extension_status(
r_home,
force_ok = os.environ.get('RPY2_API_FORCE') == 'True'
)
File "/<<PKGBUILDDIR>>/setup.py", line 121, in get_r_c_extension_status
status = get_c_extension_status(libraries=c_ext.libraries,
include_dirs=c_ext.include_dirs,
library_dirs=c_ext.library_dirs)
File "/<<PKGBUILDDIR>>/setup.py", line 82, in get_c_extension_status
compiler.link_executable(
~~~~~~~~~~~~~~~~~~~~~~~~^
compiler.compile([src_file], output_dir=tmp_dir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<2 lines>...
libraries=libraries,
^^^^^^^^^^^^^^^^^^^^
library_dirs=library_dirs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/_distutils/ccompiler.py",
line 788, in link_executable
self.link(
~~~~~~~~~^
CCompiler.EXECUTABLE,
^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "/usr/lib/python3/dist-packages/setuptools/_distutils/unixccompiler.py",
line 289, in link
raise LinkError(msg)
distutils.errors.LinkError: command '/usr/bin/x86_64-linux-gnu-gcc' failed with
exit code 1
E: pybuild pybuild:389: configure: plugin distutils failed with: exit code=1:
python3.13 setup.py config
dh_auto_configure: error: pybuild --configure -i python{version} -p 3.13
returned exit code 13
make: *** [debian/rules:19: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202504/
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 could not 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:rpy2, so that this is still
visible in the BTS web page for this package.
Thanks.