Resolve problem with mainline builds

Bug #2000700 reported by Petr Fedchenkov
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Juerg Haefliger

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

Tags: patch
Revision history for this message
Petr Fedchenkov (giggsoff) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 2000700

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Petr Fedchenkov (giggsoff) wrote :

The problem exposed in the building process in mainline kernel. The log is available here: https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.1.1/amd64/log

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: patch
Revision history for this message
Juerg Haefliger (juergh) wrote :

The problem with mainline builds is that a) kernel configs handling has changed and b) checker scripts have moved to a subdirectory.

Our mainline build scripts 'disable' the checker scripts but since they moved that no longer happens, hence the error you're seeing. I'm working on it.

Changed in linux (Ubuntu):
importance: Undecided → Critical
importance: Critical → Medium
assignee: nobody → Juerg Haefliger (juergh)
Revision history for this message
josh (freedman-joshua) wrote :

Nobody is getting 6.1.0 6.1.1 6.1.2 6.1.3 6.1.4 updates.

Revision history for this message
Petr Sedlacek (piit79) wrote :

Just in case you didn't notice - the mainline builds are working again despite the lack of updates here :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.