Public bug reported:

[Impact]
No able to build mainline kernel (6.1/6.1.1).

[Test Case]
Log available https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.1.1/amd64/log.
For local builds:

$ git clone --branch cod/mainline/v6.1.1 --depth 1 
git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack
 kernel
$ cd kernel
$ LANG=C fakeroot debian/rules clean
$ LANG=C fakeroot debian/rules binary-headers binary-generic binary-perarch

Problem Description
==========================

I can see problems with checking of signatures during building of
mainline kernel, for example https://kernel.ubuntu.com/~kernel-
ppa/mainline/v6.1.1/amd64/log:

...
II: Checking signature of staging modules for generic...
II: Use signature inclusion file(s):
    
/home/kernel/COD/linux/debian/scripts/checks/../../../debian/signature-inclusion
II: Checking modules directory:
    debian/linux-modules-6.1.1-060101-generic
    FAIL (signed)   : fb_agm1264k-fl.ko
    FAIL (signed)   : fb_bd663474.ko
...

It looks like in case of CONFIG_MODULE_SIG_ALL we sign all modules, we
should take it into account.

After fixing that problem I found another one:
II: Checking for ABI changes...
Traceback (most recent call last):
  File "/data/CLionProjects/mainline-crack/debian/scripts/checks/abi-check", 
line 108, in <module>
    if vals['loc'] != vals['old']['loc']:
KeyError: 'loc

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

** Patch added: "fix-mainline-kernel-build.patch"
   
https://bugs.launchpad.net/bugs/2000700/+attachment/5638353/+files/fix-mainline-kernel-build.patch

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

Title:
  Resolve problem with mainline builds

Status in linux package in Ubuntu:
  New

Bug description:
  [Impact]
  No able to build mainline kernel (6.1/6.1.1).

  [Test Case]
  Log available https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.1.1/amd64/log.
  For local builds:

  $ git clone --branch cod/mainline/v6.1.1 --depth 1 
git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack
 kernel
  $ cd kernel
  $ LANG=C fakeroot debian/rules clean
  $ LANG=C fakeroot debian/rules binary-headers binary-generic binary-perarch

  Problem Description
  ==========================

  I can see problems with checking of signatures during building of
  mainline kernel, for example https://kernel.ubuntu.com/~kernel-
  ppa/mainline/v6.1.1/amd64/log:

  ...
  II: Checking signature of staging modules for generic...
  II: Use signature inclusion file(s):
      
/home/kernel/COD/linux/debian/scripts/checks/../../../debian/signature-inclusion
  II: Checking modules directory:
      debian/linux-modules-6.1.1-060101-generic
      FAIL (signed)   : fb_agm1264k-fl.ko
      FAIL (signed)   : fb_bd663474.ko
  ...

  It looks like in case of CONFIG_MODULE_SIG_ALL we sign all modules, we
  should take it into account.

  After fixing that problem I found another one:
  II: Checking for ABI changes...
  Traceback (most recent call last):
    File "/data/CLionProjects/mainline-crack/debian/scripts/checks/abi-check", 
line 108, in <module>
      if vals['loc'] != vals['old']['loc']:
  KeyError: 'loc

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