Public bug reported:

When doing a kernel make in our Jammy repo we notice the follow error
being emitted:

./scripts/pahole-flags.sh: line 7: return: can only `return' from a
function or sourced script

It appears that while the Jammy baseline is 5.15.99 (as per the top-level 
Makefile)
the file scripts/pahole-flags.sh is out of date with upstream 5.15.99

The upstream 5.15.99 version of scripts/pahole-flags.sh fixes this issue by 
making this change:
7c7
<       return
---
>       exit 0

This seems like a simple fix, but not sure who should be fixing this.

** Affects: linux-bluefield (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  scripts/pahole-flags.sh needs upstream fix

Status in linux-bluefield package in Ubuntu:
  New

Bug description:
  When doing a kernel make in our Jammy repo we notice the follow error
  being emitted:

  ./scripts/pahole-flags.sh: line 7: return: can only `return' from a
  function or sourced script

  It appears that while the Jammy baseline is 5.15.99 (as per the top-level 
Makefile)
  the file scripts/pahole-flags.sh is out of date with upstream 5.15.99

  The upstream 5.15.99 version of scripts/pahole-flags.sh fixes this issue by 
making this change:
  7c7
  <       return
  ---
  >       exit 0

  This seems like a simple fix, but not sure who should be fixing this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2035123/+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