Mailinglist Archive: opensuse-buildservice (207 mails)

< Previous Next >
Re: [opensuse-buildservice] New kernel module build failures - Really looks like an OBS issue
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Tue, 22 Mar 2011 09:11:44 +0100
  • Message-id: <1524932.DBYlBsLxQ6@scherben>
Am Dienstag, 22. März 2011, 09:01:38 schrieb Roger Oberholtzer:
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.

It is still unlikely that any "OBS change" has caused this. All the used
macros and scripts are provided via packages. And OBS would behave in the
same way for all repos.

So, you need to debug the kernel build enviroment, sorry, I can't help you here.

Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx

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

< Previous Next >
Follow Ups