-
-
Notifications
You must be signed in to change notification settings - Fork 283
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
Release 2.38 #210
Comments
I built 2.38, feel free to use it: echo 'https://storage.sev.monster/alpine/edge/testing' | sudo tee -a /etc/apk/repositories
wget https://storage.sev.monster/alpine/edge/testing/x86_64/sevmonster-keys-1-r0.apk
sudo sh -c '
apk add --allow-untrusted ./sevmonster-keys-1-r0.apk
apk update \
&& apk add gcompat \
&& rm /lib/ld-linux-x86-64.so.2 \
&& apk add --force-overwrite glibc \
&& apk add glibc-bin' |
@sevmonster Do you plan to maintain the package? I am maintaining the Docker image: https://github.com/Docker-Hub-frolvlad/docker-alpine-glibc |
It is easy enough to build. I probably won't try to fix it if it breaks unless I need it. Why not just build the package in the Dockerfile? |
@sevmonster I didn’t want to duplicate the effort and introduce my own bugs when the package is available, but at this point I will consider doing that |
I built it myself for my own needs, and it really is easy to build and deploy. If you want something more reliable, it would probably be best to build the tarball yourself, pull it into the image, and extract it like the package build script does. It is more straightforward than building or finding a package and installing it. |
So I noticed that the glibc build docker image is set to |
Hello, how to build apk? |
Actually, I want to know how to build the compressed package generated by docker-glibc-builder into an apk package. |
@sevmonster (or @sgerrand) I'm going down the path of building glibc myself. One thing that I am struggling to reconcile is the size difference in the libraries between
I am approaching this from a Java perspective, and I am not an expert on either the GNU C libraries, or on APK packaging, but the difference here is so significant - an order of magnitude in size! - I am sure I must be missing something (and yes, I have read the Is there any chance that one of you may be able to help me to understand this, please? |
As a quick pointer, the shared library file in the APK package is only one file out of the many contained in the compressed archive that is built by that other repository. (That archive also has files related to documentation, executables and numerous other aspects of the "full" GNU C library.) Alpine's package builder strips superfluous information out of compiled files. That's the main reason for the difference in size between those two files. |
@sgerrand Are you planning to push a new release for new glibc? I have been using 2.38 since I built it last and haven't had any issues. |
I'll push a new version tomorrow. Thanks for the nudge! |
Great. May want to consider resolving the conflict with |
Nudge again |
how make my own keys.apk like yours thanks |
I built 2.39, if anyone wants to use it. |
Hi @sgerrand , |
@sevmonster Could you please advise what could be the cause of the following issue with JDK ? I used your version of alpine-pkg-glibc package (glibc-2.39-r0) in the latest Alpine. And then I tried to use Oracle JDK 23 in it like this
it segfaults with
|
@unoexperto: I strongly advise you to run your software in an operating system which is based on the GNU C library. This Alpine package is designed for use by advanced users and I believe that you'll be able to resolve your problem more rapidly by using an operating system which matches the software which you're trying to install and/or deploy. |
https://www.gnu.org/software/libc/
There have been several issues with 2.35:
Seems like simple release would resolve the issue: #204 (comment)
The text was updated successfully, but these errors were encountered: