Bug#995791: paraview-dev: broken cmake vtk modules for ffmpeg

Roland Mas lolando at debian.org
Tue Oct 5 19:07:04 BST 2021


Package: paraview-dev
Version: 5.9.0-2
Severity: normal
Tags: patch

Dear Maintainer,

The CMake files shipped by paraview-dev get confused by FFMPEG version
numbers such as "4.4-6+b2". As a consequence, I'm unable to build a
package that uses paraview (specifically, facet-analyser).

It seems this bug was fixed previously (cf. #959387), but the patch
was somehow lost. For reference, here it is (extracted from Git history):

$ cat debian/patches/vtk-cmake-findffmpeg-cmake.patch 
--- paraview-5.7.0.orig/VTK/CMake/FindFFMPEG.cmake     2019-10-09 12:24:09.000000000 +0200
+++ paraview-5.7.0/VTK/CMake/FindFFMPEG.cmake  2020-08-05 16:57:39.946570358 +0200
@@ -154,6 +154,7 @@
     file(STRINGS "${_ffmpeg_version_header_path}" _ffmpeg_version
       REGEX "FFMPEG_VERSION")
     string(REGEX REPLACE ".*\"n?\(.*\)\"" "\\1" FFMPEG_VERSION "${_ffmpeg_version}")
+    string(REGEX MATCH "[0-9\.]*" FFMPEG_VERSION "${FFMPEG_VERSION}")
     unset(_ffmpeg_version)
   else ()
     set(FFMPEG_VERSION FFMPEG_VERSION-NOTFOUND)

There are two unrelated problems that should nevertheless be fixed:
I'm unable to get the source package from Git. debcheckout complains
about LFS errors, and even if I ignore those, the git repo does not
have the current 5.9.0-2 version. This makes it hard to submit
appropriate patches and/or merge requests.

Thanks,

Roland.


-- System Information:
Debian Release: 11.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-8-amd64 (SMP w/8 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages paraview-dev depends on:
ii  libc6               2.31-13
pn  libeigen3-dev       <none>
pn  paraview            <none>
pn  qttools5-dev-tools  <none>

paraview-dev recommends no packages.

paraview-dev suggests no packages.



More information about the debian-science-maintainers mailing list