Opened 4 months ago

#70014 new defect

ejabberd fails to build, complaining re certificates etc.

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc: ci42
Port: ejabberd

Description

--->  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

Attachments (1)

main.log (140.8 KB) - added by barracuda156 4 months ago.

Download all attachments as: .zip

Change History (1)

Changed 4 months ago by barracuda156

Attachment: main.log added
Note: See TracTickets for help on using tickets.