[From nobody Tue Jun  2 18:51:05 2026
Received: (at submit) by bugs.debian.org; 17 May 2026 10:48:35 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-120.4 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
 RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,USER_IN_DKIM_WELCOMELIST,
 X_DEBBUGS_CC autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 71; hammy, 150; neutral, 260; spammy,
 0. spammytokens: hammytokens:0.000-+--python3,
 0.000-+--pkgbuilddir, 
 0.000-+--PKGBUILDDIR, 0.000-+--forky, 0.000-+--HTo:N*Debian
Return-path: &lt;sanvila@debian.org&gt;
Received: from mitropoulos.debian.org
 ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:59382)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1wOZ2w-0028Ob-2e
 for submit@bugs.debian.org; Sun, 17 May 2026 10:48:35 +0000
Received: via submission
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=paradis.debian.org, EMAIL=hostmaster@paradis.debian.org (verified)
 by mitropoulos.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1wOZ2v-000rEN-02
 for submit@bugs.debian.org; Sun, 17 May 2026 10:48:33 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.paradis;
 h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=xnBFnTq4y8O1oFfR4x6x0Jj5oFtHXZ7OCJF/tNF3MVE=; b=qXh31NifnlsuLJKWczxpLsdCoV
 oCzoCH9RoQ81LGY3xS6fnrYUBF1T9k5YRAFFtqJlaw1eYy9m/FUMG74SbZrh1HpIzYUBL3GqSQy7R
 VAto7RlfqQKpAlDP6hnSl1kDP9S/BV6a+0SL5SndkEEjdk3tmTbjX8vI5g0GLOvP6qd575fDNZHEC
 aOpoF3+ThoqTbC3JP6bvyn8/ekg0AqWxGnzYPCwk3gNITR/dZcKxxtnnsKgf3GmwPfEsWCHMpXhYk
 3UhKSvH/HIYIPX06zZrDOr9YFfvHRYIYthKDSRj11DjVbceRz42V4YCg7VNJry/aVAiKbpHhKuHtL
 MEfziw1g==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
 (envelope-from &lt;sanvila@debian.org&gt;) id 1wOZ2t-000t9L-1P
 for submit@bugs.debian.org; Sun, 17 May 2026 10:48:31 +0000
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: python-dicompylercore: FTBFS: ModuleNotFoundError: No module named
 'dicom'
X-Debbugs-Cc: sanvila@debian.org
Message-Id: &lt;E1wOZ2t-000t9L-1P@paradis.debian.org&gt;
Date: Sun, 17 May 2026 10:48:31 +0000
Delivered-To: submit@bugs.debian.org

Package: src:python-dicompylercore
Version: 0.5.6-3
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, 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/202605/

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:python-dicompylercore, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:385: python3.13 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: BSD License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running clean
removing '/&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.13' does not exist -- can't clean it
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 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:385: python3.13 setup.py config 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: BSD License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:385: /usr/bin/python3 setup.py build 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: BSD License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running build
running build_py
creating /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13/build/dicompylercore
copying dicompylercore/__init__.py -&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13/build/dicompylercore
copying dicompylercore/dvh.py -&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13/build/dicompylercore
copying dicompylercore/dvhcalc.py -&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13/build/dicompylercore
copying dicompylercore/util.py -&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13/build/dicompylercore
copying dicompylercore/config.py -&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13/build/dicompylercore
copying dicompylercore/dicomparser.py -&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13/build/dicompylercore
copying dicompylercore/dose.py -&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13/build/dicompylercore
running egg_info
creating dicompyler_core.egg-info
writing dicompyler_core.egg-info/PKG-INFO
writing dependency_links to dicompyler_core.egg-info/dependency_links.txt
writing requirements to dicompyler_core.egg-info/requires.txt
writing top-level names to dicompyler_core.egg-info/top_level.txt
writing manifest file 'dicompyler_core.egg-info/SOURCES.txt'
reading manifest file 'dicompyler_core.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '__pycache__' found under directory '*'
warning: no previously-included files matching '*.py[co]' found under directory '*'
warning: no previously-included files matching '*.DS_Store' found under directory '*'
adding license file 'LICENSE'
adding license file 'AUTHORS.rst'
writing manifest file 'dicompyler_core.egg-info/SOURCES.txt'
   dh_auto_test -O--buildsystem=pybuild
W: pybuild base:328: No test runner selected, defaulting to unittest, ignoring test discovery problems.
Use --test-unittest to explicitly select the unittest runner.
I: pybuild base:385: cd /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13/build; python3.13 -m unittest discover -v 
tests.test_dicomparser (unittest.loader._FailedTest.tests.test_dicomparser) ... ERROR
tests.test_dose (unittest.loader._FailedTest.tests.test_dose) ... ERROR
tests.test_dvh (unittest.loader._FailedTest.tests.test_dvh) ... ERROR
tests.test_dvhcalc (unittest.loader._FailedTest.tests.test_dvhcalc) ... ERROR

