Closed Bug 1746770 Opened 3 years ago Closed 3 years ago

"mach vendor rust" fails when crate has the directory name that uses space character

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(firefox97 fixed)

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

(Reporter: m_kato, Assigned: m_kato)

References

Details

Attachments

(1 file)

When running march vendor rust, it will remove old files by clean_directory.

But when a crate has the file/dirctory that uses space character, the following error occurs.

Error running mach:

    ['vendor', 'rust', '--ignore-modified']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file vendor| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

FileNotFoundError: [Errno 2] No such file or directory: 'third_party/rust/matrixmultiply/spare'

files are,

makoto@host /m/mozilla-central (default)> ls -l third_party/rust/matrixmultiply/
total 0
drwxr-xr-x 1 makoto users   0 Dec 19 20:07  benches
drwxr-xr-x 1 makoto users   0 Dec 19 20:07  ci
drwxr-xr-x 1 makoto users   0 Dec 19 20:07  examples
drwxr-xr-x 1 makoto users  32 Dec 19 20:07 'spare kernels'
drwxr-xr-x 1 makoto users 428 Dec 19 20:07  src
drwxr-xr-x 1 makoto users  22 Dec 19 20:07  testdefs
drwxr-xr-x 1 makoto users  16 Dec 19 20:07  tests
Assignee: nobody → m_kato
Status: NEW → ASSIGNED
Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/autoland/rev/a62cb7e56035 "mach vendor rust" fails when crate has the directory name that uses space character. r=firefox-build-system-reviewers,mhentges
Blocks: 1719535
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: