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

Bug#327123: kernel-kbuild-2.6-3: FTBFS cloop-src with kernel-headers-2.6.8-2-k7 in testing)



On do, 2005-09-08 at 18:38 +0900, Horms wrote:
> On Thu, Sep 08, 2005 at 09:30:46AM +0200, Kars de Jong wrote:
> > On wo, 2005-09-07 at 21:48 -0700, Debian Bug Tracking System wrote:
> > 
> > > On Wed, Sep 07, 2005 at 09:37:29PM +0200, Kars de Jong wrote:
> > > > Package: kernel-kbuild-2.6-3
> > > > Version: 2.6.8-2
> > > > Severity: serious
> > > > Justification: no longer builds from source
> > > 
> > > Hi,
> > > 
> > > kernel-kbuild-2.6-3 has been removed from testing and unstable,
> > > it is only intended for sarge, and will only compile in that
> > > environment. If you really need to use it, you might be
> > > able to make it work by using gcc-3.3 instead of gcc-4.0.
> > 
> > 1) This package has not been removed from testing or unstable:
> > Available versions:  Stable 2.6.8-2 Testing 2.6.8-2 Unstable 2.6.8-2
> 
> Sorry, I made a mistake when I checked. Yes kernel-kbuild-2.6-3 indeed in
> testing and unstable. Though it is only used in conjucntion 
> with the 2.6.11 kernel header packags, and they, along with
> kernel-kbuild-2.6-3 will be removed shortly.

OK, with the 2.6.11 headers I get the same error.

> > 2) I _AM_ using gcc-3.3 to compile. module-assistant automatically
> > selects the right compiler. Also see the bug report: 
> > 
> > CC=gcc-3.3 /usr/bin/make install-module KBUILD_VERBOSE=1 KERNEL_DIR=/usr/src/kernel-headers-2.6.8-2-k7 INSTALL_MOD_PATH=/usr/src/modules/cloop/debian/cloop-module-2.6.8-2-k7
> > 
> > If you look at the log in the bug report you can see it is a missing
> > kernel header, it has nothing to do with the compiler version used.
> 
> Ok, I did take a closer look. To be honest I'm not sure what
> the relationship between the error that you report and 
> kernel-kbuild-2.6-3 is.
> 
> The irq_vectors.h question is included in kernel-headers-2.6.8-2-k7
> (incidently that has been removed from testing/unstable, please use
> 2.6.12 instead).

Hmm, maybe someone should update the kernel-image-2.6-* packages then,
because those still depend on 2.6.8-2-*.

And the description for kernel-image-2.6-686 states:

"This package will always depend on the latest 2.6 kernel image available
for Pentium Pro/Celeron/Pentium II/Pentium III/Pentium 4."

And, again, this package has not been removed from testing or unstable:

Available versions:  Stable 2.6.8-16 Testing 2.6.8-16 Unstable 2.6.8-16

> It seems that you need to add
> /usr/src/kernel-headers-2.6.8-2-k7/include/asm/mach-default/ (or
> /usr/src/linux-headers-2.6.12-1-k7/include/asm/mach-default/ as the case
> may be) to the include path, but I'm not entirely sure where that should
> be done.

I think the makefile environment provided by kernel-kbuild-2.6-3 should
solve this... when building a module within the kernel this path _is_
added to the include path (see arch/i386/Makefile).

> Actually, I'm not entirely sure what you mean by build cloop-src,
> could you be a little more specific so that the problem can be
> reproduced.

cloop-src is a kernel module package:

shell$ apt-cache show cloop-src
Package: cloop-src
Priority: optional
Section: misc
Installed-Size: 76
Maintainer: Eduard Bloch <blade@debian.org>
Architecture: all
Source: cloop
Version: 2.02.1-1
Depends: module-assistant, bzip2
Suggests: linux-headers-2.6
Filename: pool/main/c/cloop/cloop-src_2.02.1-1_all.deb
Size: 33496
MD5sum: e7eef040ee0bbe25277fbd6042e825b3
Description: Source of the compressed loopback device module
 This package contains a source package for building the the cloop module.
 You can use make-kpkg to build a modules package for specific kernel.

Just try building it with module-assistant.


Kars.





Reply to: