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

Package: base-files; Reported by: Arthur Marsh <arthur.marsh@internode.on.net>; Keywords: moreinfo; Done: Mark Hindley <mark@hindley.org.uk>; Maintainer for base-files is Devuan Developers <devuan-dev@lists.dyne.org>.

Message received at 379-done@bugs.devuan.org:


Received: (at 379-done) by bugs.devuan.org; 6 Feb 2020 10:50:43 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Thu, 06 Feb 2020 10:50:43 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 2B938F60BD2
	for <379-done@bugs.devuan.org>; Thu,  6 Feb 2020 11:44:26 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=apollo)
	by mx.hindley.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1izee0-0004xj-NB; Thu, 06 Feb 2020 10:44:24 +0000
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1izedz-0008Uz-TN; Thu, 06 Feb 2020 10:44:23 +0000
Date: Thu, 6 Feb 2020 10:44:23 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: 379-done@bugs.devuan.org
Cc: matheu@danwin1210.me, devuan@evilham.com
Subject: Re: [Devuan-bugs] bug#379: [DNG] "chimeara/ceres" in lsb_release
 output causes failure to compile kernel
Message-ID: <20200206104423.GI14807@hindley.org.uk>
References: <20200128001720.GR18108@linuxmafia.com>
 <20200128125156.GA12260@zeus.ad.home.arpa>
 <20200128134159.GT18108@linuxmafia.com>
 <65a37917b73704e6184c31dfb4671527.squirrel@danielas3rtn54uwmofdo3x2bsdifr47huasnmbgqzfrec5ubupvtpid.onion>
 <20200129073737.GA10223@hindley.org.uk>
 <20200201214031.GB5778@meba>
 <20200202111749.GW14807@hindley.org.uk>
 <20200204214824.GA14748@meba>
 <20200122232109.GA31589@doc.devuan.org>
 <mailman.4013.1580901448.1855.devuan-bugs@lists.dyne.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <mailman.4013.1580901448.1855.devuan-bugs@lists.dyne.org>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Version: 11+devuan1

> > and I can confirm that the kernel compiles correctly.
> 
> That is very helpful. Thanks.
> 
> We'll get a new version based on Debian version 11 built as soon as possible.

base-files version 11+devuan1 now in ceres.

Closing.

Mark

Notification sent to Arthur Marsh <arthur.marsh@internode.on.net>:
bug acknowledged by developer. Full text available.
Reply sent to Mark Hindley <mark@hindley.org.uk>:
You have taken responsibility. Full text available.

Message received at 379@bugs.devuan.org:


Received: (at 379) by bugs.devuan.org; 5 Feb 2020 11:08:53 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Wed, 05 Feb 2020 11:08:53 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id C2520F609D0
	for <379@bugs.devuan.org>; Wed,  5 Feb 2020 12:01:32 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=apollo)
	by mx.hindley.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1izIQe-0004YV-6X; Wed, 05 Feb 2020 11:01:17 +0000
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1izIQW-0005R6-Sh; Wed, 05 Feb 2020 11:01:00 +0000
Date: Wed, 5 Feb 2020 11:01:00 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: matheu@danwin1210.me
Cc: 379@bugs.devuan.org, dng@lists.dyne.org, devuan@evilham.com
Subject: Re: [DNG] "chimeara/ceres" in lsb_release output causes failure to
 compile kernel
Message-ID: <20200205110100.GE14807@hindley.org.uk>
References: <202001262330.15857.dr.klepp@gmx.at>
 <20200128001720.GR18108@linuxmafia.com>
 <20200128125156.GA12260@zeus.ad.home.arpa>
 <20200128134159.GT18108@linuxmafia.com>
 <65a37917b73704e6184c31dfb4671527.squirrel@danielas3rtn54uwmofdo3x2bsdifr47huasnmbgqzfrec5ubupvtpid.onion>
 <20200129073737.GA10223@hindley.org.uk>
 <20200201214031.GB5778@meba>
 <20200202111749.GW14807@hindley.org.uk>
 <20200204214824.GA14748@meba>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20200204214824.GA14748@meba>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

On Tue, Feb 04, 2020 at 09:48:24PM +0000, matheu@danwin1210.me wrote:
> On 200202-11:17+0000, Mark Hindley wrote:
> ...
> > Actually, I think we might just need to merge in Debian's base-files 11.0. It
> > has dropped all the VERSION, VERSION_ID and CODENAME headers from
> > /etc/os-release. See
> ...
> > Are you able to remove VERSION, VERSION_ID and CODENAME and verify that the
> > kernel builds successfully?
> 
> So I did:
> 
> # diff /usr/lib/os-release os-release_200204_21_5.orig
> 2a3,5
> > VERSION_ID="4"
> > VERSION="4 (chimaera/ceres)"
> > VERSION_CODENAME=chimaera/ceres
> #
> 
> and I can confirm that the kernel compiles correctly.

That is very helpful. Thanks.

We'll get a new version based on Debian version 11 built as soon as possible.

Mark

Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to Evilham <devuan@evilham.com>. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, Evilham <devuan@evilham.com>:
bug#379; Package base-files. Full text available.

Message received at 379@bugs.devuan.org:


Received: (at 379) by bugs.devuan.org; 4 Feb 2020 21:57:49 +0000
Return-Path: <matheu@danwin1210.me>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 04 Feb 2020 21:57:49 +0000 (UTC)
Received: from danwin1210.me (danwin1210.me [116.202.17.147])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 909F9F609F2
	for <379@bugs.devuan.org>; Tue,  4 Feb 2020 22:48:26 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (4096-bit key; secure) header.d=danwin1210.me header.i=@danwin1210.me header.b="lhvJ9cP6";
	dkim-atps=neutral
Received: from localhost (unknown [10.8.3.3])
	by danwin1210.me (Postfix) with ESMTPA id 50F5B1F514;
	Tue,  4 Feb 2020 21:48:25 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=danwin1210.me;
	s=mail; t=1580852905;
	bh=fju1IEgit/3Gj0JJVljnxZq2uPjC9scJz/NRptBj1bo=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=lhvJ9cP61H1qJfELDeVUygRv/w5L/F3xdUoclxV+8yOvu8ZMfjn89k3/UdAWD5ofo
	 FBjl8lpPXGenHo+8qlcGK9GN4L/PARCmgol2TnMriQFcLAni7a5P4rzNlLdNXtCDhd
	 dMLFsZCHEMoKkjKxn+ue9XrAWP/TCmFRkF4SthjWIBhIDzzRBH66fbhwIWnuyDNyxZ
	 cRhAfAXagx7IBi2dis9fFQBrD7Kg14EHNSMsTeR3MsjS7KvNkSmgPHdUi719ie5aUq
	 odbq13wMrTTdS01tkYJKsXETRolTol+mxhMKDBbaS3VDINBAVksZEtP0A/jJAojtZ3
	 wZkfSDoLFbZvDIof3zxo/4YTdagA4vO6hqY6jcwC+SSQ+vnftY844VRxMQr323htHE
	 V8L68nlb72pGtyHdeeW2CCINMqWtAPr1jrec8ZQkwannUy2jwdwTdcRVqJUwUYkfXy
	 +lrOZoOZhhsOp3ZONLILNz0yHco3RiAg+sa0MCPJtRv6w1dbzTwOLaVar6wxI65dJw
	 OQhsY2mFp451Ry+YbrajBLTn+Hf6m5+zwqKujQBcxtxQUgRgCY7ElTyi/JtTFPYOVD
	 BM8crDO/Vy4SYXcHWKW4pwM+sTIOvj0IPGVqS1+p8wK0Le09g8PkRf3nFLgHZQXwuT
	 alPI52sQatRJX8uEOxpMFeD4=
Received: from danwin1210.me (localhost [127.0.0.1])
	by localhost (Postfix) with ESMTP id 13FAC10C3B8;
	Tue,  4 Feb 2020 21:48:25 +0000 (UTC)
Date: Tue, 4 Feb 2020 21:48:24 +0000
X-OPENPGPKEY: Message passed unmodified
From: matheu@danwin1210.me
To: Mark Hindley <mark@hindley.org.uk>
Cc: matheu@danwin1210.me, 379@bugs.devuan.org, dng@lists.dyne.org,
	devuan@evilham.com
Subject: Re: [DNG] "chimeara/ceres" in lsb_release output causes failure to
 compile kernel
Message-ID: <20200204214824.GA14748@meba>
References: <202001262330.15857.dr.klepp@gmx.at>
 <20200128001720.GR18108@linuxmafia.com>
 <20200128125156.GA12260@zeus.ad.home.arpa>
 <20200128134159.GT18108@linuxmafia.com>
 <65a37917b73704e6184c31dfb4671527.squirrel@danielas3rtn54uwmofdo3x2bsdifr47huasnmbgqzfrec5ubupvtpid.onion>
 <20200129073737.GA10223@hindley.org.uk>
 <20200201214031.GB5778@meba>
 <20200202111749.GW14807@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20200202111749.GW14807@hindley.org.uk>
X-Virus-Scanned: clamav-milter 0.102.1 at proxy
X-Virus-Status: Clean
X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

On 200202-11:17+0000, Mark Hindley wrote:
...
> Actually, I think we might just need to merge in Debian's base-files 11.0. It
> has dropped all the VERSION, VERSION_ID and CODENAME headers from
> /etc/os-release. See
...
> Are you able to remove VERSION, VERSION_ID and CODENAME and verify that the
> kernel builds successfully?

So I did:

# diff /usr/lib/os-release os-release_200204_21_5.orig
2a3,5
> VERSION_ID="4"
> VERSION="4 (chimaera/ceres)"
> VERSION_CODENAME=chimaera/ceres
#

and I can confirm that the kernel compiles correctly.

$ make -j4 deb-pkg
  UPD     include/config/kernel.release
make clean
sh ./scripts/package/mkdebian
Using default distribution of 'unstable' in the changelog
Install lsb-release or set $KDEB_CHANGELOG_DIST explicitly
  TAR     linux-5.5.0test00+.tar.gz
origversion=$(dpkg-parsechangelog -SVersion |sed 's/-[^-]*$//');\
    mv linux-5.5.0test00+.tar.gz ../linux-5.5.0test00+_${origversion}.orig.tar.gz
dpkg-buildpackage -r"fakeroot -u" -a$(cat debian/arch)  -i.git -us -uc
dpkg-buildpackage: info: source package linux-5.5.0test00+
dpkg-buildpackage: info: source version 5.5.0test00+-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by mehr <mehr@meba>
 dpkg-source -i.git --before-build .
dpkg-buildpackage: info: host architecture amd64
 fakeroot -u debian/rules clean
rm -rf debian/*tmp debian/files
make clean
 dpkg-source -i.git -b .
...

The problem appear to be solved with the new changes in base-files.

Regards!
Matheu

Acknowledgement sent to matheu@danwin1210.me:
Extra info received and forwarded to list. Copy sent to Evilham <devuan@evilham.com>. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, Evilham <devuan@evilham.com>:
bug#379; Package base-files. Full text available.

Message received at 379@bugs.devuan.org:


Received: (at 379) by bugs.devuan.org; 2 Feb 2020 11:23:16 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sun, 02 Feb 2020 11:23:16 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id D1C08F604ED
	for <379@bugs.devuan.org>; Sun,  2 Feb 2020 12:17:55 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=apollo)
	by mx.hindley.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1iyDGA-0007Ma-Lb; Sun, 02 Feb 2020 11:17:50 +0000
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1iyDG9-0006Ad-Gm; Sun, 02 Feb 2020 11:17:49 +0000
Date: Sun, 2 Feb 2020 11:17:49 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: matheu@danwin1210.me
Cc: 379@bugs.devuan.org, dng@lists.dyne.org, devuan@evilham.com
Subject: Re: [DNG] "chimeara/ceres" in lsb_release output causes failure to
 compile kernel
Message-ID: <20200202111749.GW14807@hindley.org.uk>
References: <202001262330.15857.dr.klepp@gmx.at>
 <20200128001720.GR18108@linuxmafia.com>
 <20200128125156.GA12260@zeus.ad.home.arpa>
 <20200128134159.GT18108@linuxmafia.com>
 <65a37917b73704e6184c31dfb4671527.squirrel@danielas3rtn54uwmofdo3x2bsdifr47huasnmbgqzfrec5ubupvtpid.onion>
 <20200129073737.GA10223@hindley.org.uk>
 <20200201214031.GB5778@meba>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20200201214031.GB5778@meba>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Matheu,

Thanks for this.

On Sat, Feb 01, 2020 at 09:40:31PM +0000, matheu@danwin1210.me wrote:
> 127c127
> < elif distribution=$(lsb_release -cs |cut -d/ -f2 2>/dev/null) && [ -n "$distribution" ] && [ "$distribution" != "n/a" ]; then
> ---
> > elif distribution=$(lsb_release -cs 2>/dev/null) && [ -n "$distribution" ] && [ "$distribution" != "n/a" ]; then

Actually, I think we might just need to merge in Debian's base-files 11.0. It
has dropped all the VERSION, VERSION_ID and CODENAME headers from
/etc/os-release. See
https://tracker.debian.org/media/packages/b/base-files/changelog-11

That makes lsb_release -cs return 'n/a' which is an expected and handled case.

Are you able to remove VERSION, VERSION_ID and CODENAME and verify that the
kernel builds successfully?

Thanks

Mark

Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to Evilham <devuan@evilham.com>. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, Evilham <devuan@evilham.com>:
bug#379; Package base-files. Full text available.

Message received at 379@bugs.devuan.org:


Received: (at 379) by bugs.devuan.org; 1 Feb 2020 21:42:10 +0000
Return-Path: <matheu@danwin1210.me>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sat, 01 Feb 2020 21:42:10 +0000 (UTC)
Received: from danwin1210.me (danwin1210.me [116.202.17.147])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 97ED5F60885
	for <379@bugs.devuan.org>; Sat,  1 Feb 2020 22:40:31 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (4096-bit key; secure) header.d=danwin1210.me header.i=@danwin1210.me header.b="U9bShJ2g";
	dkim-atps=neutral
Received: from localhost (unknown [10.8.3.3])
	by danwin1210.me (Postfix) with ESMTPA id 093A41F4C0;
	Sat,  1 Feb 2020 21:40:22 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=danwin1210.me;
	s=mail; t=1580593230;
	bh=F2xmj1CA1xhqMfDc7J5iOPHfhR+TMVhv3AoPVOHzFTA=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=U9bShJ2g9YroiDCmdADx0Ev2UsAvWpdI4y8A8n1BTaBUIDIpZK+2eBX6jnRs9m0qz
	 genf99fFoullm/k/zwxXxXuYUbdDt8oCF+mYZXYsQSdJvMrGmTYSJHTO6w/L3SCD1F
	 K/QrPWxBRXOGDddO6OBckLL2gI7KFeC9VjwFbMrqeJxW8XpyBI3G1ISyAJ1tiVfCd2
	 LXJnzaACuuylxlJR2Dy+HRfMLxYfHdieEl8+KCIBxtvTvtXJLQAGxMOUmx+Zb0sFdC
	 uvwbhPuLEnSB/nHDyaACWR3FhJUZdXmFQ+Ti3GaA3dMPcJYnSG2vdbxh9xPUFlFgl8
	 JFBo0G5yKQAs5Qqaqdo37OfIax0zGa8rk7Ez5Nf0CBMb8SZHvUgiEzVcxpnO8CYxve
	 tFa6FRzbEruJBVwzGKCH0fLabCIv7HiUpIEbATaSCyYuXvcVv33a5iQZLs64HKrOzG
	 Mrk9r/U2b7eM6BGs6yyw937DeJWl8baKaic3PtwZKY9ISEhUzgDLgDaT2g5adRCcL8
	 qyuUJ25JvFLirhhRQuuABVDtbPI7vTsubfZHBYIIMrq5urUAy+s4WMko4sT6SYkL0S
	 Whksn73Ssk6cRnN8xZqe3aduOMobdcI56aXJZvl/lESgp+0w0h6/EOdTIiQLHyR7lD
	 OSK8guoIIdecofBqEF7CIhSw=
Received: from danwin1210.me (localhost [127.0.0.1])
	by localhost (Postfix) with ESMTP id C06B510048C;
	Sat,  1 Feb 2020 21:40:21 +0000 (UTC)
Date: Sat, 1 Feb 2020 21:40:31 +0000
X-OPENPGPKEY: Message passed unmodified
From: matheu@danwin1210.me
To: 379@bugs.devuan.org
Cc: dng@lists.dyne.org, Mark Hindley <mark@hindley.org.uk>,
	devuan@evilham.com
Subject: Re: [DNG] "chimeara/ceres" in lsb_release output causes failure to
 compile kernel
Message-ID: <20200201214031.GB5778@meba>
References: <202001262330.15857.dr.klepp@gmx.at>
 <20200128001720.GR18108@linuxmafia.com>
 <20200128125156.GA12260@zeus.ad.home.arpa>
 <20200128134159.GT18108@linuxmafia.com>
 <65a37917b73704e6184c31dfb4671527.squirrel@danielas3rtn54uwmofdo3x2bsdifr47huasnmbgqzfrec5ubupvtpid.onion>
 <20200129073737.GA10223@hindley.org.uk>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="3lcZGd9BuhuYXNfi"
Content-Disposition: inline
In-Reply-To: <20200129073737.GA10223@hindley.org.uk>
X-Virus-Scanned: clamav-milter 0.102.1 at proxy
X-Virus-Status: Clean
X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org


--3lcZGd9BuhuYXNfi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On 200129-07:37+0000, Mark Hindley wrote:
> On Tue, Jan 28, 2020 at 09:46:38PM -0000, matheu--- via Dng wrote:
> > Hi!
> > 
> > I tried to see how to report this bug on bugs.devuan.org, or on
> > dev1galaxy.org but couldn't magage with Tor.
> 
> Matheu,
> 
> Thanks. This looks as if it might well be related to #379. So please 
> could you resend this information to 379@bugs.devuan.org.
> 
> Please also attach the KERNEL_SRC_ROOT/debian/changelog file.

We're in KERNEL_SRC_ROOT/ and we are compiling linux-stable, like so:

$ make j4 deb-pkg

  HOSTCC  scripts/kconfig/conf.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --syncconfig Kconfig
  UPD     include/config/kernel.release
make clean
sh ./scripts/package/mkdebian
  TAR     linux-5.5.0+.tar.gz
origversion=$(dpkg-parsechangelog -SVersion |sed 's/-[^-]*$//');\
	mv linux-5.5.0+.tar.gz ../linux-5.5.0+_${origversion}.orig.tar.gz
dpkg-parsechangelog: warning:     debian/changelog(l2): found end of file where expected first heading
dpkg-parsechangelog: error: fatal error occurred while parsing debian/changelog
dpkg-buildpackage -r"fakeroot -u" -a$(cat debian/arch)  -i.git -us -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[1]: *** [scripts/Makefile.package:77: deb-pkg] Error 25
make: *** [Makefile:1427: deb-pkg] Error 2
sed 's$lsb_release -cs$lsb_release -cs |cut -d -f2/$' scripts/package/mkdebian  | grep -A1 dpkg-parsechang

It results in the above error.

The issue is with the lsb_release, or the kernel folks should accept the
second field to have a '/'... and change the mkdebian file accordingly.

$ lsb_release -cs
chimaera/ceres
$
does not work with the kernel.

The workaround is to insert '| cut -d/ -f2' into KERNEL_SRC_ROOT/scripts/package/mkdebian .

$ sed -i 's$lsb_release -cs$lsb_release -cs |cut -d/ -f2$' scripts/package/mkdebian

which will result in:

127c127
< elif distribution=$(lsb_release -cs |cut -d/ -f2 2>/dev/null) && [ -n "$distribution" ] && [ "$distribution" != "n/a" ]; then
---
> elif distribution=$(lsb_release -cs 2>/dev/null) && [ -n "$distribution" ] && [ "$distribution" != "n/a" ]; then

and then the compilation is OK.

Such as:

make clean
sh ./scripts/package/mkdebian
  TAR     linux-5.5.0+.tar.gz
origversion=$(dpkg-parsechangelog -SVersion |sed 's/-[^-]*$//');\
        mv linux-5.5.0+.tar.gz ../linux-5.5.0+_${origversion}.orig.tar.gz
dpkg-buildpackage -r"fakeroot -u" -a$(cat debian/arch)  -i.git -us -uc
dpkg-buildpackage: info: source package linux-5.5.0+
dpkg-buildpackage: info: source version 5.5.0+-1
dpkg-buildpackage: info: source distribution ceres
dpkg-buildpackage: info: source changed by mehr <mehr@meba>
 dpkg-source -i.git --before-build .
dpkg-buildpackage: info: host architecture amd64
 fakeroot -u debian/rules clean
rm -rf debian/*tmp debian/files
make clean
 dpkg-source -i.git -b .
dpkg-source: warning: source directory 'linux-stable_W' is not <sourcepackage>-<upstreamversion> 'linux-5.5.0+-5.5.0+'
dpkg-source: warning: .orig directory name linux-stable_W.orig is not <package>-<upstreamversion> (wanted linux-5.5.0+-5.5.0+.orig)
dpkg-source: info: using source format '1.0'
dpkg-source: info: building linux-5.5.0+ using existing linux-5.5.0+_5.5.0+.orig.tar.gz
...


The KERNEL_SRC_ROOT/debian/changelog file is attached.

Regards!

--3lcZGd9BuhuYXNfi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=debian-changelog

linux-5.5.0+ (5.5.0+-1) chimaera/ceres; urgency=low

  * Custom built Linux kernel.

 -- mehr <mehr@meba>  Sat, 01 Feb 2020 20:25:52 +0000

--3lcZGd9BuhuYXNfi--

Acknowledgement sent to matheu@danwin1210.me:
Extra info received and forwarded to list. Copy sent to Evilham <devuan@evilham.com>. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, Evilham <devuan@evilham.com>:
bug#379; Package base-files. Full text available.
Added tag(s) moreinfo; removed tag(s) patch. Request was from Mark Hindley <mark@hindley.org.uk> to 379-submit@bugs.devuan.org. Full text available.

Message received at 379@bugs.devuan.org:


Received: (at 379) by bugs.devuan.org; 25 Jan 2020 13:58:17 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sat, 25 Jan 2020 13:58:17 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 5EFA5F608E7
	for <379@bugs.devuan.org>; Sat, 25 Jan 2020 14:52:54 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=apollo)
	by mx.hindley.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1ivLrn-0001HP-La
	for 379@bugs.devuan.org; Sat, 25 Jan 2020 13:52:52 +0000
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1ivLrl-0001aG-VG
	for 379@bugs.devuan.org; Sat, 25 Jan 2020 13:52:50 +0000
Date: Sat, 25 Jan 2020 13:52:49 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: 379@bugs.devuan.org
Subject: Re: bug#379: base-files: 10.3+devuan4 breaks building of kernels
 using make bindeb-pkg
Message-ID: <20200125135249.GA6044@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debbugs-No-Ack: No Thanks
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=0.0 required=5.0 tests=FAKE_REPLY_C,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Control: tags -1 = moreinfo

Information forwarded to devuan-bugs@lists.dyne.org, Evilham <devuan@evilham.com>:
bug#379; Package base-files. Full text available.

Message received at 379@bugs.devuan.org:


Received: (at 379) by bugs.devuan.org; 24 Jan 2020 13:23:36 +0000
Return-Path: <devuan@evilham.com>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Fri, 24 Jan 2020 00:24:58 +0000 (UTC)
Received: from yggdrasil.evilham.com (yggdrasil.evilham.com [46.19.33.155])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 96380F60C2A
	for <379@bugs.devuan.org>; Fri, 24 Jan 2020 01:17:18 +0100 (CET)
Received: from yggdrasil.evilham.com (unknown [IPv6:2a0a:e5c1:121:1::1])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by yggdrasil.evilham.com (Postfix) with ESMTPSA id 483fpj1vxlz3wYM;
	Fri, 24 Jan 2020 01:17:17 +0100 (CET)
From: Evilham <devuan@evilham.com>
To: Arthur Marsh <arthur.marsh@internode.on.net>
Cc: Mark Hindley <mark@hindley.org.uk>, 379@bugs.devuan.org
Subject: Re: bug#379: base-files: 10.3+devuan4 breaks building of kernels
 using make bindeb-pkg
References: <157971725210.12077.13610805017529309860.reportbug@localhost>
 <20200122232109.GA31589@doc.devuan.org>
 <20200123134347.GW14807@hindley.org.uk>
In-reply-to: <20200123134347.GW14807@hindley.org.uk>
Date: Fri, 24 Jan 2020 01:17:14 +0100
Message-ID: <13afa6d7-a884-47c5-8160-772bfe910eca@yggdrasil.evilham.com>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

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

Acknowledgement sent to Evilham <devuan@evilham.com>:
Extra info received and forwarded to list. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org:
bug#379; Package base-files. Full text available.

Message received at 379@bugs.devuan.org:


Received: (at 379) by bugs.devuan.org; 23 Jan 2020 15:49:08 +0000
Return-Path: <arthur.marsh@internode.on.net>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Thu, 23 Jan 2020 14:54:12 +0000 (UTC)
Received: from ipmail05.adl3.internode.on.net (ipmail05.adl3.internode.on.net [150.101.137.13])
	by vm6.ganeti.dyne.org (Postfix) with ESMTP id 96A5EF60B09
	for <379@bugs.devuan.org>; Thu, 23 Jan 2020 15:43:53 +0100 (CET)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2AqAAD5ryle/4SKZZZlGwEBAQEBAQE?=
 =?us-ascii?q?FAQEBEQEBAwMBAQGBaAUBAQELAYEfgXoKZhIqhBKBEYdyiDCZPYF7CQE8AQI?=
 =?us-ascii?q?BAYRAAoJCNQgOAhABAQUBAQEBAQUEbYVDhV4BAQIDIzsbDAwDBA0DAQEBASo?=
 =?us-ascii?q?CQg8IBgESCIYZpRuGWXWBMoU6hQKBOAGHPYRogUw/hCQ+hGmCcII8IgSgIo8?=
 =?us-ascii?q?yBwOCOXsBlUMQmneOXp0EAzSBWHuCHYEUUCWIOY4hMTACgQABHggTjEABAQ?=
Received: from webmail1.internode.on.net (HELO localhost) ([150.101.138.132])
  by ipmail05.adl3.internode.on.net with ESMTP; 24 Jan 2020 01:13:50 +1030
Message-Id: <a78bb0bd3ca21304be784279bcdec16eacf55250@webmail.internode.on.net>
From: "Arthur Marsh" <arthur.marsh@internode.on.net>
Reply-To: "Arthur Marsh" <arthur.marsh@internode.on.net>
To: "Mark Hindley" <mark@hindley.org.uk>,
 379@bugs.devuan.org
Cc: "Evilham" <devuan@evilham.com>
X-Mailer: Atmail 6.20.12
in-reply-to: <20200123134347.GW14807@hindley.org.uk>
Subject: Re: bug#379: base-files: 10.3+devuan4 breaks building of kernels using make bindeb-pkg
Date: Fri, 24 Jan 2020 01:13:50 +1030
Content-Type: multipart/alternative;
 boundary="=_09bd1a18fd5f54b9bffb5bef46cf6796"
MIME-Version: 1.0
X-Spam-Status: No, score=-0.0 required=5.0 tests=HTML_MESSAGE,
	RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

--=_09bd1a18fd5f54b9bffb5bef46cf6796
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi Mark,=C2=A0=0A/usr/src/linux/debian/changelog=C2=A0=0Ais identical wh=
en building under base-files=C2=A010.3+devuan3.1 and=0Aattempting to bui=
ld under base-files=C2=A010.3+devuan4=0ASo I suspect there is another ch=
ange=0Ain=C2=A0base-files=C2=A010.3+devuan4=C2=A0that causes dpkg-parsec=
hangelog to fail=0Ato include:=0ASource: linux-5.5.0-rc7+ =0AVersion: 5.=
5.0-rc7+-3735 =0ADistribution: beowulf =0AUrgency: low =0AMaintainer: ro=
ot  =0ATimestamp: 1579789717 =0ADate: Fri, 24 Jan 2020 00:58:37 +1030=
 =0AChanges:=0A=0Abefore the actual contents of /usr/src/linux/debian/ch=
angelog=0AI also tried installing the base-files 11 package from Debian=
 and that=0Adidn't cause problems running make bindeb on the kernel sour=
ce.=0A----- Original Message -----=0AFrom: "Mark Hindley" =0ATo:"Arthur=
 Marsh" , =0ACc:"Evilham" =0ASent:Thu, 23 Jan 2020 13:43:47 +0000=0ASubj=
ect:Re: bug#379: base-files: 10.3+devuan4 breaks building of=0Akernels u=
sing make bindeb-pkg=0A=0A Arthur,=0A=0A Looking at this again.=0A=0A On=
 Wed, Jan 22, 2020 at 11:21:10PM +0000, Arthur Marsh wrote:=0A > sh ./sc=
ripts/package/mkdebian=0A > dpkg-buildpackage -r"fakeroot -u" -a$(cat de=
bian/arch) -b -nc -uc=0A > dpkg-buildpackage: warning: debian/changelog(=
l2): found end of file=0Awhere expected first heading=0A=0A This implies=
 there is something wrong with the debian/changelog in=0Athe kernel=0A s=
rc root. Are you sure it is formatted correctly? What does=0Adpkg-parsec=
hangelog=0A produce?=0A=0A Mark=0A

--=_09bd1a18fd5f54b9bffb5bef46cf6796
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><body>Hi Mark,=C2=A0<div><br /></div><div>/usr/src/linux/debian/ch=
angelog=C2=A0</div><div><br /></div><div>is identical when building unde=
r base-files=C2=A0<span style=3D"font-family:monospace;">10.3+devuan3.1=
 and attempting to build under base-files=C2=A0</span><span style=3D"fon=
t-family:monospace;">10.3+devuan4</span></div><div><span style=3D"font-f=
amily:monospace;"><br /></span></div><div><span style=3D"font-family:mon=
ospace;">So I suspect there is another change in=C2=A0</span><span style=
=3D"font-family:monospace;">base-files=C2=A0</span><span style=3D"font-f=
amily:monospace;">10.3+devuan4</span><span style=3D"font-family:monospac=
e;">=C2=A0that causes dpkg-parsechangelog to fail to include:</span></di=
v><div><span style=3D"font-family:monospace;"><br /></span></div><div><s=
pan style=3D"font-family:monospace;">Source: linux-5.5.0-rc7+=0A<br />Ve=
rsion: 5.5.0-rc7+-3735=0A<br />Distribution: beowulf=0A<br />Urgency: lo=
w=0A<br />Maintainer: root &lt;root@localhost&gt;=0A<br />Timestamp: 157=
9789717=0A<br />Date: Fri, 24 Jan 2020 00:58:37 +1030=0A<br />Changes:<b=
r /></span></div><div><span style=3D"font-family:monospace;"><br /></spa=
n></div><div><span style=3D"font-family:monospace;">before the actual co=
ntents of /usr/src/linux/debian/changelog</span></div><div><span style=
=3D"font-family:monospace;"><br /></span></div><div><font face=3D"monosp=
ace">I also tried installing the base-files 11 package from Debian and t=
hat didn't cause problems running make bindeb on the kernel source.</fon=
t></div><div><blockquote><br />----- Original Message -----<br /><div st=
yle=3D"width:100%;background:rgb(228,228,228);"><div style=3D"font-weigh=
t:bold;">From:</div> "Mark Hindley" &lt;mark@hindley.org.uk&gt;</div><br=
 /><div style=3D"font-weight:bold;">To:</div>"Arthur Marsh" &lt;arthur.m=
arsh@internode.on.net&gt;, &lt;379@bugs.devuan.org&gt;<br /><div style=
=3D"font-weight:bold;">Cc:</div>"Evilham" &lt;devuan@evilham.com&gt;<br=
 /><div style=3D"font-weight:bold;">Sent:</div>Thu, 23 Jan 2020 13:43:47=
 +0000<br /><div style=3D"font-weight:bold;">Subject:</div>Re: bug#379:=
 base-files: 10.3+devuan4 breaks building of kernels using make bindeb-p=
kg<br /><br /><br />=0AArthur,<br /><br />=0ALooking at this again.<br /=
><br />=0AOn Wed, Jan 22, 2020 at 11:21:10PM +0000, Arthur Marsh wrote:<=
br />=0A&gt; sh ./scripts/package/mkdebian<br />=0A&gt; dpkg-buildpackag=
e -r"fakeroot -u" -a$(cat debian/arch)  -b -nc -uc<br />=0A&gt; dpkg-bui=
ldpackage: warning:     debian/changelog(l2): found end of file where ex=
pected first heading<br /><br />=0AThis implies there is something wrong=
 with the debian/changelog in the kernel<br />=0Asrc root. Are you sure=
 it is formatted correctly? What does dpkg-parsechangelog<br />=0Aproduc=
e?<br /><br />=0AMark<br /></blockquote></div></body></html>

--=_09bd1a18fd5f54b9bffb5bef46cf6796--


Acknowledgement sent to "Arthur Marsh" <arthur.marsh@internode.on.net>:
Extra info received and forwarded to list. Copy sent to Evilham <devuan@evilham.com>. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, Evilham <devuan@evilham.com>:
bug#379; Package base-files. Full text available.

Message received at 379@bugs.devuan.org:


Received: (at 379) by bugs.devuan.org; 23 Jan 2020 15:24:15 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Thu, 23 Jan 2020 15:24:15 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 231E9F60B9A
	for <379@bugs.devuan.org>; Thu, 23 Jan 2020 16:14:05 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=apollo)
	by mx.hindley.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1iueBH-0004TT-FT; Thu, 23 Jan 2020 15:14:03 +0000
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1iueBG-0004TX-Jo; Thu, 23 Jan 2020 15:14:02 +0000
Date: Thu, 23 Jan 2020 15:14:02 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: Arthur Marsh <arthur.marsh@internode.on.net>
Cc: 379@bugs.devuan.org, Evilham <devuan@evilham.com>
Subject: Re: bug#379: base-files: 10.3+devuan4 breaks building of kernels
 using make bindeb-pkg
Message-ID: <20200123151402.GA14807@hindley.org.uk>
References: <20200123134347.GW14807@hindley.org.uk>
 <a78bb0bd3ca21304be784279bcdec16eacf55250@webmail.internode.on.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <a78bb0bd3ca21304be784279bcdec16eacf55250@webmail.internode.on.net>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

On Fri, Jan 24, 2020 at 01:13:50AM +1030, Arthur Marsh wrote:
>    Hi Mark,
> 
>    /usr/src/linux/debian/changelog
> 
>    is identical when building under base-files 10.3+devuan3.1 and
>    attempting to build under base-files 10.3+devuan4
> 
>    So I suspect there is another change in base-files 10.3+devuan4 that
>    causes dpkg-parsechangelog to fail to include:
> 
>    Source: linux-5.5.0-rc7+
>    Version: 5.5.0-rc7+-3735
>    Distribution: beowulf

There might be. In particular 10.3+devuan4 is not suitable for beowulf, it is
for chimaera/ceres. For beowulf you need 10.3+devuan3.2 which is in
beowulf-proposed.

Can you see if it still an issue with the correct beowulf version?

Thanks

Mark

Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to Evilham <devuan@evilham.com>. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, Evilham <devuan@evilham.com>:
bug#379; Package base-files. Full text available.

Message received at 379@bugs.devuan.org:


Received: (at 379) by bugs.devuan.org; 23 Jan 2020 14:34:11 +0000
Return-Path: <devuanbugs@dyne.org>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Thu, 23 Jan 2020 14:34:11 +0000 (UTC)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	(Authenticated sender: devuanbugs@dyne.org)
	with ESMTPSA id 1089EF60B94
Date: Thu, 23 Jan 2020 14:26:21 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: 379@bugs.devuan.org
Subject: Re: bug#379: base-files: 10.3+devuan4 breaks building of kernels
 using make bindeb-pkg
Message-ID: <20200123142621.GA21504@doc.devuan.org>
References: <157971725210.12077.13610805017529309860.reportbug@localhost>
 <20200122232109.GA31589@doc.devuan.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20200122232109.GA31589@doc.devuan.org>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,
	HEADER_FROM_DIFFERENT_DOMAINS autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

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?

Mark

Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to Evilham <devuan@evilham.com>. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, Evilham <devuan@evilham.com>:
bug#379; Package base-files. Full text available.

Message received at 379@bugs.devuan.org:


Received: (at 379) by bugs.devuan.org; 23 Jan 2020 12:23:59 +0000
Return-Path: <arthur.marsh@internode.on.net>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Thu, 23 Jan 2020 12:23:59 +0000 (UTC)
Received: from ipmail03.adl6.internode.on.net (ipmail03.adl6.internode.on.net [150.101.137.143])
	by vm6.ganeti.dyne.org (Postfix) with ESMTP id 3BE74F60B8F
	for <379@bugs.devuan.org>; Thu, 23 Jan 2020 13:19:42 +0100 (CET)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2DZ+wBQjileAIvXfQFlgkGEChKEPIJ?=
 =?us-ascii?q?dhiaMRZUogXsJATwDAQERATaDdQGCRjUIDhICBwEBAQUEEAEBATKFE4ZgbhA?=
 =?us-ascii?q?NAiYChBiCfK0EgTIahTCDNYE+gQ6MUIFMP4E4DAMRgwqEKQEBgy4yggoir1g?=
 =?us-ascii?q?Hgjx3BJVUgkeICoQxA4gWg1yrYQE2gVkzGi5vAYMRln8ugVQaC4oEgjIBAQ?=
X-IronPort-SPAM: SPAM
Received: from unknown (HELO [100.65.252.138]) ([1.125.215.139])
  by ipmail03.adl6.internode.on.net with ESMTP; 23 Jan 2020 22:49:38 +1030
Date: Thu, 23 Jan 2020 22:49:31 +1030
User-Agent: K-9 Mail for Android
MIME-Version: 1.0
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: base-files: 10.3+devuan4 breaks building of kernels using make bindeb-pkg
To: 379@bugs.devuan.org
From: Arthur Marsh <arthur.marsh@internode.on.net>
Message-ID: <A66BFAB7-6508-4697-A9BE-9A781586839E@internode.on.net>
X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,
	RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Hi, I'm not sure which debian/changeling the diff applies to (I tried decom=
pressing /usr/share/doc/base-files/changeling=2Egz and patching it without =
a change of behaviour), but am still mystified as to what change in base-fi=
les 10=2E3+devuan4 from base-files 10=2E3+devuan3=2E1 could cause a kernel =
build to fail=2E

Arthur=2E=20
--=20
Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E

Acknowledgement sent to Arthur Marsh <arthur.marsh@internode.on.net>:
Extra info received and forwarded to list. Copy sent to Evilham <devuan@evilham.com>. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, Evilham <devuan@evilham.com>:
bug#379; Package base-files. Full text available.
Added tag(s) patch. Request was from Mark Hindley <mark@hindley.org.uk> to 379-submit@bugs.devuan.org. Full text available.

Message received at 379@bugs.devuan.org:


Received: (at 379) by bugs.devuan.org; 23 Jan 2020 11:03:53 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Thu, 23 Jan 2020 11:03:53 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 43F1CF606F8
	for <379@bugs.devuan.org>; Thu, 23 Jan 2020 11:55:08 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=apollo)
	by mx.hindley.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1iua8R-0003BE-Mo
	for 379@bugs.devuan.org; Thu, 23 Jan 2020 10:54:59 +0000
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1iua8A-0003KB-G8
	for 379@bugs.devuan.org; Thu, 23 Jan 2020 10:54:34 +0000
Date: Thu, 23 Jan 2020 10:54:34 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: 379@bugs.devuan.org
Subject: Re: base-files: 10.3+devuan4 breaks building of kernels using make
 bindeb-pkg
Message-ID: <20200123105434.GV14807@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debbugs-No-Ack: No Thanks
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=0.0 required=5.0 tests=FAKE_REPLY_C,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Control: tags -1 patch

Arthur,

Are you able to verify that this patch for fixes your issue?

Thanks

Mark

commit 98a4203a5170e942d5a6e57cac944b43e46d9e49
Author: Mark Hindley <mark@hindley.org.uk>
Date:   Thu Jan 23 09:24:20 2020 +0000

    Add missing line in changelog. Possible fix for #379.

diff --git a/debian/changelog b/debian/changelog
index 3780cca..b5de844 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,7 @@ base-files (10.3) unstable; urgency=medium
   * Add Breaks: debian-security-support (<< 2019.04.25). Closes: #928172.
     This is the first version of debian-security-support which does not break
     when /etc/debian_version contains a string in the form "10.x".
+
  -- Santiago Vila <sanvila@debian.org>  Mon, 13 May 2019 22:25:32 +0200
 
 base-files (10.2) unstable; urgency=medium


Information forwarded to devuan-bugs@lists.dyne.org, Evilham <devuan@evilham.com>:
bug#379; Package base-files. Full text available.
No longer marked as found in versions 10.3+devuan3.1. Request was from Mark Hindley <mark@hindley.org.uk> to 379-submit@bugs.devuan.org. Full text available.
Marked as found in versions 10.3+devuan4. Request was from Mark Hindley <mark@hindley.org.uk> to 379-submit@bugs.devuan.org. Full text available.

Message received at 379@bugs.devuan.org:


Received: (at 379) by bugs.devuan.org; 22 Jan 2020 23:52:51 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Wed, 22 Jan 2020 23:52:51 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 850DEF604E7
	for <379@bugs.devuan.org>; Thu, 23 Jan 2020 00:51:40 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=apollo)
	by mx.hindley.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1iuPma-0008R9-Pe
	for 379@bugs.devuan.org; Wed, 22 Jan 2020 23:51:37 +0000
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1iuPmZ-0004Bm-2i
	for 379@bugs.devuan.org; Wed, 22 Jan 2020 23:51:35 +0000
Date: Wed, 22 Jan 2020 23:51:35 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: 379@bugs.devuan.org
Subject: Re: base-files: 10.3+devuan4 breaks building of kernels using make
 bindeb-pkg
Message-ID: <20200122235134.GA14141@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debbugs-No-Ack: No Thanks
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=0.0 required=5.0 tests=FAKE_REPLY_C,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Control: found -1 10.3+devuan4
Control: notfound -1 10.3+devuan3.1

Arthur,

Thanks for this.

First, your email was misaddressed hence the delay.

Could you confirm whether you are using beowulf or ceres?

If you are on beowulf please try base-files version 10.3+devuan3.2
which is in beowulf-proposed.

Thanks.

Mark

Information forwarded to devuan-bugs@lists.dyne.org, Evilham <devuan@evilham.com>:
bug#379; Package base-files. Full text available.

Message received at submit@bugs.devuan.org:


Received: (at submit) by bugs.devuan.org; 22 Jan 2020 23:22:47 +0000
Return-Path: <devuanbugs@dyne.org>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Wed, 22 Jan 2020 23:22:47 +0000 (UTC)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	(Authenticated sender: devuanbugs@dyne.org)
	with ESMTPSA id 81B87F60B29
Date: Wed, 22 Jan 2020 23:21:10 +0000
From: Arthur Marsh <arthur.marsh@internode.on.net>
To: submit@bugs.devuan.org
Subject: base-files: 10.3+devuan4 breaks building of kernels using make
 bindeb-pkg
Message-ID: <20200122232109.GA31589@doc.devuan.org>
References: <157971725210.12077.13610805017529309860.reportbug@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <157971725210.12077.13610805017529309860.reportbug@localhost>
User-Agent: K-9 Mail for Android
X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,
	HEADER_FROM_DIFFERENT_DOMAINS autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: base-files
Version: 10.3+devuan3.1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Upgrading to base-files 10.3+devuan4

running 

make -j2 menuconfig bindeb-pkg

on the linux kernel produces output like:

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:1427: bindeb-pkg] Error 2
make: *** [Makefile:326: __build_one_by_one] Error 2


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

Downgrading to 10.3+devuan3.1

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

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


-- System Information:
Debian Release: 10.0
  APT prefers experimental
  APT policy: (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages base-files depends on:
ii  gawk [awk]  1:5.0.1+dfsg-1
ii  mawk [awk]  1.3.3-20

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

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

Acknowledgement sent to Arthur Marsh <arthur.marsh@internode.on.net>:
New bug report received and forwarded. Copy sent to Evilham <devuan@evilham.com>. Full text available.
Report forwarded to devuan-bugs@lists.dyne.org, Evilham <devuan@evilham.com>:
bug#379; Package base-files. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Tue, 17 May 2022 16:39:01 UTC