他们已经有一段时间无法构建内核了,他们怎么了?
答案1
我也注意到了这一点。这确实很奇怪。您可以看到 amd64 构建不断失败。我提供了构建日志的链接,也许我们可以从中获得一些见解。
- https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20.1/
- https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20.1/BUILD.LOG.amd64
- https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20.2/
- https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20.2/BUILD.LOG.amd64
尽管出于某种原因,v4.20 成功了。奇怪吗?!
- https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20/
- https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20/BUILD.LOG.amd64
我敢打赌,他们在原始源代码上应用的其中一个补丁会导致问题……
我通常使用 UKUU 来使我的系统保持最新的主线版本,所以这有点令人失望。
希望他们能尽快解决这个问题!
编辑:看起来构建因 nvidia 驱动程序而中断。它似乎试图将该内核模块作为整个构建过程的一部分进行构建。请参阅构建日志末尾附近的相关行:
2019-01-10 03:38:12 (105 MB/s) - 'nvidia-kernel-source-390_390.87-0ubuntu4_amd64.deb' saved [8433608/8433608]
II: dkms-build downloading nvidia-390 (nvidia-dkms-390_390.87-0ubuntu4_amd64.deb)
--2019-01-10 03:38:13-- http://us.archive.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-390/nvidia-dkms-390_390.87-0ubuntu4_amd64.deb
Resolving us.archive.ubuntu.com (us.archive.ubuntu.com)... 91.189.91.26, 91.189.91.23, 2001:67c:1562::16, ...
Connecting to us.archive.ubuntu.com (us.archive.ubuntu.com)|91.189.91.26|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 27288 (27K) [application/x-debian-package]
Saving to: 'nvidia-dkms-390_390.87-0ubuntu4_amd64.deb'
0K .......... .......... ...... 100% 9.46M=0.003s
2019-01-10 03:38:13 (9.46 MB/s) - 'nvidia-dkms-390_390.87-0ubuntu4_amd64.deb' saved [27288/27288]
linux:BuiltUsing=nvidia-kernel-source-390 (= 390.87-0ubuntu4),
II: dkms-build building nvidia-390
Creating symlink /home/kernel/COD/linux/debian/build/build-generic/______________________________________________dkms/build/nvidia/390.87/source ->
/home/kernel/COD/linux/debian/build/build-generic/______________________________________________dkms/source/nvidia-390.87
DKMS: add completed.
applying patch buildfix_kernel_4.18.patch...patching file conftest.sh
patching file nvidia-drm/nvidia-drm-connector.c
patching file nvidia-drm/nvidia-drm-encoder.c
patching file nvidia-drm/nvidia-drm-helper.h
patching file nvidia-drm/nvidia-drm.Kbuild
Building module:
cleaning build area...(bad exit status: 2)
unset ARCH; env NV_VERBOSE=1 'make' -j16 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=4.20.1-042001-generic IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/home/kernel/COD/linux/debian/build/build-generic/______________________________________________dkms/headers/linux-headers-4.20.1-042001-generic LD=/usr/bin/ld.bfd modules.....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.20.1-042001-generic (x86_64)
Consult /home/kernel/COD/linux/debian/build/build-generic/______________________________________________dkms/build/nvidia/390.87/build/make.log for more information.
debian/scripts/dkms-build: line 121: /home/kernel/COD/linux/debian/build/build-generic/______________________________________________dkms/build/nvidia/390.87/4.20.1-042001-generic/*/log/make.log: No such file or directory
make: *** [debian/rules.d/2-binary-arch.mk:201: install-generic] Error 1
编辑 2:在此处打开错误报告https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1811721
答案2
0001-base-packaging.patch 在两个版本中有所不同,并且 NVIDIA DKMS 驱动程序是问题所在。
在补丁行 299608 中 +do_dkms_nvidia=true
就这么简单,我希望他们能够解决这个问题。
编辑:我可以使用“do_dkms_nvidia=false”构建 5.0 rc2