Solution for compiling kernel modules for openSUSE:Tumbleweed (and Kernel:stable)

Hi,

I don’t know if this is the right place to post.

The “problem” concerns various scopes

  • Tumbleweed
  • Kernel(:stable)
  • Open Build Service (OBS)

Currently it is not possible to compile kernel modules for openSUSE:Tumbleweed
(and Kernel:stable) for the i586 arch on OBS.

Have a look eg. at

For now the entry for i586 reads “unresolvable”:
nothing provides kernel-desktop-devel = 3.3.2-20 needed by kernel-syms,
nothing provides kernel-pae-devel = 3.3.2-20 needed by kernel-syms,
nothing provides kernel-xen-devel = 3.3.2-20 needed by kernel-syms

The reason is that the project configs for openSUSE:11.4/standard, on which
Kernel:stable depends, and openSUSE:12.1/standard, on which openSUSE:Tumbleweed
depends, includes the line

ExportFilter: \.i686\.rpm$ i686

New kernels are built with “BuildArch: i686” on %ix86, the ExportFilter config
makes it impossible for other packages to find the proper devel-packages -
kernel-default is still build for i586.

I’ve created a sample environment on OBS with

This projects aggregates the problematic packages and contains the project config line

ExportFilter: \.i686\.rpm$ i586

Now kernel modules are built fine, eg. for virtualbox
https://build.opensuse.org/project/monitor?project=home%3Amunix9%3AVirtualization

On openSUSE:Factory (on which eg. Kernel:HEAD depends) it works already fine, because
the appropriate line “ExportFilter: .i686.rpm$ i686” is missing.

If I’m right, then a global solution would make sense, to allow also other
projects to build proper kernel modules.

Ciao,
Paolo

Thank you so much, Paolo,

you save me.

while you should post this solution to opensuse-packaging and opensuse-buildservice mailing list to let others know your great work. here’s a end user forum, people seldom care about how a package is created.

Marguerite

ok, done, posted to opensuse-packaging@opensuse.org and opensuse-buildservice@opensuse.org

ciao,
paolo