[roll] Roll fuchsia [build] Fix NameError in copy.py when dest is read-only

When copying to a destination that exists and is read-only, copy.py
attempts to make it writeable using `os.chmod(dest, stat.S_IWRITE)`.
However, the `stat` module was not imported, causing a NameError.

This fixes it by importing `stat` at the top of the file.

This was exposed by sestarnix host tests which copy read-only
libraries from the sysroot.

Test: Verified with reproduction script on read-only file
TAG=agy
CONV=05580080-4822-412b-bdc8-da98bbc5a627

Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1652819
Original-Original-Revision: 1fab4ce9d4766586fcae63d70850848dd9d3ed81
GitOrigin-RevId: 155ad1940ac383004b911959c22261948933dc32
Change-Id: I881fcdc07f1c891409a0369bb5d31195e55d871b
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1654076
Cr-Commit-Position: refs/heads/main@{#194717}
1 file changed
tree: 2697bfdb34f937de3dc2de185358890830bfaa16
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.