[opensuse-buildservice] Compiling Kernel:Stable kernel-default on OBS -- "version mismatch" with just-built kernel-source ?
I'm building a Kernel:stable instance -- as closely as possible, a project clone of the Kernel:stable repo -- that I can patch, etc locally in my home: instance. It's been generally well behaved. Intermittently -- like, now -- I get a 'failed' build, only of the dependent kernel-default pkg, https://build.opensuse.org/project/show/home:pgnd:Kernel:stable ; its parent kernel-source build fine. But, intermittently -- like, now -- I get a 'failed' build, only of the dependent kernel-default pkg; its parent kernel-source builds OK. The build log shows the fail as a 'Kernel release mismatch', https://build.opensuse.org/package/live_build_log/home:pgnd:Kernel:stable/ke... ... [ 58s] ++ make -s kernelrelease ARCH=x86 --output-sync -j8 [ 60s] + krel=5.0.8-21.g7bd8353-default [ 60s] + '[' 5.0.8-21.g7bd8353-default '!=' 5.0.9-21.g7bd8353-default ']' [ 60s] + echo 'Kernel release mismatch: 5.0.8-21.g7bd8353-default != 5.0.9-21.g7bd8353-default' [ 60s] Kernel release mismatch: 5.0.8-21.g7bd8353-default != 5.0.9-21.g7bd8353-default [ 60s] + exit 1 [ 60s] error: Bad exit status from /var/tmp/rpm-tmp.kow8W6 (%prep) ... At the time of the fail, kernel-source _had_ built successfully; packages _were_ available as v5.0.9x, https://build.opensuse.org/package/binaries/home:pgnd:Kernel:stable/kernel-s... As I understand it, kernel-default is simply derived from my obs instance's kernel-source, https://build.opensuse.org/package/view_file/home:pgnd:Kernel:stable/kernel-... <link project="home:pgnd:Kernel:stable" package="kernel-source" cicount="copy" /> To rebuild the entire project, I exec osc wipebinaries home:pgnd:Kernel:stable osc rebuildpac --all home:pgnd:Kernel:stable I thought that's sufficient to clean + rebuild all from scratch ... but it simply re-failed. Other than from a build remnant _oustide_ my OBS build root, I can't see where the "mismatched" v5.0.*8* is originating. What do I need to do to eliminate/avoid this FAIL, & ensure that my kernel-default builds are in-sync with, and using, the parent kernel-source sources? -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Apr 22 2019, PGNet Dev <pgnet.dev@gmail.com> wrote:
It's been generally well behaved. Intermittently -- like, now -- I get a 'failed' build, only of the dependent kernel-default pkg,
https://build.opensuse.org/project/show/home:pgnd:Kernel:stable
; its parent kernel-source build fine.
But, intermittently -- like, now -- I get a 'failed' build, only of the dependent kernel-default pkg; its parent kernel-source builds OK.
Your kernel-source package contains a local series.conf file, shadowing the same file from the linked package. Thus whenever Kernel:stable updates to a new version, your local series.conf file will be out of date, missing the patches that brings the kernel sources up to the current version. If you convert the source link to a branch, your local changes would be merged automatically. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 4/22/19 3:09 PM, Andreas Schwab wrote:
On Apr 22 2019, PGNet Dev <pgnet.dev@gmail.com> wrote:
It's been generally well behaved. Intermittently -- like, now -- I get a 'failed' build, only of the dependent kernel-default pkg,
https://build.opensuse.org/project/show/home:pgnd:Kernel:stable
; its parent kernel-source build fine.
But, intermittently -- like, now -- I get a 'failed' build, only of the dependent kernel-default pkg; its parent kernel-source builds OK.
Your kernel-source package contains a local series.conf file, shadowing the same file from the linked package. Thus whenever Kernel:stable updates to a new version, your local series.conf file will be out of date, missing the patches that brings the kernel sources up to the current version.
Bingo. Hadn't thought to re-check the manual edits; I mistakenly assumed they'd merge. Updating the series.conf seems to do the trick. Thx!
If you convert the source link to a branch, your local changes would be merged automatically.
Yep. I'll likely create a local branch of an unmodified local project. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Andreas Schwab
-
PGNet Dev