Bug#897114: ifrit FTBFS with cmake 3.11.1

2018-05-04 Thread peter green

Tags 897114 +patch
thanks

This was blocking a transition in raspbian, so I whipped up a fix. Debdiff at 
http://debdiffs.raspbian.org/main/i/ifrit/ifrit_4.1.2-5%2brpi1.debdiff , no 
intent to NMU in Debian.

The only tricky bit was that there seems to have been a typo in debian/rules, 
there was a target called override_dh_autoconfigure which I presume was a typo 
for override_dh_autoconfigure , I tried fixing said typo but that seemed to 
cause more problems than it solved, so I left it alone and added my own 
override target. You might want to consider either fixing or removing the dead 
code.



Bug#897114: ifrit FTBFS with cmake 3.11.1

2018-04-28 Thread Adrian Bunk
Source: ifrit
Version: 4.1.2-5
Severity: serious
Tags: buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ifrit.html

...
 fakeroot debian/rules binary
dh binary --buildsystem=cmake --sourcedirectory=build
   dh_update_autotools_config -O--buildsystem=cmake -O--sourcedirectory=build
   dh_auto_configure -O--buildsystem=cmake -O--sourcedirectory=build
cd obj-x86_64-linux-gnu && cmake ../build -DCMAKE_INSTALL_PREFIX=/usr 
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None 
-DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var 
-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON 
-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON "-GUnix Makefiles"
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The imported target "vtkRenderingPythonTkWidgets" references the file
   "/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so"
but this file does not exist.  Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/cmake/vtk-6.3/VTKTargets.cmake"
but not all the files it references.

-- The imported target "vtk" references the file
   "/usr/bin/vtk"
but this file does not exist.  Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/cmake/vtk-6.3/VTKTargets.cmake"
but not all the files it references.

CMake Error at /usr/share/cmake-3.11/Modules/FindQt.cmake:166 (message):
  Multiple versions of Qt found please set DESIRED_QT_VERSION
Call Stack (most recent call first):
  CMakeLists.txt:174 (INCLUDE)


-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found version 
"2.7.15rc1") 
CMake Error: Error required internal CMake variable not set, cmake may not be 
built correctly.
Missing variable is:
QT_MOC_EXECUTABLE
-- Configuring incomplete, errors occurred!