Bug#471461: linux-modules-extra-2.6: Please add sfc modules

2008-03-29 Thread Ben Hutchings
Ben Hutchings wrote:
 Bastian Blank wrote:
  On Fri, Mar 28, 2008 at 04:31:11PM +, Ben Hutchings wrote:
 You should not invoke kbuild directly on the
   module source directory.
  
  This is the prequisite to build it as part of linux-modules-*.
 
 OK.  Why doesn't it do what module-assistant does?
 
 I could add a static config.h and extraversion.h to the package as we don't
 need to worry about versions with backported changes in Debian, unlike some
 other distributions I could mention.

I have done this in package version 2.2.0063-2.

 However we're switching to a more
 autoconf-like way of detecting kernel features, which will mean that in future
 it's essential to run a script before compiling any source files.  I'll try
 using the filechk rules in kbuild to do this.

I have successfully done this in the development tree, so unless it
turns out to cause problems for other build configurations this
should work without patching in future.

Ben.

-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.



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



Bug#471461: linux-modules-extra-2.6: Please add sfc modules

2008-03-28 Thread Daniel Baumann
Hi Ben,

sfc currently doesn't work, here is the build-log. Nevertheless, I've
added the meta files for sfc in lme, but did not enable it yet. As soon
as you've uploaded a fixed version of sfc to unstable, I'll enable it.

Let me know if you need help test-building it.

Regards,
Daniel

---snip---
[...]
make[1]: Entering directory `/home/user/linux-modules-extra-2.6'
/usr/bin/make -f debian/rules.real build MAJOR='2.6'
MODULESOURCE='sfc-source' FLAVOUR='486' KERNEL_ARCH='x86'
UPSTREAMVERSION='2.6.24' MODULE='sfc' FEATURESET='none'
VERSION_SOURCE='2.6.24' VERSION='2.6.24' ABINAME='-1'
LOCALVERSION='-486' ARCH='i386' VERSION_DEBIAN='6'
make[2]: Entering directory `/home/user/linux-modules-extra-2.6'
/usr/bin/make -C /usr/src/linux-headers-2.6.24-1-486
M=/home/user/linux-modules-extra-2.6/debian/build/build_i386_none_486_sfc
make[3]: Entering directory `/usr/src/linux-headers-2.6.24-1-486'
  LD
/home/user/linux-modules-extra-2.6/debian/build/build_i386_none_486_sfc/built-in.o
  CC [M]
/home/user/linux-modules-extra-2.6/debian/build/build_i386_none_486_sfc/efx.o
In file included from
/home/user/linux-modules-extra-2.6/debian/build/build_i386_none_486_sfc/net_driver.h:52,
 from
/home/user/linux-modules-extra-2.6/debian/build/build_i386_none_486_sfc/efx.c:40:
/home/user/linux-modules-extra-2.6/debian/build/build_i386_none_486_sfc/kernel_compat.h:41:26:
error: extraversion.h: No such file or directory
make[4]: ***
[/home/user/linux-modules-extra-2.6/debian/build/build_i386_none_486_sfc/efx.o]
Error 1
make[3]: ***
[_module_/home/user/linux-modules-extra-2.6/debian/build/build_i386_none_486_sfc]
Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.24-1-486'
make[2]: *** [debian/stamps/build_i386_none_486_sfc] Error 2
make[2]: Leaving directory `/home/user/linux-modules-extra-2.6'
make[1]: *** [build_i386_none_486_sfc] Error 2
make[1]: Leaving directory `/home/user/linux-modules-extra-2.6'
make: *** [debian/stamps/build-base] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
---snap---

-- 
Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:  [EMAIL PROTECTED]
Internet:   http://people.panthera-systems.net/~daniel-baumann/



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



Bug#471461: linux-modules-extra-2.6: Please add sfc modules

2008-03-28 Thread Ben Hutchings
Daniel Baumann wrote:
 Hi Ben,
 
 sfc currently doesn't work, here is the build-log. Nevertheless, I've
 added the meta files for sfc in lme, but did not enable it yet. As soon
 as you've uploaded a fixed version of sfc to unstable, I'll enable it.

The extraversion.h and config.h headers are built by the Makefile when
it's not included by kbuild.  You should not invoke kbuild directly on the
module source directory.

Ben.

-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.



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



Bug#471461: linux-modules-extra-2.6: Please add sfc modules

2008-03-28 Thread Bastian Blank
On Fri, Mar 28, 2008 at 04:31:11PM +, Ben Hutchings wrote:
   You should not invoke kbuild directly on the
 module source directory.

This is the prequisite to build it as part of linux-modules-*.

Bastian

-- 
Fascinating, a totally parochial attitude.
-- Spock, Metamorphosis, stardate 3219.8



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



Bug#471461: linux-modules-extra-2.6: Please add sfc modules

2008-03-28 Thread Ben Hutchings
Bastian Blank wrote:
 On Fri, Mar 28, 2008 at 04:31:11PM +, Ben Hutchings wrote:
You should not invoke kbuild directly on the
  module source directory.
 
 This is the prequisite to build it as part of linux-modules-*.

OK.  Why doesn't it do what module-assistant does?

I could add a static config.h and extraversion.h to the package as we don't
need to worry about versions with backported changes in Debian, unlike some
other distributions I could mention.  However we're switching to a more
autoconf-like way of detecting kernel features, which will mean that in future
it's essential to run a script before compiling any source files.  I'll try
using the filechk rules in kbuild to do this.

Ben.

-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.



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



Bug#471461: linux-modules-extra-2.6: Please add sfc modules

2008-03-18 Thread Ben Hutchings
Package: linux-modules-extra-2.6
Version: 2.6.24-4
Severity: wishlist

Please add the sfc modules (sfc-source).


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