Your message dated Mon, 05 May 2008 18:17:06 +0000 with message-id <E1Jt5FK-0005kh-6Q@ries.debian.org> and subject line Bug#479271: fixed in linux-kbuild-2.6 2.6.25-2 has caused the Debian Bug report #479271, regarding linux-kbuild-2.6.25: custom modpost breaks building external modules 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 owner@bugs.debian.org immediately.) -- 479271: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479271 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: linux-kbuild-2.6.25: custom modpost breaks building external modules
- From: Stefan Lippers-Hollmann <s.L-H@gmx.de>
- Date: Sun, 4 May 2008 01:19:27 +0200
- Message-id: <[🔎] 200805040119.27695.s.L-H@gmx.de>
Package: linux-kbuild-2.6.25 Version: 2.6.25-1 Severity: important Tags: patch modpost has gained additional cli parameters in 2.6.25, while the custom wrapper included in linux-kbuild-2.6 hasn't been adapted to those yet. This breaks compiling any external module package with/ against it (this is not specific to lirc or amd64): $ LANG= m-a --kvers-list 2.6.25-1-amd64 --kernel-dir /usr/src/linux-headers-2.6.25-1-amd64/ --userdir /tmp/pkg/ --text-mode build lirc [...] mkdir -p /tmp/pkg/usr_src/modules/lirc/drivers/lirc_dev/.tmp_versions ; rm -f /tmp/pkg/usr_src/modules/lirc/drivers/lirc_dev/.tmp_versions/* /usr/bin/make -f scripts/Makefile.build obj=/tmp/pkg/usr_src/modules/lirc/drivers/lirc_dev gcc-4.1 -Wp,-MD,/tmp/pkg/usr_src/modules/lirc/drivers/lirc_dev/.lirc_dev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -fno-stack-protector -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/tmp/pkg/usr_src/modules/lirc/drivers/lirc_dev/../.. -I/usr/src/linux-headers-2.6.25-1-amd64//include/ -I/usr/src/linux-headers-2.6.25-1-amd64//drivers/media/video/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -c -o /tmp/pkg/usr_src/modules/lirc/drivers/lirc_dev/.tmp_lirc_dev.o /tmp/pkg/usr_src/modules/lirc/drivers/lirc_dev/lirc_dev.c (cat /dev/null; echo kernel//tmp/pkg/usr_src/modules/lirc/drivers/lirc_dev/lirc_dev.ko;) > /tmp/pkg/usr_src/modules/lirc/drivers/lirc_dev/modules.order Building modules, stage 2. /usr/bin/make -f /usr/src/linux-headers-2.6.25-1-amd64/scripts/Makefile.modpost scripts/mod/modpost -m -i /usr/src/linux-headers-2.6.25-1-amd64/Module.symvers -I /tmp/pkg/usr_src/modules/lirc/drivers/lirc_dev/Module.symvers -o /tmp/pkg/usr_src/modules/lirc/drivers/lirc_dev/Module.symvers -S -w -c -s scripts/mod/modpost: invalid option -- S make[6]: *** [__modpost] Error 1 make[5]: *** [modules] Error 2 Please apply the attached patch, which tells linux-kbuild-2.6's custom modpost wrapper about the newly added cli parameters supported, and required, by kernel 2.6.25's modpost. Successfully tested on amd64/ i386 and using module-assistant/ a linux-modules-extra-2.6 variant with several different ${modules}-source packages. Regards Stefan Lippers-Hollmann -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.25-1.slh.2-sidux-amd64 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages linux-kbuild-2.6.25 depends on: ii libc6 2.7-10 GNU C Library: Shared libraries linux-kbuild-2.6.25 recommends no packages. -- no debconf informationdiff -Nrup a/src/mod/modpost.c b/src/mod/modpost.c --- a/src/mod/modpost.c 2008-05-04 00:48:29.000000000 +0200 +++ b/src/mod/modpost.c 2008-05-04 00:49:15.000000000 +0200 @@ -13,17 +13,21 @@ int main (int argc, char *argv[]) int opt; FILE *file; - while ((opt = getopt (argc, argv, "ai:I:mo:sw")) != -1) + while ((opt = getopt (argc, argv, "i:I:cmsSo:awM:K:")) != -1) { switch(opt) { - case 'a': case 'i': case 'I': + case 'c': case 'm': - case 'o': case 's': + case 'S': + case 'o': + case 'a': case 'w': + case 'M': + case 'K': break; default: return EXIT_FAILURE;Attachment: signature.asc
Description: This is a digitally signed message part.
--- End Message ---
--- Begin Message ---
- To: 479271-close@bugs.debian.org
- Subject: Bug#479271: fixed in linux-kbuild-2.6 2.6.25-2
- From: Bastian Blank <waldi@debian.org>
- Date: Mon, 05 May 2008 18:17:06 +0000
- Message-id: <E1Jt5FK-0005kh-6Q@ries.debian.org>
Source: linux-kbuild-2.6 Source-Version: 2.6.25-2 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.25_2.6.25-2_powerpc.deb to pool/main/l/linux-kbuild-2.6/linux-kbuild-2.6.25_2.6.25-2_powerpc.deb linux-kbuild-2.6_2.6.25-2.diff.gz to pool/main/l/linux-kbuild-2.6/linux-kbuild-2.6_2.6.25-2.diff.gz linux-kbuild-2.6_2.6.25-2.dsc to pool/main/l/linux-kbuild-2.6/linux-kbuild-2.6_2.6.25-2.dsc 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 479271@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: Mon, 05 May 2008 19:58:40 +0200 Source: linux-kbuild-2.6 Binary: linux-kbuild-2.6.25 Architecture: source powerpc Version: 2.6.25-2 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.25 - Kbuild infrastructure for Linux 2.6.25 Closes: 479271 Changes: linux-kbuild-2.6 (2.6.25-2) unstable; urgency=low . * modpost: Support new parameters. (closes: #479271) Checksums-Sha1: 68ef65184fd7f4ff18cf8c57393e40813faa369b 1092 linux-kbuild-2.6_2.6.25-2.dsc 5eea033b4d30f8bb8d4a870421ac3b2d5a0871a0 13036 linux-kbuild-2.6_2.6.25-2.diff.gz a657b7e1cf15d3eafa79111dfea2e71097efe4a3 213466 linux-kbuild-2.6.25_2.6.25-2_powerpc.deb Checksums-Sha256: c70e1269c462d41be4a6cd83d06f89300fe504b1876e08458f555be31079af6a 1092 linux-kbuild-2.6_2.6.25-2.dsc 4ebc26c24b1dc828982699c00c327d68febc1fcd5643d1e89cb83e3d2f27669e 13036 linux-kbuild-2.6_2.6.25-2.diff.gz 9eb3266c1fe57e5055e7a9da6139152d458da02cae32038c6f03d5711e29a443 213466 linux-kbuild-2.6.25_2.6.25-2_powerpc.deb Files: 2111a45e24d13d2b46ca38244714318c 1092 devel optional linux-kbuild-2.6_2.6.25-2.dsc ba1acf322156ab93a8509c958bcf1f9a 13036 devel optional linux-kbuild-2.6_2.6.25-2.diff.gz 10f6c381cdee20912f3fac953f811017 213466 devel optional linux-kbuild-2.6.25_2.6.25-2_powerpc.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iEYEARECAAYFAkgfS5oACgkQxWtQqFixGB41XQCfXwUwpS29LnltI4r340ePiKDZ 3VAAnjK54pDn8qhgJKTK0nU0XWatnE7t =pbOj -----END PGP SIGNATURE-----
--- End Message ---