[debhelper-devel] Bug#895223: debhelper: Many packages using cmake failed to build from source since upgrade to 11.2

Jean-Luc Coulon (f5ibh) jean-luc.coulon at wanadoo.fr
Sun Apr 8 13:36:03 UTC 2018


Package: debhelper
Version: 11.1.6
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I've upgraded debhelper from 11.1-6 to 11.2.
Since then, many packages dont build from source.
I've attached the build log of rawtherapee as an example.
The same applies to hugin, lensfun,...

Regards

Jean-Luc


- -- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages debhelper depends on:
ii  autotools-dev            20180224.1
ii  dh-autoreconf            17
ii  dh-strip-nondeterminism  0.040-1
ii  dpkg                     1.19.0.5
ii  dpkg-dev                 1.19.0.5
ii  file                     1:5.32-2
ii  libdpkg-perl             1.19.0.5
ii  man-db                   2.8.3-2
ii  perl                     5.26.1-5
ii  po-debconf               1.0.20

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  2.201701
pn  dwz      <none>

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQT5el3FKLtmYO4UlQtR0YZfPMac0AUCWsoawwAKCRBR0YZfPMac
0NoAAJ9xyprUpEsFpgw+wGUG/bMhpWlKFwCeLEZp7hF4DDjjx6QKUCedR6KvhUc=
=cwdH
-----END PGP SIGNATURE-----
-------------- next part --------------
 dpkg-buildpackage -rfakeroot -us -uc -ui
dpkg-buildpackage: info: paquet source rawtherapee
dpkg-buildpackage: info: version source 5.4-1
dpkg-buildpackage: info: distribution source unstable
dpkg-buildpackage: info: source chang? par Philip Rinn <rinni at inventati.org>
 dpkg-source --before-build rawtherapee-5.4
dpkg-buildpackage: info: architecture h?te amd64
 fakeroot debian/rules clean
dh clean
   dh_auto_clean
   dh_clean
 dpkg-source -b rawtherapee-5.4
dpkg-source: info: utilisation du format source ??3.0 (quilt)??
dpkg-source: info: construction de rawtherapee en utilisant le ./rawtherapee_5.4.orig.tar.xz existant
dpkg-source: info: construction de rawtherapee dans rawtherapee_5.4-1.debian.tar.xz
dpkg-source: info: construction de rawtherapee dans rawtherapee_5.4-1.dsc
 debian/rules build
dh build
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure
make[1]?: on entre dans le r?pertoire ??/usr/local/src/rawtherapee/orig/rawtherapee-5.4??
dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release -DCREDITSDIR=/usr/share/doc/rawtherapee -DLICENCEDIR=/usr/share/doc/rawtherapee -DPROC_FORCED_LABEL=generic -DCACHE_NAME_SUFFIX=""
	cd obj-x86_64-linux-gnu && cmake .. -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 -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCREDITSDIR=/usr/share/doc/rawtherapee -DLICENCEDIR=/usr/share/doc/rawtherapee -DPROC_FORCED_LABEL=generic -DCACHE_NAME_SUFFIX=
-- 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
-- CMAKE_BUILD_TYPE: Release
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29") 
-- Checking for module 'gtk+-3.0>=3.16'
--   Found gtk+-3.0, version 3.22.29
-- Checking for module 'gtkmm-3.0>=3.16'
--   Found gtkmm-3.0, version 3.22.2
-- Checking for module 'glib-2.0>=2.44'
--   Found glib-2.0, version 2.56.0
-- Checking for module 'glibmm-2.4>=2.44'
--   Found glibmm-2.4, version 2.56.0
-- Checking for module 'cairomm-1.0'
--   Found cairomm-1.0, version 1.12.2
-- Checking for module 'gio-2.0>=2.44'
--   Found gio-2.0, version 2.56.0
-- Checking for module 'giomm-2.4>=2.44'
--   Found giomm-2.4, version 2.56.0
-- Checking for module 'gthread-2.0>=2.44'
--   Found gthread-2.0, version 2.56.0
-- Checking for module 'gobject-2.0>=2.44'
--   Found gobject-2.0, version 2.56.0
-- Checking for module 'sigc++-2.0>=2.3.1'
--   Found sigc++-2.0, version 2.10.0
-- Checking for module 'lensfun>=0.2'
--   Found lensfun, version 0.3.2.0
-- Checking for module 'lcms2>=2.6'
--   Found lcms2, version 2.9
-- Checking for module 'expat>=2.1'
--   Found expat, version 2.2.5
-- Checking for module 'fftw3f'
--   Found fftw3f, version 3.3.7
-- Checking for module 'libiptcdata'
--   Found libiptcdata, version 1.0.4
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so  
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8") 
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.34") 
-- Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (found version "4.0.9") 
-- Checking for module 'libcanberra-gtk3'
--   Found libcanberra-gtk3, version 0.30
CMake Warning (dev) at /usr/share/cmake-3.10/Modules/FindOpenMP.cmake:310 (if):
  if given arguments:

    "TRUE"

  An argument named "TRUE" appears in a conditional statement.  Policy
  CMP0012 is not set: if() recognizes numbers and boolean constants.  Run
  "cmake --help-policy CMP0012" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindOpenMP.cmake:425 (_OPENMP_GET_SPEC_DATE)
  CMakeLists.txt:373 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OpenMP_C: -fopenmp  
CMake Warning (dev) at /usr/share/cmake-3.10/Modules/FindOpenMP.cmake:310 (if):
  if given arguments:

    "TRUE"

  An argument named "TRUE" appears in a conditional statement.  Policy
  CMP0012 is not set: if() recognizes numbers and boolean constants.  Run
  "cmake --help-policy CMP0012" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindOpenMP.cmake:425 (_OPENMP_GET_SPEC_DATE)
  CMakeLists.txt:373 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OpenMP_CXX: -fopenmp  
-- Found OpenMP: TRUE   
-- Performing Test _fftw3f_multithread
-- Performing Test _fftw3f_multithread - Failed
-- Performing Test LENSFUN_HAS_LOAD_DIRECTORY
-- Performing Test LENSFUN_HAS_LOAD_DIRECTORY - Success
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_INSTALL_LOCALSTATEDIR
    CMAKE_INSTALL_RUNSTATEDIR
    CMAKE_INSTALL_SYSCONFDIR


-- Build files have been written to: /usr/local/src/rawtherapee/orig/rawtherapee-5.4/obj-x86_64-linux-gnu
make[1]?: on quitte le r?pertoire ??/usr/local/src/rawtherapee/orig/rawtherapee-5.4??
   create-stamp debian/debhelper-build-stamp
 fakeroot debian/rules binary
dh binary
   dh_testroot
   dh_prep
   dh_installdirs
   debian/rules override_dh_install-arch
make[1]?: on entre dans le r?pertoire ??/usr/local/src/rawtherapee/orig/rawtherapee-5.4??
dh_install
dh_install: Cannot find (any matches for) "usr/bin/rawtherapee" (tried in ., debian/tmp)

dh_install: rawtherapee missing files: usr/bin/rawtherapee
dh_install: Cannot find (any matches for) "usr/bin/rawtherapee-cli" (tried in ., debian/tmp)

dh_install: rawtherapee missing files: usr/bin/rawtherapee-cli
dh_install: Cannot find (any matches for) "usr/share/metainfo" (tried in ., debian/tmp)

dh_install: rawtherapee missing files: usr/share/metainfo
dh_install: Cannot find (any matches for) "usr/share/applications" (tried in ., debian/tmp)

dh_install: rawtherapee missing files: usr/share/applications
dh_install: Cannot find (any matches for) "usr/share/doc" (tried in ., debian/tmp)

dh_install: rawtherapee missing files: usr/share/doc
dh_install: Cannot find (any matches for) "usr/share/icons" (tried in ., debian/tmp)

dh_install: rawtherapee missing files: usr/share/icons
dh_install: missing files, aborting
make[1]: *** [debian/rules:22: override_dh_install-arch] Error 25
make[1]?: on quitte le r?pertoire ??/usr/local/src/rawtherapee/orig/rawtherapee-5.4??
make: *** [debian/rules:16: binary] Error 2
dpkg-buildpackage: erreur: fakeroot debian/rules binary subprocess returned exit status 2


More information about the debhelper-devel mailing list