Mailinglist Archive: opensuse-buildservice (207 mails)

< Previous Next >
Re: [opensuse-buildservice] New kernel module build failures - Really looks like an OBS issue
  • From: Roger Oberholtzer <roger@xxxxxx>
  • Date: Tue, 22 Mar 2011 09:01:38 +0100
  • Message-id: <1300780898.8551.18.camel@acme.pacific>
On Mon, 2011-03-21 at 08:53 +0100, Roger Oberholtzer wrote:
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".

I see that this is not limited to one out-of-source-tree kernel module
compile. It is all of them. These work:







These do not:



If it was a problem in the source for the driver, I would think it very
very odd that is only fails for these two repos. It looks to me like
something has been updated in 11.4, and the various Update repos for
older releases, and a change has been made in OBS to match. The original
11.2 and 11.3 repos contain something older that no longer works with

Anyone else know of any other out-of-kernel drivers in OBS that are
working for these two failed-for-me repos? You may need to trigger a
rebuild to see the failure.

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