On Wed, Nov 26, 2008 at 01:25:10PM +0100, Pierre Chifflier wrote:
> 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 !
> 

Hi,

There is a problem here: to build the package, the package needs to
1) find the *target* kernel version
2) have the headers for this kernel installed

Using KVERS will give you the *installed* kernel version, not the target
one. This causes the build to fail on some buildd, where the running
kernel is not the target one.

I'm a bit unsure on what the solution is:
-  re-write the package from scratch, and embed everything (source code
   to build the kernel modules, and user-space libs and binaries) in the
   xtables-addons-source package ?
   This means that building the module will build everything ...

- Some magic around KVERS ?

Even if dirty, AFAICT only solution #1 will work on both builders and
local installations.

Cheers,
Pierre



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

Reply via email to