Skip to content

Conversation

@yim-lee
Copy link
Contributor

@yim-lee yim-lee commented Feb 1, 2022

https://ci.swift.org/job/swift-PR-source-compat-suite-debug/4058/

$ sandbox-exec -f /Users/buildnode/jenkins/workspace-private/swift-source-compat-suite-sandbox/sandbox_package.sb /Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-debug/build/compat_macos/install/toolchain/usr/bin/swift package --disable-sandbox -C /Users/buildnode/jenkins/workspace/swift-PR-source-compat-suite-debug/swift-source-compat-suite/project_cache/GRDB.swift clean
warning: '--chdir/-C' option is deprecated; use '--package-path' instead
warning: Failed to load .netrc file at /Users/buildnode/.netrc. Error: unreadableFile(<AbsolutePath:"/Users/buildnode/.netrc">)
error: other(1)

Not sure if the other(1) error is .netrc related. Trying to see if
this code change will fix it.

@yim-lee
Copy link
Contributor Author

yim-lee commented Feb 2, 2022

@swift-ci please smoke test

https://ci.swift.org/job/swift-PR-source-compat-suite-debug/4058/

```
$ sandbox-exec -f /Users/buildnode/jenkins/workspace-private/swift-source-compat-suite-sandbox/sandbox_package.sb /Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-debug/build/compat_macos/install/toolchain/usr/bin/swift package --disable-sandbox -C /Users/buildnode/jenkins/workspace/swift-PR-source-compat-suite-debug/swift-source-compat-suite/project_cache/GRDB.swift clean
warning: '--chdir/-C' option is deprecated; use '--package-path' instead
warning: Failed to load .netrc file at /Users/buildnode/.netrc. Error: unreadableFile(<AbsolutePath:"/Users/buildnode/.netrc">)
error: other(1)
```

Not sure if the `other(1)` error is `.netrc` related. Trying to see if
this code change will fix it.

rdar://88308095
…ationDirectory

sharedConfigurationDirectory is a custom path iff defaultDirectory is
non nil (in this case it's only ever nil when an error occurs while
reading/writing the directory) and defaultDirectory != sharedConfigurationDirectory
@yim-lee
Copy link
Contributor Author

yim-lee commented Feb 2, 2022

@swift-ci please smoke test

@yim-lee yim-lee requested a review from neonichu February 2, 2022 06:15
@yim-lee
Copy link
Contributor Author

yim-lee commented Feb 2, 2022

Added 4f03f1b, which I think is the real fix, so please review again.

@yim-lee yim-lee merged commit d317f54 into swiftlang:main Feb 2, 2022
@yim-lee yim-lee deleted the netrc-test branch February 2, 2022 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants