Subject: bug#379: base-files: 10.3+devuan4 breaks building of kernels using make bindeb-pkg

From: Evilham <[email-masked]>
Date: Fri, 24 Jan 2020 01:17:14 +0100

Hello Arthur,

On dj., gen. 23 2020, Mark Hindley wrote:

> Arthur,
>
> Looking at this again.
>
> On Wed, Jan 22, 2020 at 11:21:10PM +0000, Arthur Marsh wrote:
>> sh ./scripts/package/mkdebian
>> dpkg-buildpackage -r"fakeroot -u" -a$(cat debian/arch)  -b -nc 
>> -uc
>> dpkg-buildpackage: warning:     debian/changelog(l2): found end 
>> of file where expected first heading
>
> This implies there is something wrong with the debian/changelog 
> in the kernel
> src root. Are you sure it is formatted correctly? What does 
> dpkg-parsechangelog
> produce?

thank you for the report, could you help us discard a couple 
theories?

1. You are not running beowulf but ceres/sid.
   For this please show us your full sources.list as it'll be very 
   helpful
2. There is an issue with your ${KERNEL_SOURCE}/debian/changelog
   For this please show us your ${KERNEL_SOURCE}/debian/changelog

   Notice that ${KERNEL_SOURCE} is exactly the directory where you 
   are running make
   ON my system, this gets modified automatically with something 
   like:

   linux-5.4.8 (5.4.8-1) beowulf; urgency=low

      * Custom built Linux kernel.

    -- evilham <evilham@FQDN>  Fri, 24 Jan 2020 01:07:37 +0100

FTR: My stock-kernel build of 5.4.8 finishes without issues on 
Devuan beowulf with base-files 10.3-devuan3.2 (the intended 
version on -proposed), so I can't really confirm that there is a 
general issue atm.

Cheers,
--
Evilham