docker-rtorrent-rutorrent icon indicating copy to clipboard operation
docker-rtorrent-rutorrent copied to clipboard

Fails to build following directions

Open ysarkain opened this issue 1 year ago • 2 comments

Support guidelines

I've found a bug and checked that ...

  • [x] ... the documentation does not mention anything about my problem
  • [x] ... there are no open or closed issues that are related to my problem

Description

Looks like it is having trouble fetching rutorrent:

[src-rtorrent 1/2] RUN git init . && git remote add origin "https://github.com/stickz/rtorrent.git" 24.3s => [src-dump-torrent 2/4] RUN git fetch origin "302ac444a20442edb4aeabef65b264a85ab88ce9" && git checkout -q FETCH_HEAD 21.1s => ERROR [src-geoip2-rutorrent 2/3] RUN git fetch origin "4ff2bde530bb8eef13af84e4413cedea97eda148" && git checkout -q FETCH_HEAD 140.6s => [src-rutorrent 2/3] RUN git fetch origin "25679a45a1e2ca9f7a9e01cab5cc554b8eaa7230" && git checkout -q FETCH_HEAD 135.8s => [src-mktorrent 2/2] RUN git fetch origin "v1.1" && git checkout -q FETCH_HEAD 20.2s => [src-geoip2-phpext 2/2] RUN git fetch origin "1.3.1" && git checkout -q FETCH_HEAD 13.6s => CANCELED [src-rtorrent 2/2] RUN git fetch origin "2f99fa971d65aabc14a367ef077be58cd859bc79" && git checkout -q FETCH_HEAD 127.4s => [src-dump-torrent 3/4] RUN sed -i '1i #include <sys/time.h>' scrapec.c 8.9s => [src-dump-torrent 4/4] RUN rm -rf .git* 4.4s => [src-rutorrent 3/3] RUN rm -rf .git* conf/users plugins/geoip share 2.5s


[src-geoip2-rutorrent 2/3] RUN git fetch origin "4ff2bde530bb8eef13af84e4413cedea97eda148" && git checkout -q FETCH_HEAD: 139.5 error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8) 139.5 error: 259 bytes of body are still expected 139.5 fetch-pack: unexpected disconnect while reading sideband packet 139.5 fatal: early EOF 139.5 fatal: fetch-pack: invalid index-pack output


1 warning found (use docker --debug to expand):

  • UndefinedVar: Usage of undefined variable '$PYTHONPATH' (line 181) Dockerfile:60

58 | RUN git init . && git remote add origin "https://github.com/Micdu70/geoip2-rutorrent.git" 59 | ARG GEOIP2_RUTORRENT_VERSION 60 | >>> RUN git fetch origin "${GEOIP2_RUTORRENT_VERSION}" && git checkout -q FETCH_HEAD 61 | RUN rm -rf .git* 62 |

ERROR: failed to solve: process "/bin/sh -c git fetch origin "${GEOIP2_RUTORRENT_VERSION}" && git checkout -q FETCH_HEAD" did not complete successfully: exit code: 128

Expected behaviour

Builds container and starts it up

Actual behaviour

Fails to build

Steps to reproduce

  1. git clone repo
  2. docker buildx bake

Docker info

Client: Docker Engine - Community
 Version:    28.0.1
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.21.1
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.33.1
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 0
 Server Version: 28.0.1
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 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: bcc810d6b9066471b0b6fa75f557a15a1cbf31bb
 runc version: v1.2.4-0-g6c52b3f
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.8.0-55-generic
 Operating System: Linux Mint 22.1
 OSType: linux
 Architecture: x86_64
 CPUs: 12
 Total Memory: 23.46GiB
 Name: mamebox
 ID: 69429fef-a46e-4b1a-854e-66453d26df3d
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  ::1/128
  127.0.0.0/8
 Live Restore Enabled: false

Docker Compose config

no configuration file provided: not found

Logs

N/A

Additional info

No response

ysarkain avatar Mar 05 '25 23:03 ysarkain

Ran the command again and got a slightly different error:

[src-geoip2-rutorrent 2/3] RUN git fetch origin "4ff2bde530bb8eef13af84e4413cedea97eda148" && git checkout -q FETCH_HEAD: 136.2 error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8) 136.2 error: 8741 bytes of body are still expected 136.2 fetch-pack: unexpected disconnect while reading sideband packet 136.2 fatal: early EOF 136.2 fatal: fetch-pack: invalid index-pack output



[src-rtorrent 2/2] RUN git fetch origin "2f99fa971d65aabc14a367ef077be58cd859bc79" && git checkout -q FETCH_HEAD: 133.9 error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8) 133.9 error: 9254 bytes of body are still expected 133.9 fetch-pack: unexpected disconnect while reading sideband packet 133.9 fatal: early EOF 133.9 fatal: fetch-pack: invalid index-pack output


Dockerfile:39

37 | RUN git init . && git remote add origin "https://github.com/stickz/rtorrent.git" 38 | ARG RTORRENT_STICKZ_VERSION 39 | >>> RUN git fetch origin "${RTORRENT_STICKZ_VERSION}" && git checkout -q FETCH_HEAD 40 |
41 | FROM src AS src-mktorrent

ERROR: failed to solve: process "/bin/sh -c git fetch origin "${RTORRENT_STICKZ_VERSION}" && git checkout -q FETCH_HEAD" did not complete successfully: exit code: 128

ysarkain avatar Mar 05 '25 23:03 ysarkain

Previous issue was under Linux Mint, reinstalled OS to Xubuntu 24.04 and it built and installed fine.

ysarkain avatar Mar 09 '25 19:03 ysarkain