Comment 7 for bug 1729051

Revision history for this message
Brian Murray (brian-murray) wrote : Re: [Bug 1729051] Re: dkms mkdeb fails: Can't find package

It looks the same to me.

https://github.com/dell/dkms/blob/master/template-dkms-mkdeb/debian/control

On Thu, Nov 16, 2017 at 12:49:01AM -0000, martin wrote:
> I haven't because this is a Debian/Ubuntu-specific bug. IIRC
> Debian/Ubuntu's file is different from vanilla dkms'.
>
> 2017-11-15 18:56 GMT-03:00 Brian Murray <email address hidden>:
> > Have you submitted it to the upstream developers of dkms on github? The
> > file is included there and the project can be found here:
> >
> > https://github.com/dell/dkms
> >
> > --
> > You received this bug notification because you are subscribed to the bug
> > report.
> > https://bugs.launchpad.net/bugs/1729051
> >
> > Title:
> > dkms mkdeb fails: Can't find package
> >
> > Status in dkms package in Ubuntu:
> > Confirmed
> > Status in dkms package in Debian:
> > New
> >
> > 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
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1729051
>
> Title:
> dkms mkdeb fails: Can't find package
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1729051/+subscriptions
>
--
Brian Murray
Ubuntu Bug Master