Closed lambda7xx closed 1 year ago
@ksatzke @iakkus thank you very much
Hi, remove the TriggersFrontend from the makefile; this is Rust complaining about that, not riak.
You can try the attached Makefile. Makefile.zip
thanks. It seems still have some problem.
cd ../../riak && make lib/jiffy.tgz && cd -
make[1]: Entering directory '/root/knix/riak'
mkdir -p lib
echo "Building jiffy"
Building jiffy
Error response from daemon: No such image: riak_libs_build:0.9.0-21-gde7d426-dirty
Error response from daemon: Get "http://localhost:5000/v2/": dial tcp [::1]:5000: connect: connection refused
Error response from daemon: No such image: localhost:5000/riak_libs_build:0.9.0-21-gde7d426-dirty
Error response from daemon: No such image: riak_libs_build:0.9.0-21-gde7d426-dirty
Dockerfile is newer than the container
#1 [internal] load .dockerignore
#1 transferring context: 2B done
#1 DONE 0.0s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 1.92kB done
#2 DONE 0.0s
#3 [internal] load metadata for docker.io/library/ubuntu:18.04
#3 DONE 0.7s
#4 [1/5] FROM docker.io/library/ubuntu:18.04@sha256:8aa9c2798215f99544d1ce7439ea9c3a6dfd82de607da1cec3a8a2fae005931b
#4 DONE 0.0s
#5 [2/5] RUN apt-get update && apt-get install -y --no-install-recommends build-essential cmake make wget unzip libssl1.0.0 libssl1.0-dev libasl-dev libsasl2-dev pkg-config libsystemd-dev zlib1g-dev flex bison tar mtools git ca-certificates automake autoconf libncurses5-dev
#5 CACHED
#6 [3/5] RUN set -ex && mkdir -p /usr/local/bin && cd /usr/local/bin && wget --no-check-certificate https://raw.githubusercontent.com/kerl/kerl/master/kerl && chmod a+x kerl && mkdir /build && cd /build
#6 CACHED
#7 [4/5] RUN set -ex && cd /build && kerl build git https://github.com/basho/otp.git OTP_R16B02_basho10 R16B02-basho10 && kerl install R16B02-basho10 /build/erlang/R16B02-basho10 && . /build/erlang/R16B02-basho10/activate
#7 CACHED
#8 [5/5] RUN set -ex && . /build/erlang/R16B02-basho10/activate && cd /build && git clone https://github.com/davisp/jiffy.git && cd jiffy && ./rebar compile && cd .. && chmod -R 777 jiffy && tar --exclude .git -cvzf jiffy.tgz jiffy && chmod 777 jiffy.tgz
#8 0.322 + . /build/erlang/R16B02-basho10/activate
#8 0.322 + kerl_deactivate nondestructive
#8 0.322 + [ -n ]
#8 0.322 + [ -n ]
#8 0.322 + [ -n ]
#8 0.322 + [ -n ]
#8 0.322 + [ -n ]
#8 0.322 + [ -n ]
#8 0.322 + [ -n ]
#8 0.322 + [ -n ]
#8 0.322 + [ -n ]
#8 0.322 + [ -n ]
#8 0.322 + [ -n ]
#8 0.322 + [ ! nondestructive = nondestructive ]
#8 0.322 + unset KERL_ENABLE_PROMPT
#8 0.322 + unset KERL_PROMPT_FORMAT
#8 0.322 + _KERL_SAVED_REBAR_PLT_DIR=
#8 0.322 + export _KERL_SAVED_REBAR_PLT_DIR
#8 0.322 + _KERL_PATH_REMOVABLE=/build/erlang/R16B02-basho10/bin
#8 0.322 + PATH=/build/erlang/R16B02-basho10/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#8 0.322 + export PATH _KERL_PATH_REMOVABLE
#8 0.322 + _KERL_MANPATH_REMOVABLE=/build/erlang/R16B02-basho10/lib/erlang/man:/build/erlang/R16B02-basho10/man
#8 0.322 + MANPATH=/build/erlang/R16B02-basho10/lib/erlang/man:/build/erlang/R16B02-basho10/man:
#8 0.322 + export MANPATH _KERL_MANPATH_REMOVABLE
#8 0.322 + REBAR_PLT_DIR=/build/erlang/R16B02-basho10
#8 0.322 + export REBAR_PLT_DIR
#8 0.322 + _KERL_ACTIVE_DIR=/build/erlang/R16B02-basho10
#8 0.322 + export _KERL_ACTIVE_DIR
#8 0.322 + find /build/erlang/R16B02-basho10 -type d -path *erl_interface*/bin
#8 0.330 + _KERL_ERL_CALL_REMOVABLE=/build/erlang/R16B02-basho10/lib/erl_interface-3.7.14/bin
#8 0.330 + PATH=/build/erlang/R16B02-basho10/lib/erl_interface-3.7.14/bin:/build/erlang/R16B02-basho10/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#8 0.330 + export PATH _KERL_ERL_CALL_REMOVABLE
#8 0.330 + export _KERL_SAVED_ERL_AFLAGS=
#8 0.330 + echo
#8 0.330 + grep kernel shell_history
#8 0.331 + true
#8 0.331 + kernel_history=
#8 0.331 + [ -z ]
#8 0.331 + export ERL_AFLAGS=-kernel shell_history enabled
#8 0.331 + [ -f /root/.kerlrc ]
#8 0.331 + [ -n ]
#8 0.331 + [ -d /build/erlang/R16B02-basho10/lib/docsh ]
#8 0.331 + [ -n ]
#8 0.331 + [ -n ]
#8 0.331 + cd /build
#8 0.331 + git clone https://github.com/davisp/jiffy.git
#8 0.331 Cloning into 'jiffy'...
#8 2.213 + cd jiffy
#8 2.213 + ./rebar compile
#8 2.213 /bin/sh: 1: ./rebar: not found
#8 ERROR: process "/bin/sh -c set -ex && . /build/erlang/R16B02-basho10/activate && cd /build && git clone https://github.com/davisp/jiffy.git && cd jiffy && ./rebar compile && cd .. && chmod -R 777 jiffy && tar --exclude .git -cvzf jiffy.tgz jiffy && chmod 777 jiffy.tgz" did not complete successfully: exit code: 127
------
> [5/5] RUN set -ex && . /build/erlang/R16B02-basho10/activate && cd /build && git clone https://github.com/davisp/jiffy.git && cd jiffy && ./rebar compile && cd .. && chmod -R 777 jiffy && tar --exclude .git -cvzf jiffy.tgz jiffy && chmod 777 jiffy.tgz:
#8 0.331 + [ -n ]
#8 0.331 + [ -d /build/erlang/R16B02-basho10/lib/docsh ]
#8 0.331 + [ -n ]
#8 0.331 + [ -n ]
#8 0.331 + cd /build
#8 0.331 + git clone https://github.com/davisp/jiffy.git
#8 0.331 Cloning into 'jiffy'...
#8 2.213 + cd jiffy
#8 2.213 + ./rebar compile
#8 2.213 /bin/sh: 1: ./rebar: not found
------
Dockerfile:57
--------------------
56 |
57 | >>> RUN set -ex && \
58 | >>> . /build/erlang/R16B02-basho10/activate && \
59 | >>> cd /build && \
60 | >>> git clone https://github.com/davisp/jiffy.git && \
61 | >>> cd jiffy && \
62 | >>> ./rebar compile && \
63 | >>> cd .. && \
64 | >>> chmod -R 777 jiffy && \
65 | >>> tar --exclude .git -cvzf jiffy.tgz jiffy && \
66 | >>> chmod 777 jiffy.tgz
67 |
--------------------
ERROR: failed to solve: process "/bin/sh -c set -ex && . /build/erlang/R16B02-basho10/activate && cd /build && git clone https://github.com/davisp/jiffy.git && cd jiffy && ./rebar compile && cd .. && chmod -R 777 jiffy && tar --exclude .git -cvzf jiffy.tgz jiffy && chmod 777 jiffy.tgz" did not complete successfully: exit code: 127
6346 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
github.com/docker/docker/vendor/github.com/moby/buildkit/executor/runcexecutor.exitError
/go/src/github.com/docker/docker/vendor/github.com/moby/buildkit/executor/runcexecutor/executor.go:360
github.com/docker/docker/vendor/github.com/moby/buildkit/executor/runcexecutor.(*runcExecutor).Run
/go/src/github.com/docker/docker/vendor/github.com/moby/buildkit/executor/runcexecutor/executor.go:334
github.com/docker/docker/vendor/github.com/moby/buildkit/solver/llbsolver/ops.(*execOp).Exec
/go/src/github.com/docker/docker/vendor/github.com/moby/buildkit/solver/llbsolver/ops/exec.go:365
github.com/docker/docker/vendor/github.com/moby/buildkit/solver.(*sharedOp).Exec.func2
/go/src/github.com/docker/docker/vendor/github.com/moby/buildkit/solver/jobs.go:838
github.com/docker/docker/vendor/github.com/moby/buildkit/util/flightcontrol.(*call).run
/go/src/github.com/docker/docker/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go:121
sync.(*Once).doSlow
/usr/local/go/src/sync/once.go:74
sync.(*Once).Do
/usr/local/go/src/sync/once.go:65
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1594
6346 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
github.com/docker/docker/vendor/github.com/moby/buildkit/solver/llbsolver/ops.(*execOp).Exec
/go/src/github.com/docker/docker/vendor/github.com/moby/buildkit/solver/llbsolver/ops/exec.go:385
github.com/docker/docker/vendor/github.com/moby/buildkit/solver.(*sharedOp).Exec.func2
/go/src/github.com/docker/docker/vendor/github.com/moby/buildkit/solver/jobs.go:838
github.com/docker/docker/vendor/github.com/moby/buildkit/util/flightcontrol.(*call).run
/go/src/github.com/docker/docker/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go:121
sync.(*Once).doSlow
/usr/local/go/src/sync/once.go:74
sync.(*Once).Do
/usr/local/go/src/sync/once.go:65
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1594
6346 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
github.com/docker/docker/vendor/github.com/moby/buildkit/solver.(*edge).execOp
/go/src/github.com/docker/docker/vendor/github.com/moby/buildkit/solver/edge.go:904
github.com/docker/docker/vendor/github.com/moby/buildkit/solver/internal/pipe.NewWithFunction.func2
/go/src/github.com/docker/docker/vendor/github.com/moby/buildkit/solver/internal/pipe/pipe.go:82
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1594
22426 v0.10.2 /usr/libexec/docker/cli-plugins/docker-buildx -D -l debug buildx build --build-arg http_proxy= --build-arg https_proxy= --build-arg VERSION=0.9.0-21-gde7d426-dirty -f Dockerfile -t riak_libs_build:0.9.0-21-gde7d426-dirty .
github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryClient.func1.1.1
github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:72
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc.UnaryClientInterceptor.func1
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@v0.29.0/interceptor.go:99
github.com/moby/buildkit/client.filterInterceptor.func1
github.com/moby/buildkit@v0.11.2/client/client.go:294
github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryClient.func1.1.1
github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:72
github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryClient.func1
github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:81
google.golang.org/grpc.(*ClientConn).Invoke
google.golang.org/grpc@v1.50.1/call.go:35
github.com/moby/buildkit/api/services/control.(*controlClient).Solve
github.com/moby/buildkit@v0.11.2/api/services/control/control.pb.go:2208
github.com/moby/buildkit/client.(*Client).solve.func2
github.com/moby/buildkit@v0.11.2/client/solve.go:258
golang.org/x/sync/errgroup.(*Group).Go.func1
golang.org/x/sync@v0.1.0/errgroup/errgroup.go:75
runtime.goexit
runtime/asm_amd64.s:1594
22426 v0.10.2 /usr/libexec/docker/cli-plugins/docker-buildx -D -l debug buildx build --build-arg http_proxy= --build-arg https_proxy= --build-arg VERSION=0.9.0-21-gde7d426-dirty -f Dockerfile -t riak_libs_build:0.9.0-21-gde7d426-dirty .
github.com/moby/buildkit/client.(*Client).solve.func2
github.com/moby/buildkit@v0.11.2/client/solve.go:273
golang.org/x/sync/errgroup.(*Group).Go.func1
golang.org/x/sync@v0.1.0/errgroup/errgroup.go:75
runtime.goexit
runtime/asm_amd64.s:1594
Makefile:24: recipe for target 'lib/jiffy.tgz' failed
make[1]: *** [lib/jiffy.tgz] Error 1
make[1]: Leaving directory '/root/knix/riak'
Makefile:49: recipe for target '../../riak/knix_riak_deployment_package.tar.gz' failed
make: *** [../../riak/knix_riak_deployment_package.tar.gz] Error 2
Hi, remove the TriggersFrontend from the makefile; this is Rust complaining about that, not riak.
You can try the attached Makefile. Makefile.zip
and it seems the rebat not found and so the riak failes.
cd ../../riak && make lib/jiffy.tgz && cd -
make[1]: Entering directory '/root/knix/riak'
mkdir -p lib
echo "Building jiffy"
Building jiffy
Error response from daemon: No such image: riak_libs_build:0.9.0-21-gde7d426-dirty
Error response from daemon: Get "http://localhost:5000/v2/": dial tcp 127.0.0.1:5000: connect: connection refused
Error response from daemon: No such image: localhost:5000/riak_libs_build:0.9.0-21-gde7d426-dirty
Error response from daemon: No such image: riak_libs_build:0.9.0-21-gde7d426-dirty
Dockerfile is newer than the container
#1 [internal] load .dockerignore
#1 transferring context: 2B done
#1 DONE 0.0s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 3.93kB done
#2 DONE 0.0s
#3 [internal] load metadata for docker.io/library/ubuntu:18.04
#3 DONE 0.7s
#4 [1/5] FROM docker.io/library/ubuntu:18.04@sha256:8aa9c2798215f99544d1ce7439ea9c3a6dfd82de607da1cec3a8a2fae005931b
#4 DONE 0.0s
#5 [2/5] RUN apt-get update && apt-get install -y --no-install-recommends build-essential cmake make wget unzip libssl1.0.0 libssl1.0-dev libasl-dev libsasl2-dev pkg-config libsystemd-dev zlib1g-dev flex bison tar mtools git ca-certificates automake autoconf libncurses5-dev
#5 CACHED
#6 [3/5] RUN set -ex && mkdir -p /usr/local/bin && cd /usr/local/bin && wget --no-check-certificate https://raw.githubusercontent.com/kerl/kerl/master/kerl && chmod a+x kerl && mkdir /build && cd /build
#6 CACHED
#7 [4/5] RUN set -ex && cd /build && kerl build git https://github.com/basho/otp.git OTP_R16B02_basho10 R16B02-basho10 && kerl install R16B02-basho10 /build/erlang/R16B02-basho10 && . /build/erlang/R16B02-basho10/activate
#7 0.194 + cd /build
#7 0.194 + kerl build git https://github.com/basho/otp.git OTP_R16B02_basho10 R16B02-basho10
#7 39.83 APPLICATIONS DISABLED (See: /root/.kerl/builds/R16B02-basho10/otp_build_git.log)
#7 39.83 * jinterface : No Java compiler found
#7 39.83 * odbc : ODBC library - link check failed
#7 39.83
#7 39.83 APPLICATIONS INFORMATION (See: /root/.kerl/builds/R16B02-basho10/otp_build_git.log)
#7 39.83 * wx : wxWidgets not found, wx will NOT be usable
#7 39.83
#7 39.83 DOCUMENTATION INFORMATION (See: /root/.kerl/builds/R16B02-basho10/otp_build_git.log)
#7 39.83 * documentation :
#7 39.83 * xsltproc is missing.
#7 39.83 * fop is missing.
#7 39.83 * xmllint is missing.
#7 39.83 * The documentation can not be built.
#7 39.83
#7 534.0 + kerl install R16B02-basho10 /build/erlang/R16B02-basho10
#7 542.2 . /build/erlang/R16B02-basho10/activate
#7 542.2 + . /build/erlang/R16B02-basho10/activate
#7 542.2 + kerl_deactivate nondestructive
#7 542.2 + [ -n ]
#7 542.2 + [ -n ]
#7 542.2 + [ -n ]
#7 542.2 + [ -n ]
#7 542.2 + [ -n ]
#7 542.2 + [ -n ]
#7 542.2 + [ -n ]
#7 542.2 + [ -n ]
#7 542.2 + [ -n ]
#7 542.2 + [ -n ]
#7 542.2 + [ -n ]
#7 542.2 + [ ! nondestructive = nondestructive ]
#7 542.2 + unset KERL_ENABLE_PROMPT
#7 542.2 + unset KERL_PROMPT_FORMAT
#7 542.2 + _KERL_SAVED_REBAR_PLT_DIR=
#7 542.2 + export _KERL_SAVED_REBAR_PLT_DIR
#7 542.2 + _KERL_PATH_REMOVABLE=/build/erlang/R16B02-basho10/bin
#7 542.2 + PATH=/build/erlang/R16B02-basho10/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#7 542.2 + export PATH _KERL_PATH_REMOVABLE
#7 542.2 + _KERL_MANPATH_REMOVABLE=/build/erlang/R16B02-basho10/lib/erlang/man:/build/erlang/R16B02-basho10/man
#7 542.2 + MANPATH=/build/erlang/R16B02-basho10/lib/erlang/man:/build/erlang/R16B02-basho10/man:
#7 542.2 + export MANPATH _KERL_MANPATH_REMOVABLE
#7 542.2 + REBAR_PLT_DIR=/build/erlang/R16B02-basho10
#7 542.2 + export REBAR_PLT_DIR
#7 542.2 + _KERL_ACTIVE_DIR=/build/erlang/R16B02-basho10
#7 542.2 + export _KERL_ACTIVE_DIR
#7 542.2 + find /build/erlang/R16B02-basho10 -type d -path *erl_interface*/bin
#7 542.3 + _KERL_ERL_CALL_REMOVABLE=/build/erlang/R16B02-basho10/lib/erl_interface-3.7.14/bin
#7 542.3 + PATH=/build/erlang/R16B02-basho10/lib/erl_interface-3.7.14/bin:/build/erlang/R16B02-basho10/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#7 542.3 + export PATH _KERL_ERL_CALL_REMOVABLE
#7 542.3 + export _KERL_SAVED_ERL_AFLAGS=
#7 542.3 + echo
#7 542.3 + grep kernel shell_history
#7 542.3 + true
#7 542.3 + kernel_history=
#7 542.3 + [ -z ]
#7 542.3 + export ERL_AFLAGS=-kernel shell_history enabled
#7 542.3 + [ -f /root/.kerlrc ]
#7 542.3 + [ -n ]
#7 542.3 + [ -d /build/erlang/R16B02-basho10/lib/docsh ]
#7 542.3 + [ -n ]
#7 542.3 + [ -n ]
#7 DONE 542.7s
#8 [5/5] RUN set -ex && . /build/erlang/R16B02-basho10/activate && cd /build && git clone https://github.com/davisp/jiffy.git && cd jiffy && ./rebar compile && cd .. && chmod -R 777 jiffy && tar --exclude .git -cvzf jiffy.tgz jiffy && chmod 777 jiffy.tgz
#8 0.305 + . /build/erlang/R16B02-basho10/activate
#8 0.305 + kerl_deactivate nondestructive
#8 0.305 + [ -n ]
#8 0.305 + [ -n ]
#8 0.305 + [ -n ]
#8 0.305 + [ -n ]
#8 0.305 + [ -n ]
#8 0.305 + [ -n ]
#8 0.305 + [ -n ]
#8 0.305 + [ -n ]
#8 0.305 + [ -n ]
#8 0.305 + [ -n ]
#8 0.305 + [ -n ]
#8 0.305 + [ ! nondestructive = nondestructive ]
#8 0.305 + unset KERL_ENABLE_PROMPT
#8 0.305 + unset KERL_PROMPT_FORMAT
#8 0.305 + _KERL_SAVED_REBAR_PLT_DIR=
#8 0.305 + export _KERL_SAVED_REBAR_PLT_DIR
#8 0.305 + _KERL_PATH_REMOVABLE=/build/erlang/R16B02-basho10/bin
#8 0.305 + PATH=/build/erlang/R16B02-basho10/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#8 0.305 + export PATH _KERL_PATH_REMOVABLE
#8 0.305 + _KERL_MANPATH_REMOVABLE=/build/erlang/R16B02-basho10/lib/erlang/man:/build/erlang/R16B02-basho10/man
#8 0.305 + MANPATH=/build/erlang/R16B02-basho10/lib/erlang/man:/build/erlang/R16B02-basho10/man:
#8 0.305 + export MANPATH _KERL_MANPATH_REMOVABLE
#8 0.305 + REBAR_PLT_DIR=/build/erlang/R16B02-basho10
#8 0.305 + export REBAR_PLT_DIR
#8 0.305 + _KERL_ACTIVE_DIR=/build/erlang/R16B02-basho10
#8 0.305 + export _KERL_ACTIVE_DIR
#8 0.305 + find /build/erlang/R16B02-basho10 -type d -path *erl_interface*/bin
#8 0.313 + _KERL_ERL_CALL_REMOVABLE=/build/erlang/R16B02-basho10/lib/erl_interface-3.7.14/bin
#8 0.313 + PATH=/build/erlang/R16B02-basho10/lib/erl_interface-3.7.14/bin:/build/erlang/R16B02-basho10/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#8 0.313 + export PATH _KERL_ERL_CALL_REMOVABLE
#8 0.313 + export _KERL_SAVED_ERL_AFLAGS=
#8 0.313 + echo
#8 0.313 + grep kernel shell_history
#8 0.314 + true
#8 0.314 + kernel_history=
#8 0.314 + [ -z ]
#8 0.314 + export ERL_AFLAGS=-kernel shell_history enabled
#8 0.314 + [ -f /root/.kerlrc ]
#8 0.314 + [ -n ]
#8 0.314 + [ -d /build/erlang/R16B02-basho10/lib/docsh ]
#8 0.314 + [ -n ]
#8 0.314 + [ -n ]
#8 0.314 + cd /build
#8 0.314 + git clone https://github.com/davisp/jiffy.git
#8 0.315 Cloning into 'jiffy'...
#8 2.011 + cd jiffy
#8 2.011 + ./rebar compile
#8 2.011 /bin/sh: 1: ./rebar: not found
#8 ERROR: process "/bin/sh -c set -ex && . /build/erlang/R16B02-basho10/activate && cd /build && git clone https://github.com/davisp/jiffy.git && cd jiffy && ./rebar compile && cd .. && chmod -R 777 jiffy && tar --exclude .git -cvzf jiffy.tgz jiffy && chmod 777 jiffy.tgz" did not complete successfully: exit code: 127
------
> [5/5] RUN set -ex && . /build/erlang/R16B02-basho10/activate && cd /build && git clone https://github.com/davisp/jiffy.git && cd jiffy && ./rebar compile && cd .. && chmod -R 777 jiffy && tar --exclude .git -cvzf jiffy.tgz jiffy && chmod 777 jiffy.tgz:
#8 0.314 + [ -n ]
#8 0.314 + [ -d /build/erlang/R16B02-basho10/lib/docsh ]
#8 0.314 + [ -n ]
#8 0.314 + [ -n ]
#8 0.314 + cd /build
#8 0.314 + git clone https://github.com/davisp/jiffy.git
#8 0.315 Cloning into 'jiffy'...
#8 2.011 + cd jiffy
#8 2.011 + ./rebar compile
#8 2.011 /bin/sh: 1: ./rebar: not found
------
Dockerfile:57
--------------------
56 |
57 | >>> RUN set -ex && \
58 | >>> . /build/erlang/R16B02-basho10/activate && \
59 | >>> cd /build && \
60 | >>> git clone https://github.com/davisp/jiffy.git && \
61 | >>> cd jiffy && \
62 | >>> ./rebar compile && \
63 | >>> cd .. && \
64 | >>> chmod -R 777 jiffy && \
65 | >>> tar --exclude .git -cvzf jiffy.tgz jiffy && \
66 | >>> chmod 777 jiffy.tgz
67 | # # Copyright 2020 The KNIX Authors
--------------------
ERROR: failed to solve: process "/bin/sh -c set -ex && . /build/erlang/R16B02-basho10/activate && cd /build && git clone https://github.com/davisp/jiffy.git && cd jiffy && ./rebar compile && cd .. && chmod -R 777 jiffy && tar --exclude .git -cvzf jiffy.tgz jiffy && chmod 777 jiffy.tgz" did not complete successfully: exit code: 127
73267 /usr/bin/dockerd -H unix:// -H tcp://0.0.0.0:2375
github.com/docker/docker/vendor/github.com/moby/buildkit/executor/runcexecutor.exitError
/go/src/github.com/docker/docker/vendor/github.com/moby/buildkit/executor/runcexecutor/executor.go:360
github.com/docker/docker/vendor/github.com/moby/buildkit/executor/runcexecutor.(*runcExecutor).Run
/go/src/github.com/docker/docker/vendor/github.com/moby/buildkit/executor/runcexecutor/executor.go:334
github.com/docker/docker/vendor/github.com/moby/buildkit/solver/llbsolver/ops.(*execOp).Exec
/go/src/github.com/docker/docker/vendor/github.com/moby/buildkit/solver/llbsolver/ops/exec.go:365
github.com/docker/docker/vendor/github.com/moby/buildkit/solver.(*sharedOp).Exec.func2
/go/src/github.com/docker/docker/vendor/github.com/moby/buildkit/solver/jobs.go:838
github.com/docker/docker/vendor/github.com/moby/buildkit/util/flightcontrol.(*call).run
/go/src/github.com/docker/docker/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go:121
sync.(*Once).doSlow
/usr/local/go/src/sync/once.go:74
sync.(*Once).Do
/usr/local/go/src/sync/once.go:65
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1594
73267 /usr/bin/dockerd -H unix:// -H tcp://0.0.0.0:2375
github.com/docker/docker/vendor/github.com/moby/buildkit/solver/llbsolver/ops.(*execOp).Exec
/go/src/github.com/docker/docker/vendor/github.com/moby/buildkit/solver/llbsolver/ops/exec.go:385
github.com/docker/docker/vendor/github.com/moby/buildkit/solver.(*sharedOp).Exec.func2
/go/src/github.com/docker/docker/vendor/github.com/moby/buildkit/solver/jobs.go:838
github.com/docker/docker/vendor/github.com/moby/buildkit/util/flightcontrol.(*call).run
/go/src/github.com/docker/docker/vendor/github.com/moby/buildkit/util/flightcontrol/flightcontrol.go:121
sync.(*Once).doSlow
/usr/local/go/src/sync/once.go:74
sync.(*Once).Do
/usr/local/go/src/sync/once.go:65
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1594
73267 /usr/bin/dockerd -H unix:// -H tcp://0.0.0.0:2375
github.com/docker/docker/vendor/github.com/moby/buildkit/solver.(*edge).execOp
/go/src/github.com/docker/docker/vendor/github.com/moby/buildkit/solver/edge.go:904
github.com/docker/docker/vendor/github.com/moby/buildkit/solver/internal/pipe.NewWithFunction.func2
/go/src/github.com/docker/docker/vendor/github.com/moby/buildkit/solver/internal/pipe/pipe.go:82
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1594
89887 v0.10.2 /usr/libexec/docker/cli-plugins/docker-buildx -D -l debug buildx build --build-arg http_proxy= --build-arg https_proxy= --build-arg VERSION=0.9.0-21-gde7d426-dirty -f Dockerfile -t riak_libs_build:0.9.0-21-gde7d426-dirty .
github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryClient.func1.1.1
github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:72
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc.UnaryClientInterceptor.func1
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@v0.29.0/interceptor.go:99
github.com/moby/buildkit/client.filterInterceptor.func1
github.com/moby/buildkit@v0.11.2/client/client.go:294
github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryClient.func1.1.1
github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:72
github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryClient.func1
github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:81
google.golang.org/grpc.(*ClientConn).Invoke
google.golang.org/grpc@v1.50.1/call.go:35
github.com/moby/buildkit/api/services/control.(*controlClient).Solve
github.com/moby/buildkit@v0.11.2/api/services/control/control.pb.go:2208
github.com/moby/buildkit/client.(*Client).solve.func2
github.com/moby/buildkit@v0.11.2/client/solve.go:258
golang.org/x/sync/errgroup.(*Group).Go.func1
golang.org/x/sync@v0.1.0/errgroup/errgroup.go:75
runtime.goexit
runtime/asm_amd64.s:1594
89887 v0.10.2 /usr/libexec/docker/cli-plugins/docker-buildx -D -l debug buildx build --build-arg http_proxy= --build-arg https_proxy= --build-arg VERSION=0.9.0-21-gde7d426-dirty -f Dockerfile -t riak_libs_build:0.9.0-21-gde7d426-dirty .
github.com/moby/buildkit/client.(*Client).solve.func2
github.com/moby/buildkit@v0.11.2/client/solve.go:273
golang.org/x/sync/errgroup.(*Group).Go.func1
golang.org/x/sync@v0.1.0/errgroup/errgroup.go:75
runtime.goexit
runtime/asm_amd64.s:1594
make[1]: *** [Makefile:26: lib/jiffy.tgz] Error 1
make[1]: Leaving directory '/root/knix/riak'
make: *** [Makefile:56: ../../riak/knix_riak_deployment_package.tar.gz] Error 2
I install the rebar and the error is like this
#8 0.360 Cloning into 'jiffy'...
#8 2.007 + cd jiffy
#8 2.007 + rebar compile
#8 2.328 ERROR: Failed to load /build/jiffy/rebar.config: {error,
#8 2.328 {66,file,
#8 2.328 {error,undef,
#8 2.328 [{string,split,
#8 2.328 ["2.6.4","."],
#8 2.328 []},
#8 2.328 {erl_eval,do_apply,6,
#8 2.328 [{file,"erl_eval.erl"},
#8 2.328 {line,569}]},
#8 2.328 {erl_eval,expr,5,
#8 2.328 [{file,"erl_eval.erl"},
#8 2.328 {line,243}]},
#8 2.328 {erl_eval,expr,5,
#8 2.328 [{file,"erl_eval.erl"},
#8 2.328 {line,364}]},
#8 2.328 {erl_eval,exprs,5,
#8 2.328 [{file,"erl_eval.erl"},
#8 2.328 {line,118}]},
#8 2.328 {file,eval_stream2,6,
#8 2.328 [{file,"file.erl"},
#8 2.328 {line,1368}]},
#8 2.328 {file,script,2,
#8 2.328 [{file,"file.erl"},
#8 2.328 {line,1067}]},
#8 2.328 {rebar_config,new,2,
#8 2.328 [{file,
#8 2.328 "src/rebar_config.erl"},
#8 2.328 {line,238}]}]}}}
#8 ERROR: process "/bin/sh -c set -ex && . /build/erlang/R16B02-basho10/activate && cd /build && git clone https://github.com/davisp/jiffy.git && cd jiffy && rebar compile && cd .. && chmod -R 777 jiffy && tar --exclude .git -cvzf jiffy.tgz jiffy && chmod 777 jiffy.tgz" did not complete successfully: exit code: 1
------
> [5/5] RUN set -ex && . /build/erlang/R16B02-basho10/activate && cd /build && git clone https://github.com/davisp/jiffy.git && cd jiffy && rebar compile && cd .. && chmod -R 777 jiffy && tar --exclude .git -cvzf jiffy.tgz jiffy && chmod 777 jiffy.tgz:
#8 2.328 {file,eval_stream2,6,
#8 2.328 [{file,"file.erl"},
#8 2.328 {line,1368}]},
#8 2.328 {file,script,2,
#8 2.328 [{file,"file.erl"},
#8 2.328 {line,1067}]},
#8 2.328 {rebar_config,new,2,
#8 2.328 [{file,
#8 2.328 "src/rebar_config.erl"},
#8 2.328 {line,238}]}]}}}
------
Dockerfile:58
--------------------
57 |
58 | >>> RUN set -ex && \
59 | >>> . /build/erlang/R16B02-basho10/activate && \
60 | >>> cd /build && \
61 | >>> git clone https://github.com/davisp/jiffy.git && \
62 | >>> cd jiffy && \
63 | >>> rebar compile && \
64 | >>> cd .. && \
65 | >>> chmod -R 777 jiffy && \
66 | >>> tar --exclude .git -cvzf jiffy.tgz jiffy && \
67 | >>> chmod 777 jiffy.tgz
68 | # # Copyright 2020 The KNIX Authors
--------------------
ERROR: failed to solve: process "/bin/sh -c set -ex && . /build/erlang/R16B02-basho10/activate && cd /build && git clone https://github.com/davisp/jiffy.git && cd jiffy && rebar compile && cd .. && chmod -R 777 jiffy && tar --exclude .git -cvzf jiffy.tgz jiffy && chmod 777 jiffy.tgz" did not complete successfully: exit code: 1
73267 /usr/bin/dockerd -H unix:// -H tcp://0.0.0.0:2375
error: aborting due to previous error
For more information about this error, try
rustc --explain E0277
. error: could not compileactix-web
.To learn more, run the command again with --verbose. Makefile:26: recipe for target 'target/release/TriggersFrontend' failed make[1]: *** [target/release/TriggersFrontend] Error 101 make[1]: Leaving directory '/root/knix/TriggersFrontend' /root/knix/deploy/ansible ansible-playbook -e "@settings.json" init_once.yaml 2>&1 >init_once.log.tmp