- 
                Notifications
    You must be signed in to change notification settings 
- Fork 5.2k
Resumbmit tar feedback changes, include Android build fix #69469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| Tagging subscribers to this area: @dotnet/area-system-io Issue DetailsSubmitting the changes approved in this PR: #69107 Addresses: #68230 Include an extra commit addressing the android build failure: The method  An alternative fix would be to check if  
 | 
| /azp run runtime-extra-platforms | 
| Azure Pipelines successfully started running 1 pipeline(s). | 
| The tests that verify group name in the tar archives will fail in android, so I need to address that before merging. Edit: As of the latest commit, this is no longer valid. The tests should pass in all platforms because those that don't support the  | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall it LGTM, but we also need to disable the Android tests that are using the unavailable API
| Does any mono code use getgrgid on Android ? (It should probably be fixed if it does) | 
| /azp run runtime-extra-platforms | 
| Azure Pipelines successfully started running 1 pipeline(s). | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming CI is green. This looks good.
| I am 3 distinct tar tests failing in  A)  Unrelated to tar. The test successfully copies all the necessary assets, but then fails to establish communication with the docker container after starting it: B)  All the tests that call the new P/Invoke   | 
| /azp run runtime-extra-platforms | 
| Azure Pipelines successfully started running 1 pipeline(s). | 
      
        
              This comment was marked as outdated.
        
        
      
    
  This comment was marked as outdated.
| /azp run runtime-extra-platforms | 
| Azure Pipelines successfully started running 1 pipeline(s). | 
| @carlossanlop you can surface files to the wasm app by using  | 
| /azp run runtime-extra-platforms | 
      
        
              This comment was marked as outdated.
        
        
      
    
  This comment was marked as outdated.
| 
 I'm still seeing "Browser" related changes in this PR. Specifically  | 
| I see why. It was part of the previously approved PR. Fixed with the last commit. | 
| /azp run runtime-extra-platforms | 
| Azure Pipelines successfully started running 1 pipeline(s). | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once my last 2 comments are resolved, this LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming CI passes, 
Submitting the changes approved in this PR: #69107
Addresses: #68230
Include an extra commit addressing the android build failure: The method
getgrgid_ris not recognized in Android API level < 24, so the build fails, causing widespread CI failures in PRs and in runtime-extra-platforms. Thegetgrgid_rmethod is consumed inside the new Tar APIs to retrieve the group name of the specified group Id. The code checks ifgetgrgid_ris not available, and then attempt to usegetgrgidinstead as the fallback, which is not thread-safe, but should be available in older Android API levels.