Skip to content

Conversation

@etcwilde
Copy link
Member

Capture output on failure when unable to run -print-target-info in the build-script helper. The old behavior only emitted the command line and the exit code, which doesn't provide enough information in logs to be actionable.

12:01:29 --- build-script-helper.py: error: Command '['/home/ec2-user/jenkins/workspace/oss-swift-package-freebsd-14/latest_toolchain/usr/bin/swiftc', '-print-target-info']' returned non-zero exit status 1.

Capture output on failure when unable to run `-print-target-info` in the
build-script helper. The old behavior only emitted the command line and
the exit code, which doesn't provide enough information in logs to be
actionable.
@etcwilde etcwilde requested a review from artemcm December 15, 2025 22:25
@etcwilde
Copy link
Member Author

@swift-ci please test

@etcwilde
Copy link
Member Author

Windows doesn't use build-script-helper.py, so the Windows failure is unrelated to this PR.

@etcwilde etcwilde merged commit d64755f into swiftlang:main Dec 16, 2025
15 of 16 checks passed
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