Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Bug: Unable to locate package upx-ucl #635

Closed
Dor-bl opened this issue Aug 6, 2023 · 2 comments
Closed

Bug: Unable to locate package upx-ucl #635

Dor-bl opened this issue Aug 6, 2023 · 2 comments

Comments

@Dor-bl
Copy link
Contributor

Dor-bl commented Aug 6, 2023

when running the build Android image, I came across the below Error:
Building on Ubuntu Server 22.04.2

4.511 E: Unable to locate package upx-ucl
------
Dockerfile:5
--------------------
   4 |
   5 | >>> RUN \
   6 | >>>     apt-get update && \
   7 | >>>     apt-get install -y upx-ucl libx11-dev && \
   8 | >>>     cd /devtools && \
   9 | >>>     GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" && \
  10 | >>>     upx /devtools/devtools
  11 |
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update &&     apt-get install -y upx-ucl libx11-dev &&     cd /devtools &&     GOOS=linux GOARCH=amd64 go build -ldflags=\"-s -w\" &&     upx /devtools/devtools" did not complete successfully: exit code: 100
@vania-pooh
Copy link
Member

@Dor-bl yep, for some reason they removed this package. We are only using it to minify our binaries, so it's safe to comment installation of upx-ucl and upx command call in Dockerfile for now.

@jeremie-code
Copy link
Contributor

Commenting those line in the Dockerfile in folder android, allow the script to finish and build image:

RUN \
    apt-get update && \
    # apt-get install -y upx-ucl libx11-dev && \
    cd /devtools && \
    GOOS=linux GOARCH=amd64 go build -ldflags="-s -w"
    # && \ upx /devtools/devtools

@aandryashin aandryashin closed this as not planned Won't fix, can't repro, duplicate, stale Dec 17, 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

4 participants