Public bug reported:

When applying upstream stable patchset (v6.6.67, v6.12.6) we forgot to
include:

acea3779b2aa libperf cpumap: Add any, empty and min helpers

As a result kernel fails to compile.

I am thinking we should include the following 2 commits from upstream as a fix:
dcd45b376d0a libperf cpumap: Ensure empty cpumap is NULL from alloc
b6b4a62d8525 libperf cpumap: Add any, empty and min helpers

Failure:
https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/ppa/+build/30629891/+files/buildlog_ubuntu-noble-amd64.linux_6.8.0-60.62_BUILDING.txt.gz

evlist.c: In function ‘__perf_evlist__propagate_maps’:
evlist.c:55:21: error: implicit declaration of function 
‘perf_cpu_map__is_empty’; did you mean ‘perf_cpu_map__set_nr’? 
[-Werror=implicit-function-declaration]
   55 |                 if (perf_cpu_map__is_empty(evsel->cpus)) {
      |                     ^~~~~~~~~~~~~~~~~~~~~~
      |                     perf_cpu_map__set_nr
evlist.c:55:21: error: nested extern declaration of ‘perf_cpu_map__is_empty’ 
[-Werror=nested-externs]

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

** Affects: linux (Ubuntu Noble)
     Importance: Undecided
         Status: In Progress

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

** Changed in: linux (Ubuntu Noble)
       Status: New => In Progress

** Description changed:

- When applying upstream stable patchset (v6.6.67, v6.12.6) we forgot to
- include:
+ When applying upstream stable patchset (v6.6.67, v6.12.6) we forgot to 
include:
+ (See https://bugs.launchpad.net/bugs/2102181)
+ 
  
  acea3779b2aa libperf cpumap: Add any, empty and min helpers
  
  As a result kernel fails to compile.
  
- 
  I am thinking we should include the following 2 commits from upstream as a 
fix:
  dcd45b376d0a libperf cpumap: Ensure empty cpumap is NULL from alloc
  b6b4a62d8525 libperf cpumap: Add any, empty and min helpers

** Description changed:

- When applying upstream stable patchset (v6.6.67, v6.12.6) we forgot to 
include:
- (See https://bugs.launchpad.net/bugs/2102181)
- 
+ When applying upstream stable patchset (v6.6.67, v6.12.6) we forgot to
+ include:
  
  acea3779b2aa libperf cpumap: Add any, empty and min helpers
  
  As a result kernel fails to compile.
  
  I am thinking we should include the following 2 commits from upstream as a 
fix:
  dcd45b376d0a libperf cpumap: Ensure empty cpumap is NULL from alloc
  b6b4a62d8525 libperf cpumap: Add any, empty and min helpers
+ 
+ Failure:
+ 
https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/ppa/+build/30629891/+files/buildlog_ubuntu-noble-amd64.linux_6.8.0-60.62_BUILDING.txt.gz
+ 
+ evlist.c: In function ‘__perf_evlist__propagate_maps’:
+ evlist.c:55:21: error: implicit declaration of function 
‘perf_cpu_map__is_empty’; did you mean ‘perf_cpu_map__set_nr’? 
[-Werror=implicit-function-declaration]
+    55 |                 if (perf_cpu_map__is_empty(evsel->cpus)) {
+       |                     ^~~~~~~~~~~~~~~~~~~~~~
+       |                     perf_cpu_map__set_nr
+ evlist.c:55:21: error: nested extern declaration of ‘perf_cpu_map__is_empty’ 
[-Werror=nested-externs]

-- 
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/2107336

Title:
  Missing upstream commits for LP: #2102181

Status in linux package in Ubuntu:
  New
Status in linux source package in Noble:
  In Progress

Bug description:
  When applying upstream stable patchset (v6.6.67, v6.12.6) we forgot to
  include:

  acea3779b2aa libperf cpumap: Add any, empty and min helpers

  As a result kernel fails to compile.

  I am thinking we should include the following 2 commits from upstream as a 
fix:
  dcd45b376d0a libperf cpumap: Ensure empty cpumap is NULL from alloc
  b6b4a62d8525 libperf cpumap: Add any, empty and min helpers

  Failure:
  
https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/ppa/+build/30629891/+files/buildlog_ubuntu-noble-amd64.linux_6.8.0-60.62_BUILDING.txt.gz

  evlist.c: In function ‘__perf_evlist__propagate_maps’:
  evlist.c:55:21: error: implicit declaration of function 
‘perf_cpu_map__is_empty’; did you mean ‘perf_cpu_map__set_nr’? 
[-Werror=implicit-function-declaration]
     55 |                 if (perf_cpu_map__is_empty(evsel->cpus)) {
        |                     ^~~~~~~~~~~~~~~~~~~~~~
        |                     perf_cpu_map__set_nr
  evlist.c:55:21: error: nested extern declaration of ‘perf_cpu_map__is_empty’ 
[-Werror=nested-externs]

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to