Public bug reported:

For some reason, the Debian version of dkms mkdeb tries to generate a
.deb package with the current arch as a suffix in its name, instead of
'all'. However, since the control file wasn't properly set up, the .deb
file will have the 'all' suffix and dkms mkdeb will fail.
This bug is also present in Ubuntu. I added a patch to the original
Debian bug report, here:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=832558

but since the original bug report was made about a year ago and nobody
cared, I'm hoping that someone will at least fix this for Ubuntu.

The patch looks like this:

--- a/etc/dkms/template-dkms-mkdeb/debian/control       2017-10-31 
14:40:41.690069116 -0300
+++ b/etc/dkms/template-dkms-mkdeb/debian/control       2017-10-31 
14:41:12.137973994 -0300
@@ -6,6 +6,6 @@
 Standards-Version: 3.8.1

 Package: DEBIAN_PACKAGE-dkms
-Architecture: all
+Architecture: DEBIAN_BUILD_ARCH
 Depends: dkms (>= 1.95), ${misc:Depends}
 Description: DEBIAN_PACKAGE driver in DKMS format.

I'm using Ubuntu 17.10. dkms version is 2.3-3ubuntu3.

** Affects: dkms (Ubuntu)
     Importance: Undecided
         Status: Confirmed

** Patch added: "fix.patch"
   https://bugs.launchpad.net/bugs/1729051/+attachment/5001318/+files/fix.patch

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to dkms in Ubuntu.
https://bugs.launchpad.net/bugs/1729051

Title:
  dkms mkdeb fails: Can't find package

Status in dkms package in Ubuntu:
  Confirmed

Bug description:
  For some reason, the Debian version of dkms mkdeb tries to generate a
  .deb package with the current arch as a suffix in its name, instead of
  'all'. However, since the control file wasn't properly set up, the
  .deb file will have the 'all' suffix and dkms mkdeb will fail.

  This bug is also present in Ubuntu. I added a patch to the original
  Debian bug report, here:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=832558

  but since the original bug report was made about a year ago and nobody
  cared, I'm hoping that someone will at least fix this for Ubuntu.

  The patch looks like this:

  --- a/etc/dkms/template-dkms-mkdeb/debian/control     2017-10-31 
14:40:41.690069116 -0300
  +++ b/etc/dkms/template-dkms-mkdeb/debian/control     2017-10-31 
14:41:12.137973994 -0300
  @@ -6,6 +6,6 @@
   Standards-Version: 3.8.1

   Package: DEBIAN_PACKAGE-dkms
  -Architecture: all
  +Architecture: DEBIAN_BUILD_ARCH
   Depends: dkms (>= 1.95), ${misc:Depends}
   Description: DEBIAN_PACKAGE driver in DKMS format.

  I'm using Ubuntu 17.10. dkms version is 2.3-3ubuntu3.

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