Build environment for openSUSE_Leap_15.3 has more recent kernel-rt than distribution
Hello, I am building a package ethercat [1] that has a dependency on kernel-rt. The following repositories are enabled: openSUSE:Leap:15.3:Update/standard openSUSE:Leap:15.3/standard The version of the kernel-rt packege found in the build environment is 5.3.18-8.13.1 (see build log [2]), while the distribution (update repositories [4] and [5] enabled) provides an older version (5.3.18-8.3.1). So when installing the kmp module, the modules can't be loaded and the package is unusable. Where does the build system find the kernel-rt-5.3.18-8.13.1 package? Are there other repositories enabled, that are not part of the distribution? Thanks a lot, Florian [1] https://build.opensuse.org/package/show/science:EtherLab/ethercat [2] https://build.opensuse.org/package/live_build_log/science:EtherLab/ethercat/... [3] http://download.opensuse.org/distribution/leap/15.3/repo/oss/x86_64/kernel-r... [4] http://download.opensuse.org/update/leap/15.3/sle/ [5] http://download.opensuse.org/update/leap/15.3/oss/
Hi, On Thu, 08 Sep 2022, 11:42:12 +0200, Florian Pose wrote:
Hello,
I am building a package ethercat [1] that has a dependency on kernel-rt. The following repositories are enabled:
openSUSE:Leap:15.3:Update/standard openSUSE:Leap:15.3/standard
The version of the kernel-rt packege found in the build environment is 5.3.18-8.13.1 (see build log [2]), while the distribution (update repositories [4] and [5] enabled) provides an older version (5.3.18-8.3.1). So when installing the kmp module, the modules can't be loaded and the package is unusable.
Where does the build system find the kernel-rt-5.3.18-8.13.1 package? Are there other repositories enabled, that are not part of the distribution?
$ osc buildinfo science:EtherLab ethercat openSUSE_Leap_15.3 x86_64 | fgrep kernel-rt <bdep name="kernel-rt-devel" version="5.3.18" release="8.13.1" arch="x86_64" hdrmd5="df6c99625cea69c91ddfcaff8809d32a" project="SUSE:SLE-15-SP2:Update" repository="pool-leap-15.3"/> <bdep name="kernel-rt" version="5.3.18" release="8.13.1" arch="x86_64" hdrmd5="690e9b8c4f4d7ae562ef0c229569ce97" project="SUSE:SLE-15-SP2:Update" repository="pool-leap-15.3"/>
Thanks a lot, Florian
HTH, cheers. l8er manfred
Hi Manfred Thanks for the quick response! So, our ethercat package builds against kernel-rt 5.3.18-8.13.1 from SLE-15-SP2. However, the standard installation of openSUSE 15.3 does not include (update) repos from SLE-15-SP2. This means that packages in OBS build against a kernel-rt version unavailable to a standard installation. How can we resolve this issue? What repo do we need to add to zypper to update to this kernel? Thanks for your help Richard
Moin, On Sat, 10 Sep 2022, 21:44:40 +0200, Richard Hacker wrote:
Hi Manfred
Thanks for the quick response!
So, our ethercat package builds against kernel-rt 5.3.18-8.13.1 from SLE-15-SP2.
However, the standard installation of openSUSE 15.3 does not include (update) repos from SLE-15-SP2. This means that packages in OBS build against a kernel-rt version unavailable to a standard installation.
How can we resolve this issue? What repo do we need to add to zypper to update to this kernel?
this is what I have on my 15.4 system, 15.3 was similar: baseurl=http://download.opensuse.org/update/leap/$releasever/oss/ baseurl=http://download.opensuse.org/update/leap/$releasever/backports/ baseurl=http://download.opensuse.org/update/leap/$releasever/sle/ baseurl=http://download.opensuse.org/distribution/leap/$releasever/repo/oss/ I _think_ the /sle/ is the relevant one.
Thanks for your help Richard
HTH, cheers. l8er manfred
On Sun, 11 Sep 2022, 10:15:43 +0200, Manfred Hollstein wrote:
Moin,
On Sat, 10 Sep 2022, 21:44:40 +0200, Richard Hacker wrote:
Hi Manfred
Thanks for the quick response!
So, our ethercat package builds against kernel-rt 5.3.18-8.13.1 from SLE-15-SP2.
However, the standard installation of openSUSE 15.3 does not include (update) repos from SLE-15-SP2. This means that packages in OBS build against a kernel-rt version unavailable to a standard installation.
How can we resolve this issue? What repo do we need to add to zypper to update to this kernel?
this is what I have on my 15.4 system, 15.3 was similar:
baseurl=http://download.opensuse.org/update/leap/$releasever/oss/ baseurl=http://download.opensuse.org/update/leap/$releasever/backports/ baseurl=http://download.opensuse.org/update/leap/$releasever/sle/ baseurl=http://download.opensuse.org/distribution/leap/$releasever/repo/oss/
I just went through these directories and there is no kernel-rt-5.3.18-8.13.1 rpm available. I guess you should open a bug report and request the release of that package as an update either through the backports or the sle repos. HTH, cheers. l8er manfred
Hello Manfred Thanks for investigating and confirming our suspicion. I submitted bug report https://bugzilla.opensuse.org/show_bug.cgi?id=1203328 Kind regards Richard
participants (3)
-
Florian Pose
-
Manfred Hollstein
-
Richard Hacker