Bug 209364

Summary: No KMPs can be built in factory as of 1.10.2006 - %flavors_to_build macro in RPM macros undefined?
Product: [openSUSE] openSUSE 10.2 Reporter: Leon Freitag <leon>
Component: KernelAssignee: E-mail List <kernel-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Alpha 4 plus   
Target Milestone: ---   
Hardware: x86   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Leon Freitag 2006-10-01 11:58:59 UTC
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
Comment 1 Andreas Jaeger 2006-10-01 13:22:40 UTC

*** This bug has been marked as a duplicate of bug 209363 ***