Cannot compile podman on gentoo musl amd64 (undefined reference to TEMP_FAILURE_RETRY
)
#12563
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
I tried to emerge app-emulation/podman-3.4.3 with no success on Gentoo Hardened Musl amd64. The USE flags were USE="fuse rootless -apparmor -btrfs (-selinux)".
I also tried to do it manually using the git repository with the tag
v3.4.4
and I cannot compile podman because the filepkg/rootless/rootless_linux.c
is usingTEMP_FAILURE_RETRY
before it is declared.I confirm that I can emerge
app-emulation/podman-3.4.2
.Steps to reproduce the issue:
Install Gentoo Hardened Musl amd64
eselect repository enable musl
(I have added the musl overlay to be able to installsys-libs/lvm2
on musl.emerge --ask sys-libs/argp-standalone app-emulation/crun sys-libs/lvm2::musl app-emulation/podman
Describe the results you received:
build.log :
Describe the results you expected:
I wonder if this is because
TEMP_FAILURE_RETRY
is declared after the usage ?TEMP_FAILURE_RETRY
is used at L38. Since on muslTEMP_FAILURE_RETRY
is not declared, I believe this was the fix ?podman/pkg/rootless/rootless_linux.c
Lines 75 to 82 in f80a7fd
So I guess you have to move it at L25 to fix the problem ?
Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
`emerge --info '=app-emulation/podman-3.4.3::gentoo'`
The text was updated successfully, but these errors were encountered: