Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#502034: kernel-package: fails to build 2.6.27-rc9 from kernel-archive.buildserver.net

11 views
Skip to first unread message

Arthur Marsh

unread,
Oct 12, 2008, 5:30:13 PM10/12/08
to
Package: kernel-package
Version: 11.007
Severity: normal


I tried to build linux-source-2.6.27 from kernel-archive.buildserver.net
and experienced the following problem:

make[1]: Leaving directory `/usr/src/linux-source-2.6.27-rc9'
/usr/bin/make ARCH=i386 \
-C Documentation/lguest
make[1]: Entering directory
`/usr/src/linux-source-2.6.27-rc9/Documentation/lguest'
cc -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -I../../include
lguest.c -lz -o lguest
lguest.c:34:18: error: zlib.h: No such file or directory
make[1]: *** [lguest] Error 1
make[1]: Leaving directory
`/usr/src/linux-source-2.6.27-rc9/Documentation/lguest'
make: *** [debian/stamp/build/kernel] Error 2

zlib.h was actually in /usr/src/linux/include/linux

libz was in:

/usr/lib/libz.a
/usr/lib/libz.so
/usr/lib/libz.so.1
/usr/lib/libz.so.1.2.3.3

I will try rebuilding the kernel source later today and see if I can
pinpoint the problem.

-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.27-rc7 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages kernel-package depends on:
ii binutils 2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii debianutils 2.30 Miscellaneous utilities specific t
ii dpkg 1.14.22 Debian package management system
ii dpkg-dev 1.14.22 Debian package development tools
ii file 4.26-1 Determines file type using "magic"
ii gcc [c-compiler] 4:4.3.2-2 The GNU C compiler
ii gcc-3.4 [c-compiler 3.4.6-8 The GNU C compiler
ii gcc-4.1 [c-compiler 4.1.2-23 The GNU C compiler
ii gcc-4.2 [c-compiler 4.2.4-3 The GNU C compiler
ii gcc-4.3 [c-compiler 4.3.2-1 The GNU C compiler
ii gettext 0.17-4 GNU Internationalization utilities
ii make 3.81-5 The GNU version of the "make" util
ii module-init-tools 3.4-1 tools for managing Linux kernel mo
ii perl 5.10.0-15 Larry Wall's Practical Extraction
ii po-debconf 1.0.15 manage translated Debconf template
ii util-linux 2.13.1.1-1 Miscellaneous system utilities

Versions of packages kernel-package recommends:
ii bzip2 1.0.5-1 high-quality block-sorting file co
ii libc6-dev [libc-dev] 2.7-14 GNU C Library: Development Librari

Versions of packages kernel-package suggests:
ii docbook-utils 0.6.14-1.1 Convert Docbook files to other for
ii e2fsprogs 1.41.2-1 ext2/ext3/ext4 file system utiliti
ii initramfs-tools [linux-in 0.92l tools for generating an initramfs
pn libdb3-dev <none> (no description available)
ii libncurses5-dev [libncurs 5.6+20081004-1 developer's libraries and docs for
pn linux-source | kernel-sou <none> (no description available)
ii xmlto 0.0.20-3 XML-to-any converter
ii yaird [linux-initramfs-to 0.0.13-5 Yet Another mkInitRD

-- debconf-show failed

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Arthur Marsh

unread,
Oct 12, 2008, 10:40:08 PM10/12/08
to
When I disabled LGUEST support I was able to build a kernel image ok.

Arthur Marsh

unread,
Oct 13, 2008, 1:20:04 AM10/13/08
to
> If you set CONFIG-LGUEST in the config file, you also need to
> make sure you have installed zlib1g-dev. If this is not documented in
> the kernel sources you are building, please tell the creators of that
> kernel source to document it.
>
> You need:
> zlib1g-dev: /usr/include/zlib.h

Thanks, my old build machine had zlib1g-dev installed, but I had
forgotten to add it to my new build machine.

With zlib1g-dev installed, the kernel compiles fine with CONFIG-LGUEST.

Arthur.

0 new messages