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

Linkerd build fails with missing ranlib error #13350

Open
DerekTBrown opened this issue Nov 19, 2024 · 0 comments
Open

Linkerd build fails with missing ranlib error #13350

DerekTBrown opened this issue Nov 19, 2024 · 0 comments
Labels

Comments

@DerekTBrown
Copy link
Contributor

What is the issue?

See: #13345

How can it be reproduced?

 DOCKER_TARGET=linux/amd64 DOCKER_REGISTRY="<my repo>" DOCKER_BUILDER="mybuilder" bin/docker-build-policy-controller

Logs, error output, etc

 bin/docker-build-policy-controller    
...
174.5   /bin/sh: 1: aarch64-linux-musl-ranlib: not found
Error installing OpenSSL:
174.5       'make' reported failure with exit status: 2
174.5       Command failed: cd "/build/target/aarch64-unknown-linux-musl/release/build/openssl-sys-03c76f7563648311/out/openssl-build/build/src" && "make" "install_dev"

output of linkerd check -o short

N/A

Environment

~/p/infra ❯❯❯ docker info                                                                                                                                                                                                                           ✘ 130 
Client:
 Version:    27.3.1
 Context:    desktop-linux
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.17.1-desktop.1
    Path:     /Users/debrown/.docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.29.7-desktop.1
    Path:     /Users/debrown/.docker/cli-plugins/docker-compose
  debug: Get a shell into any image or container (Docker Inc.)
    Version:  0.0.37
    Path:     /Users/debrown/.docker/cli-plugins/docker-debug
  desktop: Docker Desktop commands (Alpha) (Docker Inc.)
    Version:  v0.0.15
    Path:     /Users/debrown/.docker/cli-plugins/docker-desktop
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.2
    Path:     /Users/debrown/.docker/cli-plugins/docker-dev
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.27
    Path:     /Users/debrown/.docker/cli-plugins/docker-extension
  feedback: Provide feedback, right in your terminal! (Docker Inc.)
    Version:  v1.0.5
    Path:     /Users/debrown/.docker/cli-plugins/docker-feedback
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v1.3.0
    Path:     /Users/debrown/.docker/cli-plugins/docker-init
  sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
    Version:  0.6.0
    Path:     /Users/debrown/.docker/cli-plugins/docker-sbom
  scout: Docker Scout (Docker Inc.)
    Version:  v1.14.0
    Path:     /Users/debrown/.docker/cli-plugins/docker-scout
WARNING: Plugin "/Users/debrown/.docker/cli-plugins/docker-scan" is not valid: failed to fetch metadata: fork/exec /Users/debrown/.docker/cli-plugins/docker-scan: no such file or directory

Server:
 Containers: 10
  Running: 3
  Paused: 0
  Stopped: 7
 Images: 8
 Server Version: 27.3.1
 Storage Driver: overlayfs
  driver-type: io.containerd.snapshotter.v1
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 472731909fa34bd7bc9c087e4c27943f9835f111
 runc version: v1.1.13-0-g58aa920
 init version: de40ad0
 Security Options:
  seccomp
   Profile: unconfined
  cgroupns
 Kernel Version: 6.10.11-linuxkit
 Operating System: Docker Desktop
 OSType: linux
 Architecture: aarch64
 CPUs: 8
 Total Memory: 15.6GiB
 Name: docker-desktop
 ID: 15481343-0b97-4002-84b5-d73bfe2d1f23
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 HTTP Proxy: http.docker.internal:3128
 HTTPS Proxy: http.docker.internal:3128
 No Proxy: hubproxy.docker.internal
 Labels:
  com.docker.desktop.address=unix:///Users/debrown/Library/Containers/com.docker.docker/Data/docker-cli.sock
 Experimental: true
 Insecure Registries:
  hubproxy.docker.internal:5555
  127.0.0.0/8
 Live Restore Enabled: false

Possible solution

No response

Additional context

No response

Would you like to work on fixing this bug?

yes

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

No branches or pull requests

1 participant