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

[SR-14000] [SPM] [Windows10] TSCUtility/Triple.swift:152: Fatal error: could not determine host triple: malforme #4455

Open
swift-ci opened this issue Dec 28, 2020 · 1 comment
Labels

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-14000
Radar rdar://problem/72864701
Original Reporter lihansey (JIRA User)
Type Bug
Environment
  • virtualbox win10 on macOS.

https://developer.microsoft.com/zh-cn/windows/downloads/virtual-machines/

  • How to setup up windows dev env?

https://swift.org/getting-started/#on-windows

Maybe using virtual-machines could save much time.

Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: a9e4aa2dd6e2457cf344467517231e3b

Issue Description:

Hello dev:

when using [swift-windows-toolchain 2020 12 20 snapshot](https://dev.azure.com/compnerd/swift-build/_build/results?buildId=44103&view=artifacts&pathAsName=false&type=publishedArtifacts)

to build a demo project

[compnerd/swift-win32](https://github.com/compnerd/swift-win32)

by `SPM`, but `SPM` build fail like below:

```

c:\Users\User\Downloads\swift-win32>swift build TSCUtility/Triple.swift:152: Fatal error: could not determine host triple: malformed error: unable to invoke subcommand: C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin\swift-build.exe ()

```

And

@compnerd said:

> I happened to come across this on GitHub actions once. I think that this is a bug in SPM, and is transient. Re-running the command seemed to be fine on GitHub at least. I think that reporting the issue on bugs.swift.org might be reasonable.

> [More detail](https://github.com/compnerd/swift-win32/issues/327#issuecomment-751395160)

The solution maybe metioned on :
google/swift-jupyter#103 (comment)

@typesanitizer
Copy link

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants