Bug#514048: Missing dependency on zlib1g-dev
> Documentation/lguest is not built during the normal built. See for
> example the linux-2.6 build. So you did something different and have to
> show what you're really calling.
Well, I just tried it again, making sure that I did a "make-kpkg clean"
first, and it failed again. The sequence of commands was
cd /usr/src/linux-source-2.6.26
make-kpkg clean
make-kpkg --initrd --append-to-version -custom1-686 --revision 1 kernel_image
("make menuconfig" has previously been run.) That is my standard method of
making custom kernel image packages, and has been for years. Here are the
last few lines of output:
----------------------------------------------------------------------------
CC sound/usb/usx2y/snd-usb-usx2y.mod.o
LD [M] sound/usb/usx2y/snd-usb-usx2y.ko
make[1]: Leaving directory '/usr/src/linux-source-2.6.26'
/usr/bin/make EXTRAVERSION=-custom1-686 ARCH=i386 \
-C Documentation/lguest
make[1]: Entering directory '/usr/src/linux-source-2.6.26/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.26/Documentation/lguest'
make: *** [debian/stamp/build/kernel] Error 2
----------------------------------------------------------------------------
This is followed by a shell prompt. Am I doing something wrong? Does
kernel-package have a bug? Or does kernel-package need to document a
requirement for zlib1g-dev for recent kernels?
Reply to: