Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error #66

Closed
Zlobrynya opened this issue Aug 29, 2019 · 1 comment
Closed

Build Error #66

Zlobrynya opened this issue Aug 29, 2019 · 1 comment
Assignees
Labels
platform:ios MediaPipe IOS issues type:build/install For Build and Installation issues

Comments

@Zlobrynya
Copy link

Hello, I am trying to build examples.
I follow the instructions: https://github.com/google/mediapipe/blob/master/mediapipe/docs/mediapipe_ios_setup.md
I get the following error:

INFO: Call stack for the definition of repository 'build_bazel_rules_apple' which is a git_repository (rule definition at /private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git.bzl:181:18):
 - /Users/user/Desktop/code/test/mediapipe/WORKSPACE:251:1
ERROR: An error occurred during the fetch of repository 'build_bazel_rules_apple':
   Traceback (most recent call last):
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git.bzl", line 163
		_clone_or_update(ctx)
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git.bzl", line 36, in _clone_or_update
		git_repo(ctx, directory)
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 91, in git_repo
		_update(ctx, git_repo)
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 101, in _update
		init(ctx, git_repo)
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 115, in init
		_error(ctx.name, cl, st.stderr)
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 169, in _error
		fail(("error running '%s' while worki...)))
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 169, in fail
		" ".join(command)
sequence element must be a string (got 'path'). See https://github.com/bazelbuild/bazel/issues/7802 for information about --incompatible_string_join_requires_strings.
ERROR: no such package '@build_bazel_rules_apple//apple': Traceback (most recent call last):
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git.bzl", line 163
		_clone_or_update(ctx)
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git.bzl", line 36, in _clone_or_update
		git_repo(ctx, directory)
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 91, in git_repo
		_update(ctx, git_repo)
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 101, in _update
		init(ctx, git_repo)
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 115, in init
		_error(ctx.name, cl, st.stderr)
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 169, in _error
		fail(("error running '%s' while worki...)))
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 169, in fail
		" ".join(command)
sequence element must be a string (got 'path'). See https://github.com/bazelbuild/bazel/issues/7802 for information about --incompatible_string_join_requires_strings.

ERROR: An error occurred during the fetch of repository 'build_bazel_rules_apple':
ERROR: no such package '@build_bazel_rules_apple//apple': Traceback (most recent call last):
INFO: Call stack for the definition of repository 'build_bazel_rules_apple' which is a git_repository (rule definition at /private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git.bzl:181:18):
 - /Users/user/Desktop/code/test/mediapipe/WORKSPACE:251:1
ERROR: An error occurred during the fetch of repository 'build_bazel_rules_apple':
   Traceback (most recent call last):
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git.bzl", line 163
		_clone_or_update(ctx)
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git.bzl", line 36, in _clone_or_update
		git_repo(ctx, directory)
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 91, in git_repo
		_update(ctx, git_repo)
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 101, in _update
		init(ctx, git_repo)
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 115, in init
		_error(ctx.name, cl, st.stderr)
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 169, in _error
		fail(("error running '%s' while worki...)))
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 169, in fail
		" ".join(command)
sequence element must be a string (got 'path'). See https://github.com/bazelbuild/bazel/issues/7802 for information about --incompatible_string_join_requires_strings.
ERROR: no such package '@build_bazel_rules_apple//apple': Traceback (most recent call last):
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git.bzl", line 163
		_clone_or_update(ctx)
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git.bzl", line 36, in _clone_or_update
		git_repo(ctx, directory)
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 91, in git_repo
		_update(ctx, git_repo)
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 101, in _update
		init(ctx, git_repo)
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 115, in init
		_error(ctx.name, cl, st.stderr)
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 169, in _error
		fail(("error running '%s' while worki...)))
	File "/private/var/tmp/_bazel_user/a3001209bd0aba032e65f19a79746e9b/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 169, in fail
		" ".join(command)
sequence element must be a string (got 'path'). See https://github.com/bazelbuild/bazel/issues/7802 for information about --incompatible_string_join_requires_strings.

ERROR: An error occurred during the fetch of repository 'build_bazel_rules_apple':
ERROR: no such package '@build_bazel_rules_apple//apple': Traceback (most recent call last):
ERROR: no such package '@build_bazel_rules_apple//apple': Traceback (most recent call last):
General failure: Bazel aspects could not be built.

Could you help?

@mgyong mgyong added type:build/install For Build and Installation issues platform:ios MediaPipe IOS issues and removed ios build labels Aug 30, 2019
@Lovekeshbhagat23
Copy link

hi i am facing same issue and you suggest any solution to this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:ios MediaPipe IOS issues type:build/install For Build and Installation issues
Projects
None yet
Development

No branches or pull requests

4 participants