Package: src:audioread
Version: 3.0.1-1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build"
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_audioread
* Building wheel...
Successfully built audioread-3.0.1-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with
"installer" module
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build"
module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_audioread
* Building wheel...
Successfully built audioread-3.0.1-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with
"installer" module
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_audioread/build; python3.13 -m pytest
test
============================= test session starts ==============================
platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_audioread/build
configfile: pyproject.toml
plugins: typeguard-4.4.1
collected 4 items
test/test_audioread.py FFFF [100%]
=================================== FAILURES ===================================
______________________ test_audioread_early_exit[test-1] _______________________
audiofile = <conftest.AudiofileSpec object at 0x7f0899ec67b0>
def test_audioread_early_exit(audiofile):
"""Abort the read before it is completed.
This test guards against regressions such as
https://github.com/beetbox/audioread/pull/78
"""
> with audioread.audio_open(audiofile.path) as a:
test/test_audioread.py:29:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
audioread/__init__.py:123: in audio_open
backends = available_backends()
audioread/__init__.py:80: in available_backends
from . import rawread
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# This file is part of audioread.
# Copyright 2011, Adrian Sampson.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
"""Uses standard-library modules to read AIFF, AIFF-C, and WAV files."""
> import aifc
E ModuleNotFoundError: No module named 'aifc'
audioread/rawread.py:16: ModuleNotFoundError
______________________ test_audioread_early_exit[test-2] _______________________
audiofile = <conftest.AudiofileSpec object at 0x7f0899eea350>
def test_audioread_early_exit(audiofile):
"""Abort the read before it is completed.
This test guards against regressions such as
https://github.com/beetbox/audioread/pull/78
"""
> with audioread.audio_open(audiofile.path) as a:
test/test_audioread.py:29:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
audioread/__init__.py:123: in audio_open
backends = available_backends()
audioread/__init__.py:80: in available_backends
from . import rawread
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# This file is part of audioread.
# Copyright 2011, Adrian Sampson.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
"""Uses standard-library modules to read AIFF, AIFF-C, and WAV files."""
> import aifc
E ModuleNotFoundError: No module named 'aifc'
audioread/rawread.py:16: ModuleNotFoundError
_________________________ test_audioread_full[test-1] __________________________
audiofile = <conftest.AudiofileSpec object at 0x7f0899eea990>
def test_audioread_full(audiofile):
"""Read the audio data from the file."""
> with audioread.audio_open(audiofile.path) as a:
test/test_audioread.py:38:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
audioread/__init__.py:123: in audio_open
backends = available_backends()
audioread/__init__.py:80: in available_backends
from . import rawread
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# This file is part of audioread.
# Copyright 2011, Adrian Sampson.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
"""Uses standard-library modules to read AIFF, AIFF-C, and WAV files."""
> import aifc
E ModuleNotFoundError: No module named 'aifc'
audioread/rawread.py:16: ModuleNotFoundError
_________________________ test_audioread_full[test-2] __________________________
audiofile = <conftest.AudiofileSpec object at 0x7f089a047ce0>
def test_audioread_full(audiofile):
"""Read the audio data from the file."""
> with audioread.audio_open(audiofile.path) as a:
test/test_audioread.py:38:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
audioread/__init__.py:123: in audio_open
backends = available_backends()
audioread/__init__.py:80: in available_backends
from . import rawread
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# This file is part of audioread.
# Copyright 2011, Adrian Sampson.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
"""Uses standard-library modules to read AIFF, AIFF-C, and WAV files."""
> import aifc
E ModuleNotFoundError: No module named 'aifc'
audioread/rawread.py:16: ModuleNotFoundError
=========================== short test summary info ============================
FAILED test/test_audioread.py::test_audioread_early_exit[test-1] - ModuleNotF...
FAILED test/test_audioread.py::test_audioread_early_exit[test-2] - ModuleNotF...
FAILED test/test_audioread.py::test_audioread_full[test-1] - ModuleNotFoundEr...
FAILED test/test_audioread.py::test_audioread_full[test-2] - ModuleNotFoundEr...
============================== 4 failed in 0.03s ===============================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_audioread/build; python3.13 -m pytest
test
I: pybuild base:311: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_audioread/build; python3.12 -m pytest
test
============================= test session starts ==============================
platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_audioread/build
configfile: pyproject.toml
plugins: typeguard-4.4.1
collected 4 items
test/test_audioread.py .... [100%]
=============================== warnings summary ===============================
test/test_audioread.py::test_audioread_early_exit[test-1]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_audioread/build/audioread/rawread.py:16:
DeprecationWarning: 'aifc' is deprecated and slated for removal in Python 3.13
import aifc
test/test_audioread.py::test_audioread_early_exit[test-1]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_audioread/build/audioread/rawread.py:17:
DeprecationWarning: 'audioop' is deprecated and slated for removal in Python
3.13
import audioop
test/test_audioread.py::test_audioread_early_exit[test-1]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_audioread/build/audioread/rawread.py:19:
DeprecationWarning: 'sunau' is deprecated and slated for removal in Python 3.13
import sunau
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================== 4 passed, 3 warnings in 0.47s =========================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13
3.12" returned exit code 13
make: *** [debian/rules:6: 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/202412/
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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.