nicknezis opened a new issue #3427: Build-artifacts script fails when building Debian image URL: https://github.com/apache/incubator-heron/issues/3427 When running the following command, Zookeeper compilation fails in Debian image. I didn't experience this error when running `build-artifacts.sh` with centos or ubuntu. `./docker/scripts/build-artifacts.sh debian9 0.20-k8s-20200103 /data/nick/heron-build/` ``` ./configure --prefix=$INSTALL_DIR --enable-shared=no make install rm -rf $TMP_DIR') Execution platform: @bazel_tools//platforms:host_platform src/zookeeper.c: In function 'format_endpoint_info': src/zookeeper.c:3506:21: error: '%d' directive writing between 1 and 5 bytes into a region of size between 0 and 127 [-Werror=format-overflow=] sprintf(buf,"%s:%d",addrstr,ntohs(port)); ^~ src/zookeeper.c:3506:17: note: directive argument in the range [0, 65535] sprintf(buf,"%s:%d",addrstr,ntohs(port)); ^~~~~~~ src/zookeeper.c:3506:5: note: 'sprintf' output between 3 and 134 bytes into a destination of size 128 sprintf(buf,"%s:%d",addrstr,ntohs(port)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make: *** [Makefile:947: zookeeper.lo] Error 1 ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
