Bug#1106574: release-notes FTBFS with gbp buildpackage

Mechtilde <[email protected]>
Newsgroups gmane.linux.debian.devel.documentation
Message-ID <870ad894-ce54-45fd-8528-bb22e43ecf42__29551.7650710948$1748280807$gmane$org@mechtilde.de>
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 <[email protected]>
>   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
OpenPGP_signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE8ON/Pch6SZgomTnn8od7uhQarX8FAmg0m0gACgkQ8od7uhQa
rX9EIg//V4ZlpTsaY+UNMeggT9bJ0EiF/fFi7cpYqNVpM6DS7F76GCFS25HwL5OJ
4BbjUjdo3WW6up5ISE37wejeJhS7VbPUlffYVRlYQvJRUmVuU/pTFDjCe4z4z1K+
LKWmpp1Za+ESO71SLnFtwfBcWAbEjDcr8zqE3jiiZv1BpVx7t5AVmoLkAfG9+Ckp
Uv/V/HVSniayMdC3jxw94smfrKjBuAzPw/AJiJAWkVBhYDo0EtTj9Eva25HQc2ER
q05ZR5aeut7AcH4Y4LXMuQZ2I+Yq4tOFcbUWkba6eeKbsohcZmd3WhpXxwrGPrTt
ZMJBOhs6sh21ZD65hnBfLlbIRLTYL0rpKIax8QG6Zm/27/sdbvrGJepjBqvI9H71
PfFozQStrp09Z84Ts2cXMdxjj+6GEoj8zJ23dmFBuUG3WCR2YWcsS4kNN1C8dYon
HgoXG8DqB/FzjEtCTA8D8hblgixskQpu5ayxVRbZdXuysjSSgAIfji1jV5vJAPrv
2x0Qs0235zbGerBhPmnX4yO/YEtkztUwhWcpeSoJXLTHXEvPxUPyMf6FgF9Haj0i
CSfFBEkmrTjpLt1trkosCxZPihZZvWzER/8HqQZmmtowg+ZHjZS5ECoYRfOVNU9a
cbe95tENP/xpPaajdb9FMUEx/i8vyDjaW0Xx18Ny3snsazE1Yy0=
=wrqM
-----END PGP SIGNATURE-----
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.