Your _link file for the kernel-default (and other derivatives, if any) should look like: <link project="Kernel:stable" package="kernel-source" cicount="copy" />
Where project is your own project.
Sorry, I'm unfortunately missing your point.
From my OP, below, I'd verified that I _do_ have,
https://build.opensuse.org/package/view_file/home:pgnd:Kernel:stable/kernel-...
<link project="home:pgnd:Kernel:stable" package="kernel-source" cicount="copy" />
Isn't that already exactly what you're suggesting it should look like? On 4/22/19 1:50 PM, Jeff Mahoney wrote:
On 4/22/19 12:59 PM, PGNet Dev wrote:
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.
I think you're probably missing the bit that keeps the release numbers in lockstep.
Your _link file for the kernel-default (and other derivatives, if any) should look like: <link project="Kernel:stable" package="kernel-source" cicount="copy" />
Where project is your own project.
-Jeff
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-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org