Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

This cycle occurred because of a configuration option #21

@pseudotensor

Description

@pseudotensor

docker build of latest r1.15.5+nv21.03 leads to:

WARNING: /tfbuild/tensorflow/tensorflow/core/BUILD:1098:12: in srcs attribute of cc_library rule //tensorflow/core:framework_lite: please do not import '//tensorflow/core/platform:default/integral_types.h' directly. You should either move the file to this package or depend on an appropriate rule there WARNING: /tfbuild/tensorflow/tensorflow/core/BUILD:1098:12: in srcs attribute of cc_library rule //tensorflow/core:framework_lite: please do not import '//tensorflow/core/platform:default/mutex.h' directly. You should either move the file to this package or depend on an appropriate rule there WARNING: /tfbuild/tensorflow/tensorflow/core/BUILD:1098:12: in srcs attribute of cc_library rule //tensorflow/core:framework_lite: please do not import '//tensorflow/core/platform:default/mutex_data.h' directly. You should either move the file to this package or depend on an appropriate rule there WARNING: /tfbuild/tensorflow/tensorflow/core/BUILD:1096:1: in linkstatic attribute of cc_library rule //tensorflow/core:framework_lite: setting 'linkstatic=1' is recommended if there are no object files WARNING: /tfbuild/tensorflow/tensorflow/core/BUILD:388:12: in srcs attribute of cc_library rule //tensorflow/core:platform_port: please do not import '//tensorflow/core/platform:cpu_info.cc' directly. You should either move the file to this package or depend on an appropriate rule there WARNING: /tfbuild/tensorflow/tensorflow/core/BUILD:388:12: in srcs attribute of cc_library rule //tensorflow/core:platform_port: please do not import '//tensorflow/core/platform:default/dynamic_annotations.h' directly. You should either move the file to this package or depend on an appropriate rule there WARNING: /tfbuild/tensorflow/tensorflow/core/BUILD:388:12: in srcs attribute of cc_library rule //tensorflow/core:platform_port: please do not import '//tensorflow/core/platform:default/mutex.h' directly. You should either move the file to this package or depend on an appropriate rule there WARNING: /tfbuild/tensorflow/tensorflow/core/BUILD:388:12: in srcs attribute of cc_library rule //tensorflow/core:platform_port: please do not import '//tensorflow/core/platform:posix/port.cc' directly. You should either move the file to this package or depend on an appropriate rule there WARNING: /tfbuild/tensorflow/tensorflow/core/BUILD:652:12: in srcs attribute of cc_library rule //tensorflow/core:lib_proto_parsing: please do not import '//tensorflow/core/platform:protobuf.cc' directly. You should either move the file to this package or depend on an appropriate rule there WARNING: /tfbuild/tensorflow/tensorflow/core/BUILD:2460:12: in srcs attribute of cc_library rule //tensorflow/core:lib_internal_impl: please do not import '//tensorflow/core/platform:abi.h' directly. You should either move the file to this package or depend on an appropriate rule there WARNING: /tfbuild/tensorflow/tensorflow/core/BUILD:2460:12: in srcs attribute of cc_library rule //tensorflow/core:lib_internal_impl: please do not import '//tensorflow/core/platform:blocking_counter.h' directly. You should either move the file to this package or depend on an appropriate rule there 

and

ERROR: /tfbuild/tensorflow/tensorflow/core/BUILD:2827:1: in cc_library rule //tensorflow/core:framework_internal: cycle in dependency graph: //tensorflow/tools/pip_package:build_pip_package //tensorflow/python/compiler:compiler //tensorflow/python/compiler/tensorrt:init_py //tensorflow/python/compiler/tensorrt:trt_convert_py //tensorflow/python/saved_model:save //tensorflow/python/training/tracking:graph_view //tensorflow/python:framework_ops //tensorflow/python:type_spec //tensorflow/python:tensor_shape //tensorflow/python/eager:monitoring //tensorflow/python:c_api_util //tensorflow/python:pywrap_tensorflow //tensorflow/python:pywrap_tensorflow_internal //tensorflow/python:pywrap_tensorflow_internal.py //tensorflow/python:pywrap_tensorflow_internal_py_wrap //tensorflow/core/distributed_runtime:server_lib .-> //tensorflow/core:framework_internal | //tensorflow/core:framework_internal_impl | //tensorflow/core/profiler:nvtx_utils | //tensorflow/core:framework `-- //tensorflow/core:framework_internal This cycle occurred because of a configuration option ERROR: Analysis of target '//tensorflow/tools/pip_package:build_pip_package' failed; build aborted INFO: Elapsed time: 42.064s INFO: 0 processes. FAILED: Build did NOT complete successfully (398 packages loaded, 20384 targets configured) make: *** [build_tensorflow_one] Error 1 [root@3d36a0da2e0c tfbuild]# 

Same thing does not happen with 1.15.4+nv20.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions