Bug#304302: marked as done (kernel-headers-2.6.11-powerpc broken without kernel-build-2.6.11-powerpc)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#304302: marked as done (kernel-headers-2.6.11-powerpc broken without kernel-build-2.6.11-powerpc)

Debian Bug Tracking System
Your message dated Wed, 11 Jan 2006 12:09:31 +0100
with message-id <[hidden email]>
and subject line linux-2.6 doesn't provide kernel-build anymore, closing. ...
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 12 Apr 2005 09:03:17 +0000
>From [hidden email] Tue Apr 12 02:03:17 2005
Return-path: <[hidden email]>
Received: from snoopy.microcomaustralia.com.au [202.173.153.89]
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DLHIi-0007hj-00; Tue, 12 Apr 2005 02:03:17 -0700
Received: from localhost (localhost [127.0.0.1])
        by snoopy.microcomaustralia.com.au (Postfix) with ESMTP id C1477D8B12
        for <[hidden email]>; Tue, 12 Apr 2005 19:03:12 +1000 (EST)
Received: from snoopy.microcomaustralia.com.au ([127.0.0.1])
        by localhost (snoopy [127.0.0.1]) (amavisd-new, port 10024) with LMTP
        id 06576-03 for <[hidden email]>;
        Tue, 12 Apr 2005 19:03:08 +1000 (EST)
Received: from debian (unknown [192.168.87.83])
        by snoopy.microcomaustralia.com.au (Postfix) with SMTP id 66160D8B11
        for <[hidden email]>; Tue, 12 Apr 2005 19:03:08 +1000 (EST)
Received: by debian (sSMTP sendmail emulation); Tue, 12 Apr 2005 19:03:08 +1000
From: "Brian May" <[hidden email]>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
To: Debian Bug Tracking System <[hidden email]>
Subject: module-assistant: does not work out of box with prebuilt Debian powerpc
 kernel image
X-Mailer: reportbug 3.8
Date: Tue, 12 Apr 2005 19:03:08 +1000
Message-Id: <[hidden email]>
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at snoopy.apana.org.au
Delivered-To: [hidden email]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:

Package: module-assistant
Version: 0.8.2
Severity: normal

--- cut ---
root@debian:~# module-assistant --kvers-list 2.6.11-powerpc prepare  apt-get install kernel-headers-2.6.11-powerpc

Reading Package Lists... Done
Building Dependency Tree... Done
kernel-headers-2.6.11-powerpc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Done!

root@debian:~# module-assistant --kvers-list 2.6.11-powerpc --text build openafs

Bad luck, the kernel headers for the target kernel version could not
be found and you did not specify other valid kernel headers to use.

However, you can install the header files for your kernel which are provided
by the kernel-headers-2.6.11-powerpc package. For most modules packages,
this files are perfectly sufficient without having the original kernel source.

To install the package, run:

module-assistant prepare

or

apt-get install kernel-headers-2.6.11-powerpc


