Bug 217364 - Can't create Debian package with Linux 6.3
Summary: Can't create Debian package with Linux 6.3
Status: RESOLVED ANSWERED
Alias: None
Product: Linux
Classification: Unclassified
Component: Kernel (show other bugs)
Hardware: All Linux
: P3 normal
Assignee: Virtual assignee for kernel bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-24 19:11 UTC by Jonathan Farrugia
Modified: 2023-06-19 18:58 UTC (History)
1 user (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Jonathan Farrugia 2023-04-24 19:11:55 UTC
As of Kernel 6.3 I'm unable to create a Debian package the way I used to, by running "make deb-pkg -j#"

It throws the error as below:

error: creating source package requires git repository
scripts/Makefile.package:40: recipe for target 'check-git' failed
make[1]: *** [check-git] Error 1
make[1]: *** Waiting for unfinished jobs....
Not a git repository

Any way I can go back and create a Debian package pre 6.3?

Thanks
Comment 1 The Linux kernel's regression tracker (Thorsten Leemhuis) 2023-04-25 13:33:59 UTC
(In reply to Jonathan Farrugia from comment #0)

> Any way I can go back and create a Debian package pre 6.3?

"make bindeb-pkg -j#" likely will work. The target you used to use now only works with a git repo. For details see https://git.kernel.org/torvalds/c/05e96e96a31 and the links in it.
Comment 2 Jonathan Farrugia 2023-04-25 18:19:43 UTC
(In reply to The Linux kernel's regression tracker (Thorsten Leemhuis) from comment #1)
> (In reply to Jonathan Farrugia from comment #0)
> 
> > Any way I can go back and create a Debian package pre 6.3?
> 
> "make bindeb-pkg -j#" likely will work. The target you used to use now only
> works with a git repo. For details see
> https://git.kernel.org/torvalds/c/05e96e96a31 and the links in it.

Hi,

Many thanks. I just tried it and was able to build the package successfully. Quick question - What's the difference between the 2 builds?
Comment 3 The Linux kernel's regression tracker (Thorsten Leemhuis) 2023-04-26 08:09:05 UTC
(In reply to Jonathan Farrugia from comment #2)
> What's the difference between the 2 builds?

bindeb-pkg only builds a binary package, no source package. 

Your question makes it sounds like you don't need the source package, hence I assume you are satisfied with the workaround? If yes, I'd put this to rest
Comment 4 Jonathan Farrugia 2023-04-26 17:54:56 UTC
(In reply to The Linux kernel's regression tracker (Thorsten Leemhuis) from comment #3)
> (In reply to Jonathan Farrugia from comment #2)
> > What's the difference between the 2 builds?
> 
> bindeb-pkg only builds a binary package, no source package. 
> 
> Your question makes it sounds like you don't need the source package, hence
> I assume you are satisfied with the workaround? If yes, I'd put this to rest


After comparing the 2 commands, I can confirm I don't need the source.

Thanks for the help, ticket may be closed :)

Note You need to log in before you can comment on or make changes to this bug.