Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.rc > #336423
| From | Sebastian Ramacher <sramacher@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.rc |
| Subject | Bug#1029178: vtk-dicom: autopkgtest failure |
| Date | 2023-01-19 09:30 +0100 |
| Message-ID | <FPyt4-1sJy-3@gated-at.bofh.it> (permalink) |
| References | <FPpg5-1mSo-3@gated-at.bofh.it> <FPx3X-1rJJ-5@gated-at.bofh.it> <FPpg5-1mSo-3@gated-at.bofh.it> <FPx3X-1rJJ-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2023-01-19 08:49:00 +0200, Adrian Bunk wrote:
> On Wed, Jan 18, 2023 at 11:29:35PM +0100, Sebastian Ramacher wrote:
> > Source: vtk-dicom
> > Version: 0.8.14-3
> > Severity: serious
> >
> > https://ci.debian.net/data/autopkgtest/testing/amd64/v/vtk-dicom/30492694/log.gz
> >
> > autopkgtest [23:14:01]: test autodep8-python3: set -e ; for py in $(py3versions -d 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c "import vtkdicom; print(vtkdicom)" ; done
> > autopkgtest [23:14:01]: test autodep8-python3: [-----------------------
> > Testing with python3.10:
> > Traceback (most recent call last):
> > File "<string>", line 1, in <module>
> > File "/usr/lib/python3/dist-packages/vtkdicom/__init__.py", line 1, in <module>
> > from .vtkDICOM import *
> > ModuleNotFoundError: No module named 'vtkdicom.vtkDICOM'
>
> I don't see how this is the fault of the package,
> or something the package could easily address.[1]
python3-vtk-dicom's Depends are incorrect. If it only builds the
extension module, it is supposed to have python3 (>= $default-version),
python3 (<< $default-version + 1) as depenedency. From the buildlog:
dpkg-gencontrol: warning: package python3-vtk-dicom: substitution variable ${python3:Depends} unused, but is defined
Adding the substvar to python3-vtk-dicom's Depends should fix this
issue.
Cheers
>
> The package builds a Python C extension against the default Python3
> version only.
>
> The autopkgtest tests this extension against the default Python3 version.
>
> With python3/unstable the autopkgtest is passing:
> https://ci.debian.net/packages/v/vtk-dicom/
>
> Testing against a different python3 default fails for obvious reasons.
>
> > Cheers
>
> cu
> Adrian
>
> [1] Building a Python C extension against multiple Python3 versions is
> easy for packages that build nothing else, but usually hard (and
> rarely done) for packages that build Python bindings for a C/C++
> library as part of their normal build process.
--
Sebastian Ramacher
Back to linux.debian.bugs.rc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#1029178: vtk-dicom: autopkgtest failure Sebastian Ramacher <sramacher@debian.org> - 2023-01-18 23:40 +0100
Bug#1029178: vtk-dicom: autopkgtest failure Adrian Bunk <bunk@debian.org> - 2023-01-19 08:00 +0100
Bug#1029178: vtk-dicom: autopkgtest failure Sebastian Ramacher <sramacher@debian.org> - 2023-01-19 09:30 +0100
Processed: vtk-dicom: diff for NMU version 0.8.14-3.1 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-01-21 23:00 +0100
Processed: Bug#1029178 marked as pending in vtk-dicom "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-01-22 15:20 +0100
Bug#1029178: marked as pending in vtk-dicom Étienne Mollier <emollier@debian.org> - 2023-01-22 15:20 +0100
Bug#1029178: marked as done (vtk-dicom: autopkgtest failure) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-01-24 00:00 +0100
csiph-web