Fixed 16.04: https://github.com/apache/incubator-heron/pull/3525
I think it is caused by pkg-config. On Sat, May 16, 2020 at 8:37 PM Ning Wang <wangnin...@gmail.com> wrote: > Thanks for the input. We can skip Python 3 support for this release. > Currently, it is failing on the zookeeper source step in Ubuntu16.04 and > 14.04. This is the last known blocker for me to prepare a new release > candidate and start a vote. > > > On Sat, May 16, 2020 at 8:28 PM Windham Wong <windham.w...@stormeye.io> > wrote: > >> Recalling the test I made in March, Zookeeper should be fine in Ubuntu >> 16.04, just require some tuning of the bazel build file to match the >> version in there. However, switching to Python 3 breaks Ubuntu 16.04 and >> CentOS 7 due to no official support of the Python library dev in ther later >> version. This still breaks the Heron build in the later part. >> >> Windham Wong >> OSWE, OSCP, GCIA, Specialist in Cybersecurity >> Co-Founder, Technical Director of >> Stormeye.io, Hong Kong Managed Security Operation Center Limited >> Email // windham.w...@stormeye.io ( >> https://link.getmailspring.com/link/0d144bf6-b9da-4ceb-ab62-f77dea9ae...@getmailspring.com/1?redirect=mailto%3Awindham.wong%40stormeye.io&recipient=ZGV2QGhlcm9uLmluY3ViYXRvci5hcGFjaGUub3Jn >> ) >> Phone // +852_3590_2212_|_+852_9832_0707 (tel:+85235902212) >> Fax // +852_3590_2202 (tel:+852_3590_2202) >> >> On 5月 17 2020, at 5:31 凌晨, Josh Fischer <j...@joshfischer.io> wrote: >> > Hi All, I'm checking for OS compatibility with git tag >> 0.20.3-incubating-rc3 and the zookeeper-srcs target is failing to build on >> Ubuntu 16.04. The zookeeper-srcs target builds successfully on Mac. So far >> the only show stopping error I can see is that an expected file does not >> exist in the logs. Has anyone run into this issue before? See below for my >> terminal output. bazel build --config=ubuntu_nostyle >> third_party/zookeeper:zookeeper-srcs INFO: Options provided by the client: >> Inherited 'common' options: --isatty=1 --terminal_columns=141 INFO: Reading >> rc options for 'build' from /root/incubator-heron/tools/bazel.rc: 'build' >> options: --genrule_strategy=standalone --host_force_python=PY2 >> --ignore_unsupported_sandboxing --spawn_strategy=standalone >> --workspace_status_command scripts/release/status.sh INFO: Reading rc >> options for 'build' from /root/.bazelrc: 'build' options: >> --verbose_failures --spawn_strategy=standalone >> --genrule_strategy=standalone --local_ram_resources=4096 >> --local_cpu_resources=2 --announce_rc INFO: Found applicable config >> definition build:ubuntu_nostyle in file >> /root/incubator-heron/tools/bazel.rc: --genrule_strategy=standalone >> --ignore_unsupported_sandboxing --linkopt -lm --linkopt -lpthread --linkopt >> -lrt --spawn_strategy=standalone --workspace_status_command >> scripts/release/status.sh --copt=-O3 INFO: Analyzed target >> //third_party/zookeeper:zookeeper-srcs (1 packages loaded, 2 targets >> configured). INFO: Found 1 target... ERROR: >> /root/incubator-heron/third_party/zookeeper/BUILD:7:1: Executing genrule >> //third_party/zookeeper:zookeeper-srcs failed (Exit 1): bash failed: error >> executing command (cd >> /root/.cache/bazel/_bazel_root/88837ab595738499a4ef3075862ee807/execroot/org_apache_heron >> && \ exec env - \ >> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \ >> /bin/bash -c 'source external/bazel_tools/tools/genrule/genrule-setup.sh; >> export INSTALL_DIR=$(pwd)/bazel-out/k8-fastbuild/bin/third_party/zookeeper >> export TMP_DIR=$(mktemp -d -t zookeeper.XXXXX) export CXXFLAGS=-Wno-error >> export CFLAGS=-Wno-error mkdir -p $TMP_DIR cp -R >> $(pwd)/external/org_apache_zookeeper/* $TMP_DIR cd >> $TMP_DIR/zookeeper-client/zookeeper-client-c autoreconf -if ./configure >> --prefix=$INSTALL_DIR --enable-shared=no make install rm -rf $TMP_DIR') >> Execution platform: @local_config_platform//:host cp: cannot stat >> '/root/.cache/bazel/_bazel_root/88837ab595738499a4ef3075862ee807/execroot/org_apache_heron/external/org_apache_zookeeper/*': >> No such file or directory Target //third_party/zookeeper:zookeeper-srcs >> failed to build INFO: Elapsed time: 0.815s, Critical Path: 0.06s INFO: 0 >> processes. FAILED: Build did NOT complete successfully >> >>