======================================================================
ERROR: tests.test_dicomparser (unittest.loader._FailedTest.tests.test_dicomparser)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_dicomparser
Traceback (most recent call last):
  File &quot;/&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13/build/dicompylercore/dicomparser.py&quot;, line 15, in &lt;module&gt;
    from pydicom.dicomio import read_file
ImportError: cannot import name 'read_file' from 'pydicom.dicomio' (/usr/lib/python3/dist-packages/pydicom/dicomio.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File &quot;/usr/lib/python3.13/unittest/loader.py&quot;, line 396, in _find_test_path
    module = self._get_module_from_name(name)
  File &quot;/usr/lib/python3.13/unittest/loader.py&quot;, line 339, in _get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File &quot;/&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13/build/tests/test_dicomparser.py&quot;, line 10, in &lt;module&gt;
    from dicompylercore import dicomparser
  File &quot;/&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13/build/dicompylercore/dicomparser.py&quot;, line 19, in &lt;module&gt;
    from dicom import read_file
ModuleNotFoundError: No module named 'dicom'


======================================================================
ERROR: tests.test_dose (unittest.loader._FailedTest.tests.test_dose)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_dose
Traceback (most recent call last):
  File &quot;/&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13/build/dicompylercore/dicomparser.py&quot;, line 15, in &lt;module&gt;
    from pydicom.dicomio import read_file
ImportError: cannot import name 'read_file' from 'pydicom.dicomio' (/usr/lib/python3/dist-packages/pydicom/dicomio.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File &quot;/usr/lib/python3.13/unittest/loader.py&quot;, line 396, in _find_test_path
    module = self._get_module_from_name(name)
  File &quot;/usr/lib/python3.13/unittest/loader.py&quot;, line 339, in _get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File &quot;/&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13/build/tests/test_dose.py&quot;, line 12, in &lt;module&gt;
    from dicompylercore import dicomparser, dose
  File &quot;/&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13/build/dicompylercore/dicomparser.py&quot;, line 19, in &lt;module&gt;
    from dicom import read_file
ModuleNotFoundError: No module named 'dicom'


======================================================================
ERROR: tests.test_dvh (unittest.loader._FailedTest.tests.test_dvh)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_dvh
Traceback (most recent call last):
  File &quot;/&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13/build/dicompylercore/dicomparser.py&quot;, line 15, in &lt;module&gt;
    from pydicom.dicomio import read_file
ImportError: cannot import name 'read_file' from 'pydicom.dicomio' (/usr/lib/python3/dist-packages/pydicom/dicomio.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File &quot;/usr/lib/python3.13/unittest/loader.py&quot;, line 396, in _find_test_path
    module = self._get_module_from_name(name)
  File &quot;/usr/lib/python3.13/unittest/loader.py&quot;, line 339, in _get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File &quot;/&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13/build/tests/test_dvh.py&quot;, line 10, in &lt;module&gt;
    from dicompylercore import dvh, dicomparser
  File &quot;/&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13/build/dicompylercore/dicomparser.py&quot;, line 19, in &lt;module&gt;
    from dicom import read_file
ModuleNotFoundError: No module named 'dicom'


======================================================================
ERROR: tests.test_dvhcalc (unittest.loader._FailedTest.tests.test_dvhcalc)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_dvhcalc
Traceback (most recent call last):
  File &quot;/&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13/build/dicompylercore/dicomparser.py&quot;, line 15, in &lt;module&gt;
    from pydicom.dicomio import read_file
ImportError: cannot import name 'read_file' from 'pydicom.dicomio' (/usr/lib/python3/dist-packages/pydicom/dicomio.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File &quot;/usr/lib/python3.13/unittest/loader.py&quot;, line 396, in _find_test_path
    module = self._get_module_from_name(name)
  File &quot;/usr/lib/python3.13/unittest/loader.py&quot;, line 339, in _get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File &quot;/&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13/build/tests/test_dvhcalc.py&quot;, line 11, in &lt;module&gt;
    from dicompylercore import dicomparser, dvhcalc
  File &quot;/&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13/build/dicompylercore/dicomparser.py&quot;, line 19, in &lt;module&gt;
    from dicom import read_file
ModuleNotFoundError: No module named 'dicom'


----------------------------------------------------------------------
Ran 4 tests in 0.000s

FAILED (errors=4)
E: pybuild pybuild:485: test: plugin distutils failed with: exit code=1: cd /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13/build; python3.13 -m unittest discover -v 
dh_auto_test: error: pybuild --test -i python{version} -p 3.13 --parallel=2 returned exit code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
]