sreev commented on issue #3638: URL: https://github.com/apache/incubator-heron/issues/3638#issuecomment-735345837
Build from source on macOS bigsur fails. python3.9.0_2 / pip3 20.2.4. ``` DEPRECATION: The -b/--build/--build-dir/--build-directory option is deprecated. pip 20.3 will remove support for this functionality. A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean. You can find discussion regarding this at https://github.com/pypa/pip/issues/8333. ERROR: Package 'pex' requires a different Python: 3.9.0 not in '>=2.7,<3.9,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*' INFO: Elapsed time: 228.509s, Critical Path: 85.54s INFO: 876 processes: 153 internal, 723 local. FAILED: Build did NOT complete successfully WARNING: incubator-heron/heron/healthmgr/tests/java/BUILD:52:13: in srcs attribute of java_library rule //heron/healthmgr/tests/java:healthmgr-tests: please do not import '//heron/healthmgr/src/java:org/apache/heron/healthmgr/HealthManager.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'java_library', the error might have been caused by the macro implementation warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: archive library: bazel-out/darwin-fastbuild/bin/heron/proto/libproto-cxx.a the table of contents is empty (no object file members in the library define global symbols) ERROR: incubator-heron/tools/rules/pex/BUILD:53:8: Bootstrapping pex //tools/rules/pex:pex_wrapper failed (Exit 1): bash failed: error executing command (cd /private/var/tmp/_bazel_svaddi/5513d20b4906d6e334d9ceb49a2d11d7/execroot/org_apache_heron && \ exec env - \ PATH='/usr/local/Cellar/[email protected]/3.9.0_2/bin:/usr/local/opt/openjdk@11/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/munki:/Library/Apple/usr/bin' \ /bin/bash -c 'source external/bazel_tools/tools/genrule/genrule-setup.sh; OUTDIR=$(cd bazel-out/host/bin/tools/rules/pex && pwd) ``` ---------------------------------------------------------------- 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]
