Public bug reported:

[Impact]

There's a bug in how we collect source files after the build: vmlinux is
ignored, i.e. its source files are not collected :-(

The following line in the build rules is missing parenheses:
find $(builddir)/build-$* -name vmlinux -o -name \*.ko -exec dwarfdump -i {} \;

Should be
find $(builddir)/build-$* \( -name vmlinux -o -name \*.ko \) -exec dwarfdump -i 
{} \;

[Test Plan]

Inspect content of 'sources' file in linux-buildinfo package.

[Where Problems Could Occur]

Build failures.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Invalid

** Affects: linux (Ubuntu Focal)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Jammy)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Noble)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Oracular)
     Importance: Undecided
         Status: New

** Also affects: linux (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Oracular)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2089817

Title:
  Source files for vmlinux not collected

Status in linux package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  New
Status in linux source package in Jammy:
  New
Status in linux source package in Noble:
  New
Status in linux source package in Oracular:
  New

Bug description:
  [Impact]

  There's a bug in how we collect source files after the build: vmlinux
  is ignored, i.e. its source files are not collected :-(

  The following line in the build rules is missing parenheses:
  find $(builddir)/build-$* -name vmlinux -o -name \*.ko -exec dwarfdump -i {} 
\;

  Should be
  find $(builddir)/build-$* \( -name vmlinux -o -name \*.ko \) -exec dwarfdump 
-i {} \;

  [Test Plan]

  Inspect content of 'sources' file in linux-buildinfo package.

  [Where Problems Could Occur]

  Build failures.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2089817/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to