[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Permission to upload insight 6.6-1.1?



On Sun, Oct 05, 2008 at 12:42:15AM +0100, Chris Lamb wrote:
> Marc 'HE' Brockschmidt wrote:

> > I'm not sure you noticed, but 6.6-1lenny2 failed to build on some
> > architectures:
> > http://buildd.debian.org/pkg.cgi?pkg=insight;dist=testing

> Thanks for chasing this up. So some context for the !Installed packages is:

>  alpha:

>   [..]
>   In file included from trad-core.c:44:
>   /usr/include/sys/user.h:27:22: error: asm/page.h: No such file or directory
>   make[5]: *** [trad-core.lo] Error 1

>  hppa:

>   [..]
>   In file included from trad-core.c:44:
>   /usr/include/sys/user.h:27:22: error: asm/page.h: No such file or directory
>   make[5]: *** [trad-core.lo] Error 1

> Hm, so are the alpha and hppa chroots sane?

Yes.  It's your package's code that's not sane; asm/page.h is a deprecated
header, because userspace apps should not make assumptions about the kernel
page size at build time.

There is a sysconf interface, sysconf(_SC_PAGESIZE), which should be used
instead if you really need to know the kernel's page size at runtime.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org


Reply to: