Bug#1128912: texinfo: building a second time fails in dh_installdocs with "debuild -i -us -uc -b"

Vincent Lefevre <[email protected]>
Newsgroups gmane.linux.debian.devel.tetex
Message-ID <20260224130940.GA186363__24338.5494964727$1771938687$gmane$org@disset.lip.ens-lyon.fr>
Source: texinfo
Version: 7.2-5
Severity: important

Building texinfo a first time with "debuild -i -us -uc -b" succeeds,
but rebuilding it with the same command fails with the following
error:

[...]
# install all the files
dh_install
make[1]: Leaving directory '/home/vlefevre/tmp/tmp0/texinfo-7.2'
   dh_installdocs
dh_installdocs: error: Cannot find (any matches for) "doc/refcard/txirefcard*.pdf" (tried in ., debian/tmp)

make: *** [debian/rules:27: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
debuild: fatal error at line 1185:
dpkg-buildpackage -us -uc -ui -i -b failed

Both unstable (7.2-5) and experimental (7.2.92-1) give this error.

-- System Information:
Debian Release: forky/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.18.12+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC
Locale: LANG=C.UTF-8, LC_CTYPE=C.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

-- no debconf information
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.