Hello Richard,

Is there a file "debian/compat"?

This file is obsolete. Please use debhelper-compat (=13) in debian/control.

Regards

Am 26.05.25 um 16:59 schrieb Richard Lewis:
package: release-notes
severity: minor

trying to build with "gbp buildpackage", i get a failure due to a
missing build-dependency on git and debian/compat specifies debhelper
level 5, but debian/control is asking for 13

The Makefile uses git on line 8 to set the DATE: I think the Makefile
should also be patched to using the current date if 'git log' fails,
since the user might have removed the .git.


(i dont actually want to build a package, but i thought this would be
the best way to build on a system that wont have all the many
dependencies installed)

Command: dpkg-buildpackage --sanitize-env -us -uc
dpkg-buildpackage: info: source package release-notes
dpkg-buildpackage: info: source version 13.0
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Holger Wansing <hwans...@mailbox.org>
  dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
  debian/rules clean
/usr/bin/make clean
make[1]: Entering directory '/build/reproducible-path/release-notes-13.0'
/bin/sh: 1: git: not found
# this is repeated several times
/bin/sh: 1: git: not found
rm -rf build
/bin/sh: 1: git: not found
/bin/sh: 1: git: not found
/bin/sh: 1: git: not found
/bin/sh: 1: git: not found
/bin/sh: 1: git: not found
rm -f source/locales/*.pot
rm -f source/locales/*/LC_MESSAGES/*.mo
rm -f statistics.txt statistics.html
rm -f source/conf.py
make[1]: Leaving directory '/build/reproducible-path/release-notes-13.0'
rm -f build
dh_clean
dh_clean: warning: Please specify the debhelper compat level exactly once.
dh_clean: warning:  * debian/compat requests compat 5.
dh_clean: warning:  * debian/control requests compat 13 via
"debhelper-compat (= 13)"
dh_clean: warning:
dh_clean: warning: Hint: If you just added a build-dependency on
debhelper-compat, then please remember to remove debian/compat
dh_clean: warning:
dh_clean: error: debhelper compat level specified both in
debian/compat and in debian/control
make: *** [debian/rules:34: clean] Error 255
dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2
--------------------------------------------------------------------------------


--
Mechtilde Stehmann

## Debian Developer
## PGP encryption welcome
## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to