[debhelper-devel] Bug#847138: debhelper requires the Packages field	to come before Package-Type and Build-Profiles in d/control
    Johannes Schauer 
    josch at debian.org
       
    Mon Dec  5 22:11:32 UTC 2016
    
    
  
Package: debhelper
Version: 10.2.2
Severity: normal
Hi,
the function getpackages() in Dh_Lib.pm currently expects the Packages
field to come before the Package-Type and Build-Profiles field in binary
stanzas in debian/control. If that's not the case, then the function
will reset the values of the Package-Type and Build-Profiles field. This
should not happen:
 - there is nothing enforcing the order of fields in debian/control
   stanzas
 - rfc822 doesn't care about the order of fields either
 - many (most?) tools parsing deb822 also do not care about the order
Thus, please make the getpackages() function independent of the order
the fields appear in.
Thanks!
cheers, josch
    
    
More information about the debhelper-devel
mailing list