Trilokkumar1 commented on issue #282:
URL: https://github.com/apache/couchdb-docker/issues/282#issuecomment-3201249234
build is failing
```
`===> Building escript for rebar...
cp: cannot stat '/usr/src/couchdb-src/src/rebar3/_build/prod/bin/rebar3': No
such file or directory
===> Hook for escriptize failed!
escript: exception throw: rebar_abort
in function rebar_utils:abort/0
(/usr/src/couchdb-src/src/rebar3/apps/rebar/src/rebar_utils.erl, line 729)
in call from rebar_utils:sh/2
(/usr/src/couchdb-src/src/rebar3/apps/rebar/src/rebar_utils.erl, line 203)
in call from lists:foreach_1/2 (lists.erl, line 2310)
in call from rebar_hooks:run_all_hooks/6
(/usr/src/couchdb-src/src/rebar3/apps/rebar/src/rebar_hooks.erl, line 19)
in call from rebar_prv_escriptize:do/1
(/usr/src/couchdb-src/src/rebar3/apps/rebar/src/rebar_prv_escriptize.erl, line
101)
in call from rebar_core:do/2
(/usr/src/couchdb-src/src/rebar3/apps/rebar/src/rebar_core.erl, line 155)
in call from rebar_prv_do:do_task/5
(/usr/src/couchdb-src/src/rebar3/apps/rebar/src/rebar_prv_do.erl, line 75)
in call from rebar_core:do/2
(/usr/src/couchdb-src/src/rebar3/apps/rebar/src/rebar_core.erl, line 155)
The command '/bin/sh -c ./configure --spidermonkey-version=128
CPPFLAGS="-I/usr/include/x86_64-linux-gnu/mozjs-128 -I/usr/include/mozjs-128"
LDFLAGS="-L/usr/lib/x86_64-linux-gnu" && make release && cp -a
rel/couchdb /opt/ && rm -rf /usr/src/couchdb-src' returned a non-zero code:
127
`
```
I have tried to install rebar manually as well
```
`# Download official prebuilt rebar3 escript and make it executable
RUN wget -O /usr/local/bin/rebar3
https://github.com/erlang/rebar3/releases/download/${REBAR3_VERSION}/rebar3 && \
chmod +x /usr/local/bin/rebar3`
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]