[Pkg-dkms-maint] Bug#832558: dkms: mkdeb --source-only fails: can't find package
Dirk Griesbach
spamthis at freenet.de
Tue Jul 26 20:52:11 UTC 2016
Package: dkms
Version: 2.2.0.3-5
Severity: normal
Tags: patch
Hi,
when creating a source-only deb, dkms will call dpkg-buildpackage, which
creates a *_all.deb package. Version 2.2.0.3-5 introduced
$debian_build_arch as part of the then invoked mv command, which fails.
>From a quick glance, calling mkdeb without --source-only will suffer
from the same problem, but I did not test it.
If I glanced right, you can apply revert_all.patch. If I'm wrong, try
source_deb.patch, which will use 'all' only if --source-only was
provided. Or, if thats an option, simply use a wildcard instead of a
specific arch postfix if other options aren't at hand.
Regards,
Dirk
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 4.6.4 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages dkms depends on:
ii build-essential 12.2
ii coreutils 8.25-2
ii dpkg-dev 1.18.9
ii gcc 4:5.3.1-3
ii kmod 22-1.1
ii make 4.1-9
ii patch 2.7.5-1
Versions of packages dkms recommends:
ii fakeroot 1.21-1
ii linux-headers-4.6.4 [linux-headers] 4.6.4-5
ii menu 2.1.47
ii sudo 1.8.17p1-2
Versions of packages dkms suggests:
pn python3-apport <none>
-- Configuration Files:
/etc/modprobe.d/dkms.conf [Errno 2] Datei oder Verzeichnis nicht gefunden: u'/etc/modprobe.d/dkms.conf'
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: revert_all.patch
Type: text/x-diff
Size: 592 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-dkms-maint/attachments/20160726/374ad612/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: source_deb.patch
Type: text/x-diff
Size: 498 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-dkms-maint/attachments/20160726/374ad612/attachment-0001.patch>
More information about the Pkg-dkms-maint
mailing list