Your message dated Sun, 01 May 2016 13:34:00 +0000 with message-id <[email protected]> and subject line Bug#684377: fixed in dkms 2.2.0.3-4 has caused the Debian Bug report #684377, regarding dkms: write apport report in 'wb' mode to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 684377: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684377 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---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
--- End Message ---
--- Begin Message ---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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Petter Reinholdtsen <[email protected]> (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 [email protected]) -----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 <[email protected]> Changed-By: Petter Reinholdtsen <[email protected]> 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-----
--- End Message ---

