[Build-common-hackers] Bug#805315: Bug#805315: cdbs: FTBFS with debhelper/9.20151116 - debhelper-5.sh has no compat

Jonas Smedegaard dr at jones.dk
Tue Nov 17 19:27:11 UTC 2015


Quoting Niels Thykier (2015-11-17 19:14:00)
> Jonas Smedegaard:
> > Quoting Niels Thykier (2015-11-16 23:22:47)
>>> I happened to rebuild cdbs today with the newly uploaded 
>>> debhelper/9.20151116 and it FTBFS (test/debhelper-5.sh fails).
>>>
>>> AFAICT, the issue is that the test case removes "debian/compat", 
>>> making the (test) build default to compat 1, which is no longer 
>>> supported.
>>
>> Sounds to me like a bug in debhelper, then: That you have not raised 
>> the floor of debhelper to compatibility level 3, but removed the 
>> floor.
>>
>> Or rephrased: Is it a documented "feature" that debhelper now 
>> _mandates_ a debian/compat file - that leaving it out does not assume 
>> lowest supported compatibility level but cause breakage?

> Mind you, debhelper does *not* mandate a debian/compat at this time 
> (although it is expected to become mandatory in the future).  What has 
> become mandatory is that the package declares an explicit compat of 3 
> or higher (4 being minimum by the end of the year).  This can still be 
> done by using the DH_COMPAT environment variable.

Right, that is what I meant.  Thanks for clarifying.

I read COMPATIBILITY LEVELS section of debhelper man page as that being 
an optional feature.

Since that (as you clarify below) effectively is no longer the case, I 
suggest clarify by sprinkling a few "must" into that section - and while 
at it extend to document DH_COMPAT (and which is used when both are 
applied) at the same place.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20151117/34f391f3/attachment.sig>


More information about the Build-common-hackers mailing list