Re: parted_1.6.6-1.2(hppa/unstable): FTBFS: compile errors
tags 225717 + moreinfo
tags 225717 + d-i
thanks
On Wed, Dec 31, 2003 at 02:08:16PM -0700, lamont@debian.org wrote:
> Package: parted
> Version: 1.6.6-1.2
> Severity: serious
>
> There was an error while trying to autobuild your package:
>
> > Automatic build of parted_1.6.6-1.2 on sarti by sbuild/hppa 1.170.4
> > Build started at 20031231-1846
>
> [...]
>
> > ** Using build dependencies supplied by package:
> > Build-Depends: debhelper (>= 4.1.1), libncurses-dev | libncurses5-dev, libreadline-dev, uuid-dev, gettext, texinfo (>= 4.2), debianutils (>= 1.13.1), libreiserfs0.3-dev
>
> [...]
>
> > mv -f .libs/disk_amiga.lo disk_amiga.lo
> > /bin/sh ../libtool --mode=compile hppa-linux-gcc -DHAVE_CONFIG_H -I. -I../../libparted -I.. -I../../include -g -O2 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DLOCALEDIR="\"/usr/share/locale\"" -DLOCALEDIR="\"/usr/share/locale\"" -W -Wall -Wno-unused -Wno-switch -Wno-format -Werror -c ../../libparted/linux.c
> > rm -f .libs/linux.lo
> > hppa-linux-gcc -DHAVE_CONFIG_H -I. -I../../libparted -I.. -I../../include -g -O2 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DLOCALEDIR=\"/usr/share/locale\" -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wno-unused -Wno-switch -Wno-format -Werror -c ../../libparted/linux.c -fPIC -DPIC -o .libs/linux.lo
> > ../../libparted/linux.c: In function `_device_get_length':
> > ../../libparted/linux.c:407: warning: signed and unsigned type in conditional expression
> > make[4]: *** [linux.lo] Error 1
> > make[4]: Leaving directory `/build/buildd/parted-1.6.6/build/libparted'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory `/build/buildd/parted-1.6.6/build/libparted'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/build/buildd/parted-1.6.6/build'
> > make[1]: *** [all-recursive-am] Error 2
> > make[1]: Leaving directory `/build/buildd/parted-1.6.6/build'
> > make: *** [build/build-stamp] Error 2
Ok, sounds familiar.
> A full build log can be found at:
> http://buildd.debian.org/build.php?arch=hppa&pkg=parted&ver=1.6.6-1.2
Nothing valuable can be found there.
I would like to know what version of glibc and more particular the
linux-kernel-header package you had installed on that system, and in
particular what your : /usr/include/asm/ioctl.h file looks like. And
more particularly, the part of the code which shows :
/* provoke compile error for invalid uses of size argument */
extern unsigned int __invalid_size_argument_for_IOC;
#define _IOC_TYPECHECK(t) \
((sizeof(t) == sizeof(t[1]) && \
sizeof(t) < (1 << _IOC_SIZEBITS)) ? \
sizeof(t) : __invalid_size_argument_for_IOC)
on x86.
Probably the problem stams from __invalid_size_argument_for_IOC being
defined as int and not unsigned int, or something such.
I have strong suspicions that this is really a linux-kernel-header bug,
and am also CCing debian-glibc mailing list on this subject, just in
case they would know something we ignore.
Friendly,
Sven Luther
Reply to: