Skip to content

Fix UMF build on Alpine OS#1294

Merged
lplewa merged 2 commits intooneapi-src:mainfrom
wlemkows:alpine-umf
Jul 31, 2025
Merged

Fix UMF build on Alpine OS#1294
lplewa merged 2 commits intooneapi-src:mainfrom
wlemkows:alpine-umf

Conversation

@wlemkows
Copy link
Copy Markdown
Contributor

@wlemkows wlemkows commented Apr 30, 2025

Description

Fixes: #1096

Checklist

  • Code compiles without errors locally
  • All tests pass locally
  • CI workflows execute properly
  • CI workflows, not executed per PR (e.g. Nightly), execute properly
  • New tests added, especially if they will fail without my changes
  • Added/extended example(s) to cover this functionality
  • Extended the README/documentation
  • All newly added source files have a license
  • All newly added source files are referenced in CMake files
  • Logger (with debug/info/... messages) is used
  • All API changes are reflected in docs and def/map files, and are tested

@wlemkows wlemkows requested a review from a team as a code owner April 30, 2025 17:39
Comment thread src/utils/utils_log.c Outdated
Comment on lines +157 to +158
#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
Copy link
Copy Markdown
Contributor

@lplewa lplewa May 5, 2025

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?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Comment thread .github/docker/alpine-3.20.Dockerfile Outdated
Comment thread .github/workflows/nightly.yml Outdated
Comment thread .github/workflows/nightly.yml Outdated
Comment thread .github/workflows/nightly.yml Outdated
Comment thread .github/scripts/alpine_build.sh Outdated
Comment thread .github/workflows/nightly.yml Outdated
Comment thread .github/workflows/nightly.yml
Comment thread .github/docker/alpine-3.20.Dockerfile
Comment thread .github/scripts/alpine_build.sh
Comment thread .github/workflows/nightly.yml Outdated
@wlemkows wlemkows force-pushed the alpine-umf branch 7 times, most recently from 28f0fe7 to 7e6224d Compare May 30, 2025 15:34
Comment thread .github/workflows/reusable_trivy.yml Outdated
Comment thread .github/workflows/reusable_trivy.yml Outdated
@lplewa lplewa merged commit f779cfa into oneapi-src:main Jul 31, 2025
78 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure with musl due to GNU libc strerror_r used

3 participants