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

From: Arthur Marsh <[email-masked]>
Date: Tue, 12 Oct 2021 01:25:16 +1030

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
make[2]: *** [scripts/Makefile.package:83: bindeb-pkg] Error 255
make[1]: *** [Makefile:1576: bindeb-pkg] Error 2
make: *** [Makefile:350: __build_one_by_one] Error 2

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Downgrading base-files to 11.1+devuan1

   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 4 (daedalus/ceres)
Release:	5
Codename:	daedalus/ceres
Architecture: x86_64

Kernel: Linux 5.15.0-rc5 (SMP w/4 CPU threads)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages base-files depends on:
ii  gawk [awk]  1:5.1.0-1
ii  mawk [awk]  1.3.4.20200120-2

base-files recommends no packages.

base-files suggests no packages.

-- Configuration Files:
/etc/profile changed:
if [ "$(id -u)" -eq 0 ]; then
  PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
  PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
fi
export PATH
if [ "${PS1-}" ]; then
  if [ "${BASH-}" ] && [ "$BASH" != "/bin/sh" ]; then
    # The file bash.bashrc already sets the default PS1.
    # PS1='\h:\w\$ '
    if [ -f /etc/bash.bashrc ]; then
      . /etc/bash.bashrc
    fi
  else
    if [ "$(id -u)" -eq 0 ]; then
      PS1='# '
    else
      PS1='$ '
    fi
  fi
fi
if [ -d /etc/profile.d ]; then
  for i in /etc/profile.d/*.sh; do
    if [ -r $i ]; then
      . $i
    fi
  done
  unset i
fi

-- no debconf information