bazelbuild / bazelbuild/bazel

why use space to split, which caused a error "link or target filename contains space on line xx"

Open
#14,875 1 comment 0 reactions 0 assignees View on GitHub
P2 team-Local-Exec type: feature request
Dominant language
Java
Stars
25.8k
Forks
4.6k
Avg merge
2d 20h
Merged PRs (30d)
72

Description

https://github.com/bazelbuild/bazel/blob/09c621e4cf5b968f4c6cdf905ab142d5961f9ddc/src/main/tools/build-runfiles.cc#L150-L158

![image](https://user-images.githubusercontent.com/83206385/154925727-dc7447c9-efc5-41c4-830b-d44e437915c6.png)

the target is as follow:
![image](https://user-images.githubusercontent.com/83206385/154926455-d1ca3b21-8702-4dc8-b648-fd156fb8cf3f.png)

Contributor guide

Open the contributing guide

Research direction

Start at src/main/tools/build-runfiles.cc lines 150-158 and inspect how the runfiles input is split. Reproduce the error with the target shown in the attached screenshots, then identify the expected handling for paths containing spaces and verify the behavior with an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.