Skip to content

[1.5] build: use POSIX regex in libpathrs build#5196

Merged
lifubang merged 1 commit into
opencontainers:release-1.5from
cyphar:1.5-5194-fix-libpathrs-build
Mar 25, 2026
Merged

[1.5] build: use POSIX regex in libpathrs build#5196
lifubang merged 1 commit into
opencontainers:release-1.5from
cyphar:1.5-5194-fix-libpathrs-build

Conversation

@cyphar
Copy link
Copy Markdown
Member

@cyphar cyphar commented Mar 24, 2026

Backport of #5194.

word boundary anchor \> is present only in GNU awk implementation. This will not work if we are building libpathrs inside a container like debian/ubuntu which uses mawk. Therefore switch to a POSIX compatible regex that can be used with all implementations of awk to find the system libc path

word boundary anchor \> is present only in GNU awk implementation. This
will not work if we are building libpathrs inside a container like
debian/ubuntu which uses mawk. Therefore switch to a POSIX compatible
regex that can be used with all implementations of awk to find the
system libc path

Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
Signed-off-by: Aleksa Sarai <aleksa@amutable.com>
(cherry picked from commit 28d5ffb)
Signed-off-by: Aleksa Sarai <aleksa@amutable.com>
@cyphar cyphar added this to the 1.5.0-rc.2 milestone Mar 24, 2026
@cyphar cyphar added the backport/1.5-pr A backport PR to release-1.5 label Mar 24, 2026
@lifubang lifubang merged commit 284d983 into opencontainers:release-1.5 Mar 25, 2026
63 checks passed
@kolyshkin kolyshkin mentioned this pull request Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/1.5-pr A backport PR to release-1.5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants