Your message dated Sat, 03 Sep 2016 18:23:24 +0000 with message-id <[email protected]> and subject line Bug#437466: fixed in module-assistant 0.11.9 has caused the Debian Bug report #437466, regarding module-assistant: prepare (and thus auto-install) doesn't like --kernel-dir 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.) -- 437466: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=437466 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: module-assistant Version: 0.10.11 Severity: normal Tags: patch If --kernel-dir is provided, and @opt_kverslist is therefore empty, prep() will fail at line 566. And since it is called by auto-install, this makes it impossible to use this handy little command for custom kernels. I see three possible ways to fix this: 1) Don't call prep() unless @opt_kverslist. This has the unfortunate side-effect of also disabling the install of build-essential. 2) Run $todo foreach @opt_kverslist in prep(). This potentially calls apt-get multiple times (which is annoying if there's a yes/no question each time), and renders the whole idea of the /usr/src/linux symlink somewhat moot. 3) Replace the for with a if($todo = ...). This is the simplest, and works fine for me. I'm attaching a measily patch that does this. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.21-2-k7 (SMP w/1 CPU core) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash--- /usr/bin/module-assistant.orig 2007-08-12 14:02:11.000000000 +0000 +++ /usr/bin/module-assistant 2007-08-12 17:57:59.000000000 +0000 @@ -560,7 +560,7 @@ print "chdir $usrc\n" if $opt_debug; %envbackup=%ENV; $ENV{ROOT_CMD}=$sudo if ($sudo && !$ENV{ROOT_CMD}); - for $todo ($opt_kverslist[0]) { + if ($todo = $opt_kverslist[0]) { my $kheaders = get_kpackage($todo)."-headers"; $source=$kerneldirs{$todo}; die "Bad kernel version specification" if ! $todo;
--- End Message ---
--- Begin Message ---Source: module-assistant Source-Version: 0.11.9 We believe that the bug you reported is fixed in the latest version of module-assistant, 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. Eduard Bloch <[email protected]> (supplier of updated module-assistant 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: Sat, 03 Sep 2016 20:02:21 +0200 Source: module-assistant Binary: module-assistant Architecture: source all Version: 0.11.9 Distribution: unstable Urgency: low Maintainer: Eduard Bloch <[email protected]> Changed-By: Eduard Bloch <[email protected]> Description: module-assistant - tool to make module package creation easier Closes: 437466 829595 Changes: module-assistant (0.11.9) unstable; urgency=low . * When debian/rules is called without frontend, try to get information from include/generated/utsrelease.h as well * In generic.sh, rename the internal override variable $BUILDDIR to avoid confusion by environments like pbuilder shell * Also considering tar.lzma extension in tarball lookup * Don't attempt to install linux headers if they have been configured by the user via command line option (closes: #437466) * Mark module packages as auto-installed (by David Kalnischkies, closes: #829595) Checksums-Sha1: e3754076e42b4eedd8f19cae1fa4623c4b899403 1733 module-assistant_0.11.9.dsc 480e0ef45936220aa625e54947aa7a154cae961a 93680 module-assistant_0.11.9.tar.xz c0099693b3da7e8804fdf0bd11d8dd29ee404ab2 100538 module-assistant_0.11.9_all.deb Checksums-Sha256: a3a1e3e21ed5d48797b737185b834a1782511ba725854075e0587376c07d75db 1733 module-assistant_0.11.9.dsc fd4349b41dbadf706291ab462b045831363b8da85edfcee2044725f19d03fa24 93680 module-assistant_0.11.9.tar.xz b9ba353c9c3e15d1520c7bea8d67790fb029f441b6d4c46c60051c8781438d67 100538 module-assistant_0.11.9_all.deb Files: 21da2969e9ef3b0989c4bb5345356029 1733 kernel optional module-assistant_0.11.9.dsc 0a3f6590bc6c6f9ecd3072b1b9e82729 93680 kernel optional module-assistant_0.11.9.tar.xz c9f1116236bd937b40810290c5b844d7 100538 kernel optional module-assistant_0.11.9_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIVAwUBV8sTGGl0DlyzX+w8AQhmTA/+J2WR6GqvNk2ZPuidfvhUlC+yFeDGtff1 aNIasz5Ja+64CrC+EFOhnJu4thez/6Ytm2dwFHgRbAxbro97p7zTuSkF9QE2g/8P 1aAxcLdFtAHmFeeTkwnEgKMH80rS0+2+NJAz066BNub3xEZyA9z0c1dcqMXINOR9 jFhKwfSeVc9CAdI+Z21a0IsCyGd4cjvSS4Cd0541pBDur7yPKdwiBxzulfdVs9ME aQ1eNDkZfjQA1Y2ROBcjilYTKQnn6Rlu6+9tmMMT/D4HYj6ZRhXvBHGBaSnHsQ6d 8WpO/AqlBuNeapDZfYkbJc+jBPjrBpOcV87JB+FUdE5rFvAfrw9KP17jZAI4+1EN Ba+ZLQ7Myg408VqrIp6fnFNQNaDILKbDTM7jA5miABUdghJXWaG2UW/UIYPlfzW8 gO4RmnjigXqWKCJbKw3acURrRvnKXQLV6pR3AWIW53sVbzBuX/GD1SwlmSP7Y0cZ YFKvmZt1q9SBbIIvCoetOepnKeb9qlegnYWCQwbbGr6zdnBxu0IG5iP5I2z0olyc mGLSbHd5SIsM7BBAEArc4DiUsKxT9MPJgaS05kfs/LoDGT6H2nhVncTFRwQ7UTvc qvzDZ2pRXdWbPAL5OweXXoCCWvkb+1JE4MrBGeZGC5aQLpbv8RVY0dzFiQQ35Iwx ZjI/pJlhlyw= =aBO2 -----END PGP SIGNATURE-----
--- End Message ---

