On Wed, Dec 31, 2003 at 09:12:42AM -0500, Daniel Jacobowitz wrote:
> On Wed, Dec 31, 2003 at 11:21:11AM +0100, Marc Haber wrote:
> > Package: linux-kernel-headers
> > Version: 2.5.999-test7-bk-10
> > Severity: wishlist
> > 
> > Hi,
> > 
> > when the package is built, there is no include/asm. This causes
> > /usr/include/asm to be used during package build, which breaks on
> > woody. This will probably cause interesting effects when packaging the
> > next kernel-headers version that has differing include/asm definitions.
> > 
> > IMO, a symlink include/asm -> asm-$ARCH needs to be generated on
> > package build, otherwise building the test suite will fail.
> 
> Please give more details.

I am going to try.

When building the package, the testsuite is built with something along
the lines of -I../include which points to include/asm in the source
package "root" directory.

That directory doesn't have an include/asm symlink at this time of
building, causing "#include <asm/foo>" to pull in /usr/include/asm/foo
instead of ../include/asm-$ARCH/foo. This is not a problem on sid
since sid systems _currently_ have a compatible (identical?) file in
/usr/include, but fails on woody. And it's bound to fail when the
kernel headers are changed in a way that include/asm will differ.

> I know that changes to asm-i386/ show up in the testsuite results so it
> works here.  Perhaps a different version of debhelper is breaking some
> assumption?

Probably, since I am talking woody here.

If this doesn't help, I will give more explicit results when I have
again access to the build host.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Karlsruhe, Germany |  lose things."    Winona Ryder | Fon: *49 721 966 32 15
Nordisch by Nature |  How to make an American Quilt | Fax: *49 721 966 31 29


Reply via email to