Subject: bug#616: base-files: building a kernel from source fails with new base-files

From: Mark Hindley <[email-masked]>
Date: Mon, 11 Oct 2021 17:54:11 +0100

Arthur,

Thanks for this.

I am unclear what change in base-files has caused this.

Can you check if base-files 11.1+devuan2[1] also causes this build failure?

On Tue, Oct 12, 2021 at 01:25:16AM +1030, Arthur Marsh wrote:
> Package: base-files
> Version: 12+devuan1
> Severity: normal
> 
> Dear Maintainer,
> 
> *** Reporter, please consider answering these questions, where appropriate ***
> 
>    * What led up to the situation?
> 
> Upgrading base-files to 12+devuan1
> 
> am64:/usr/src/linux# aptitude -u
> Performing actions...
> (Reading database ... 632413 files and directories currently installed.)
> Preparing to unpack .../base-files_12+devuan1_all.deb ...
> Unpacking base-files (12+devuan1) over (11.1+devuan1) ...
> Setting up base-files (12+devuan1) ...
> Installing new version of config file /etc/debian_version ...
> Installing new version of config file /etc/issue ...
> Installing new version of config file /etc/issue.net ...
> Processing triggers for install-info (6.8-3) ...
> Processing triggers for man-db (2.9.4-2) ...
> Press Return to continue, 'q' followed by Return to quit.
> q
> am64:/usr/src/linux# sh -x ../amd64.sh
> + make -j6 menuconfig bindeb-pkg
> 
> 
> *** End of the configuration.
> *** Execute 'make' to start the build or try 'make help'.
> 
> 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
> dpkg-buildpackage: error: fatal error occurred while parsing debian/changelog

What is the contents of debian/changelog?

Thanks

Mark

[1]  http://deb.devuan.org/pool/main/b/base-files/base-files_11.1+devuan2_all.deb