focal-mainline-builder icon indicating copy to clipboard operation
focal-mainline-builder copied to clipboard

lts-mainline-longterm >=6.1.16 build failed

Open m1khal3v opened this issue 1 year ago • 13 comments

Снимок экрана от 2023-03-13 09-18-27

m1khal3v avatar Mar 13 '23 06:03 m1khal3v

The builds are failing because the kernel build now requires rust packages which aren't available in Jammy, but they are being back-ported. The rust bindgen-0.56 package is currently in proposed. When that package makes it through to the universe repo I'll resubmit the latest kernel build.

This may be the end of the line for focal though.

TuxInvader avatar Mar 13 '23 11:03 TuxInvader

The builds are failing because the kernel build now requires rust packages which aren't available in Jammy, but they are being back-ported. The rust bindgen-0.56 package is currently in proposed. When that package makes it through to the universe repo I'll resubmit the latest kernel build.

This may be the end of the line for focal though.

Sadly. Does 5.15 now also require rust? I ask because from some version 5.15 on the focal stopped loading normally, the interface is there, but most of the peripherals do not work, because of this I had to switch to 6.1

m1khal3v avatar Mar 13 '23 12:03 m1khal3v

Concerning focal the 5.15 kernel is officially supported via hwe so you do not have to build it your self or use the ppa

This may be the end of the line for focal though.

Even for 6.1? Were some rust dependencies introduced in the change from 6.1.15 to .16?

nullket avatar Mar 13 '23 13:03 nullket

It looks like the bindgen package has arrived in jammy and 6.2.6 has had a successful build.

WRT focal: the early versions of 6.2 were built without rust, so I've updated the script to back-out those dependencies on 6.2 kernels for focal, and 6.2.6 is building now. I'm not sure what this will mean for 6.3 and newer kernels. It's likely that focal users will have to stick on the latest longterm series of 6.1.x, because the 6.2 kernel will only have a short support period.

In any case Jammy is the current LTS and it's been out for almost 12 months, it's time to upgrade people ;-)

TuxInvader avatar Mar 14 '23 09:03 TuxInvader

Concerning focal the 5.15 kernel is officially supported via hwe so you do not have to build it your self or use the ppa

This may be the end of the line for focal though.

Even for 6.1? Were some rust dependencies introduced in the change from 6.1.15 to .16?

The 6.1 kernel is the release that added Rust support, but the rust dependencies in Ubuntu kernels were added in the 6.2.3/6.1.16 time frame, so 6.1.16+ is also failing. I can remove the rust dependency from the 6.1 series kernels, and track that LTS as the final focal kernel. All newer kernels are going to require rust.

TuxInvader avatar Mar 14 '23 09:03 TuxInvader

work-around in 75acf7599eb64f9dbffe3dd417a7bdeb7d7e0e1c

TuxInvader avatar Mar 14 '23 09:03 TuxInvader

work-around in 75acf75

Looks simple. What are the pitfalls of this method?

m1khal3v avatar Mar 14 '23 09:03 m1khal3v

@TuxInvader I tried to build the image on the last version of builder and still get the following error on the launchpad:

The following packages have unmet dependencies:
 sbuild-build-depends-main-dummy : Depends: rustc-1.62 but it is not installable
                                   Depends: rust-1.62-src but it is not installable
                                   Depends: rustfmt-1.62 but it is not installable
                                   Depends: bindgen-0.56 but it is not installable

What am i doing wrong?

https://launchpad.net/~m1khal3v/+archive/ubuntu/focal-6.1/+packages

m1khal3v avatar Mar 15 '23 17:03 m1khal3v

I'm trying to build because I can't install the version from your repository, it gives an error about incompatible dependencies linux-generic-6.01 and linux-headers-6.1.19-060119-generic

m1khal3v avatar Mar 15 '23 17:03 m1khal3v

It should be fixed now. The change to remove the rust dependencies broke the rename process.The 6.1.19 package should be fixed on my PPA too.

TuxInvader avatar Mar 16 '23 18:03 TuxInvader

This is still an issue. The bindgen-0.56 package has not made it into universe yet, and is still in proposed for Jammy. I may need to disable rust in jammy while we wait for it to progress through the verification process. Ubuntu bug is here: https://bugs.launchpad.net/ubuntu/+source/rustc-1.62/+bug/1993183

TuxInvader avatar Mar 17 '23 10:03 TuxInvader

@TuxInvader what happened with 6.1 builds for focal ?

Снимок экрана от 2023-05-25 17-57-24

m1khal3v avatar May 25 '23 14:05 m1khal3v

The Ubuntu repos aren't syncing the changes from mainline builds anymore so I had no working tags to checkout. I fixed the issue by adding support for kernel.org as a git source and applying the ubuntu crack.bundle. I need to update the docs and submit the changes to thise repo, but there are now images available.

TuxInvader avatar Jun 07 '23 11:06 TuxInvader