os
os copied to clipboard
py3-tensorflow-data-validation fails to build on amd64
The package py3-tensorflow-data-validation with version 1.16.1 and epoch 2 fails to build from source on amd64 with the following error:
2025-05-14 07:57:50.735912774 +0000 UTC License :: OSI Approved :: Apache Software License
2025-05-14 07:57:50.735917714 +0000 UTC
2025-05-14 07:57:50.735922574 +0000 UTC See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
2025-05-14 07:57:50.735927834 +0000 UTC ********************************************************************************
2025-05-14 07:57:50.735932664 +0000 UTC
2025-05-14 07:57:50.735937514 +0000 UTC !!
2025-05-14 07:57:50.735944674 +0000 UTC self._finalize_license_expression()
2025-05-14 07:57:50.741720884 +0000 UTC running bdist_wheel
2025-05-14 07:57:50.752084484 +0000 UTC running build
2025-05-14 07:57:50.752109504 +0000 UTC running bazel_build
2025-05-14 07:57:50.756084924 +0000 UTC Extracting Bazel installation...
2025-05-14 07:57:52.178661042 +0000 UTC Starting local Bazel server and connecting to it...
2025-05-14 07:57:53.853377658 +0000 UTC Loading:
2025-05-14 07:57:54.8574478 +0000 UTC Loading:
2025-05-14 07:57:55.858033101 +0000 UTC Loading:
2025-05-14 07:57:56.886427663 +0000 UTC Loading:
2025-05-14 07:57:58.139700142 +0000 UTC Loading:
2025-05-14 07:57:59.439845381 +0000 UTC Loading:
2025-05-14 07:57:59.796022638 +0000 UTC Loading:
2025-05-14 07:57:59.800336998 +0000 UTC Loading: 0 packages loaded
2025-05-14 07:57:59.905887017 +0000 UTC Analyzing: target //tensorflow_data_validation:move_generated_files (1 packages loaded, 0 targets configured)
2025-05-14 07:58:00.941218139 +0000 UTC Analyzing: target //tensorflow_data_validation:move_generated_files (50 packages loaded, 360 targets configured)
2025-05-14 07:58:00.973552508 +0000 UTC DEBUG: Rule 'com_github_tensorflow_metadata' indicated that a canonical reproducible form can be obtained by modifying arguments commit = "34d6c68f7eac06f55fed639560b9e80b3c71d795" and dropping ["branch"]
2025-05-14 07:58:00.974692139 +0000 UTC DEBUG: Repository com_github_tensorflow_metadata instantiated at:
2025-05-14 07:58:00.974730288 +0000 UTC /home/build/WORKSPACE:171:29: in <toplevel>
2025-05-14 07:58:00.974741219 +0000 UTC /home/build/tensorflow_data_validation/workspace.bzl:15:19: in tf_data_validation_workspace
2025-05-14 07:58:00.974749188 +0000 UTC Repository rule git_repository defined at:
2025-05-14 07:58:00.974759099 +0000 UTC /home/build/.cache/bazel/_bazel_root/79a1bfc8c8b5b6a6d226b38d072f165b/external/bazel_tools/tools/build_defs/repo/git.bzl:181:33: in <toplevel>
2025-05-14 07:58:01.030962978 +0000 UTC ERROR: /home/build/tensorflow_data_validation/anomalies/proto/BUILD:44:19: error loading package '@com_github_tensorflow_metadata//tensorflow_metadata/proto/v0': Label '@com_google_protobuf//bazel:py_proto_library.bzl' is invalid because 'bazel' is not a package; perhaps you meant to put the colon here: '@com_google_protobuf//:bazel/py_proto_library.bzl'? and referenced by '//tensorflow_data_validation/anomalies/proto:custom_validation_config_proto_genproto'
2025-05-14 07:58:01.043456538 +0000 UTC ERROR: Analysis of target '//tensorflow_data_validation:move_generated_files' failed; build aborted:
2025-05-14 07:58:01.066963018 +0000 UTC INFO: Elapsed time: 10.274s
2025-05-14 07:58:01.067000538 +0000 UTC INFO: 0 processes.
2025-05-14 07:58:01.067009298 +0000 UTC FAILED: Build did NOT complete successfully (50 packages loaded, 360 targets configured)
2025-05-14 07:58:01.068662218 +0000 UTC ERROR: Build failed. Not running target
2025-05-14 07:58:01.083266427 +0000 UTC Traceback (most recent call last):
File "/home/build/setup.py", line 146, in <module>
setup(
2025-05-14 07:58:01.085486178 +0000 UTC ~~~~~^
2025-05-14 07:58:01.085491107 +0000 UTC name='tensorflow-data-validation',
2025-05-14 07:58:01.085495678 +0000 UTC ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-05-14 07:58:01.085500578 +0000 UTC ...<76 lines>...
2025-05-14 07:58:01.085504698 +0000 UTC 'bazel_build': _BazelBuildCommand,
2025-05-14 07:58:01.085509267 +0000 UTC ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-05-14 07:58:01.085513427 +0000 UTC })
2025-05-14 07:58:01.085517407 +0000 UTC ^^
2025-05-14 07:58:01.085524718 +0000 UTC File "/usr/lib/python3.13/site-packages/setuptools/__init__.py", line 117, in setup
2025-05-14 07:58:01.085529367 +0000 UTC return distutils.core.setup(**attrs)
2025-05-14 07:58:01.085533758 +0000 UTC ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
2025-05-14 07:58:01.085538207 +0000 UTC File "/usr/lib/python3.13/site-packages/setuptools/_distutils/core.py", line 186, in setup
2025-05-14 07:58:01.085543387 +0000 UTC return run_commands(dist)
2025-05-14 07:58:01.085548567 +0000 UTC File "/usr/lib/python3.13/site-packages/setuptools/_distutils/core.py", line 202, in run_commands
2025-05-14 07:58:01.085553318 +0000 UTC dist.run_commands()
2025-05-14 07:58:01.085558118 +0000 UTC ~~~~~~~~~~~~~~~~~^^
2025-05-14 07:58:01.085563018 +0000 UTC File "/usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 1002, in run_commands
2025-05-14 07:58:01.085571678 +0000 UTC self.run_command(cmd)
2025-05-14 07:58:01.085576287 +0000 UTC ~~~~~~~~~~~~~~~~^^^^^
2025-05-14 07:58:01.085585338 +0000 UTC File "/usr/lib/python3.13/site-packages/setuptools/dist.py", line 1106, in run_command
2025-05-14 07:58:01.085589907 +0000 UTC super().run_command(command)
2025-05-14 07:58:01.085594787 +0000 UTC ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
2025-05-14 07:58:01.085602127 +0000 UTC File "/usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
2025-05-14 07:58:01.085606278 +0000 UTC cmd_obj.run()
2025-05-14 07:58:01.085610687 +0000 UTC ~~~~~~~~~~~^^
2025-05-14 07:58:01.085615098 +0000 UTC File "/usr/lib/python3.13/site-packages/setuptools/command/bdist_wheel.py", line 370, in run
2025-05-14 07:58:01.085619547 +0000 UTC self.run_command("build")
2025-05-14 07:58:01.085624138 +0000 UTC ~~~~~~~~~~~~~~~~^^^^^^^^^
2025-05-14 07:58:01.085628698 +0000 UTC File "/usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py", line 357, in run_command
2025-05-14 07:58:01.085641007 +0000 UTC self.distribution.run_command(command)
2025-05-14 07:58:01.085645407 +0000 UTC ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
2025-05-14 07:58:01.085660547 +0000 UTC File "/usr/lib/python3.13/site-packages/setuptools/dist.py", line 1106, in run_command
2025-05-14 07:58:01.085665327 +0000 UTC super().run_command(command)
2025-05-14 07:58:01.085670018 +0000 UTC ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
2025-05-14 07:58:01.085674467 +0000 UTC File "/usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
2025-05-14 07:58:01.085679638 +0000 UTC cmd_obj.run()
2025-05-14 07:58:01.085690427 +0000 UTC ~~~~~~~~~~~^^
2025-05-14 07:58:01.085698818 +0000 UTC File "/usr/lib/python3.13/site-packages/setuptools/_distutils/command/build.py", line 135, in run
2025-05-14 07:58:01.085708258 +0000 UTC self.run_command(cmd_name)
2025-05-14 07:58:01.085716018 +0000 UTC ~~~~~~~~~~~~~~~~^^^^^^^^^^
2025-05-14 07:58:01.085727267 +0000 UTC File "/usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py", line 357, in run_command
2025-05-14 07:58:01.085735287 +0000 UTC self.distribution.run_command(command)
2025-05-14 07:58:01.085746358 +0000 UTC ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
2025-05-14 07:58:01.085754318 +0000 UTC File "/usr/lib/python3.13/site-packages/setuptools/dist.py", line 1106, in run_command
2025-05-14 07:58:01.085766067 +0000 UTC super().run_command(command)
2025-05-14 07:58:01.085771998 +0000 UTC ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
2025-05-14 07:58:01.085776718 +0000 UTC File "/usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
2025-05-14 07:58:01.085781167 +0000 UTC cmd_obj.run()
2025-05-14 07:58:01.085785778 +0000 UTC ~~~~~~~~~~~^^
2025-05-14 07:58:01.085793058 +0000 UTC File "/home/build/setup.py", line 79, in run
2025-05-14 07:58:01.085797387 +0000 UTC subprocess.check_call(
2025-05-14 07:58:01.085801707 +0000 UTC ~~~~~~~~~~~~~~~~~~~~~^
2025-05-14 07:58:01.085812718 +0000 UTC [self._bazel_cmd, 'run', '-c', 'opt'] + self._additional_build_options +
2025-05-14 07:58:01.085821398 +0000 UTC ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-05-14 07:58:01.085829607 +0000 UTC ...<3 lines>...
2025-05-14 07:58:01.085837238 +0000 UTC cwd=os.path.dirname(os.path.realpath(__file__)),
2025-05-14 07:58:01.085844538 +0000 UTC ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-05-14 07:58:01.085851307 +0000 UTC env=dict(os.environ, PYTHON_BIN_PATH=sys.executable))
2025-05-14 07:58:01.085858618 +0000 UTC ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-05-14 07:58:01.085867327 +0000 UTC File "/usr/lib/python3.13/subprocess.py", line 419, in check_call
2025-05-14 07:58:01.085878587 +0000 UTC raise CalledProcessError(retcode, cmd)
2025-05-14 07:58:01.085887758 +0000 UTC subprocess.CalledProcessError: Command '['/usr/bin/bazel', 'run', '-c', 'opt', '//tensorflow_data_validation:move_generated_files']' returned non-zero exit status 1.
2025-05-14 07:58:02.206366708 +0000 UTC failed to build package: unable to run package py3-tensorflow-data-validation pipeline: unable to run pipeline: exit status 1