Skip to content

Fix Coverity Scan workflow - #1857

Merged
troglobit merged 1 commit into
mainfrom
coverity-fixes
Dec 5, 2026
Merged

troglobit merged 1 commit into
mainfrom
coverity-fixes

Conversation

@troglobit

Copy link
Copy Markdown
Contributor

Description

The weekly scan fails in the Build dependencies step:

error: patch failed: src/utils/sn_common.c:251
error: src/utils/sn_common.c: patch does not apply

Buildroot applies the backports in its own package/sysrepo/ before our series in patches/sysrepo/, and the latest patch in our series, 0012, changes code that only those backports add. The workflow applied our series alone.

Fetch the buildroot submodule and apply its patches first, for both libyang and sysrepo.

Checklist

Tick relevant boxes, this PR is-a or has-a:

  • Bugfix
    • Regression tests
    • ChangeLog updates (for next release)
  • Feature
    • YANG model change => revision updated?
    • Regression tests added?
    • ChangeLog updates (for next release)
    • Documentation added?
  • Test changes
    • Checked in changed Readme.adoc (make test-spec)
    • Added new test to group Readme.adoc and yaml file
  • Code style update (formatting, renaming)
  • Refactoring (please detail in commit messages)
  • Build related changes
  • Documentation content changes
    • ChangeLog updated (for major changes)
  • Other (please describe):

The weekly scan fails in the Build dependencies step:

    error: patch failed: src/utils/sn_common.c:251
    error: src/utils/sn_common.c: patch does not apply

Buildroot applies the backports in its own package/sysrepo/ before
our series in patches/sysrepo/, and the latest patch in our series,
0012, changes code that only those backports add.  The workflow
applied our series alone.

Fetch the buildroot submodule and apply its patches first, for both
libyang and sysrepo.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
@troglobit troglobit added the ci:skip Skip CI for this PR, started jobs are stopped. label Dec 5, 2026
@troglobit
troglobit merged commit 20370ac into main Dec 5, 2026
14 checks passed
@troglobit
troglobit deleted the coverity-fixes branch December 5, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:skip Skip CI for this PR, started jobs are stopped.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants