Skip to content

Makefile Error - make: *** [runsc] Error 123 (UnrecoverableHttpException) #6544

@fadhilkurnia

Description

@fadhilkurnia

Description

Description
I am trying to build gvisor from source using its makefile, however I could not run make runsc, it was failed because it failed to download a file from bazel:

WARNING: Download from https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/a0761ed101b939e19d83b2da5f59034bffc19c12.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException
 GET returned 404 Not Found

Here are the complete output from make:

$ sudo make runsc
--- TAG default
--- DOCKER BUILD
gvisor-builder-63194a8e-x86_64
sha256:6dab53c66f91805f642e1f4ab2b3f26acdc5e0b9edae68d150098302d9e43441
--- DOCKER RUN
gvisor-bazel-63194a8e-x86_64
e0f5fc13f71b4e4026cbd06d423853bdc12bff2c9e55dbc9588fb814dadac6d2
--- BUILD -c opt //runsc
Another command holds the client lock:
pid=8
owner=client
cwd=/users/fadhil/gvisor

Waiting for it to complete...
Another command (pid=8) is running. Waiting for it to complete on the server (server_pid=16)...
Loading:
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
WARNING: Download from https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/a0761ed101b939e19d83b2da5f59034bffc19c12.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Analyzing: target //runsc:runsc (1 packages loaded)
Analyzing: target //runsc:runsc (2 packages loaded, 0 targets configured)
INFO: SHA256 (https://golang.org/dl/?mode=json&include=all) = ffb4b98349ec783eb9a19e8790ff46365907aa1aca03e41b28ef5b2a8f6d0afa
Analyzing: target //runsc:runsc (11 packages loaded, 6 targets configured)
Analyzing: target //runsc:runsc (11 packages loaded, 6 targets configured)
Analyzing: target //runsc:runsc (11 packages loaded, 6 targets configured)
Analyzing: target //runsc:runsc (41 packages loaded, 7135 targets configured)
Analyzing: target //runsc:runsc (49 packages loaded, 7195 targets configured)
Analyzing: target //runsc:runsc (49 packages loaded, 7195 targets configured)
INFO: Analyzed target //runsc:runsc (353 packages loaded, 11669 targets configured).
INFO: Found 1 target...
[0 / 20] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (3 actions, 0 running)
INFO: From go_marshal: //pkg/sentry/loader:loader_abi_autogen:
stdout (/root/.cache/bazel/_bazel_root/419921670133832f41d50f7d7c8d56d6/execroot/__main__/bazel-out/_tmp/actions/stdout-367) exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping
[1,046 / 1,394] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 5s linux-sandbox ... (9 actions, 8 running)
[1,222 / 1,394] GoCompilePkg pkg/abi/linux/linux.a; 1s linux-sandbox ... (3 actions running)
[1,363 / 1,394] GoCompilePkg pkg/sentry/fsimpl/fuse/fuse.a; 0s linux-sandbox ... (5 actions running)
Target //runsc:runsc up-to-date:
  bazel-out/k8-opt-ST-4c64f0b3d5c7/bin/runsc/runsc_/runsc
INFO: Elapsed time: 82.283s, Critical Path: 33.10s
INFO: 1394 processes: 39 internal, 1355 linux-sandbox.
INFO: Build completed successfully, 1394 total actions
INFO: Build completed successfully, 1394 total actions
Loading:
Loading: 0 packages loaded
WARNING: Download from https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/a0761ed101b939e19d83b2da5f59034bffc19c12.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
Analyzing: target //runsc:runsc (0 packages loaded, 0 targets configured)
INFO: Analyzed target //runsc:runsc (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
INFO: Elapsed time: 0.653s
INFO: 0 processes.
INFO: Build completed successfully, 0 total actions
INFO: Build completed successfully, 0 total actions
Makefile:167: recipe for target 'runsc' failed
make: *** [runsc] Error 123

Steps to reproduce

Pull gvisor source code then run its make command from its root directory.

make runsc

runsc version

No response

docker version (if using docker)

Docker version 20.10.8, build 3967b7d

uname

Linux 4.15.0-137-generic #141-Ubuntu SMP Fri Feb 19 13:46:27 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

kubectl (if using Kubernetes)

No response

repo state (if built from source)

release-20210830.0-22-g2aeab259c

runsc debug logs (if available)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions