Bug#464407: rt73-source: compile fails if using make-kpkg
Hi there, argh, the bug tracker didn't send me the replies, I just noticed by chance that there was some feedback :-/ A way to use make-kpkg: In your build kernel source tree (from vanilla, or stock debian) issue an $ fakeroot make-kpkg modules-image --added-modules rt73 Normally, like I build my kernel and out-of-tree modules usually is: $ make-kpkg --rootcmd fakeroot kernel_image $ make-kpkg --rootcmd fakeroot modules_image --added-modules lirc Whereas "lirc" (just an example) would be an unpacked out-of-tree module under /usr/src/modules. Hope that helps to narrow down the problem. If you need any more information, just let me know. Kind regards, Lee -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#464407: rt73-source: compile fails if using make-kpkg
Hi. Could you write me some example, how to call make-kpkg? I didn't use it for ages and I simply don't now how to verify it, but last time the yada-based packages was built correctly. Thanks. 2008/2/8, Ben Hutchings <[EMAIL PROTECTED]>: > The debian/rules file for rt73-modules needs to be generated using yada. > KVERS and KSRC are expanded at this time. Currently it's generated when > rt73-source is built, but obviously it needs to be regenerated when the > modules are built. That seems to have been missed here, and I can't see > how this regeneration is supposed to be triggered. > > Piotr? -- .''`.Piotr Roszatycki : :' :mailto:[EMAIL PROTECTED] `. `' mailto:[EMAIL PROTECTED] `- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#464407: rt73-source: compile fails if using make-kpkg
The debian/rules file for rt73-modules needs to be generated using yada. KVERS and KSRC are expanded at this time. Currently it's generated when rt73-source is built, but obviously it needs to be regenerated when the modules are built. That seems to have been missed here, and I can't see how this regeneration is supposed to be triggered. Piotr? Ben. -- Ben Hutchings Teamwork is essential - it allows you to blame someone else. signature.asc Description: This is a digitally signed message part
Bug#464407: rt73-source: compile fails if using make-kpkg
Package: rt73-source Version: 1:1.0.3.6-cvs20071123-dfsg1-3 Severity: normal Hi there, using make-kpkg to build a the rt73 modules doesn't work. See below for details. Note that I'm trying to compile the modules for a kernel different than the running one. Building other out-of-tree modules works with this method, so I don't there is a PEBKAC error here. :) My guess is that debian/rules ignores the variables KSRC and KVERS, but I didn't dig too far on that. Feel free to ask me any questions or hint me in the right direction. Kind regards, Lee Garrett [EMAIL PROTECTED]:~/My_Stuff/kernel-sources/saitou-24$ fakeroot make-kpkg modules-image --added-modules rt73 exec debian/rules DEBIAN_REVISION=2008.02.06a KPKG_SELECTED_MODULES="rt73" modules-image for module in /usr/src/modules/rt73 ; do \ if test -d $module; then\ (cd $module; \ if ./debian/rules KVERS="2.6.24-toi-rc5-saitou" KSRC="/home/randall/My_Stuff/kernel-sources/saitou-24" \ KMAINT="Unknown Kernel Package Maintainer" KEMAIL="[EMAIL PROTECTED]" \ KPKG_DEST_DIR="/home/randall/My_Stuff/kernel-sources/saitou-24/.." \ KPKG_MAINTAINER="Unknown Kernel Package Maintainer"\ KPKG_EXTRAV_ARG=""\ ARCH="i386" \ KDREV="2008.02.06a" kdist_image; then\ echo "Module $module processed fine";\ else \ echo "Module $module failed."; \ if [ "X" != "X" ]; then \ echo "Perhaps $module does not understand --rootcmd?"; \ echo "If you see messages that indicate that it is not"; \ echo "in fact being built as root, please file a bug "; \ echo "against $module."; \ fi; \ echo "Hit return to Continue"; \ read ans;\ fi; \ );\ else \ echo "Module $module does not exist"; \ echo "Hit return to Continue?"; \ fi; \ done make[1]: Entering directory `/usr/src/modules/rt73' CC=${CC:-gcc} make -C /lib/modules/UNKNOWN/build SUBDIRS=$(pwd) modules make: Entering an unknown directory make: *** /lib/modules/UNKNOWN/build: No such file or directory. Stop. make: Leaving an unknown directory make[1]: *** [debian/build-stamp] Error 2 make[1]: Leaving directory `/usr/src/modules/rt73' Module /usr/src/modules/rt73 failed. Hit return to Continue -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]