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

Release 2.38 #210

Closed
frol opened this issue Oct 17, 2023 · 24 comments
Closed

Release 2.38 #210

frol opened this issue Oct 17, 2023 · 24 comments
Assignees

Comments

@frol
Copy link

frol commented Oct 17, 2023

https://www.gnu.org/software/libc/

There have been several issues with 2.35:

Seems like simple release would resolve the issue: #204 (comment)

@sevmonster
Copy link

sevmonster commented Dec 5, 2023

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'

@frol
Copy link
Author

frol commented Dec 6, 2023

@sevmonster Do you plan to maintain the package? I am maintaining the Docker image: https://github.com/Docker-Hub-frolvlad/docker-alpine-glibc

@sevmonster
Copy link

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?

@frol
Copy link
Author

frol commented Dec 16, 2023

@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

@sevmonster
Copy link

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.

@b01
Copy link

b01 commented Jan 7, 2024

So I noticed that the glibc build docker image is set to GLIBC_VERSION=2.38 \ and also that the latest version 2.35-r1 was built on Apr 13, 2023. Which makes me wonder if 2.35-r1 is just 2.37 in disguise?

  1. https://github.com/sgerrand/docker-glibc-builder/blob/main/Dockerfile#L4
  2. https://sourceware.org/glibc/
  3. https://github.com/sgerrand/alpine-pkg-glibc/releases/tag/2.35-r1

@wmbin
Copy link

wmbin commented Jan 18, 2024

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.

Hello, how to build apk?

@sevmonster
Copy link

@wmbin
Copy link

wmbin commented Jan 31, 2024

https://github.com/sgerrand/docker-glibc-builder

https://github.com/sgerrand/docker-glibc-builder

Actually, I want to know how to build the compressed package generated by docker-glibc-builder into an apk package.

@sevmonster
Copy link

@wmbin
Copy link

wmbin commented Feb 2, 2024

@oliverlockwood
Copy link

oliverlockwood commented Feb 13, 2024

@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 APKBUILD file).

Is there any chance that one of you may be able to help me to understand this, please?

@sgerrand
Copy link
Owner

sgerrand commented Feb 13, 2024

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.

@sevmonster
Copy link

@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.

@sgerrand
Copy link
Owner

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!

@sevmonster
Copy link

sevmonster commented Feb 13, 2024

Great. May want to consider resolving the conflict with gcompat somehow too? See above.

@jhg03a
Copy link

jhg03a commented Mar 27, 2024

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!

Nudge again

@debiansid
Copy link

ttps://storage.sev.monster/alpine/edge/testing/x86_64/sevmonster-keys-1-r0.apk

how make my own keys.apk like yours

thanks

@sevmonster
Copy link

I built 2.39, if anyone wants to use it.

@ctm8788
Copy link

ctm8788 commented Sep 25, 2024

Hi @sgerrand ,
Hope all is well.
nudging and hoping some new releases can be built.

@ghost
Copy link

ghost commented Dec 4, 2024

@sgerrand

@unoexperto
Copy link

@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

wget https://download.oracle.com/java/23/latest/jdk-23_linux-x64_bin.tar.gz -O java.tar.gz
gunzip -c java.tar.gz | tar -xf - -C /opt && rm -f java.tar.gz
 /opt/jdk-23.0.1/bin/java --version

it segfaults with

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007124c8d06447, pid=30, tid=31
#
# JRE version:  (23.0.1+11) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.0.1+11-39, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0xeaa447]  Thread::SpinAcquire(int volatile*, char const*)+0x7
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to //core.30)
#
# An error report file with more information is saved as:
# //hs_err_pid30.log
#
#
Aborted (core dumped)

@sgerrand
Copy link
Owner

@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.

@sgerrand sgerrand closed this as not planned Won't fix, can't repro, duplicate, stale Dec 18, 2024
Repository owner locked and limited conversation to collaborators Dec 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants