Debian Bug report logs -
#765861
dkms: write apport report in 'wb' mode
Reported by: Ritesh Raj Sarraf <rrs@debian.org>
Date: Sat, 18 Oct 2014 18:57:01 UTC
Severity: normal
Tags: patch
Merged with 684377,
685208
Found in versions dkms/2.2.0.3-1, dkms/2.2.0.3-2, dkms/2.2.0.3-1.1
Fixed in version dkms/2.2.0.3-4
Done: Petter Reinholdtsen <pere@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, rrs@debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#765861; Package dkms.
(Sat, 18 Oct 2014 18:57:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Ritesh Raj Sarraf <rrs@debian.org>:
New Bug report received and forwarded. Copy sent to rrs@debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Sat, 18 Oct 2014 18:57:07 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: dkms
Version: 2.2.0.3-2
Severity: normal
Tags: patch
If users have apport installed (which right now resides in experimental
for some more time), they could run into the following problem.
Unpacking linux-headers-3.17-1-amd64 (3.17-1~exp1) ...
Setting up linux-headers-3.17-1-common (3.17-1~exp1) ...
Setting up linux-kbuild-3.17 (3.17-1~exp1) ...
Setting up linux-headers-3.17-1-amd64 (3.17-1~exp1) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.17-1-amd64
invalid /etc/os-release: Does not contain NAME and VERSION_ID
Traceback (most recent call last):
File "/usr/share/apport/package-hooks/dkms_packages.py", line 95, in <module>
report.write(open(apport.fileutils.make_report_path(report), 'w'))
File "/usr/lib/python2.7/dist-packages/problem_report.py", line 254, in write
self._assert_bin_mode(file)
File "/usr/lib/python2.7/dist-packages/problem_report.py", line 631, in _assert_bin_mode
assert (type(file) == BytesIO or 'b' in file.mode), 'file stream must be in binary mode'
AssertionError: file stream must be in binary mode
Error! Bad return status for module build on kernel: 3.17-1-amd64 (x86_64)
Consult /var/lib/dkms/virtualbox/4.3.14/build/make.log for more information.
The python exception can be simply fixed by opening the apport report in
binary write mode.
if options.kernel:
report['DKMSKernelVersion'] = options.kernel
report.write(open(apport.fileutils.make_report_path(report), 'wb'))
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dkms depends on:
ii build-essential 11.7
ii coreutils 8.23-2
ii dpkg-dev 1.17.13
ii gcc 4:4.9.1-4
ii kmod 18-3
ii make-guile [make] 4.0-8
ii patch 2.7.1-6
Versions of packages dkms recommends:
ii fakeroot 1.20.2-1
ii linux-headers-amd64 3.16+61
pn linux-image <none>
ii sudo 1.8.10p3-1
dkms suggests no packages.
-- Configuration Files:
/etc/modprobe.d/dkms.conf changed:
-- no debconf information
Marked as found in versions dkms/2.2.0.3-1.1 and dkms/2.2.0.3-1.
Request was from Petter Reinholdtsen <pere@hungry.com>
to 685208-submit@bugs.debian.org.
(Wed, 27 Apr 2016 05:54:09 GMT) (full text, mbox, link).
Added tag(s) pending.
Request was from Petter Reinholdtsen <pere@hungry.com>
to control@bugs.debian.org.
(Sun, 01 May 2016 12:36:07 GMT) (full text, mbox, link).
Message #12 received at 684377-close@bugs.debian.org (full text, mbox, reply):
Source: dkms
Source-Version: 2.2.0.3-4
We believe that the bug you reported is fixed in the latest version of
dkms, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 684377@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Petter Reinholdtsen <pere@debian.org> (supplier of updated dkms package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 01 May 2016 15:27:22 +0200
Source: dkms
Binary: dkms
Architecture: source
Version: 2.2.0.3-4
Distribution: unstable
Urgency: medium
Maintainer: Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>
Changed-By: Petter Reinholdtsen <pere@debian.org>
Description:
dkms - Dynamic Kernel Module Support Framework
Closes: 663114 684377 690866 822351
Changes:
dkms (2.2.0.3-4) unstable; urgency=medium
.
* Acknowledge 2.2.0.3-2.1 NMU. (Closes: #822351)
* Make sure apport code write files in binary mode. (Closes: #684377)
* Build modules using all CPU cores. (Closes: #663114)
* Improve message printed when kernel headers are missing. (Closes: #690866)
* Add gbp.conf to ensure pristine-tar feature is used.
Checksums-Sha1:
aa5c3d1bed1f8f4cad04b1ee2bdd83af3214a5a0 2016 dkms_2.2.0.3-4.dsc
9ff5cf2e792a83eaf74429261dad2f392f1e34df 20448 dkms_2.2.0.3-4.debian.tar.xz
Checksums-Sha256:
16317308c803e1ced14765b60e00cd454cc1a4f59b850216f0bf35514a8b22bb 2016 dkms_2.2.0.3-4.dsc
a106204aa738c59227fa37d14c679267639824bed6606b1650041440df81d9fe 20448 dkms_2.2.0.3-4.debian.tar.xz
Files:
b04061b6cc3578849c0bf6bd1cdaaf75 2016 kernel optional dkms_2.2.0.3-4.dsc
15c7ed3dd940a26396c8bdcc4bcde167 20448 kernel optional dkms_2.2.0.3-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJXJgSeAAoJEIEoCqCHuvsOcoAP/0wd6mv+hlOmeZo6VCxQMcNA
wEDl0q8lju8GaBXfl+fN1mi/odLpirU7Iddn+ZlpbXpWCGspadqFqki3Yu8OY9wo
ZO/FUNp2t6ZBO3sAzn32v59rNSh56vc20qRO5DTOaMnQaGO1O16nVrufO4v8ebYz
DNMyRSErT6B07xAIoEKD3mCWwR8wTi8/s9vgiMipeZUSxPrPEEwX54uS1JEfr5W1
l3dTWmbTotTEfO09E3jpHvpxf2rKvygmf3a6vku/526N0F+LC5rma+2VRKMErRnZ
rigN1wqC9o1XF2Ex+q16JGNMDihUkTRRMrMCX1df39npdHEp8sNHqllT5Ky6UJJX
Y72KO/6lkD23vtL5Ff4/oJPLNv7w74o1r1CyjIj7L4la9IJK9pJfAVu1LPGZheYB
D4vjCaA/w+XYNOrRHGXKGYEcY74FOIsnExQqrrP05ASNGrXsb2Mo8E5LCEejfY/v
a7la5X8cbyKTnEvn0g2pzCiQBcf09EVTpUmbXmfLHmDsvJikDjoaMOhu0sgwxhKn
maavP1BwOETLagJkmGmyzWkkgdIZzibHPFvtvfxymaU3ojho4zAiJF3e3iskTdnH
KFusbZPVXFmLHeTZ5lag19Lc2bT/FCKaDEiTvVGbtnconif+NSQ4IRSFo32sS8rH
Kwhm7lcrzZDWhgHBiWkL
=F2j0
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 05 Jun 2016 07:26:19 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 06:25:36 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.