Cannot build when the current kernel has no source installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
module-assistant (Ubuntu) |
In Progress
|
Low
|
Unassigned |
Bug Description
Originally filed using reportbug. Filing by proxy.
From: Matthias Urlichs <email address hidden>
To: Ubuntu Bug Tracking System <email address hidden>
Subject: module-assistant: Cannot build when the current kernel has no source installed
X-Mailer: reportbug 3.18ubuntu1
Date: Fri, 04 Aug 2006 20:00:37 +0200
Package: module-assistant
Version: 0.10.6
Severity: important
Tags: patch
In the LOOKUP loop, IMHO the source lookup should be by $kvers (the
actual loop index!) and not $my_kvers.
The problem this patch solves is that I cannot build anything for *any*
kernel if I don't have the kernel headers for the *current* kernel
installed. I rather doubt that that's what you intend to happen...
diff -rub module-
module-
--- module-
+++ module-
@@ -1,3 +1,10 @@
+module-assistant (0.10.7) unstable; urgency=low
+
+ * Fixed a bug that prevented building for a different kernel
+ when the *current* kernel's headers/source were not installed.
+
+ -- Matthias Urlichs <email address hidden> Fri, 4 Aug 2006 19:58:51 +0200
+
module-assistant (0.10.6) unstable; urgency=low
* no external command reads untill the package is known, avoids
diff -rub module-
module-
--- module-
+++ module-
@@ -1287,8 +1287,8 @@
HAVEIT: foreach $kvers (@opt_kverslist) {
next HAVEIT if(defined(
- my $kheaders=
- LOOKUP: foreach $poskdir ("/lib/
"/lib/modules/
"$usrc/
+ my $kheaders=
+ LOOKUP: foreach $poskdir ("/lib/
"/lib/modules/
"$usrc/
if(!-x $poskdir) {
-- System Information:
Debian Release: testing/unstable
APT prefers dapper
APT policy: (850, 'dapper'), (745, 'edgy'), (500, 'edgy-updates'), (500,
'edgy-security'), (500, 'dapper-updates'), (500, 'dapper-security')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-rc2-1.29
Locale: LANG=en_US.UTF-8, LC_CTYPE=
Versions of packages module-assistant depends on:
ii libtext-
ii perl 5.8.7-10ubuntu1 Larry Wall's Practical Extraction
Versions of packages module-assistant recommends:
ii liblocale-
-- no debconf information
Changed in module-assistant: | |
status: | Confirmed → In Progress |
Confirming the bug. Not terribly important, but it would be quite nice and the fix seems to be attached.