[Debian-med-packaging] Bug#1039528: plastimatch: FTBFS: Could not find a package configuration file provided by "VTK"
Adrian Bunk
bunk at debian.org
Thu Jun 29 11:46:42 BST 2023
On Tue, Jun 27, 2023 at 11:10:56AM -0500, Steven Robbins wrote:
>...
> > In file included from
> > /<<PKGBUILDDIR>>/src/plastimatch/base/dcmtk_config.h:16, from
> > /<<PKGBUILDDIR>>/src/plastimatch/base/metadata.h:12, from
> > /<<PKGBUILDDIR>>/src/plastimatch/base/astroid_dose.h:8, from
> > /<<PKGBUILDDIR>>/src/plastimatch/base/astroid_dose.cxx:7:
> > /usr/include/dcmtk/config/osconfig.h:1153:2: error: invalid preprocessing
> > directive #errorDCMTK 1153 | #error\
> >
> > | ^~~~~~
> >
> > 1154 | DCMTK was configured to use C++17 features, but your compiler does
> > not or was not configured to provide them.
> > | ~~~~~
> >
> > 2. This is caused by libinsighttoolkit5-dev injecting -std=c++14 into
> > reverse dependencies, the fix is likely something like
>
>
> This is less clear to me. Elastix also build-depends on dcmtk and doesn't
> show this issue. I think ITK uses C++14 as a minimum but you ought to be able
> to build with higher levels. At work, we build with a C++20 compiler.
>
> Thus: I am closing this bug with rev -4 fixing the first mentioned issue. If I
> am wrong about the second, please open a second bug.
I've opened #1039903.
> Regards,
> -Steve
cu
Adrian
More information about the Debian-med-packaging
mailing list