simbit18 commented on PR #18056:
URL: https://github.com/apache/nuttx/pull/18056#issuecomment-3776628518

   Hi @xuxin930  and everyone, I have to get to work now, it seems to be the 
problem at this stage.
   
   ```
   function arm_gcc_toolchain() {
     Write-Host "Check ARM GCC toolchain toolchain ..." -ForegroundColor Green
     try {
       if (run_command("arm-none-eabi-gcc") -ne 0) {
         add_path "$NUTTXTOOLS\gcc-arm-none-eabi\bin"
         if (-not (Test-Path -Path 
"$NUTTXTOOLS\gcc-arm-none-eabi\bin\arm-none-eabi-gcc.exe")) {
           # Download the file
           Write-Host "Download: ARM GCC toolchain" -ForegroundColor Green
           $basefile = 
"arm-gnu-toolchain-13.2.Rel1-mingw-w64-i686-arm-none-eabi"
           Set-Location "$NUTTXTOOLS"
           # Download the latest ARM GCC toolchain prebuilt by ARM
           Invoke-WebRequest -Uri 
"https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/$basefile.zip";
 -OutFile "$NUTTXTOOLS\$basefile.zip" -ErrorAction Stop
           Expand-Archive "$NUTTXTOOLS\$basefile.zip"
           Move-Item -Path "$basefile\$basefile" -Destination 
"gcc-arm-none-eabi"
           Remove-Item "$basefile*" -Force
         }
       }
       arm-none-eabi-gcc --version
     }
     catch {
       Write-Error "Failed to download the file: $_"
     }
   }
   ```
   
   ```
   Check ARM GCC toolchain toolchain ...
   Download: ARM GCC toolchain
   An error occurred while executing the script: Failed to download the file: 
   Access Denied
   
   Access Denied
    
   You don't have permission to access 
   ```
   
   It seems to be a change with the Windows update actions -runner image and it 
concerns either **Write-Host**
   or the unzip and toolchain move phase.
   
   I can only work on it in the afternoon UTC.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to