[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1054040: cups: 'make clean' fails in man/Makefile - master file 'backend.7' does not exist



Package: cups
Version: 2.4.2-3+deb12u4
Severity: minor
Tags: l10n

Whilst cherry-picking an upstream commit to Bookworm (2.4.2-3+deb12u4)
to fix #1039983 I discovered an 'un'build failure doing either:

debian/rules clean
make clean
...
Cleaning in man...
make[3]: Entering directory
'/srv/NAS/Sunny/SourceCode/cups/cups-openprinting/man'
make[3]: warning: -j12 forced in submake: resetting jobserver mode.
/usr/bin/rm -f mantohtml mantohtml.o
/usr/bin/rm -f cancel.1 cups.1 cups-config.1 cupstestppd.1
ippeveprinter.1 ippfind.1 ipptool.1 lp.1 lpoptions.1 lpq.1 lprm.1 lpr.1
lpstat.1 ppdc.1 ppdhtml.1 ppdi.1 ppdmerg
e.1 ppdpo.1 classes.conf.5 client.conf.5 cups-files.conf.5
cups-snmp.conf.5 cupsd.conf.5 cupsd-logs.5 ipptoolfile.5 mailto.conf.5
mime.convs.5 mime.types.5 ppdcfile.5 prin
ters.conf.5 subscriptions.conf.5 backend.7 filter.7 ippevepcl.7
notifier.7 cupsaccept.8 cupsctl.8 cupsfilter.8 cups-lpd.8 cups-snmp.8
cupsd.8 cupsd-helper.8 cupsenable.8 l
padmin.8 lpinfo.8 lpmove.8 lpc.8
for lang in de fr pt; do make -C $lang clean; done
make[4]: Entering directory
'/srv/NAS/Sunny/SourceCode/cups/cups-openprinting/man/de'
/usr/bin/rm -f mantohtml mantohtml.o
make[4]: Leaving directory
'/srv/NAS/Sunny/SourceCode/cups/cups-openprinting/man/de'
make[4]: Entering directory
'/srv/NAS/Sunny/SourceCode/cups/cups-openprinting/man/fr'
/usr/bin/rm -f mantohtml mantohtml.o
make[4]: Leaving directory
'/srv/NAS/Sunny/SourceCode/cups/cups-openprinting/man/fr'
make[4]: Entering directory
'/srv/NAS/Sunny/SourceCode/cups/cups-openprinting/man/pt'
/usr/bin/rm -f mantohtml mantohtml.o
make[4]: Leaving directory
'/srv/NAS/Sunny/SourceCode/cups/cups-openprinting/man/pt'
# Make sure the PO files are updated and remove generated
# translations.
po4a --previous --rm-translations ../debian/manpage-po4a/cups.cfg
../debian/manpage-po4a/cups.cfg:3: The master file 'backend.7' does not
exist.
make[3]: *** [Makefile:104: clean] Error 255
make[3]: Leaving directory
'/srv/NAS/Sunny/SourceCode/cups/cups-openprinting/man'
make[2]: *** [Makefile:92: clean] Error 1
make[2]: Leaving directory
'/srv/NAS/Sunny/SourceCode/cups/cups-openprinting'
dh_auto_clean: error: make -j12 distclean returned exit code 2
make[1]: *** [debian/rules:259: override_dh_auto_clean] Error 2
make[1]: Leaving directory
'/srv/NAS/Sunny/SourceCode/cups/cups-openprinting'
make: *** [debian/rules:24: clean] Error 2

It looks like

debian/patches/0016-Debian-po4a-infrastructure-and-translations-for-manp.patch

assumes the clean target is operating in the build directory
(./debian/tmp/) where a 'master' man-page does exist.


Reply to: