--- Begin Message ---
Package: linux-kbuild-2.6.26
Version: 2.6.26-3
Severity: serious
Justification: no longer builds from source
This typo actually causes other kernel modules which use KBUILD_EXTRA_SYMBOLS
to not build correctly. The modpost process will exit with the error:
"Error: not ELF".
The KBUILD_EXTRA_SYMBOLS feature adds the argument "-e .../Module.symvers"
to the modpost argument list. The "e" option requires an argument in the
standard Linux kernel modpost program, but Debian's mk_elfconfig-ish
modpost wrapper does not expect the "e" option to have an argument, thus
this "error" is detected.
To fix this bug, all that needs to be done is to add a ":" after the "e" in
the optstring argument of the modpost wrapper's getopt call.
Yes, I know it looks like I'm running a Fedora kernel on a Debian box, but
I'm actually just running a debootstrapped Debian on a Fedora box.
Nevertheless, I've confirmed this bug on a full-blown Debian box as well.
Attached is a patch to fix the bug:
-Jeff
-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.27.7-134.fc10.x86_64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages linux-kbuild-2.6.26 depends on:
ii libc6 2.7-18 GNU C Library: Shared libraries
linux-kbuild-2.6.26 recommends no packages.
linux-kbuild-2.6.26 suggests no packages.
-- no debconf information
--- ./src/mod/modpost.c.orig 2009-03-09 15:01:26.000000000 +0000
+++ ./src/mod/modpost.c 2009-03-09 15:13:41.000000000 +0000
@@ -13,7 +13,7 @@
int opt;
FILE *file;
- while ((opt = getopt (argc, argv, "acei:I:K:mM:o:sSw")) != -1)
+ while ((opt = getopt (argc, argv, "ace:i:I:K:mM:o:sSw")) != -1)
{
switch(opt)
{
--- End Message ---
--- Begin Message ---
Source: linux-kbuild-2.6
Source-Version: 2.6.29-1
We believe that the bug you reported is fixed in the latest version of
linux-kbuild-2.6, which is due to be installed in the Debian FTP archive:
linux-kbuild-2.6.29_2.6.29-1_powerpc.deb
to pool/main/l/linux-kbuild-2.6/linux-kbuild-2.6.29_2.6.29-1_powerpc.deb
linux-kbuild-2.6_2.6.29-1.diff.gz
to pool/main/l/linux-kbuild-2.6/linux-kbuild-2.6_2.6.29-1.diff.gz
linux-kbuild-2.6_2.6.29-1.dsc
to pool/main/l/linux-kbuild-2.6/linux-kbuild-2.6_2.6.29-1.dsc
linux-kbuild-2.6_2.6.29.orig.tar.gz
to pool/main/l/linux-kbuild-2.6/linux-kbuild-2.6_2.6.29.orig.tar.gz
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 518961@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bastian Blank <waldi@debian.org> (supplier of updated linux-kbuild-2.6 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@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Thu, 26 Mar 2009 12:54:47 +0100
Source: linux-kbuild-2.6
Binary: linux-kbuild-2.6.29
Architecture: source powerpc
Version: 2.6.29-1
Distribution: unstable
Urgency: low
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Changed-By: Bastian Blank <waldi@debian.org>
Description:
linux-kbuild-2.6.29 - Kbuild infrastructure for Linux 2.6.29
Closes: 518961
Changes:
linux-kbuild-2.6 (2.6.29-1) unstable; urgency=low
.
* New upstream version.
* Autogenerate list of supported options in modpost. (closes: #518961)
- Build-depend against python.
* Use debhelper compat level 7.
Checksums-Sha1:
12fe2f4831b6af04ca380f4ad468222b425e1ce8 1096 linux-kbuild-2.6_2.6.29-1.dsc
4600cd0090e5c3e7d143c24b0f8fa0ec555abed5 365137 linux-kbuild-2.6_2.6.29.orig.tar.gz
62d027b10629b80459089ac41b2e88f64ed85612 13393 linux-kbuild-2.6_2.6.29-1.diff.gz
d0f98505362ec940137ec616467ec94b3e2e82b2 241740 linux-kbuild-2.6.29_2.6.29-1_powerpc.deb
Checksums-Sha256:
43f070699958b5260572ce9b97db1ef7427a8d9162fbbf08af2df48468f21773 1096 linux-kbuild-2.6_2.6.29-1.dsc
8ff8b306b819e40cb4b730d10d23cd5e3099c98e301b9f84dfc518598c5c9b27 365137 linux-kbuild-2.6_2.6.29.orig.tar.gz
80e95fcb846e49c0bd67bca6293f73fa28fc1d92561b5dbe7f75d367d312b49e 13393 linux-kbuild-2.6_2.6.29-1.diff.gz
14d56f17ef99b66c39b4d2deaad5b435d5d115437820f1f12cfd9267b06ae6c2 241740 linux-kbuild-2.6.29_2.6.29-1_powerpc.deb
Files:
16a5d6033f9b4eee770985ec59ff9df7 1096 devel optional linux-kbuild-2.6_2.6.29-1.dsc
e1e6042cc5d5f09e7708599282d3a278 365137 devel optional linux-kbuild-2.6_2.6.29.orig.tar.gz
dcc7f3a6c4bf2796307fd44f1a0e0266 13393 devel optional linux-kbuild-2.6_2.6.29-1.diff.gz
32b5b70babba5191d29ef5fae1c3fe4c 241740 devel optional linux-kbuild-2.6.29_2.6.29-1_powerpc.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAknLbqQACgkQLkAIIn9ODhHaBwCg+ZUe81Wsi9lH3bHxFnftD5WB
RVQAoNZ7kSyALgQgwOH6UOdK0JYV2wmw
=PgzM
-----END PGP SIGNATURE-----
--- End Message ---