Comments (7)
I have updated my glibc apk build for armhf to latest 2.27-r0: https://github.com/yangxuan8282/alpine-pkg-glibc/releases .
It should works. If not, you can try this old one: https://github.com/armhf-docker-library/alpine-pkg-glibc/releases .
from alpine-pkg-glibc.
Hi,
I am trying to get it work on Raspberry Pi, using latest 2.29 I am also finding an issue: #113
Do you know if it is the same issue? Were your changes integrated in this upstream project or only in your fork? As far as I can see your latest release is for 2.27. Any idea how to try your fork for me issue?
Thanks in advance,
from alpine-pkg-glibc.
Hi everyone,
I think this issue may be worth reopening.
I found that compiling glibc was no big deal, executing the docker-glibc-builder natively on an arm board was enough to produce working binaries, and the changes to the apkbuild aren't difficult either.
@sgerrand it would be really cool imo if you could be publishing binary releases for aarch32 and aarch64.
The place that I found your binaries used, and that could benefit from arm binaries, is the https://github.com/AdoptOpenJDK/openjdk-docker/ alpine containers. I was able to build and run their openjdk12/jdk-alpine with the glibc apk I built using this earlier built glibc package!
If there is something we can do to make that happen, please let us know.
from alpine-pkg-glibc.
+1 I would love aarch32 and aarch64 releases. In fact, I am ONLY using Alpine on Raspberry...
from alpine-pkg-glibc.
Hi @yangxuan8282
I am giving a try to version 2.27 but I cannot add the correct pub key. I tried many different URLs:
RUN apk --no-cache add ca-certificates wget \
&& wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.27-r0/sgerrand.rsa.pub \
&& wget https://github.com/yangxuan8282/alpine-pkg-glibc/releases/download/2.27-r0/glibc-2.27-r0.apk \
&& wget https://github.com/yangxuan8282/alpine-pkg-glibc/releases/download/2.27-r0/glibc-bin-2.27-r0.apk \
&& wget https://github.com/yangxuan8282/alpine-pkg-glibc/releases/download/2.27-r0/glibc-i18n-2.27-r0.apk \
&& apk add glibc-bin-2.27-r0.apk glibc-i18n-2.27-r0.apk glibc-2.27-r0.apk
I also tried
https://github.com/yangxuan8282/alpine-pkg-glibc/blob/master/sgerrand.rsa.pub
https://raw.githubusercontent.com/sgerrand/alpine-pkg-glibc/master/sgerrand.rsa.pub
https://github.com/yangxuan8282/alpine-pkg-glibc/blob/2.27-r0/sgerrand.rsa.pub
https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
But I always get:
"ERROR: glibc-bin-2.27-r0.apk: UNTRUSTED signature"
Do you know what is the correct link to pub file?
from alpine-pkg-glibc.
I compiled an arm32v7 glibc 2.30 by changing the dockerfile for https://github.com/sgerrand/docker-glibc-builder and running the build on a raspberry pi:
FROM arm32v7/ubuntu:19.04
MAINTAINER Sasha Gerrand <[email protected]>
ENV PREFIX_DIR /usr/glibc-compat
ENV GLIBC_VERSION 2.30
RUN apt-get -q update \
&& apt-get -qy install \
bison \
build-essential \
gawk \
gettext \
openssl \
python3 \
texinfo \
wget
COPY configparams /glibc-build/configparams
COPY builder /builder
ENTRYPOINT ["/builder"]
Then running this docker run --rm --env STDOUT=1 imagename/forabovedockerfile:tag 2.30 /usr/glibc-compat > glibc-bin.tar.gz
to generate the required files and copying them into a new image to build the APK with:
FROM arm32v7/alpine:3.10
RUN apk add alpine-sdk && \
git config --global user.name "Gokalp Ercilasun" && \
git config --global user.email "[email protected]" && \
git clone git://git.alpinelinux.org/aports && \
sed -i "s/#PACKAGER=\"Your Name <[email protected]>\"/PACKAGER=\"Gokalp LASTNAME <[email protected]>\"/g" /etc/abuild.conf && \
adduser --disabled-password --shell /bin/sh --gecos "User" appuser && \
echo appuser:appuser | chpasswd && \
sudo echo "appuser ALL=(ALL) ALL" >> /etc/sudoers && \
sudo addgroup appuser abuild && \
sudo mkdir -p /var/cache/distfiles && \
sudo chmod a+w /var/cache/distfiles && \
sudo chgrp abuild /var/cache/distfiles && \
sudo chmod g+w /var/cache/distfiles
# abuild-keygen -a -i -n
USER appuser
COPY glibc-bin.tar.gz /home/appuser/glibc-bin.tar.gz
COPY ld.so.conf /home/appuser/ld.so.conf
COPY nsswitch.conf /home/appuser/nsswitch.conf
COPY APKBUILD /home/appuser/APKBUILD
COPY glibc-bin.trigger /home/appuser/glibc-bin.trigger
RUN abuild-keygen -a -i -n && \
abuild checksum && \
abuild -r
# COPY FILES OUT MANUALLY ALSO COPY PUBLIC KEY
ENTRYPOINT ["/bin/sh"]
I hosted my compiled APK for alpine here: https://github.com/gokalper/glibc-alpine-arm32v7/tree/master/armv7
from alpine-pkg-glibc.
aarch64:
apk add glibc-bin-2.27-r0.apk glibc-i18n-2.27-r0.apk glibc-2.27-r0.apk
returned a non-zero code: 99
from alpine-pkg-glibc.
Related Issues (20)
- Optional HOT 1
- Whether aarch64 is supported? HOT 1
- Missing symbos to debug a `malloc` crash in glibc-compat HOT 2
- trying to overwrite etc/nsswitch.conf owned by alpine-baselayout-data-3.2.0-r23. HOT 4
- make test failed about [email protected] on ubuntu_aarch64 HOT 2
- error /lib/ld-linux-x86-64.so.2 HOT 1
- /usr/lib/libstdc++.so.6: no version information available HOT 2
- Error relocating /lib/ld-linux-x86-64.so.2: unsupported relocation type 37 HOT 6
- did this glibc support arm? HOT 2
- v2.35-r1 symbols not found HOT 2
- Unexpected "(" in /usr/glibc-compat/sbin/ldconfig
- SSL certificate from https://sgerrand.com/ has expired. HOT 11
- Error character map file UTF-8' not found: No such file or directory HOT 1
- ....symbol not found HOT 4
- Is alpine-pkg-glibc supports for latest alpine release 3.18 HOT 13
- protoc: stdout: . stderr: Error loading shared library ld-linux-x86-64.so.2: No such file or directory HOT 4
- 2.35-r1 release doesnt work with alpine image HOT 1
- ERROR: gcompat-1.1.0-r4: trying to overwrite lib/ld-linux-x86-64.so.2 owned by glibc-2.35-r1. HOT 10
- Getting segmentation fault after python upgrade HOT 4
- Release 2.38 HOT 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alpine-pkg-glibc.