On Tue, Nov 11, 2008 at 04:59:19PM +0100, [EMAIL PROTECTED] wrote:
> Package: xtables-addons-source
> Version: 1.5.7-2
> Followup-For: Bug #504563
> 
> Using a kernel built from linux-source-2.6.26-10 the compiling of
> xtables-addons-source failed because some paths were not adapted properly,
> or they are not adaptable; cf. attachment.

Hi,
I tried your patch, but there are a few problems.

Originally, I was also using KVERS, but this caused problems on i386
archs: the arch name (486) can be different from the arch type (i386),
so the name in /lib/module is sometimes different from KVERS ...

This also prevents from building xtables-addons source package on a host
where the running kernel is different from the targeted. Unfortunately,
it seems to be the case on the buildd !

I also have problems with pbuilder: KVERS is empty

> Secondly there is a constriction on gcc-4.1 and an apparent dependency on
> iptables-dev insofar as this package provides a suitable include file
> xtables.h (the kernel-tree does not).


The dependency on gcc 4.1 is caused by module-assistant (see
/usr/share/modass/include/generic.make)
I have fixed it by adding
CC = gcc
beforing include the m-a files in debian/rules.
Yet I am not sure it is very wise to do so, since this dependency is
forced by linux-headers.

The source package already depends on iptables-dev, as well as the
resulting package xtables-addons-source. Do you mean another package ?

> 
> Besides, after that alternatively make-kpkg can be used for building
> xtables-addons-source.

I don't know of this method, but I'm interested. Can you give me the
commands so I can test ?

Cheers,
Pierre



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to