Skip to content
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

Apparmor test error on musl #50786

Closed
piekay opened this issue Jun 11, 2024 · 6 comments
Closed

Apparmor test error on musl #50786

piekay opened this issue Jun 11, 2024 · 6 comments
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed

Comments

@piekay
Copy link
Contributor

piekay commented Jun 11, 2024

Is this a new report?

Yes

System Info

Void 6.6.32_1 x86_64 AuthenticAMD uptodate rFFFF

Package(s) Affected

apparmor-3.1.6_2

Does a report exist for this bug with the project's home (upstream) and/or another distro?

No response

Expected behaviour

The package should compile without errors

Actual behaviour

The package throws unexpected child process exited abnormally test errors for the component libaalogparse

Steps to reproduce

Compile the apparmor-3.1.6_2 package for the architecture: x86_64-musl

@piekay piekay added bug Something isn't working needs-testing Testing a PR or reproducing an issue needed labels Jun 11, 2024
@piekay
Copy link
Contributor Author

piekay commented Jun 11, 2024

This error also affects the 3.1.7 source code. See: #50757

Since this package seems to have been compiled without errors in the past on that architecture, this might be an issue with a dependency. Thus I am trying to find the responsible package

@classabbyamp classabbyamp changed the title Apparmor compilation error on musl Apparmor test error on musl Jun 11, 2024
@classabbyamp
Copy link
Member

it compiles fine, the tests fail

@piekay
Copy link
Contributor Author

piekay commented Jun 11, 2024

it compiles fine, the tests fail

I don't have a musl system, so I couldn't try to install it. Since you are so confident about it being compiled correctly, I guess you tested it?

@classabbyamp
Copy link
Member

I read the logs. if it failed to compile, you wouldn't get to the part where you run the (failing) tests

@classabbyamp
Copy link
Member

classabbyamp commented Jun 11, 2024

@piekay
Copy link
Contributor Author

piekay commented Jun 12, 2024

add this patch, it fixes it: https://git.alpinelinux.org/aports/plain/main/apparmor/libapparmor-basename.patch

You are a magician. I've searched through the Alpine repos and couldn't find anything. Thanks for your work. I'll test and upload the patched version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed
Projects
None yet
Development

No branches or pull requests

2 participants