On Sat, Jul 30, 2022 at 11:15:30AM -0700, Dima Kogan wrote:
Hi. This probably has been covered before
It wasn't, but it's completely identical to putting 13 into debian/compat, which never supported >= either.
This works fine if you're building for Debian/sid in 2022. It does not
work in any other context. I have a very common use case: at work I'm maintaining several APT repos for the packages we use for several
distros (the last few releases of Debian and Ubuntu). The latest Debian already has the packages in it, so the Build-Depends line is exactly as above. But this means that building the package for any of the older
releases fails. And if I say something reasonable like
Build-Depends: debhelper-compat (>= 11)
And the recommendation was always "put 11 into debian/compat if you want
to build on older distros".
It isn't helpful. Most packages (including mine) are very vanilla, and
there isn't any difference between debhelper 11 or 12 or 13.
(there can be important changes even in very vanilla packages)
I'm having to patch debian/control every time I do a build
You presumably also have to patch debian/changelog, and building a single unchanged (apart from debian/changelog) package for multiple distros is
not going to always work either (even for very vanilla packages, e.g.
because of different versions for versioned B-D in Debian and Ubuntu).
--
WBR, wRAR
-----BEGIN PGP SIGNATURE-----
iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmLlke8tFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh 8kkP/R7YfHLJYYneW/bgzSzYVDcSlm7D/QEb0fdj0SDCQ1OojCY61moFgMOa3oAj dbb7lKuB9f+o1kv1eyfySU3urBbRfve+2gG2uc1KtbcB3Bno39iUflpphyMgrkY+ SC8QIAVrI49e5AmxKXXdlCOs8BSJZqW1y84vvucJKPJSQ1c/QCV9wQ5dKARqfAds n6t4Fg8ZO7oLQbOlthT9fay48bE4JdNgqVooxoqrRdP+3CsLRLH86uu67JyQ3srS lRgM+obR+T0joAxhWt66L/K+vY854nfOpA8sy6rvlu/3vAY4aFDT+P6bX6Y4k4AF Pi0GMwZwiIXO4O7sz1Mi7AzzqHPVYPre1uk2EOyYu+Ii+jJOIubR7X+qXYYXukR7 7UAvYUrJuK1NcQObwBFBCCtlTKq6a0lDLyJFLyJLWDgZmkpBp6BOGd/Jl/mC44ji 8KQGXUf3liv2cH59EqdH8vSg6nOCo9zzyhvY6fdzz4gxgNl06VexMCtW1QojBDfI cTig1+mTCKceMB9kyjNIabwwQfJ+sJFqJhYndgOMK5hD2knWPO+bkMnCHpCNCDce 70qwVKibPVjHSfro7XeHtvoOE0zJeOlzfwp3hGi/AURhqdSv6zj1mhdHneR7OXRC P4fnJlzfOEzLTH5t4Xt/o+Q5UR9xA6OhRv3zXSjlmu8u31qh
=K5+v
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)