Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.7.0, 3.6.2
Description
`dev/docker/Dockerfile` is based on `maven:3.6.3-jdk-8` and the maven image is now based on Debian buster. The libcppunit-dev 1.14.0 shipped with Debian buster doesn't have `AM_PATH_CPPUNIT`.
And also `PKG_CHECK_MODULES`, the fallback macro, is not linked in the docker image.
As a result, the current Docker image is not capable of building `zookeeper-client-c`.
$ docker build -t zookeeper/dev -f dev/docker/Dockerfile dev/docker
$ docker run --rm -it -w /root/zk -v "$PWD:/root/zk" zookeeper/dev mvn clean install -Pfull-build -DskipTests
[INFO] --- exec-maven-plugin:1.6.0:exec (autoreconf) @ zookeeper-client-c --- acinclude.m4:315: warning: macro 'AM_PATH_CPPUNIT' not found in library configure.ac:38: error: Missing AM_PATH_CPPUNIT or PKG_CHECK_MODULES m4 macro. acinclude.m4:317: CHECK_CPPUNIT is expanded from... configure.ac:38: the top level autom4te: /usr/bin/m4 failed with exit status: 1 aclocal: error: echo failed with exit status: 1 autoreconf: aclocal failed with exit status: 1 [ERROR] Command execution failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404)
Attachments
Issue Links
- causes
-
ZOOKEEPER-3879 C Client: how to build?
- Resolved
- supercedes
-
ZOOKEEPER-3879 C Client: how to build?
- Resolved
- links to