FS#34600 - [linux] 3.9.x build-dependencies

Attached to Project: Arch Linux
Opened by ... (spider007) - Thursday, 04 April 2013, 11:50 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 08 April 2013, 14:07 GMT
Task Type Bug Report
Category Kernel
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

Description:

I have just build a kernel from the current PKGBUILD in abs and found a few missing (build)dependencies. Maybe I am incorrect; but the kernel wouldn't build on my systemd system because it couldn't find a 'hostname' binary. It also complained about missing bc; which is not in core and therefore not guaranteed to be installed. Shouldn't these dependencies be listed?
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Monday, 08 April 2013, 14:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  Added build deps kmod and inetutils to linux and linux-lts. Also added bc to linux since it'll be needed in 3.9.
Comment by Evangelos Foutras (foutrelis) - Thursday, 04 April 2013, 16:44 GMT
Please post exact error messages.
Comment by ... (spider007) - Thursday, 04 April 2013, 16:55 GMT
I just realised I am building kernel-3.9-rc5; so this bug might be about forward compatibility. The exact messages:

BC kernel/timeconst.h
/bin/sh: bc: command not found
make[1]: *** [kernel/timeconst.h] Error 127
make[1]: *** Waiting for unfinished jobs....
make: *** [kernel] Error 2
make: *** Waiting for unfinished jobs....

---

CHK include/generated/compile.h
/tmp/linux/src/linux-3.9-rc5/scripts/mkcompile_h: line 51: hostname: command not found
UPD include/generated/compile.h
CC init/version.o
Comment by Evangelos Foutras (foutrelis) - Thursday, 04 April 2013, 18:01 GMT
Indeed, bc appears to be a build time dependency of linux >= 3.9.¹

kmod and inetutils will need to be added to makedepends as well since the next devtools release will create chroots with only base-devel installed (no base).

¹ https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=70730bca1331fc50c3caacaea00439de1325bd6e

Loading...