FreeBSD-pzn opened a new issue, #5972:
URL: https://github.com/apache/couchdb/issues/5972
### Version
3.4.3
### Describe the problem you're encountering
Got an error while compile from sources.
### Expected Behaviour
Got an error while compile from sources.
### Steps to Reproduce
_Configuration:_
$ ./configure --spidermonkey-version 78 --disable-fauxton --disable-docs
==> configuring couchdb in rel/couchdb.config
You have configured Apache CouchDB, time to relax. Relax.
_Compilation:_
$ make release
...
==> rel (compile)
==> apache-couchdb-3.4.3 (compile)
==> weatherreport (escriptize)
WARN: 'escriptize' command does not apply to directory
/home/fbrc_dev/apache-couchdb-3.4.3/rel
WARN: 'escriptize' command does not apply to directory
/home/fbrc_dev/apache-couchdb-3.4.3
Installing CouchDB into rel/couchdb/ ...
WARN: Missing plugins: [pc]
WARN: Missing plugins: [pc]
==> rel (generate)
ERROR: generate failed while processing
/home/fbrc_dev/apache-couchdb-3.4.3/rel: {'EXIT',{{badmatch,{error,"os_mon:
Missing application directory."}},
[{rebar_reltool,generate,2,
[{file,"src/rebar_reltool.erl"},{line,53}]},
{rebar_core,run_modules,4,[{file,"src/rebar_core.erl"},{line,493}]},
{rebar_core,execute,6,[{file,"src/rebar_core.erl"},{line,418}]},
{rebar_core,maybe_execute,8,
[{file,"src/rebar_core.erl"},{line,302}]},
{rebar_core,process_dir1,7,[{file,"src/rebar_core.erl"},{line,261}]},
{rebar_core,process_each,5,[{file,"src/rebar_core.erl"},{line,351}]},
{rebar_core,process_dir1,7,[{file,"src/rebar_core.erl"},{line,253}]},
{rebar_core,process_commands,2,
[{file,"src/rebar_core.erl"},{line,93}]}]}}
make: *** [Makefile:411: release] Error 1
_But directory apache-couchdb-3.4.3/rel is._
$ tree -D
├── [Mar 13 2025] apps
│ ├── [Mar 13 2025] config.config
│ └── [Mar 13 2025] couch_epi.config
├── [Apr 17 14:39] couchdb.config
├── [Mar 13 2025] files
│ ├── [Mar 13 2025] [couchdb.cmd.in](http://couchdb.cmd.in/)
│ ├── [Mar 13 2025] [couchdb.in](http://couchdb.in/)
│ ├── [Mar 13 2025] eunit.config
│ ├── [Mar 13 2025] eunit.ini
│ ├── [Mar 13 2025] README
│ ├── [Mar 13 2025] sys.config
│ └── [Mar 13 2025] vm.args
├── [Mar 13 2025] haproxy.cfg
├── [Mar 13 2025] nouveau.yaml
├── [Mar 13 2025] overlay
│ ├── [Mar 13 2025] bin
│ │ └── [Mar 13 2025] remsh
│ └── [Mar 13 2025] etc
│ ├── [Mar 13 2025] default.d
│ │ └── [Mar 13 2025] README
│ ├── [Mar 13 2025] default.ini
│ ├── [Mar 13 2025] local.d
│ │ └── [Mar 13 2025] README
│ ├── [Mar 13 2025] local.ini
│ └── [Mar 13 2025] vm.args
├── [Mar 13 2025] plugins
│ └── [Mar 13 2025] eunit_plugin.erl
├── [Mar 13 2025] reltool.config
└── [Mar 13 2025] reltool.config.script
### Your Environment
_I have downloaded tarbar as recommended from :_
https://dist.apache.org/repos/dist/release/couchdb/source/3.4.3
_Release Erlang:_
$ erl -noshell -eval 'io:put_chars(erlang:system_info(otp_release)).' -eval
"halt()."
26
_Erlang OS:_
$ erl -noshell -eval 'case os:type() of {OS, _} -> io:format("sn", [OS])
end.' -eval "halt()."
unix
### Additional Context
_Also, while build got warnings:_
Compiled src/couch_log_trunc_io.erl
WARN: Missing plugins: [pc]
==> b64url (compile)
Compiled src/b64url.erl
Compiling c_src/b64url.c
WARN: Missing plugins: [pc]
==> exxhash (compile)
--
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]