Devuan bug report logs - #616
base-files: building a kernel from source fails with new base-files

version graph

Package: base-files; Maintainer for base-files is Devuan Developers <devuan-dev@lists.dyne.org>; Source for base-files is src:base-files.

Reported by: Arthur Marsh <arthur.marsh@internode.on.net>

Date: Mon, 11 Oct 2021 15:02:01 UTC

Severity: normal

Found in version 12+devuan1

Fixed in version 12+devuan2

Done: dak@devuan.org

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, Evilham <devuan@evilham.com>:
bug#616; Package base-files. (Mon, 11 Oct 2021 15:02:01 GMT) (full text, mbox, link).


Acknowledgement sent to Arthur Marsh <arthur.marsh@internode.on.net>:
New bug report received and forwarded. Copy sent to Evilham <devuan@evilham.com>. (Mon, 11 Oct 2021 15:02:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

From: Arthur Marsh <arthur.marsh@internode.on.net>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: base-files: building a kernel from source fails with new base-files
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

Information forwarded to devuan-bugs@lists.dyne.org, Evilham <devuan@evilham.com>:
bug#616; Package base-files. (Mon, 11 Oct 2021 17:02:01 GMT) (full text, mbox, link).


Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to Evilham <devuan@evilham.com>. (Mon, 11 Oct 2021 17:02:03 GMT) (full text, mbox, link).


Message #10 received at 616@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: Arthur Marsh <arthur.marsh@internode.on.net>
Cc: Devuan Bug Tracking System <616@bugs.devuan.org>
Subject: Re: base-files: building a kernel from source fails with new base-files
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  


Information forwarded to devuan-bugs@lists.dyne.org, Evilham <devuan@evilham.com>:
bug#616; Package base-files. (Mon, 11 Oct 2021 21:42:01 GMT) (full text, mbox, link).


Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to Evilham <devuan@evilham.com>. (Mon, 11 Oct 2021 21:42:05 GMT) (full text, mbox, link).


Message #15 received at 616@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: Arthur Marsh <arthur.marsh@internode.on.net>, Devuan Bug Tracking System <616@bugs.devuan.org>
Subject: Re: bug#616: base-files: building a kernel from source fails with new base-files
Date: Mon, 11 Oct 2021 22:37:42 +0100
Arthur,

On Mon, Oct 11, 2021 at 05:54:11PM +0100, Where all about bugs in Devuan packages is reported wrote:
> Arthur,
> 
> Thanks for this.
> 
> I am unclear what change in base-files has caused this.

Looking at the mkdebian script it appears to be line 126[1]

You should be able to work around it by setting KDEB_CHANGELOG_DIST. Can you
verify that works?

If the codename returned by lsb_release -cs is to be a single value, I wonder if
it should be ceres or daedalus.

Mark


[1]  https://git.zx2c4.com/linux-stable/tree/scripts/package/mkdebian?id=79a85b55e39e65d6f20c753c4ae8bcd6f4cd7007#n126


Information forwarded to devuan-bugs@lists.dyne.org, Evilham <devuan@evilham.com>:
bug#616; Package base-files. (Tue, 12 Oct 2021 09:52:01 GMT) (full text, mbox, link).


Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to Evilham <devuan@evilham.com>. (Tue, 12 Oct 2021 09:52:04 GMT) (full text, mbox, link).


Message #20 received at 616@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: Arthur Marsh <arthur.marsh@internode.on.net>
Cc: 616@bugs.devuan.org
Subject: Re: bug#616: base-files: building a kernel from source fails with new base-files
Date: Tue, 12 Oct 2021 10:43:16 +0100
Arthur,

On Tue, Oct 12, 2021 at 12:06:33PM +1030, Arthur Marsh wrote:
>    I just started with:
> 
>    KDEB_CHANGELOG_DIST=mytest make -j6 menuconfig bindeb-pkg
>    and it appears to be working thanks.

That is good to know.

We will consider if we want to change the codename that lsb_release returns, but
it seems right as ceres/daedalus.

Mark

Information forwarded to devuan-bugs@lists.dyne.org, Evilham <devuan@evilham.com>:
bug#616; Package base-files. (Tue, 12 Oct 2021 10:42:02 GMT) (full text, mbox, link).


Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to Evilham <devuan@evilham.com>. (Tue, 12 Oct 2021 10:42:04 GMT) (full text, mbox, link).


Message #25 received at 616@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: Arthur Marsh <arthur.marsh@internode.on.net>
Cc: 616@bugs.devuan.org
Subject: Re: bug#616: base-files: building a kernel from source fails with new base-files
Date: Tue, 12 Oct 2021 11:37:55 +0100
Arthur,

On Tue, Oct 12, 2021 at 10:43:16AM +0100, Mark Hindley wrote:
> We will consider if we want to change the codename that lsb_release returns, but
> it seems right as ceres/daedalus.

I have just been experimenting and deb-changelog(5) indicated that the
distributions field can be a space separated list.

If you change /etc/os-release to contain

 VERSION_CODENAME="daedalus ceres"

Does that enable mkdebian to run successfully without setting
KDEB_CHANGELOG_DIST manually?

Thanks

Mark

Information forwarded to devuan-bugs@lists.dyne.org, Evilham <devuan@evilham.com>:
bug#616; Package base-files. (Tue, 12 Oct 2021 13:32:01 GMT) (full text, mbox, link).


Acknowledgement sent to Arthur Marsh <arthur.marsh@internode.on.net>:
Extra info received and forwarded to list. Copy sent to Evilham <devuan@evilham.com>. (Tue, 12 Oct 2021 13:32:04 GMT) (full text, mbox, link).


Message #30 received at 616@bugs.devuan.org (full text, mbox, reply):

From: Arthur Marsh <arthur.marsh@internode.on.net>
To: Mark Hindley <mark@hindley.org.uk>
Cc: 616@bugs.devuan.org
Subject: Re: bug#616: base-files: building a kernel from source fails with new base-files
Date: Tue, 12 Oct 2021 23:58:43 +1030
Yes,

VERSION_CODENAME="daedalus ceres"

worked thanks.

Arthur. 

On 12 October 2021 9:07:55 pm ACDT, Mark Hindley <mark@hindley.org.uk> wrote:
>Arthur,
>
>On Tue, Oct 12, 2021 at 10:43:16AM +0100, Mark Hindley wrote:
>> We will consider if we want to change the codename that lsb_release returns, but
>> it seems right as ceres/daedalus.
>
>I have just been experimenting and deb-changelog(5) indicated that the
>distributions field can be a space separated list.
>
>If you change /etc/os-release to contain
>
> VERSION_CODENAME="daedalus ceres"
>
>Does that enable mkdebian to run successfully without setting
>KDEB_CHANGELOG_DIST manually?
>
>Thanks
>
>Mark

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Reply sent to dak@devuan.org:
You have taken responsibility. (Thu, 14 Oct 2021 15:32:01 GMT) (full text, mbox, link).


Notification sent to Arthur Marsh <arthur.marsh@internode.on.net>:
bug acknowledged by developer. (Thu, 14 Oct 2021 15:32:05 GMT) (full text, mbox, link).


Message #35 received at 616-done@bugs.devuan.org (full text, mbox, reply):

From: dak@devuan.org
To: 616-done@bugs.devuan.org
Subject: #616: fixed in src:base-files version 12+devuan2
Date: Thu, 14 Oct 2021 15:22:20 +0000
Version: 12+devuan2

Source package base-files (12+devuan2) added to Devuan suite unstable.

This closes bug report 616.

Thanks

DAK managing the Devuan archive

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 14 Oct 2021 16:14:52 +0100
Source: base-files
Architecture: source
Version: 12+devuan2
Distribution: unstable
Urgency: medium
Maintainer: Evilham <devuan@evilham.com>
Changed-By: Mark Hindley <mark@hindley.org.uk>
Closes: 616
Changes:
 base-files (12+devuan2) unstable; urgency=medium
 .
   * os-release: fix missed version bump in PRETTY_NAME.
   * os-release: make VERSION_CODENAME a space separated list (Closes: #616).
Checksums-Sha1:
 5476a15ab51a50563aa0bb49119ece8025e9ce61 1274 base-files_12+devuan2.dsc
 e9ef822209b96be03cbb90935387062ac08141fc 67856 base-files_12+devuan2.tar.xz
 97d33dd97d6efccffd7e52dc16d13d505efa6020 5142 base-files_12+devuan2_source.buildinfo
Checksums-Sha256:
 b23f04ace03ab00edd5d270c991320002c393c98c37d32a91a0e516da0fc076e 1274 base-files_12+devuan2.dsc
 b284ae48aeedb910e39aee7113a282d940270629c3d1e372b60bf2d249ce653f 67856 base-files_12+devuan2.tar.xz
 45806522cd5b892d40d74d7927b015e4ff901cabf43fb8aaae978ac97da742bc 5142 base-files_12+devuan2_source.buildinfo
Files:
 45c76de4c7b30055d56945aae725ebaa 1274 admin required base-files_12+devuan2.dsc
 a71d0a8d53fc5b4d356cf2761745b8db 67856 admin required base-files_12+devuan2.tar.xz
 683a14764ea2b0065068a414f8007670 5142 admin required base-files_12+devuan2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEcuPLdzMV36LkZHQ9lFMhJFQZIvsFAmFoSpcACgkQlFMhJFQZ
IvsNSwf/fQgljPoMcQIGloku083QMsNlBaK/9bphW0C9WKkGPIQpKnuTOjS4hn6T
Z7Z/ZiynU6vxRk54u2bLvHTAoc+WDP5VkYdojsw3SMQw89If1hKvbv+GL8+IpE7R
ypsTu8rLBiUgJLFUCRHmMJIq7cWIKypWXhJaz89T2vSnIyKVRrbiXmRCgi5Sapf/
S4QVc8zpugzkrmhW4VFwQ3ALkDOjcDet5EUvGM0nEHnhYin6DmToQ5pkpXumJBqK
g/mVRM4TMm6dwakxXjNA+KZyWwMyicDf4ykGw2vRa7GVouLvIhhnRjlwQZudQImG
7E2J4PnxmielGmLm7mb3JDmmFONwPw==
=IRi8
-----END PGP SIGNATURE-----

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Thu Mar 28 18:53:45 2024;