Mailinglist Archive: opensuse-bugs (8956 mails)

< Previous Next >
[Bug 209363] New: No KMPs can be built in factory as of 1.10.2006 - %flavors_to_build macro in RPM macros undefined?
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 1 Oct 2006 05:58:01 -0600 (MDT)
  • Message-id: <bug-209363-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=209363

Summary: No KMPs can be built in factory as of 1.10.2006 -
%flavors_to_build macro in RPM macros undefined?
Product: openSUSE 10.2
Version: Alpha 4 plus
Platform: x86
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Kernel
AssignedTo: kernel-maintainers@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: leon@xxxxxxxxxxxxxx
QAContact: qa@xxxxxxx


If you try to build a kernel module package with current factory, only the
userspace package gets built and no kernel modules.

How to reproduce: try to rebuild some of these source RPMs on factory:
http://repos.opensuse.org/drivers:/wlan/SUSE_Linux_10.1/src/

You should get e.g. for rt2500 a bunch of rt2500-kmp-<kernel flavour> packages
and a rt2500 package, but you get only a rt2500 package.

A closer look on the build log reveals the following:
this for loop never gets executed since %flavors_to_build isn't defined in the
RPM macros.

for flavor in %flavors_to_build; do
rm -rf obj/$flavor
cp -r r1000_v1.04/src obj/$flavor
....
make -C /usr/src/linux-obj/%_target_cpu/$flavor modules \
M=$PWD/obj/$flavor
done


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >