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

arm64 build fails #28

Open
brandonros opened this issue Jun 20, 2022 · 1 comment
Open

arm64 build fails #28

brandonros opened this issue Jun 20, 2022 · 1 comment

Comments

@brandonros
Copy link

[+] Building 23.8s (7/12)                                                                                                                                                                                                                                                                  
 => [internal] load build definition from Dockerfile                                                                                                                                                                                                                                  0.0s
 => => transferring dockerfile: 37B                                                                                                                                                                                                                                                   0.0s
 => [internal] load .dockerignore                                                                                                                                                                                                                                                     0.0s
 => => transferring context: 2B                                                                                                                                                                                                                                                       0.0s
 => [internal] load metadata for docker.io/library/ubuntu:latest                                                                                                                                                                                                                      0.3s
 => [internal] load build context                                                                                                                                                                                                                                                     0.0s
 => => transferring context: 35B                                                                                                                                                                                                                                                      0.0s
 => CACHED [builder 1/4] FROM docker.io/library/ubuntu:latest@sha256:b6b83d3c331794420340093eb706a6f152d9c1fa51b262d9bf34594887c2c7ac                                                                                                                                                 0.0s
 => CANCELED [stage-1 2/5] RUN apt-get update     && DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends         dbus-x11         firefox         git         locales         pavucontrol         pulseaudio         pulseaudio-utils         sudo           23.4s
 => ERROR [builder 2/4] RUN sed -i -E 's/^# deb-src /deb-src /g' /etc/apt/sources.list     && apt-get update     && DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends         build-essential         dpkg-dev         git         libpulse-dev         p  23.2s
------                                                                                                                                                                                                                                                                                     
 > [builder 2/4] RUN sed -i -E 's/^# deb-src /deb-src /g' /etc/apt/sources.list     && apt-get update     && DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends         build-essential         dpkg-dev         git         libpulse-dev         pulseaudio     && apt-get build-dep -y pulseaudio     && apt-get source pulseaudio     && rm -rf /var/lib/apt/lists/*:      
...
#7 22.70 Building dependency tree...
#7 22.79 Reading state information...
#7 22.83 Some packages could not be installed. This may mean that you have
#7 22.83 requested an impossible situation or if you are using the unstable
#7 22.83 distribution that some required packages have not yet been created
#7 22.83 or been moved out of Incoming.
#7 22.83 The following information may help to resolve the situation:
#7 22.83 
#7 22.83 The following packages have unmet dependencies:
#7 22.89  libssl-dev : Depends: libssl3 (= 3.0.2-0ubuntu1.1) but 3.0.2-0ubuntu1.2 is to be installed
#7 22.89 E: Unable to correct problems, you have held broken packages.
------
executor failed running [/bin/sh -c sed -i -E 's/^# deb-src /deb-src /g' /etc/apt/sources.list     && apt-get update     && DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends         build-essential         dpkg-dev         git         libpulse-dev         pulseaudio     && apt-get build-dep -y pulseaudio     && apt-get source pulseaudio     && rm -rf /var/lib/apt/lists/*]: exit code: 100
@0x3333
Copy link

0x3333 commented Feb 28, 2024

Building from sources also fails, but with the patch below, it builds. However the generated image has some differences with the build container, so I get a GLIBC version mismatch.

index bdacea9..dca8144 100644
--- a/Dockerfile.build_from_source
+++ b/Dockerfile.build_from_source
@@ -7,7 +7,7 @@ FROM ubuntu:$IMAGE_TAG as build-config
 ENV DEBIAN_FRONTEND="noninteractive"
 RUN sed -i -E 's/^# deb-src /deb-src /g' /etc/apt/sources.list \
     && apt-get update \
-    && apt-get install -y git \
+    && apt-get install -y git llvm lld \
     && apt-get build-dep -y wine```


```bash
$ ./docker-wine --local --tag=arm64 wine notepad
wine: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by wine)

But running wine inside the build container works. Will dig into this later.

EDIT 1: I'm using a Mac with M1 processor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants