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 M=/usr/src/packages/BUILD/vmic_enable-0.10/obj/debug make: Entering directory `/usr/src/linux-2.6.31.5-0.1-obj/i386/debug' Makefile:23: *** mixed implicit and normal rules. Stop. make: Leaving directory `/usr/src/linux-2.6.31.5-0.1-obj/i386/debug' 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-2.6.31.5-0.1-obj/i386/debug. 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: RedHat_RHEL-6 SLE_11_SP1 openSUSE_11.2_Update openSUSE_11.3_Update openSUSE_11.4 openSUSE_Factory These do not: openSUSE_11.2 openSUSE_11.3 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 OBS. 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 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org