[MacPorts] #70014: ejabberd fails to build, complaining re certificates etc.
MacPorts
noreply at macports.org
Fri May 17 20:03:36 UTC 2024
#70014: ejabberd fails to build, complaining re certificates etc.
--------------------------+----------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Keywords: | Port: ejabberd
--------------------------+----------------------
{{{
---> Configuring ejabberd
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ejabberd/ejabberd/work/ejabberd-24.02"
&& ./autogen.sh && ./configure --prefix=/opt/local --with-expat=/opt/local
--with-zlib=/opt/local --with-openssl=/opt/local
configure: WARNING: unrecognized options: --with-expat, --with-zlib,
--with-openssl
checking whether make sets $(MAKE)... yes
checking for gawk... gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking for a race-free mkdir -p... /opt/local/bin/gmkdir -p
checking for a sed that does not truncate output... /opt/local/bin/gsed
checking for erl... /opt/local/bin/erl
checking for erlc... /opt/local/bin/erlc
checking for epmd... no
checking for rebar... no
checking for rebar3... /opt/local/bin/rebar3
checking for elixir... /opt/local/bin/elixir
checking for iex... /opt/local/bin/iex
checking for mix... /opt/local/bin/mix
checking for erl... (cached) /opt/local/bin/erl
checking for erlc... (cached) /opt/local/bin/erlc
checking for Erlang/OTP root directory... /opt/local/lib/erlang
checking for escript... /opt/local/lib/erlang/bin/escript
checking for make... make
checking Erlang/OTP version... ok
build tool to use (change using --with-rebar): /opt/local/bin/mix
configure: creating ./config.status
config.status: creating Makefile
config.status: creating vars.config
configure: WARNING: unrecognized options: --with-expat, --with-zlib,
--with-openssl
---> Building ejabberd
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ejabberd/ejabberd/work/ejabberd-24.02"
&& /usr/bin/make -j6 -w all
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ejabberd/ejabberd/work/ejabberd-24.02'
/opt/local/bin/gsed -e "s*@ctlscriptpath@*/opt/local/sbin*g" \
-e "s*@installuser@*root*g" ejabberd.init.template \
> ejabberd.init
/opt/local/bin/gsed -e "s*@ctlscriptpath@*/opt/local/sbin*g" \
-e "s*@installuser@*root*g" ejabberd.service.template \
> ejabberd.service
chmod 644 ejabberd.service
chmod 755 ejabberd.init
/opt/local/bin/gsed -e "s*{{installuser}}**g" \
-e "s*{{config_dir}}*/opt/local/etc/ejabberd*g" \
-e "s*{{logs_dir}}*/opt/local/var/log/ejabberd*g" \
-e "s*{{spool_dir}}*/opt/local/var/lib/ejabberd*g" \
-e "s*{{bindir}}*/opt/local/bin*g" \
-e
"s*{{libdir}}*/opt/local/lib":/opt/local/lib/elixir/bin/../lib"*g" \
-e "s*{{iexpath}}*/opt/local/bin/iex*g" \
-e "s*{{erl}}*/opt/local/bin/erl*g" \
-e "s*{{epmd}}**g" ejabberdctl.template \
> ejabberdctl.example
rm -rf _build/dev/lib/.got
rm -rf _build/dev/lib/.built
/opt/local/bin/gmkdir -p _build/dev/lib
/opt/local/bin/mix deps.get && :> _build/dev/lib/.got
** (Mix) httpc request failed with: {:failed_connect, [{:to_address,
{~c"builds.hex.pm", 443}}, {:inet, [:inet], {:tls_alert,
{:certificate_expired, ~c"TLS client: In state wait_cert_cr at
ssl_handshake.erl:2109 generated CLIENT ALERT: Fatal - Certificate
Expired\n"}}}]}
Could not install Hex because Mix could not download metadata at
https://builds.hex.pm/installs/hex-1.x.csv.
Alternatively, you can compile and install Hex directly with this command:
$ mix archive.install github hexpm/hex branch latest
make: *** [_build/dev/lib/.got] Error 1
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ejabberd/ejabberd/work/ejabberd-24.02'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ejabberd/ejabberd/work/ejabberd-24.02"
&& /usr/bin/make -j6 -w all
Exit code: 2
Error: Failed to build ejabberd: command execution failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/70014>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list