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

Obvious bugs in the image "image "adamrehn/ue4-source:4.25.3-opengl-ubuntu18.04" #358

Closed
chenhengwei1999 opened this issue Jun 14, 2024 · 1 comment

Comments

@chenhengwei1999
Copy link

hello, author.

I found a obvious bug in your images "Obvious bugs in the image "image "adamrehn/ue4-source:4.25.3-opengl-ubuntu18.04".

When I use the following commands to build the ue4, whose version is 4.25.3, 5.0.0, or 5.1.0. There will be a same problem.

ue4-docker build 4.25.3 --no-engine --no-minimal

The problem is that when checking depencies, "Failed to download 'http://cdn.unrealengine.com/dependencies/UnrealEngine-7461567-1313da363877498e8e767b57a0c3f532/020830990bc18fb42a3a9f81545275a3d7048ed7': The remote server returned an error: (403) Forbidden. (WebException)" will occured. So we cannot execute the following process.

Personally, I thougt there may be some solutions can fix it. For example, you can follow the method of this youtube video. Certainly, this is just my personally opinion.

In conclustion, could you fix this bug? Because this bug is important for building the UE4 project.

Last but not least, still thank you for your dedication in this project.

The whole outputs in the termial is shown below:

(ue4-docker) user@host:/mnt/sda$ ue4-docker build 4.25.3 --no-engine --no-minimal
[ue4-docker build] Using deprecated `--no-*` target specifiers; recommend changing to `--target`
[ue4-docker build] COMMAND-LINE INVOCATION:
[ue4-docker build] ['ue4-docker', '4.25.3', '--no-engine', '--no-minimal']

[ue4-docker build] UNREAL ENGINE VERSION SETTINGS:
[ue4-docker build] Custom build:  No
[ue4-docker build] Release:       4.25.3
[ue4-docker build] Repository:    https://github.com/EpicGames/UnrealEngine.git
[ue4-docker build] Branch/tag:    4.25.3-release

[ue4-docker build] ADVANCED CONFIGURATION OPTIONS:
[ue4-docker build] excluded_components: {"ddc": false, "debug": false, "templates": false}

[ue4-docker build] LINUX CONTAINER SETTINGS
[ue4-docker build] Base OS image: nvidia/opengl:1.0-glvnd-devel-ubuntu18.04

[ue4-docker build] GENERAL SETTINGS
[ue4-docker build] Build targets: build-prerequisites source
[ue4-docker build] Changelist override: (None specified)
[ue4-docker build] Not excluding any Engine components.

Retrieving the Git credentials that will be used to clone the UE4 repo
Username: githubuser
Password: 


[ue4-docker build] Building image "adamrehn/ue4-build-prerequisites:opengl-ubuntu18.04"...
[+] Building 17.1s (10/10) FINISHED                                                                                                                                     docker:default
 => [internal] load .dockerignore                                                                                                                                                 0.3s
 => => transferring context: 2B                                                                                                                                                   0.0s
 => [internal] load build definition from Dockerfile                                                                                                                              0.2s
 => => transferring dockerfile: 3.38kB                                                                                                                                            0.0s
 => [internal] load metadata for docker.io/nvidia/opengl:1.0-glvnd-devel-ubuntu18.04                                                                                             16.0s
 => [1/6] FROM docker.io/nvidia/opengl:1.0-glvnd-devel-ubuntu18.04@sha256:c4a8996b126d14695848220372b1d2e2d647f8aa09ef580d2bb621fa3a0673c3                                        0.0s
 => CACHED [2/6] RUN apt-get update && apt-get install -y --no-install-recommends   build-essential   ca-certificates   curl   git   git-lfs   python3   python3-dev   python3-p  0.0s
 => CACHED [3/6] RUN apt-get update && apt-get install -y --no-install-recommends    libasound2    libatk1.0-0    libatk-bridge2.0-0    libcairo2    libfontconfig1    libfreety  0.0s
 => CACHED [4/6] RUN echo 'Defaults lecture="never"' >> /etc/sudoers && echo '' && echo 'RUN directive complete. Docker will now commit the filesystem layer to disk.' && echo '  0.0s
 => CACHED [5/6] RUN useradd --create-home --home /home/ue4 --shell /bin/bash --uid 1000 ue4 &&  passwd -d ue4 &&  usermod -a -G audio,video,sudo ue4 && echo '' && echo 'RUN di  0.0s
 => CACHED [6/6] RUN git lfs install && echo '' && echo 'RUN directive complete. Docker will now commit the filesystem layer to disk.' && echo 'Note that for large filesystem l  0.0s
 => exporting to image                                                                                                                                                            0.1s
 => => exporting layers                                                                                                                                                           0.0s
 => => writing image sha256:05c78a3f0078c9158fbff54dbcabcd839196bf842df6817d6ee6a081a107785e                                                                                      0.0s
 => => naming to docker.io/adamrehn/ue4-build-prerequisites:opengl-ubuntu18.04                                                                                                    0.0s
[ue4-docker build] Built image "adamrehn/ue4-build-prerequisites:opengl-ubuntu18.04" in 17.28 seconds

[ue4-docker build] Building image "adamrehn/ue4-source:4.25.3-opengl-ubuntu18.04"...
[+] Building 162.3s (12/17)                                                                                                                                             docker:default
 => [internal] load build definition from Dockerfile                                                                                                                              0.2s
 => => transferring dockerfile: 4.35kB                                                                                                                                            0.0s
 => [internal] load .dockerignore                                                                                                                                                 0.4s
 => => transferring context: 53B                                                                                                                                                  0.0s
 => [internal] load metadata for docker.io/adamrehn/ue4-build-prerequisites:opengl-ubuntu18.04                                                                                    0.0s
 => [internal] load build context                                                                                                                                                 0.3s
 => => transferring context: 165B                                                                                                                                                 0.0s
 => [ 1/13] FROM docker.io/adamrehn/ue4-build-prerequisites:opengl-ubuntu18.04                                                                                                    0.0s
 => CACHED [ 2/13] COPY --chown=ue4:ue4 git-credential-helper-endpoint.sh /tmp/git-credential-helper-endpoint.sh                                                                  0.0s
 => [ 3/13] RUN chmod +x /tmp/git-credential-helper-endpoint.sh && echo '' && echo 'RUN directive complete. Docker will now commit the filesystem layer to disk.' && echo 'Note   1.5s
 => [ 4/13] RUN mkdir /home/ue4/UnrealEngine &&  cd /home/ue4/UnrealEngine &&  git init &&  git remote add origin "https://github.com/EpicGames/UnrealEngine.git" &&  git fetc  138.3s 
 => [ 5/13] COPY --chown=ue4:ue4 patch-broken-releases.py /tmp/patch-broken-releases.py                                                                                           0.6s 
 => [ 6/13] RUN python3 /tmp/patch-broken-releases.py /home/ue4/UnrealEngine 0 && echo '' && echo 'RUN directive complete. Docker will now commit the filesystem layer to disk.'  1.1s 
 => [ 7/13] WORKDIR /home/ue4/UnrealEngine                                                                                                                                        0.6s 
 => ERROR [ 8/13] RUN sudo apt-get update &&  ./Setup.sh -no-cache &&  sudo rm -rf /var/lib/apt/lists/* && echo '' && echo 'RUN directive complete. Docker will now commit the   18.8s 
------                                                                                                                                                                                 
 > [ 8/13] RUN sudo apt-get update &&   ./Setup.sh -no-cache &&         sudo rm -rf /var/lib/apt/lists/* && echo '' && echo 'RUN directive complete. Docker will now commit the filesystem layer to disk.' && echo 'Note that for large filesystem layers this can take quite some time.' && echo 'Performing filesystem layer commit...' && echo '':                         
1.683 Get:1 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]                                                                                                                 
1.705 Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [102 kB]                                                                                                       
3.225 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [102 kB]                                                                                                         
3.415 Get:4 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [1354 kB]
3.579 Get:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [102 kB]
3.936 Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1344 kB]
4.701 Get:7 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB]
4.853 Get:8 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1637 kB]
5.159 Get:9 http://security.ubuntu.com/ubuntu bionic-security/restricted i386 Packages [40.2 kB]
5.163 Get:10 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [1688 kB]
5.380 Get:11 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [3373 kB]
5.687 Get:12 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [23.8 kB]
5.688 Get:13 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [1713 kB]
5.909 Get:14 http://security.ubuntu.com/ubuntu bionic-security/multiverse i386 Packages [6598 B]
5.971 Get:15 http://archive.ubuntu.com/ubuntu bionic/universe i386 Packages [11.3 MB]
7.091 Get:16 http://archive.ubuntu.com/ubuntu bionic/multiverse i386 Packages [177 kB]
7.097 Get:17 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB]
7.098 Get:18 http://archive.ubuntu.com/ubuntu bionic/restricted i386 Packages [13.5 kB]
7.099 Get:19 http://archive.ubuntu.com/ubuntu bionic/main i386 Packages [1328 kB]
7.182 Get:20 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB]
7.188 Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2411 kB]
7.466 Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse i386 Packages [12.7 kB]
7.466 Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [30.8 kB]
7.468 Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [1728 kB]
7.590 Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [2080 kB]
7.767 Get:26 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [3786 kB]
8.139 Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/restricted i386 Packages [50.5 kB]
8.141 Get:28 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [2097 kB]
8.324 Get:29 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [64.0 kB]
8.326 Get:30 http://archive.ubuntu.com/ubuntu bionic-backports/main i386 Packages [64.0 kB]
8.327 Get:31 http://archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages [20.6 kB]
8.328 Get:32 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [20.6 kB]
9.317 Fetched 48.4 MB in 8s (5994 kB/s)
9.317 Reading package lists...
11.56 Registering git hooks... (this will override existing ones!)
11.95 Fixing inconsistent case in filenames.
11.95 Setting up Mono
12.07 Checking dependencies...
Updating dependencies:   0% (0/60588)...
17.80 Failed to download 'http://cdn.unrealengine.com/dependencies/UnrealEngine-7461567-1313da363877498e8e767b57a0c3f532/020830990bc18fb42a3a9f81545275a3d7048ed7': The remote server returned an error: (403) Forbidden. (WebException)
17.92 Result: 1
------
Dockerfile:44
--------------------
  43 |     WORKDIR /home/ue4/UnrealEngine
  44 | >>> RUN sudo apt-get update && \
  45 | >>> 	./Setup.sh -no-cache && \
  46 | >>> 	sudo rm -rf /var/lib/apt/lists/* && echo '' && echo 'RUN directive complete. Docker will now commit the filesystem layer to disk.' && echo 'Note that for large filesystem layers this can take quite some time.' && echo 'Performing filesystem layer commit...' && echo ''
  47 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c sudo apt-get update && \t./Setup.sh -no-cache && \tsudo rm -rf /var/lib/apt/lists/* && echo '' && echo 'RUN directive complete. Docker will now commit the filesystem layer to disk.' && echo 'Note that for large filesystem layers this can take quite some time.' && echo 'Performing filesystem layer commit...' && echo ''" did not complete successfully: exit code: 1
[ue4-docker build] Error: failed to build image "adamrehn/ue4-source:4.25.3-opengl-ubuntu18.04".
@slonopotamus
Copy link
Collaborator

slonopotamus commented Jun 14, 2024

Duplicate of #319

@slonopotamus slonopotamus closed this as not planned Won't fix, can't repro, duplicate, stale Jun 14, 2024
@slonopotamus slonopotamus marked this as a duplicate of #319 Jun 14, 2024
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