public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: Ron Economos <re@w6rz.net>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Linux Kbuild mailing list <linux-kbuild@vger.kernel.org>,
	Masahiro Yamada <masahiroy@kernel.org>
Subject: Re: Bug in recent changes to builddeb
Date: Mon, 27 Mar 2023 15:44:05 -0700	[thread overview]
Message-ID: <5946f189-c564-e196-a375-cb03edcacaa0@infradead.org> (raw)
In-Reply-To: <642d6944-4488-4dc6-99e9-209849b9771c@infradead.org>



On 3/27/23 15:41, Randy Dunlap wrote:
> at least Cc linux-kbuild.
> 

or just see https://patchwork.kernel.org/project/linux-kbuild/patch/3351f907cfd0b5d8372e858a8ec9065cc2bd91df.1679434718.git.kevin@kevinlocke.name/

and use a later git tree.

I.e., it's fixed now.

> On 3/27/23 13:55, Ron Economos wrote:
>> Looks like there's a bug in /scripts/package/builddeb. On lines 188, 197 and 198, the variable $version is used. However, it's not defined (removed with recent changes).
>>
>> This causes the headers to be put into /usr/src/linux-headers-. When the next version is attempted to be installed, the following error occurs.
>>
>> $ sudo dpkg -i linux-headers-6.3.0-rc4_6.3.0-rc4-2_riscv64.deb
>> Selecting previously unselected package linux-headers-6.3.0-rc4.
>> (Reading database ... 376925 files and directories currently installed.)
>> Preparing to unpack linux-headers-6.3.0-rc4_6.3.0-rc4-2_riscv64.deb ...
>> Unpacking linux-headers-6.3.0-rc4 (6.3.0-rc4-2) ...
>> dpkg: error processing archive linux-headers-6.3.0-rc4_6.3.0-rc4-2_riscv64.deb (--install):
>>  trying to overwrite '/usr/src/linux-headers-/.config', which is also in package linux-headers-6.3.0-rc3 6.3.0-rc3-4
>> dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
>> Errors were encountered while processing:
>>  linux-headers-6.3.0-rc4_6.3.0-rc4-2_riscv64.deb
>>
> 

-- 
~Randy

  reply	other threads:[~2023-03-27 22:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <54a519ec-bfe5-60f3-fc43-707a11d38d2a@w6rz.net>
2023-03-27 22:41 ` Bug in recent changes to builddeb Randy Dunlap
2023-03-27 22:44   ` Randy Dunlap [this message]
2023-03-28  4:49     ` Sedat Dilek
2023-04-02 13:27       ` Bagas Sanjaya

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5946f189-c564-e196-a375-cb03edcacaa0@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=masahiroy@kernel.org \
    --cc=re@w6rz.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox