diff options
author | Andrei Vagin <avagin@google.com> | 2019-06-17 17:07:44 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-06-17 17:09:06 -0700 |
commit | 66cc0e9f928218ca642a41fa67bb163197aa1f37 (patch) | |
tree | 215b97504cf73fcf58da44a978cc604fb3aba60e /runsc/BUILD | |
parent | 99d286370d38c8e0426c20e326f5cee914785417 (diff) |
gvisor/bazel: use python2 to build runsc-debian
$ bazel build runsc:runsc-debian
File ".../bazel_tools/tools/build_defs/pkg/make_deb.py", line 311,
in GetFlagValue:
flagvalue = flagvalue.decode('utf-8')
AttributeError: 'str' object has no attribute 'decode'
make_deb.py is incompatible with Python3.
https://github.com/bazelbuild/bazel/issues/8443
PiperOrigin-RevId: 253691923
Diffstat (limited to 'runsc/BUILD')
-rw-r--r-- | runsc/BUILD | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runsc/BUILD b/runsc/BUILD index 8a57c597b..0e4cf8e09 100644 --- a/runsc/BUILD +++ b/runsc/BUILD @@ -96,6 +96,11 @@ pkg_deb( maintainer = "The gVisor Authors <gvisor-dev@googlegroups.com>", package = "runsc", postinst = "debian/postinst.sh", + tags = [ + # TODO(b/135475885): pkg_deb requires python2: + # https://github.com/bazelbuild/bazel/issues/8443 + "manual", + ], version_file = ":version.txt", visibility = [ "//visibility:public", |