Skip to content

bazel build issue about missing dependency #3

@joyb55933

Description

@joyb55933

Hi ,
I encounter an error as below:

WARNING: /root/tensor/TensorflowOnACL/tensorflow/core/BUILD:1801:1: in includes attribute of cc_library rule //tensorflow/core:framework_headers_lib: '../../external/nsync/public' resolves to 'external/nsync/public' not below the relative path of its package 'tensorflow/core'. This will be an error in the future. Since this rule was created by the macro 'cc_header_only_library', the error might have been caused by the macro implementation in /root/tensor/TensorflowOnACL/tensorflow/tensorflow.bzl:1108:30.
INFO: Found 2 targets...
ERROR: /root/.cache/bazel/_bazel_root/2da36ef82fb77f079bcdce53284e6d71/external/png_archive/BUILD.bazel:8:1: undeclared inclusion(s) in rule '@png_archive//:png':
this rule is missing dependency declarations for the following files included by 'external/png_archive/png.c':
'/usr/lib/gcc/aarch64-linux-gnu/5/include-fixed/limits.h'
'/usr/lib/gcc/aarch64-linux-gnu/5/include-fixed/syslimits.h'
'/usr/lib/gcc/aarch64-linux-gnu/5/include/stddef.h'
'/usr/lib/gcc/aarch64-linux-gnu/5/include/stdarg.h'.

can you give some comments on this error?
I build the project on aarch-arm64, without GPU support.

thanks,
Joy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions