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

Dockerbuild failing #36

Open
Elegant996 opened this issue May 1, 2022 · 0 comments
Open

Dockerbuild failing #36

Elegant996 opened this issue May 1, 2022 · 0 comments

Comments

@Elegant996
Copy link

Elegant996 commented May 1, 2022

Unable to build latest revision r16. No issues with r15 though:

[1/3] STEP 1/12: FROM alpine:edge AS build
[1/3] STEP 2/12: ENV RTORRENT_VERSION 0.9.8
--> Using cache 696370ee0c294d038e5421c9fb1c91420e7df76c76e7ed1f17d265391200476d
--> 696370ee0c2
[1/3] STEP 3/12: ENV RTORRENT_REVISION r16
--> Using cache 293877ba280b2f6c0bd16f3beb515855b5a06f8e49c9c9b27d8d1c238e8f8d01
--> 293877ba280
[1/3] STEP 4/12: WORKDIR /root/rtorrent
--> Using cache b86afc7fef70d1a5f27d77f855dd4a4cbf5cc52cf5c73ffdab13791ee36afaad
--> b86afc7fef7
[1/3] STEP 5/12: RUN echo https://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories
--> Using cache 2827beda90d834d252560e1ca3ebfb940de939db52e38ca18b2a35a7ff9a8950
--> 2827beda90d
[1/3] STEP 6/12: RUN apk --no-cache add     bash     bazel     build-base     coreutils     gcompat     git     linux-headers     python2     python3
--> Using cache 55042d8707e5711d0e2c5cf5cf88a5148f1f8df0653bbe5050cadf32bc11bc2f
--> 55042d8707e
[1/3] STEP 7/12: RUN git clone -b v${RTORRENT_VERSION}-${RTORRENT_REVISION} --depth 1 https://github.com/jesec/rtorrent .
--> Using cache e467bfb80f4997dc3bc641ee18c8282321e73da7ce91f73f95cab936238a68ca
--> e467bfb80f4
[1/3] STEP 8/12: RUN if [[ `uname -m` == "aarch64" ]];     then sed -i 's/architecture = \"all\"/architecture = \"arm64\"/' BUILD.bazel;     elif [[ `uname -m` == "x86_64" ]];     then sed -i 's/architecture = \"all\"/architecture = \"amd64\"/' BUILD.bazel;     fi
--> Using cache e14696d64512d21376285622aaaf0e77132c8b942d42b4d9c78ee0f7a7bdaacc
--> e14696d6451
[1/3] STEP 9/12: RUN bazel build rtorrent-deb --features=fully_static_link --verbose_failures
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
Loading:
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Analyzing: target //:rtorrent-deb (1 packages loaded, 0 targets configured)
Analyzing: target //:rtorrent-deb (4 packages loaded, 5 targets configured)
Analyzing: target //:rtorrent-deb (25 packages loaded, 305 targets configured)
Analyzing: target //:rtorrent-deb (26 packages loaded, 305 targets configured)
Analyzing: target //:rtorrent-deb (32 packages loaded, 1307 targets configured)
Analyzing: target //:rtorrent-deb (35 packages loaded, 1310 targets configured)
Analyzing: target //:rtorrent-deb (35 packages loaded, 1310 targets configured)
Analyzing: target //:rtorrent-deb (35 packages loaded, 1310 targets configured)
INFO: Analyzed target //:rtorrent-deb (37 packages loaded, 9083 targets configured).
INFO: Found 1 target...
[0 / 61] [Prepa] Writing file rtorrent-bin.args
ERROR: /root/.cache/bazel/_bazel_root/709c8ab7bdae4c8e8497f1dffe93d5a8/external/ncurses/BUILD.bazel:300:8: Executing genrule @ncurses//:include/curses failed: (Exit 1): bash failed: error executing command
  (cd /root/.cache/bazel/_bazel_root/709c8ab7bdae4c8e8497f1dffe93d5a8/sandbox/linux-sandbox/7/execroot/rtorrent && \
  exec env - \
    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
  /bin/bash bazel-out/k8-opt/bin/external/ncurses/include/curses.genrule_script.sh)
Execution platform: @local_config_platform//:host

Use --sandbox_debug to see verbose messages from the sandbox
cat: -: No such file or directory
Target //:rtorrent-deb failed to build
INFO: Elapsed time: 35.728s, Critical Path: 0.13s
INFO: 74 processes: 64 internal, 10 linux-sandbox.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
[2/3] STEP 1/8: FROM alpine:edge AS build-sysroot
Error: error building at STEP "RUN bazel build rtorrent-deb --features=fully_static_link --verbose_failures": error while running runtime: exit status 1

Please advise.

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

1 participant