grobian / carbon-c-relay

Enhanced C implementation of Carbon relay, aggregator and rewriter
Apache License 2.0
380 stars 107 forks source link

Docker image build failed due to Autoconf #441

Closed flucrezia closed 2 years ago

flucrezia commented 2 years ago

The docker build command fails on master: CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/opt/carbon-c-relay-build/missing' aclocal-1.16 -I m4 aclocal-1.16: warning: couldn't open directory 'm4': No such file or directory configure.ac:4: error: Autoconf version 2.71 or higher is required configure.ac:4: the top level autom4te: /usr/bin/m4 failed with exit status: 63 aclocal-1.16: error: echo failed with exit status: 63 WARNING: 'aclocal-1.16' is probably too old. You should only need it if you modified 'acinclude.m4' or 'configure.ac' or m4 files included by 'configure.ac'. The 'aclocal' program is part of the GNU Automake package: <https://www.gnu.org/software/automake> It also requires GNU Autoconf, GNU m4 and Perl in order to run: <https://www.gnu.org/software/autoconf> <https://www.gnu.org/software/m4/> <https://www.perl.org/> make: *** [Makefile:507: aclocal.m4] Error 63 The command '/bin/sh -c apk add --no-cache git bc build-base curl automake autoconf libtool && ./configure && make' returned a non-zero code: 2 Moving to alpine:3.15 in the Dockerfile solves the issue.