Mailinglist Archive: opensuse-buildservice (207 mails)

< Previous Next >
Re: [opensuse-buildservice] New kernel module build failures
  • From: Roger Oberholtzer <roger@xxxxxx>
  • Date: Mon, 21 Mar 2011 08:53:38 +0100
  • Message-id: <1300694018.22136.9.camel@acme.pacific>
On Mon, 2011-03-21 at 07:44 +0100, Adrian Schröter wrote:
Am Freitag, 18. März 2011, 13:44:31 schrieb Roger Oberholtzer:
Some of my device drivers have stop building on OBS (e.g., openSUSE
11.2, 11,3). The log from OBS says this:

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2QBwE1
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /usr/src/packages/BUILDROOT/vmic_enable-0.10-10.2.i386
++ dirname /usr/src/packages/BUILDROOT/vmic_enable-0.10-10.2.i386
+ /bin/mkdir -p /usr/src/packages/BUILDROOT
+ /bin/mkdir /usr/src/packages/BUILDROOT/vmic_enable-0.10-10.2.i386
+ cd vmic_enable-0.10
+ for flavor in debug default desktop pae xen
+ rm -rf obj/debug
+ cp -r source obj/debug
+ make -C /usr/src/linux-obj/i586/debug modules
make: Entering directory `/usr/src/linux-'
Makefile:23: *** mixed implicit and normal rules. Stop.
make: Leaving directory `/usr/src/linux-'
error: Bad exit status from /var/tmp/rpm-tmp.2QBwE1 (%build)

All the other repos seem to build as expected.

The modules have a Kbuild file, like this:

obj-m := vmic_enable.o

and a source file. The packages are old, the error is new. Did I miss
some change?

The OBS mailing list is not the best place, better ask kernel developers.

I think it is in fact an OBS issue. It is only there that it fails, and
only for a few OS versions. The error makes reference to a Makefile. As
I use the Kbuild approach (it is an out-of-source-tree kernel module
compile), any Makefile is with the kernel as set up in OBS for the
build. In this case, in whatever OBS arranges to have
in /usr/src/linux- The choice to build a
'debug' version of the module is determined by the OBS macro
%flavors_to_build, which expands to "debug default desktop pae xen".

Yours sincerely,

Roger Oberholtzer

OPQ Systems / Ramböll RST

Office: Int +46 10-615 60 20
Mobile: Int +46 70-815 1696

Ramböll Sverige AB
Krukmakargatan 21
P.O. Box 17009
SE-104 62 Stockholm, Sweden

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups