You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2022/11/04 03:19:35 UTC
[GitHub] [couchdb] pengyueqingthink opened a new issue, #4259: make check failed in arm64
pengyueqingthink opened a new issue, #4259:
URL: https://github.com/apache/couchdb/issues/4259
[NOTE]: # ( ^^ Provide a general summary of the issue in the title above. ^^ )
## Description
make check failed with output
```
module 'chttpd_view_test'
chttpd view tests
chttpd_view_test:75: should_succeed_on_view_with_queries_keys...*failed*
in function chttpd_view_test:'-should_succeed_on_view_with_queries_keys/1-fun-2-'/1 (test/eunit/chttpd_view_test.erl, line 77)
in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71)
in call from eunit_proc:run_test/1 (eunit_proc.erl, line 510)
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 335)
in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 493)
in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 435)
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 325)
in call from eunit_proc:run_group/2 (eunit_proc.erl, line 549)
**error:{badmatch,{error,req_timedout}}
output:<<"">>
chttpd_view_test:91: should_succeed_on_view_with_queries_limit_skip...*failed*
in function chttpd_view_test:'-should_succeed_on_view_with_queries_limit_skip/1-fun-4-'/1 (test/eunit/chttpd_view_test.erl, line 93)
in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71)
in call from eunit_proc:run_test/1 (eunit_proc.erl, line 510)
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 335)
in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 493)
in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 435)
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 325)
in call from eunit_proc:run_group/2 (eunit_proc.erl, line 549)
**error:{badmatch,{error,req_timedout}}
output:<<"">>
chttpd_view_test:108: should_succeed_on_view_with_multiple_queries...*failed*
in function chttpd_view_test:'-should_succeed_on_view_with_multiple_queries/1-fun-5-'/1 (test/eunit/chttpd_view_test.erl, line 110)
in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71)
in call from eunit_proc:run_test/1 (eunit_proc.erl, line 510)
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 335)
in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 493)
in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 435)
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 325)
in call from eunit_proc:run_group/2 (eunit_proc.erl, line 549)
**error:{badmatch,{error,req_timedout}}
output:<<"">>
```
## Steps to Reproduce
```
spack install --keep-stage couchdb@3.1.0;
spack load couchdb@3.1.0
spack cd couchdb@3.1.0
spack install mozjs@1.8.5
spack install icu4c@67.1
spack install py-pip
spack load mozjs@1.8.5 icu4c@67.1 py-pip
pip install black Elixir wheel
MOZJS_DIR=$(spack location -i mozjs@1.8.5)/include/js/
NODEJS_DIR=$(spack location -i icu4c@67.1)/include/
export CPATH=${MOZJS_DIR}:${NODEJS_DIR}
sed -i 's/exit(1 if sys.version_info >= (3,6) else 0)/exit(0 if sys.version_info >= (3,6) else 1)/g' Makefile ||true
make check -j128
```
## Expected Behaviour
all test ok
## Your Environment
* CouchDB version used:3.1.0
* Browser name and version:none
* Operating system and version:centos8
## Additional Context
make check output
[all-output.log](https://github.com/apache/couchdb/files/9934726/all-output.log)
--
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: notifications-unsubscribe@couchdb.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] nickva commented on issue #4259: make check failed in arm64
Posted by GitBox <gi...@apache.org>.
nickva commented on issue #4259:
URL: https://github.com/apache/couchdb/issues/4259#issuecomment-1396062541
@Tom-python0121 sorry for the delayed response. It looks like there is some exception throw. The eunit (the test framework used to run the tests) dumps extra logs in `src/$app/.eunit/couch.log`. In this case it looks like it might be `src/chttpd/.eunit/couch.log`. See if there are any errors or exception there? Since it involves view tests I suspect the spidermonkey (couch js runtime) might not linked or built properly.
To run just one test module could try:
```
$ make && make eunit apps=chttpd suites=chttpd_view_test
$ cat src/chttpd/.eunit/couch.log
```
req_timedout might also have sometime to do with network or socket setup not working properly and either the server unable to bind to a socket to listen or the test client from reaching the server.
--
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: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] Tom-python0121 commented on issue #4259: make check failed in arm64
Posted by GitBox <gi...@apache.org>.
Tom-python0121 commented on issue #4259:
URL: https://github.com/apache/couchdb/issues/4259#issuecomment-1366429282
@nickva I downloaded it from this URL, isn't it? Are there any other URLs?
```console
wget https://github.com/apache/couchdb/archive/refs/tags/3.3.0-RC2.tar.gz
```
--
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: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] Tom-python0121 commented on issue #4259: make check failed in arm64
Posted by GitBox <gi...@apache.org>.
Tom-python0121 commented on issue #4259:
URL: https://github.com/apache/couchdb/issues/4259#issuecomment-1366295371
@nickva I have a network agent, the error is as follows:
```console
[root@bigdata spack-src]# ./configure
==> configuring couchdb in rel/couchdb.config
===> Verifying dependencies...
=NOTICE REPORT==== 28-Dec-2022::09:04:08.134848 ===
TLS client: In state certify at ssl_handshake.erl:1766 generated CLIENT ALERT: Fatal - Unknown CA
===> Failed to update package getopt from repo hexpm
===> Package not found in any repo: getopt
```
--
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: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] Tom-python0121 commented on issue #4259: make check failed in arm64
Posted by GitBox <gi...@apache.org>.
Tom-python0121 commented on issue #4259:
URL: https://github.com/apache/couchdb/issues/4259#issuecomment-1366492107
@nickva It works, but there's a problem reported so far. Have you encountered it in make check? How can I solve it?
```console
[root@bigdata apache-couchdb-3.3.0]# make check
……
==> couch_prometheus (compile)
==> rel (compile)
==> apache-couchdb-3.3.0 (compile)
/bin/sh: mix: command not found
make[1]: *** [Makefile:247: elixir-init] Error 127
make[1]: Leaving directory '/home/stage/root/spack-stage-couchdb-3.3.0-RC2-pp6mytoamrlxeaykdrgpytuslzbxyo63/apache-couchdb-3.3.0'
make: *** [Makefile:155: check] Error 2
```
--
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: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] nickva commented on issue #4259: make check failed in arm64
Posted by GitBox <gi...@apache.org>.
nickva commented on issue #4259:
URL: https://github.com/apache/couchdb/issues/4259#issuecomment-1366432910
> I downloaded it from this URL, isn't it? Are there any other URLs?
>
> ```
> wget https://github.com/apache/couchdb/archive/refs/tags/3.3.0-RC2.tar.gz
> [root@bigdata spack-stage-couchdb-3.3.0-RC2-pp6mytoamrlxeaykdrgpytuslzbxyo63]# sha256sum 3.3.0-RC2.tar.gz
> 0b823f7027c2ec18677d8fe4cc02977893579491763897d5fcc2696983c15eb6 3.3.0-RC2.tar.gz
> ```
There is our answer. That's not the correct URL. That's the git tag but that's not our release candidate tar.gz file. That one is located at: https://dist.apache.org/repos/dist/dev/couchdb/source/3.3.0/rc.2
You can track the ML release vote thread as well: https://lists.apache.org/thread/rgrh1bctsosoxqfzf0xn7oc7x0b20x3k
After the vote passes it will be tagged as 3.3.0 and but the release would then be available via a link at https://couchdb.apache.org/
--
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: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] big-r81 commented on issue #4259: make check failed in arm64
Posted by GitBox <gi...@apache.org>.
big-r81 commented on issue #4259:
URL: https://github.com/apache/couchdb/issues/4259#issuecomment-1344366719
Does this happen with the latest version too?
--
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: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] Tom-python0121 commented on issue #4259: make check failed in arm64
Posted by "Tom-python0121 (via GitHub)" <gi...@apache.org>.
Tom-python0121 commented on issue #4259:
URL: https://github.com/apache/couchdb/issues/4259#issuecomment-1630345413
Thanks for your advice, I solved these problems by using 3.3.1 and replacing the test method.
```console
[root@localhost spack-src]#make -j16 mango-test
```
![image](https://github.com/apache/couchdb/assets/77763324/4c1668ce-dc1f-47aa-9667-6521d0dc2637)
The problem has been solved, I will close the problem
--
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: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] big-r81 commented on issue #4259: make check failed in arm64
Posted by GitBox <gi...@apache.org>.
big-r81 commented on issue #4259:
URL: https://github.com/apache/couchdb/issues/4259#issuecomment-1366590095
For `make check` to work, you need to install elixir (<1.14) too.
--
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: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] Tom-python0121 commented on issue #4259: make check failed in arm64
Posted by GitBox <gi...@apache.org>.
Tom-python0121 commented on issue #4259:
URL: https://github.com/apache/couchdb/issues/4259#issuecomment-1367019536
@big-r81 @nickva The problem has been solved, but an error is reported in the make check test case, as shown in the following figure.
```console
[root@bigdata apache-couchdb-3.3.0]# make check
……
module 'chttpd_view_test'
chttpd view tests
chttpd_view_test:82: should_succeed_on_view_with_queries_keys...*failed*
in function chttpd_view_test:'-should_succeed_on_view_with_queries_keys/1-fun-2-'/1 (test/eunit/chttpd_view_test.erl, line 84)
in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71)
in call from eunit_proc:run_test/1 (eunit_proc.erl, line 522)
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 347)
in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 505)
in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 447)
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 337)
in call from eunit_proc:run_group/2 (eunit_proc.erl, line 561)
**error:{badmatch,{error,req_timedout}}
output:<<"">>
chttpd_view_test:106: should_succeed_on_view_with_queries_limit_skip...*failed*
in function chttpd_view_test:'-should_succeed_on_view_with_queries_limit_skip/1-fun-4-'/1 (test/eunit/chttpd_view_test.erl, line 108)
in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71)
in call from eunit_proc:run_test/1 (eunit_proc.erl, line 522)
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 347)
in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 505)
in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 447)
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 337)
in call from eunit_proc:run_group/2 (eunit_proc.erl, line 561)
**error:{badmatch,{error,req_timedout}}
output:<<"">>
chttpd_view_test:130: should_succeed_on_view_with_multiple_queries...*failed*
in function chttpd_view_test:'-should_succeed_on_view_with_multiple_queries/1-fun-5-'/1 (test/eunit/chttpd_view_test.erl, line 132)
in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71)
in call from eunit_proc:run_test/1 (eunit_proc.erl, line 522)
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 347)
in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 505)
in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 447)
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 337)
in call from eunit_proc:run_group/2 (eunit_proc.erl, line 561)
**error:{badmatch,{error,req_timedout}}
output:<<"">>
[done in 93.355 s]
……
module 'chttpd_security_tests'
chttpd security tests
chttpd_security_tests:154: should_allow_admin_db_compaction...[0.003 s] ok
chttpd_security_tests:179: should_allow_valid_password_to_create_user...ok
chttpd_security_tests:193: should_disallow_invalid_password_to_create_user...ok
chttpd_security_tests:204: should_disallow_anonymous_db_compaction...ok
chttpd_security_tests:215: should_disallow_db_member_db_compaction...ok
undefined
*** context setup failed ***
**in function chttpd_security_tests:create_user/4 (test/eunit/chttpd_security_tests.erl, line 94)
in call from chttpd_security_tests:setup/0 (test/eunit/chttpd_security_tests.erl, line 49)
**error:{badmatch,{ok,500,
[{"Cache-Control","must-revalidate"},
{"Content-Length","51"},
{"Content-Type","application/json"},
{"Date","Thu, 29 Dec 2022 01:32:53 GMT"},
{"Server","CouchDB/3.3.0 (Erlang OTP/23)"},
{"X-Couch-Request-ID","6f293153b6"},
{"X-CouchDB-Body-Time","0"}],
<<"{\"error\":\"error\",\"reason\":\"internal_server_error\"}\n">>}}
……
module 'chttpd_csp_tests'
CSP Tests
undefined
*** context setup failed ***
**in function chttpd_csp_tests:req/5 (test/eunit/chttpd_csp_tests.erl, line 272)
in call from chttpd_csp_tests:create_doc/3 (test/eunit/chttpd_csp_tests.erl, line 258)
in call from chttpd_csp_tests:setup/0 (test/eunit/chttpd_csp_tests.erl, line 195)
**error:{badmatch,{error,req_timedout}}
undefined
*** context setup failed ***
**in function chttpd_csp_tests:req/5 (test/eunit/chttpd_csp_tests.erl, line 272)
in call from chttpd_csp_tests:create_doc/3 (test/eunit/chttpd_csp_tests.erl, line 258)
in call from chttpd_csp_tests:setup/0 (test/eunit/chttpd_csp_tests.erl, line 195)
**error:{badmatch,{error,req_timedout}}
undefined
*** context setup failed ***
**in function chttpd_csp_tests:req/5 (test/eunit/chttpd_csp_tests.erl, line 272)
in call from chttpd_csp_tests:create_doc/3 (test/eunit/chttpd_csp_tests.erl, line 258)
in call from chttpd_csp_tests:setup/0 (test/eunit/chttpd_csp_tests.erl, line 195)
**error:{badmatch,{error,req_timedout}}
undefined
*** context setup failed ***
**in function chttpd_csp_tests:req/5 (test/eunit/chttpd_csp_tests.erl, line 272)
in call from chttpd_csp_tests:create_doc/3 (test/eunit/chttpd_csp_tests.erl, line 258)
in call from chttpd_csp_tests:setup/0 (test/eunit/chttpd_csp_tests.erl, line 195)
**error:{badmatch,{error,req_timedout}}
undefined
*** context setup failed ***
**in function chttpd_csp_tests:req/5 (test/eunit/chttpd_csp_tests.erl, line 272)
in call from chttpd_csp_tests:create_doc/3 (test/eunit/chttpd_csp_tests.erl, line 258)
in call from chttpd_csp_tests:setup/0 (test/eunit/chttpd_csp_tests.erl, line 195)
**error:{badmatch,{error,req_timedout}}
```
--
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: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] nickva commented on issue #4259: make check failed in arm64
Posted by GitBox <gi...@apache.org>.
nickva commented on issue #4259:
URL: https://github.com/apache/couchdb/issues/4259#issuecomment-1366369747
@Tom-python0121 thanks for double checking.
When I run `./configure` from the tar.gz I get only:
```
$ ./configure
==> configuring couchdb in rel/couchdb.config
You have configured Apache CouchDB, time to relax. Relax.
```
But in your case it seems it's attempting to install rebar or rebar3. So it could be one of these sections that's failing: https://github.com/apache/couchdb/blob/f6ddbe24cace7a841508c451bc12820b9d76c218/configure#L307-L315
Wonder what your `${rootdir}` is in https://github.com/apache/couchdb/blob/f6ddbe24cace7a841508c451bc12820b9d76c218/configure#L336-L338 and if bin/rebar3 found there. Would you be able to echo it in a debug line with a patch like this:
```
if [ -z "${REBAR3}" ]; then
echo "rebar3 install **"
echo "rootdir = ${rootdir}"
install_local_rebar3
REBAR3=${rootdir}/bin/rebar3
fi
```
--
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: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] nickva commented on issue #4259: make check failed in arm64
Posted by GitBox <gi...@apache.org>.
nickva commented on issue #4259:
URL: https://github.com/apache/couchdb/issues/4259#issuecomment-1366094372
Based on what @big-r81 pointed out, it seems like it needs access to the network to install a few package. I wonder if you have access to the network in the environment @Tom-python0121?
Is it the `./configure` or `make release` or `make check` step that fails?
We just fixed a similar issues and but there is probably a few more instances of it left https://github.com/apache/couchdb/pull/4319
--
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: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] big-r81 commented on issue #4259: make check failed in arm64
Posted by GitBox <gi...@apache.org>.
big-r81 commented on issue #4259:
URL: https://github.com/apache/couchdb/issues/4259#issuecomment-1365873442
```
===> Failed to update package getopt from repo hexpm
===> Package not found in any repo: getopt
```
Maybe a temporary connection problem to hex.pm or a problem at hex.pm?
--
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: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] Tom-python0121 commented on issue #4259: make check failed in arm64
Posted by GitBox <gi...@apache.org>.
Tom-python0121 commented on issue #4259:
URL: https://github.com/apache/couchdb/issues/4259#issuecomment-1365868175
@big-r81 When I compile the master version or 3.3.0-RC2, the following error is reported:
### Steps to reproduce the issue
```console
[root@bigdata ~]# spack install --keep-stage -v couchdb@3.3.0-RC2
===> Compiling ssl_verify_fun
===> Compiling rebar
===> Building escript for rebar...
Cloning into '/home/stage/root/spack-stage-couchdb-3.3.0-RC2-pp6mytoamrlxeaykdrgpytuslzbxyo63/spack-src/src/erlfmt'...
===> Verifying dependencies...
===> Failed to update package getopt from repo hexpm
===> Package not found in any repo: getopt
==> Error: ProcessError: Command exited with status 1:
'/home/stage/root/spack-stage-couchdb-3.3.0-RC2-pp6mytoamrlxeaykdrgpytuslzbxyo63/spack-src/configure' '--prefix=/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/couchdb-3.3.0-RC2-pp6mytoamrlxeaykdrgpytuslzbxyo63' '--disable-docs'
3 warnings found in build log:
>> 4 WARNING: Unknown option '--prefix=/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/couchdb-3.3.0-RC2-pp6mytoamrlxeaykdrgpytuslzbxyo63', ignoring
5 ==> configuring couchdb in rel/couchdb.config
6 Cloning into '/home/stage/root/spack-stage-couchdb-3.3.0-RC2-pp6mytoamrlxeaykdrgpytuslzbxyo63/spack-src/src/rebar'...
7 make: Entering directory '/home/stage/root/spack-stage-couchdb-3.3.0-RC2-pp6mytoamrlxeaykdrgpytuslzbxyo63/spack-src/src/rebar'
8 ./bootstrap
9 No beam files found.
10 Recompile: src/rebar
...
15 Recompile: src/rebar_base_compiler
16 Recompile: src/rebar_cleaner
17 Recompile: src/rebar_config
18 Recompile: src/rebar_core
19 Recompile: src/rebar_cover_utils
20 Recompile: src/rebar_ct
>> 21 src/rebar_ct.erl:291: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1
22 Recompile: src/rebar_deps
23 Recompile: src/rebar_dia_compiler
24 Recompile: src/rebar_dialyzer
25 Recompile: src/rebar_edoc
26 Recompile: src/rebar_erlc_compiler
27 Recompile: src/rebar_erlydtl_compiler
28 Recompile: src/rebar_escripter
29 Recompile: src/rebar_eunit
>> 30 src/rebar_eunit.erl:282: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1
31 Recompile: src/rebar_file_utils
32 Recompile: src/rebar_getopt
33 Recompile: src/rebar_lfe_compiler
34 Recompile: src/rebar_log
35 Recompile: src/rebar_metacmds
36 Recompile: src/rebar_mustache
```
How can I solve this problem?
--
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: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] nickva commented on issue #4259: make check failed in arm64
Posted by GitBox <gi...@apache.org>.
nickva commented on issue #4259:
URL: https://github.com/apache/couchdb/issues/4259#issuecomment-1366427276
@Tom-python0121 exactly, it doesn't seem right that it's downloading and fetching rebar2 or rebar3.
Those scripts should be in the the .tgz already.
Just to double-check again wonder if we're looking at the same tgz file:
```
nickv@nvi:~/tmp $ cat apache-couchdb-3.3.0-RC2.tar.gz.sha256
e8c6bf3f99a8f0d2af5806652f57d53796367e2d4b24dedc86e268cf86f787a0 apache-couchdb-3.3.0-RC2.tar.gz
nickv@nvi:~/tmp $ sha256sum -c apache-couchdb-3.3.0-RC2.tar.gz.sha256
apache-couchdb-3.3.0-RC2.tar.gz: OK
nickv@nvi:~/tmp $ rm -rf apache-couchdb-3.3.0
nickv@nvi:~/tmp $ tar xfz apache-couchdb-3.3.0-RC2.tar.gz
nickv@nvi:~/tmp $ ls -l apache-couchdb-3.3.0/bin
total 1120
-rw-rw-r-- 1 nickv nickv 68 Dec 22 02:53 erlang-version.escript
-rwxrwxr-x 1 nickv nickv 134844 Dec 22 03:00 erlfmt
-rwxrwxr-x 1 nickv nickv 203550 Dec 22 03:00 rebar
-rwxrwxr-x 1 nickv nickv 800215 Dec 22 03:00 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: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] Tom-python0121 commented on issue #4259: make check failed in arm64
Posted by GitBox <gi...@apache.org>.
Tom-python0121 commented on issue #4259:
URL: https://github.com/apache/couchdb/issues/4259#issuecomment-1366405539
@nickva
The command output is as follows:
```console
[root@bigdata couchdb-3.3.0-RC2]# ./configure
……
==> rebar (compile)
==> rebar (escriptize)
Congratulations! You now have a self-contained script called "rebar" in
your current working directory. Place this script anywhere in your path
and you can use rebar to build OTP-compliant apps.
make: Leaving directory '/home/stage/root/spack-stage-couchdb-3.3.0-RC2-pp6mytoamrlxeaykdrgpytuslzbxyo63/couchdb-3.3.0-RC2/src/rebar'
make: Entering directory '/home/stage/root/spack-stage-couchdb-3.3.0-RC2-pp6mytoamrlxeaykdrgpytuslzbxyo63/couchdb-3.3.0-RC2/src/rebar'
make: Leaving directory '/home/stage/root/spack-stage-couchdb-3.3.0-RC2-pp6mytoamrlxeaykdrgpytuslzbxyo63/couchdb-3.3.0-RC2/src/rebar'
rebar3 install **
rootdir = /home/stage/root/spack-stage-couchdb-3.3.0-RC2-pp6mytoamrlxeaykdrgpytuslzbxyo63/couchdb-3.3.0-RC2
Cloning into '/home/stage/root/spack-stage-couchdb-3.3.0-RC2-pp6mytoamrlxeaykdrgpytuslzbxyo63/couchdb-3.3.0-RC2/src/rebar3'...
remote: Enumerating objects: 515, done.
remote: Counting objects: 100% (515/515), done.
remote: Compressing objects: 100% (445/445), done.
remote: Total 515 (delta 73), reused 300 (delta 38), pack-reused 0
Receiving objects: 100% (515/515), 862.33 KiB | 857.00 KiB/s, done.
Resolving deltas: 100% (73/73), done.
Evaluating config script "/home/stage/root/spack-stage-couchdb-3.3.0-RC2-pp6mytoamrlxeaykdrgpytuslzbxyo63/couchdb-3.3.0-RC2/src/rebar3/_build/default/lib/rebar/src/rebar.app.src.script"
===> Verifying dependencies...
===> Analyzing applications...
===> Compiling getopt
===> Compiling providers
===> Compiling cf
===> Compiling erlware_commons
===> Compiling bbmustache
===> Compiling relx
===> Compiling eunit_formatters
===> Compiling cth_readable
===> Compiling certifi
===> Compiling ssl_verify_fun
===> Compiling rebar
===> Verifying dependencies...
===> Cleaning out certifi...
===> Cleaning out cf...
===> Cleaning out erlware_commons...
===> Cleaning out getopt...
===> Cleaning out providers...
===> Cleaning out rebar...
===> Verifying dependencies...
===> Analyzing applications...
===> Compiling getopt
===> Compiling providers
===> Compiling cf
===> Compiling erlware_commons
===> Compiling bbmustache
===> Compiling relx
===> Compiling eunit_formatters
===> Compiling cth_readable
===> Compiling certifi
===> Compiling ssl_verify_fun
===> Compiling rebar
===> Building escript for rebar...
Cloning into '/home/stage/root/spack-stage-couchdb-3.3.0-RC2-pp6mytoamrlxeaykdrgpytuslzbxyo63/couchdb-3.3.0-RC2/src/erlfmt'...
remote: Enumerating objects: 91, done.
remote: Counting objects: 100% (91/91), done.
remote: Compressing objects: 100% (83/83), done.
remote: Total 91 (delta 6), reused 38 (delta 2), pack-reused 0
Unpacking objects: 100% (91/91), 171.48 KiB | 2.68 MiB/s, done.
===> Verifying dependencies...
=NOTICE REPORT==== 28-Dec-2022::14:29:46.421169 ===
TLS client: In state certify at ssl_handshake.erl:1766 generated CLIENT ALERT: Fatal - Unknown CA
===> Failed to update package getopt from repo hexpm
===> Package not found in any repo: getopt
```
--
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: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org