Closed Bug 1800522 Opened 3 years ago Closed 3 years ago

./mach bootstrap fails on Windows due to PermissionError when using git-cinnabar

Categories

(Firefox Build System :: Bootstrap Configuration, defect)

x86_64
Windows 10
defect

Tracking

(firefox109 fixed)

VERIFIED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: tgiles, Assigned: glandium)

Details

Attachments

(2 files)

Attached file bootstrap-failure-log

So I pulled the latest mozilla-central commit today and then decided to bootstrap to make sure I had all my dependencies up to date. When running ./mach bootstrap, I am able to consistently get the following error PermissionError: [WinError 5] Access is denied: 'C:\\Users\\Tim Giles\\.mozbuild\\git-cinnabar\\.git\\objects\\00\\30a19587bb9dec6b12bef9fcb61cdcdfc03bd5'.

At first I thought this may have been a git-cinnabar issue and so I asked in the git-cinnabar room over on Matrix. According to :glandium, this is a bootstrap issue and not a git-cinnabar issue.

Component: General → Bootstrap Configuration
Product: Developer Infrastructure → Firefox Build System
Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/4138bf27d24f Avoid failing to remove the old git-cinnabar directory. r=firefox-build-system-reviewers,nalexander
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch

Issue is resolved for me now, I'm able to run ./mach bootstrap again without issue.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: