* Bug in recent changes to builddeb
@ 2023-03-27 20:55 Ron Economos
2023-03-27 22:41 ` Randy Dunlap
0 siblings, 1 reply; 5+ messages in thread
From: Ron Economos @ 2023-03-27 20:55 UTC (permalink / raw)
To: Linux Kernel Mailing List
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug in recent changes to builddeb
2023-03-27 20:55 Bug in recent changes to builddeb Ron Economos
@ 2023-03-27 22:41 ` Randy Dunlap
2023-03-27 22:44 ` Randy Dunlap
0 siblings, 1 reply; 5+ messages in thread
From: Randy Dunlap @ 2023-03-27 22:41 UTC (permalink / raw)
To: Ron Economos, Linux Kernel Mailing List
Cc: Linux Kbuild mailing list, Masahiro Yamada
at least Cc linux-kbuild.
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug in recent changes to builddeb
2023-03-27 22:41 ` Randy Dunlap
@ 2023-03-27 22:44 ` Randy Dunlap
2023-03-28 4:49 ` Sedat Dilek
0 siblings, 1 reply; 5+ messages in thread
From: Randy Dunlap @ 2023-03-27 22:44 UTC (permalink / raw)
To: Ron Economos, Linux Kernel Mailing List
Cc: Linux Kbuild mailing list, Masahiro Yamada
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug in recent changes to builddeb
2023-03-27 22:44 ` Randy Dunlap
@ 2023-03-28 4:49 ` Sedat Dilek
2023-04-02 13:27 ` Bagas Sanjaya
0 siblings, 1 reply; 5+ messages in thread
From: Sedat Dilek @ 2023-03-28 4:49 UTC (permalink / raw)
To: Randy Dunlap
Cc: Ron Economos, Linux Kernel Mailing List,
Linux Kbuild mailing list, Masahiro Yamada
On Tue, Mar 28, 2023 at 12:52 AM Randy Dunlap <rdunlap@infradead.org> wrote:
>
>
>
> 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
> >>
> >
Hi Masahiro,
when do you plan the next git-pull request to Linus?
For people using Debian and builddeb this is really annoying.
Thanks.
Regards,
-Sedat-
[1] https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git/log/?h=fixes
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug in recent changes to builddeb
2023-03-28 4:49 ` Sedat Dilek
@ 2023-04-02 13:27 ` Bagas Sanjaya
0 siblings, 0 replies; 5+ messages in thread
From: Bagas Sanjaya @ 2023-04-02 13:27 UTC (permalink / raw)
To: Sedat Dilek, Randy Dunlap
Cc: Ron Economos, Linux Kernel Mailing List,
Linux Kbuild mailing list, Masahiro Yamada
[-- Attachment #1: Type: text/plain, Size: 431 bytes --]
On Tue, Mar 28, 2023 at 06:49:00AM +0200, Sedat Dilek wrote:
>
> Hi Masahiro,
>
> when do you plan the next git-pull request to Linus?
>
> For people using Debian and builddeb this is really annoying.
He has sent the PR [1] and got merged.
Thanks.
[1]: https://lore.kernel.org/lkml/CAK7LNAQEKgqrJNeknymSTsiRBbjoJJjWQ8VJ7ViC2-9Z0Mgpyw@mail.gmail.com/
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-04-02 13:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-27 20:55 Bug in recent changes to builddeb Ron Economos
2023-03-27 22:41 ` Randy Dunlap
2023-03-27 22:44 ` Randy Dunlap
2023-03-28 4:49 ` Sedat Dilek
2023-04-02 13:27 ` Bagas Sanjaya
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).