-
Notifications
You must be signed in to change notification settings - Fork 37
Fix UMF build on Alpine OS #1294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
src/utils/utils_log.c
Outdated
#if (_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !_GNU_SOURCE | ||
char err[1024]; | ||
int err_ret = strerror_r(saveno, err, sizeof(err)); | ||
if (err_ret == ERANGE) { | ||
postfix = "[truncated...]"; | ||
} | ||
#else |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it different from the apple version? can you just update apple ifdef?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
28f0fe7
to
7e6224d
Compare
.github/workflows/reusable_trivy.yml
Outdated
@@ -19,13 +19,20 @@ jobs: | |||
with: | |||
fetch-depth: 0 | |||
|
|||
- name: Manual Trivy Setup | |||
uses: aquasecurity/setup-trivy@9ea583eb67910444b1f64abf338bd2e105a0a93d |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls add a comment which version of the action is it (e.g. similarly to the one below: # v0.30.0
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It appears that we are now using the correct version by default, and I no longer see the error in the logs; therefore, I decided to remove the manual setup.
.github/workflows/reusable_trivy.yml
Outdated
@@ -19,13 +19,20 @@ jobs: | |||
with: | |||
fetch-depth: 0 | |||
|
|||
- name: Manual Trivy Setup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you could add a simple comment why to set it up manually
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It appears that we are now using the correct version by default, and I no longer see the error in the logs; therefore, I decided to remove the manual setup.
Description
Checklist