Public bug reported: Launchpad is not providing an /etc/apt/sources.list file anymore for Noble PPA builds. Noble and newer use deb822 apt .sources files. Our current dkms-build script for this kernel expects to find an old-format "/etc/apt/sources.list" file, and fails when it does not with the error below.
Resolve this issue by cherry-picking "UBUNTU: [Packaging] dkms-build: Support DEB822 sources" from Oracular. II: dkms-build installing v4l2loopback into /<<PKGBUILDDIR>>/debian/linux-image-unsigned-6.8.0-1016-nvidia-lowlatency-dbgsym/usr/lib/debug/lib/modules/6.8.0-1016-nvidia-lowlatency/kernel/v4l2loopback (debug symbols) ignoring v4l2loopback.ko (missing debug symbols) stripping v4l2loopback.ko II: dkms-build installing v4l2loopback into /<<PKGBUILDDIR>>/debian/linux-modules-6.8.0-1016-nvidia-lowlatency/lib/modules/6.8.0-1016-nvidia-lowlatency/kernel/v4l2loopback signing v4l2loopback.ko II: dkms-build build v4l2loopback complete II: dkms-build downloading nvidia-fs (nvidia-fs-dkms_2.20.5-1_amd64.deb) II: fetching https://launchpad.net/ubuntu/+archive/primary/+files/nvidia-fs-dkms_2.20.5-1_amd64.deb curl: (22) The requested URL returned error: 404 grep: /etc/apt/sources.list: No such file or directory II: fetching [trusted=yes]/pool/universe/n/nvidia-fs/nvidia-fs-dkms_2.20.5-1_amd64.deb curl: (3) bad range in URL position 2: [trusted=yes]/pool/universe/n/nvidia-fs/nvidia-fs-dkms_2.20.5-1_amd64.deb ^ II: fetching [trusted=yes]/pool/main/n/nvidia-fs/nvidia-fs-dkms_2.20.5-1_amd64.deb curl: (3) bad range in URL position 2: [trusted=yes]/pool/main/n/nvidia-fs/nvidia-fs-dkms_2.20.5-1_amd64.deb ^ EE: nvidia-fs-dkms not found make: *** [debian/rules.d/2-binary-arch.mk:223: /<<PKGBUILDDIR>>/debian/stamps/stamp-install-nvidia-lowlatency] Error 1 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2024-10-07T16:22:34Z ** Affects: linux-nvidia (Ubuntu) Importance: Undecided Status: Invalid ** Affects: linux-nvidia-lowlatency (Ubuntu) Importance: Undecided Status: Invalid ** Affects: linux-nvidia (Ubuntu Noble) Importance: Undecided Assignee: Jacob Martin (jacobmartin) Status: Fix Committed ** Affects: linux-nvidia-lowlatency (Ubuntu Noble) Importance: Undecided Assignee: Jacob Martin (jacobmartin) Status: Fix Committed ** Also affects: linux-nvidia (Ubuntu Noble) Importance: Undecided Status: New ** Changed in: linux-nvidia (Ubuntu) Status: New => Invalid ** Changed in: linux-nvidia (Ubuntu Noble) Status: New => Fix Committed ** Changed in: linux-nvidia (Ubuntu Noble) Assignee: (unassigned) => Jacob Martin (jacobmartin) ** Also affects: linux-nvidia-lowlatency (Ubuntu) Importance: Undecided Status: New ** Changed in: linux-nvidia-lowlatency (Ubuntu) Status: New => Invalid ** Changed in: linux-nvidia-lowlatency (Ubuntu Noble) Status: New => Fix Committed ** Changed in: linux-nvidia-lowlatency (Ubuntu Noble) Assignee: (unassigned) => Jacob Martin (jacobmartin) ** Summary changed: - Kernel build failure when Launchpad provides deb822 apt sources + Kernel build failure when Launchpad provides only deb822 apt sources -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2083936 Title: Kernel build failure when Launchpad provides only deb822 apt sources To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-nvidia/+bug/2083936/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs