[GitHub] [couchdb] nickva commented on issue #4259: make check failed in arm64
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-unsubscr...@couchdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [couchdb] Tom-python0121 commented on issue #4259: make check failed in arm64
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-unsubscr...@couchdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [couchdb] nickva commented on issue #4259: make check failed in arm64
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-unsubscr...@couchdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [couchdb] Tom-python0121 commented on issue #4259: make check failed in arm64
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-unsubscr...@couchdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [couchdb] nickva commented on issue #4259: make check failed in arm64
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-unsubscr...@couchdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [couchdb] Tom-python0121 commented on issue #4259: make check failed in arm64
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-unsubscr...@couchdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [couchdb] nickva commented on issue #4259: make check failed in arm64
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-unsubscr...@couchdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [couchdb] big-r81 commented on issue #4259: make check failed in arm64
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-unsubscr...@couchdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [couchdb] Tom-python0121 commented on issue #4259: make check failed in arm64
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. 10Recompile: src/rebar ... 15Recompile: src/rebar_base_compiler 16Recompile: src/rebar_cleaner 17Recompile: src/rebar_config 18Recompile: src/rebar_core 19Recompile: src/rebar_cover_utils 20Recompile: src/rebar_ct >> 21src/rebar_ct.erl:291: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1 22Recompile: src/rebar_deps 23Recompile: src/rebar_dia_compiler 24Recompile: src/rebar_dialyzer 25Recompile: src/rebar_edoc 26Recompile: src/rebar_erlc_compiler 27Recompile: src/rebar_erlydtl_compiler 28Recompile: src/rebar_escripter 29Recompile: src/rebar_eunit >> 30src/rebar_eunit.erl:282: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1 31Recompile: src/rebar_file_utils 32Recompile: src/rebar_getopt 33Recompile: src/rebar_lfe_compiler 34Recompile: src/rebar_log 35Recompile: src/rebar_metacmds 36Recompile: 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-unsubscr...@couchdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org