-
Notifications
You must be signed in to change notification settings - Fork 40
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
ld.so.cache not updating properly for emerge-root #253
Comments
Following along with that, adding
but the Moving my workaround to the dockerfile template... |
Is this issue still present in latest When you ran the commands in the container is that the built container, and not the build container (e.g. Did you work any more details out? I think |
I built an image using your Debugging with This is covered in https://github.com/edannenberg/kubler?tab=readme-ov-file#common-build-pitfalls Line 449 in cc6ae36
Your workaround is an alternative to the Dockerfile approach, and probably better way.
|
Hi All,
I've been trying to build an image with the following
build.sh
(superfluous comments removed):Unfortunately, I run into issues where python is unable to find libb2 (blake2{b,s}) when loading hashlib:
From within the container I see
which is odd as libgomp definitely exists:
and is in
/etc/ld.so.conf
:but not in the cache:
Regenerating the cache inside the container resolves the issue, but I shouldn't need to do that:
I'm also not sure where the cache is being generated, as we remove the cache from emerge-root, maybe that can shed some light on the situation:
kubler/engine/docker/bob-core/build-root.sh
Lines 708 to 709 in 3aa97bb
Any insight on what's happening? Portage's
env-update
should take care of this and it's ROOT aware.In the short term I will try to generate the cache as a postinst step before a rootfs tarball is taken.
The text was updated successfully, but these errors were encountered: