Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#17800 - [kernel26] 2.6.32.3 doesn`t compile with make localmodconfig

Attached to Project: Arch Linux
Opened by Mamut Ghiunhan (VeneRiX) - Tuesday, 12 January 2010, 12:40 GMT
Last edited by Vesa Kaihlavirta (vegai) - Monday, 01 February 2010, 06:25 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Tried to build the linux kernel 2.6.32.3 from ABS with make localmodconfig option. Build failed with this error :

┌─[ venerix @ underworld ] - [ ~/.builds/core/kernel26/linux-2.6.32 ]
└─[$]> make localmodconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
using config: '/proc/config.gz'
Can't exec "/sbin/lsmod": No such file or directory at scripts/kconfig/streamline_config.pl line 241.
Cant lsmod at scripts/kconfig/streamline_config.pl line 241.
make[1]: *** [localmodconfig] Error 2
make: *** [localmodconfig] Error 2


In ArchLinux lsmod is located in /bin . The solution i`ve found is : sed -i 's|/sbin/lsmod|/bin/lsmod|g' ~/.builds/core/kernel26/linux-2.6.32/scripts/kconfig/streamline_config.pl
This task depends upon

Closed by  Vesa Kaihlavirta (vegai)
Monday, 01 February 2010, 06:25 GMT
Reason for closing:  Not a bug
Comment by Thomas Dziedzic (tomd123) - Thursday, 28 January 2010, 02:04 GMT
Don't just run make localmodconfig straight from the directory, you're missing the whole point of abs.

Relative links you should read:
http://wiki.archlinux.org/index.php/ABS
http://wiki.archlinux.org/index.php/Kernel_Compilation

As a side not, I tried building with makepkg and adding the make localmodconfig into the PKGBUILD and it worked fine.

Loading...