Skip to content
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

CI Builds for Debian 12 Failing #74613

Open
futurejones opened this issue Jun 21, 2024 · 1 comment
Open

CI Builds for Debian 12 Failing #74613

futurejones opened this issue Jun 21, 2024 · 1 comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels

Comments

@futurejones
Copy link
Contributor

Description

CI builds for Debian 12 are consistently failing at the same point.
https://ci.swift.org/job/oss-swift-package-debian-12-aarch64/

Reproduction

N/A

Expected behavior

Successful builds

Environment

Debian 12

Additional information

The issue is being caused by being unable to find the host Swift install for bootstrapping.
See build logs -
-- Warning: {} Host toolchain could not locate a compiler to build swift-driver.

This problem seems to be unique to Debian Docker containers being started via ssh e.g. a Jenkins pipeline build.
When the container is started via ssh the saved env PATH is overwritten.

The solution is to add the PATH to /etc/profile

Added fix here - swiftlang/swift-docker#397

@futurejones futurejones added bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels labels Jun 21, 2024
@futurejones
Copy link
Contributor Author

@shahmishal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels
Projects
None yet
Development

No branches or pull requests

1 participant