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

Re: No such file or directory: 'debian/build/build-m68k-none-amiga/Module.symvers'



On Sat, May 12, 2007 at 01:33:05PM +0200, Christian T. Steigies wrote:
> after adding m68k patches, I am trying to build linux-2.6.21 from svn for
> m68k. The build fails with:
> 
> python2.4 debian/bin/abicheck.py debian/build/build-m68k-none-amiga m68k none amiga
> Traceback (most recent call last):
>   File "debian/bin/abicheck.py", line 93, in ?
>     sys.exit(checker(*sys.argv[1:])(sys.stdout))
>   File "debian/bin/abicheck.py", line 20, in __call__
>     new = symbols(self.filename_new)
>   File "/home/cts/work/kernel/linux-2.6-2.6.21/debian/lib/python/debian_linux/abi.py", line 5, in __init__
>     self.read(file(filename))
> IOError: [Errno 2] No such file or directory: 'debian/build/build-m68k-none-amiga/Module.symvers'

This is the symptom, not the cause. Show the complete log.

> This never happened with 2.6.18, this seems to be an upstream change.
> http://www.webservertalk.com/archive242-2004-8-357490.html

Unlikely.

> I think this might be due to cross-compiling the kernel, I build the package
> with: 
> DEB_HOST_ARCH=m68k debuild -B -am68k

No. Both s390 and i386 was successfully cross-compiled.

> What is the correct way to cross-compile the kernel now, which options do I
> need to set or do I have to patch the m68k source for this also?

debuild -a$(ARCH). But please note that I don't longer support the
kernel-package image type even if it is not yet dropped from linux-2.6.

Bastian

-- 
Vulcans worship peace above all.
		-- McCoy, "Return to Tomorrow", stardate 4768.3



Reply to: