merge 475858 479900
thanks

Elfkickers currently FTBFS on sid systems due to the kernel no longer
exporting asm/elf.h as a header, and so elfkickers needs specific
dependancies to sort this out. I think I've found a good set of deps
(patch attached) but here's some explanation why these various things
might work (depending on whether you're on a lenny, etch or sid
system):

libc6-dev: 2.7-13 is the current lenny/sid version, and that has
asm/elf.h in it. Lower versions might also work (2.7-10 doesn't
according to 
http://people.debian.org/~lucas/logs/2008/05/06/elfkickers_2.0a-3_sid32-gcc43.buildlog.gz),
but I haven't checked.
linux-libc-dev (or linux-kernel-headers, which by lenny becomes a
virtual package supplied by linux-libc-dev): 2.6.24 appears to be the
right timeframe for last kernel that exported the header based on
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6cc931b9b5ec652c90b928f3ec2163f261552c91
being the commit that removes the asm/elf.h export, and
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=tag;h=0d733ddb2026683da26c1722847b99911c43ccb5
- the tag for 2.6.24 - being the last version tag before that. 2.6.25
is at 
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=tag;h=20b8df8e5501bac243e64c0c8c52907735a0041b
and is too late.

Between these three, the right packages should get pulled in and
everything *should* just work!

Tom Parker
diff --git a/debian/control b/debian/control
index 4845e27..b04a109 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: elfkickers
 Section: utils
 Priority: extra
 Maintainer: Fathi Boudra <[EMAIL PROTECTED]>
-Build-Depends: cdbs, debhelper (>= 6), quilt
+Build-Depends: cdbs, debhelper (>= 6), quilt, libc6-dev (>= 2.7-13) | linux-kernel-headers (<= 2.6.24) |linux-libc-dev (<= 2.6.24)
 Standards-Version: 3.7.3
 Homepage: http://www.muppetlabs.com/~breadbox/software/elfkickers.html
 

Reply via email to