root@debian:~# module-assistant -k /usr/src/kernel-headers-2.6.11-powerpc --kvers-list 2.6.11-powerpc --text build openafs
[...]
make[5]: Circular openafs.ko <- openafs.ko dependency dropped.
env EXTRA_CFLAGS="" /usr/src/modules/openafs/src/libafs/make_kbuild_makefile.pl MODLOAD-2.6.11-SP openafs.ko /usr/src/modules/openafs/src/config/Makefile.config Makefile.afs Makefile.common
env EXTRA_CFLAGS="" make -C /usr/src/kernel-headers-2.6.11-powerpc M=/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.11-SP modules
/usr/src/kernel-headers-2.6.11-powerpc/scripts/gcc-version.sh: /usr/src/kernel-headers-2.6.11-powerpc/scripts/gcc-version.sh: No such file or directory
make[6]: Entering directory `/usr/src/kernel-headers-2.6.11-powerpc'
make[7]: scripts/Makefile.build: No such file or directory
make[7]: *** No rule to make target `scripts/Makefile.build'.  Stop.
make[6]: *** [_module_/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.11-SP] Error 2
make[6]: Leaving directory `/usr/src/kernel-headers-2.6.11-powerpc'
make[5]: *** [openafs.ko] Error 2
make[5]: Leaving directory `/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.11-SP'
make[4]: *** [linux_compdirs] Error 2
make[4]: Leaving directory `/usr/src/modules/openafs/src/libafs'
make[3]: *** [libafs] Error 2
make[3]: Leaving directory `/usr/src/modules/openafs'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/usr/src/modules/openafs'
make[1]: *** [only_libafs] Error 2
make[1]: Leaving directory `/usr/src/modules/openafs'
make: *** [build-modules-stamp] Error 2
BUILD FAILED!
See /var/cache/modass/openafs-modules-source.buildlog.2.6.11.1113296277 for details.
Build failed. Press Return to continue...
--- cut ---


I got similar results with the 2.6.8 kernel too, although in that case prepare
failed (the package is called kernel-headers-2.6.8 not
kernel-headers-2.6.8-powerpc):


--- cut ---
root@debian:~# module-assistant prepare  apt-get install kernel-headers-2.6.8-powerpc

Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package kernel-headers-2.6.8-powerpc

Done!

root@debian:~# module-assistant --text build openafs


Bad luck, the kernel headers for the target kernel version could not
be found and you did not specify other valid kernel headers to use.

If the running kernel has been shipped with the Debian distribution,
please install the package kernel-headers-2.6.8-powerpc. If your kernel
source tree (or headers) is located in some non-usual location, please
set the KERNELDIRS environment variable to the path of this directory,
or (alternatively) specify the source directory we build for with the
--kernel-dir option in module-assistant calls.
--- cut ---



root@debian:~# dpkg -l openafs-modules-source
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  openafs-module 1.3.81-3       The AFS distributed filesystem- Module Sourc


Same package compiles fine on i386 kernels.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.8-powerpc
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)

Versions of packages module-assistant depends on:
ii  perl                          5.8.4-8    Larry Wall's Practical Extraction

-- no debconf information

---------------------------------------
Received: (at 304302-done) by bugs.debian.org; 11 Jan 2006 11:11:12 +0000
>From [hidden email] Wed Jan 11 03:11:12 2006
Return-path: <[hidden email]>
Received: from smtp3.wanadoo.fr ([193.252.22.28])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1Ewdsm-0005St-0w
        for [hidden email]; Wed, 11 Jan 2006 03:11:12 -0800
Received: from me-wanadoo.net (localhost [127.0.0.1])
        by mwinf0309.wanadoo.fr (SMTP Server) with ESMTP id 5B2671C007FE
        for <[hidden email]>; Wed, 11 Jan 2006 12:10:41 +0100 (CET)
Received: from pegasos (AStrasbourg-251-1-48-86.w82-126.abo.wanadoo.fr [82.126.221.86])
        by mwinf0309.wanadoo.fr (SMTP Server) with ESMTP id 432ED1C007FA;
        Wed, 11 Jan 2006 12:10:41 +0100 (CET)
X-ME-UUID: [hidden email]
Received: from sven by pegasos with local (Exim 4.50)
        id 1EwdrF-0001OT-0b; Wed, 11 Jan 2006 12:09:37 +0100
Date: Wed, 11 Jan 2006 12:09:31 +0100
To: [hidden email], [hidden email]
Subject: linux-2.6 doesn't provide kernel-build anymore, closing. ...
Message-ID: <[hidden email]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
From: Sven Luther <[hidden email]>
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00,RCVD_IN_SORBS
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Hi, ...

We don't use kernel-build anymore, and the module build infrastructure has
been made the same accross all arches, so it should work fine now. If not,
please file another bug or add info to existing bugs about this.

Friendly,

Sven Luther


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]