Your message dated Wed, 19 Nov 2008 18:50:13 -0600
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#506021: libz-dev missing, kernel image build fails
has caused the Debian Bug report #506021,
regarding libz-dev missing, kernel image build fails
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
506021: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506021
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: kernel-package
Version: 11.0011

If I try to build a kernel from vanilla kernel.org sources with 'make-kpkg --initrd kernel_image' on a newly set up lenny system, following error occurs:

[...]
/usr/bin/make    ARCH=i386 \
                             -C Documentation/lguest
make[1]: Entering directory `/usr/src/linux-2.6.27.6/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-2.6.27.6/Documentation/lguest'
make: *** [debian/stamp/build/kernel] Error 2

I used the daily build rc1 lenny installer to set up the system.

There is no libz-dev (virtual, real one zlib1g-dev) package installed by default. The error disappears if that package is installed. So kernel-package, or some other package always installed if kernel-package is installed, should depend on libz-dev.

Thank You.



--- End Message ---
--- Begin Message ---
Hi,

        Thanks for your report.

        kernel-package has always been version agnostic, and does not
 ever pretend to contain all dependencies that are required to build
 kernels. The documentation building requirements are fairly large,
 and only relevant for recent kernels. 

        Every linux  kernel has minimum requirements, as stated in the 
 Documentation/Changes file. These requirements, for gcc, make,
 binutils, modutils, e2fsporogs, util-linux, etc, with minimum version
 numbers that change from version to version (so reading can't be
 avoided while building a kernel). It is not practical for
 kernel-package to track all the requirements, and to change as the
 requirements change.  Compiling kernels still remains an activity
 that requires care, and one still needs to read through documentation
 of the kernel and modules in order to ensure that one gets a working
 kernel. I strongly recommend that people compiling kernels should
 read these docs ;-) Not having module-init-tools is only the smallest
 of gotchas in a kernel compile.

        This is not an omission, this has been done quite
 delibrately. kernel-package does not track these versions, and tries
 to be kernel version agnostic, as far as possible. And I am not going
 to have the kernel-package start tracking these requirements, it is
 not going to be practical.  kernel-package is not a substitute for
 reading kernel documentation ;-).  Before making a kernel image
 package, one should look into Documentation/Changes and see that one
 has the minimal requirements mentioned there. kernel-package does not
 have any knowledge of what is in the kernel, and it should not, since
 it can then work on all kinds of kernels with no modification.

        Indeed, this is somewhat of a public service -- lack of module
 init tools have induced people to read the CHANGES file, and mayhap
 discover other critical information ;-) People should not be
 compiling kernels without reading the docs. Especially new
 major/minor version upgrade kernels. And always have a way to boot
 your system.

        This is not without precedent; we never depended on bin86, or
 deprecated new versions of gcc, or anything like that. We are not
 going to start tracking per version dependencies.

        I am closing this report, since adding dependencies would make
 kernel-package less useful.

        manoj

-- 
After enjoying the taste of solitude and the taste of peace, one is
freed from distress and evil, as one enjoys the taste of spiritual joy.
205
Manoj Srivastava <[EMAIL PROTECTED]> <http://www.golden-gryphon.com/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C


--- End Message ---

Reply via email to