bedrocklinux / bedrocklinux-userland

This tracks development for the things such as scripts and (defaults for) config files for Bedrock Linux
https://bedrocklinux.org
GNU General Public License v2.0
597 stars 62 forks source link

0.7.29beta1 setcap is not static linked #295

Closed naY9yjoS6ZqhOd35sIFH closed 11 months ago

naY9yjoS6ZqhOd35sIFH commented 11 months ago

line 2307: /bedrock/libexec/setcap: No such file or directory setcap elf seems dynamic version 0.7.29beta1 platform x86_64

paradigm commented 11 months ago

Good catch. I can confirm the issue. I double checked the other binaries and it didn't seem to hit them, just setcap.

There were two problems:

  1. I updated the setcap version, and apparently it's build system has since introduced a bug where it no longer respects a request to statically link its binaries. I found a work around.

  2. While Bedrock's build system does explicitly check for this concern, apparently the check isn't sufficiently robust and this slipped through. I've improved the check accordingly.

0.7.29beta2 with these changes building now. I'll push the update once it's ready.

paradigm commented 11 months ago

Thanks for helping beta and being so quick to report the issue.

I've pushed beta2 with the fix, and I am closing the ticket. If you think I missed or misunderstood something, do feel free to open it accordingly.