Subject: bug#752: FTBFS: qch files not built

From: Peter Chubb <[email-masked]>
Date: Tue, 21 Mar 2023 14:49:53 +1100

Source: dbus
Version: 1.14.6-1devuan1
Severity: normal
Tags: ftbfs

Dear Maintainer,

I did:
  sudo apt update
  sudo apt build-dep dbus
  apt source dbus
  cd dbus-1.14.6
  debuild -b -uc -us

and after some time and lots of output I see:
  /usr/bin/mkdir -p /home/peterc/src/dbus-1.14.6/debian/tmp/usr/share/doc/dbus
  /usr/bin/install -c -m 644 /home/peterc/src/dbus-1.14.6/debian/build-main/doc/api/qch/dbus-1.14.6.qch /home/peterc/src/dbus-1.14.6/debian/tmp/usr/share/doc/dbus
  /usr/bin/install: cannot stat '/home/peterc/src/dbus-1.14.6/debian/build-main/doc/api/qch/dbus-1.14.6.qch': No such file or directory
  make[4]: *** [Makefile:935: install-data-local] Error 1
  make[4]: Leaving directory '/home/peterc/src/dbus-1.14.6/debian/build-main/doc'
  make[3]: *** [Makefile:784: install-am] Error 2
  make[3]: Leaving directory '/home/peterc/src/dbus-1.14.6/debian/build-main/doc'
  make[2]: *** [Makefile:699: install-recursive] Error 1
  make[2]: Leaving directory '/home/peterc/src/dbus-1.14.6/debian/build-main'
  dh_auto_install: error: cd debian/build-main && make -j1 install DESTDIR=/home/peterc/src/dbus-1.14.6/debian/tmp AM_UPDATE_INFO_DIR=no returned exit code 2
  make[1]: *** [debian/rules:214: override_dh_auto_install] Error 25
  make[1]: Leaving directory '/home/peterc/src/dbus-1.14.6'
  make: *** [debian/rules:12: binary] Error 2
  dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
  debuild: fatal error at line 1182:
  dpkg-buildpackage -us -uc -ui -b failed

Maybe some build dependency is missing from the control file?

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 5 (daedalus/ceres)
Release:	5
Codename:	daedalus ceres
Architecture: x86_64

Kernel: Linux 6.1.0-6-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages dbus is related to:
ii  dbus-x11      1.14.6-1devuan1
pn  systemd       <none>
pn  systemd-sysv  <none>