Public bug reported:

Hi, i'm trying to build linux-5.4 as deb package on Ubuntu 20.04.4 LTS.
So i followed this guide:

https://wiki.ubuntuusers.de/Archiv/Kernel/Kompilierung/

if i execute "make-kpkg --initrd buildpackage" i'm getting the following
error:

make[1]: Leaving directory '/home/alpha/kernel/linux-source-5.4.0'
 dpkg-source -b .
dpkg-source: error: cannot open file linux-source-5.4.0/debian/changelog: No 
such file or directory
dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 255
make: *** [debian/ruleset/targets/common.mk:407: 
debian/stamp/build/buildpackage] Error 255

I already looked at /usr/share/doc/kernel-package/Problems.gz, but the
suggested "make-kpgk clean" doesn't help.

The same steps works with Ubuntu 18.04.6 LTS.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: kernel-package 13.018+nmu2
ProcVersionSignature: Ubuntu 5.4.0-100.113-generic 5.4.166
Uname: Linux 5.4.0-100-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu Mar  3 12:31:28 2022
InstallationDate: Installed on 2022-02-09 (22 days ago)
InstallationMedia: Ubuntu-Server 20.04.3 LTS "Focal Fossa" - Release amd64 
(20210824)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: kernel-package
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: kernel-package (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal uec-images

** Attachment added: "Whole output of make-kpkg"
   https://bugs.launchpad.net/bugs/1962847/+attachment/5565278/+files/output.log

** Description changed:

  Hi, i'm trying to build linux-5.4 as deb package on Ubuntu 20.04.4 LTS.
  So i followed this guide:
  
  https://wiki.ubuntuusers.de/Archiv/Kernel/Kompilierung/
  
  if i execute "make-kpkg --initrd buildpackage" i'm getting the following
  error:
  
  make[1]: Leaving directory '/home/alpha/kernel/linux-source-5.4.0'
-  dpkg-source -b .
+  dpkg-source -b .
  dpkg-source: error: cannot open file linux-source-5.4.0/debian/changelog: No 
such file or directory
  dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 255
  make: *** [debian/ruleset/targets/common.mk:407: 
debian/stamp/build/buildpackage] Error 255
  
  I already looked at /usr/share/doc/kernel-package/Problems.gz, but the
  suggested "make-kpgk clean" doesn't help.
  
- The same steps works Ubuntu 18.04.6 LTS.
+ The same steps works with Ubuntu 18.04.6 LTS.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: kernel-package 13.018+nmu2
  ProcVersionSignature: Ubuntu 5.4.0-100.113-generic 5.4.166
  Uname: Linux 5.4.0-100-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.21
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Thu Mar  3 12:31:28 2022
  InstallationDate: Installed on 2022-02-09 (22 days ago)
  InstallationMedia: Ubuntu-Server 20.04.3 LTS "Focal Fossa" - Release amd64 
(20210824)
  PackageArchitecture: all
  ProcEnviron:
-  TERM=xterm
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: kernel-package
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1962847

Title:
  make-kpkg abort and complains about missing debian/changelog

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kernel-package/+bug/1962847/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to