Comments (12)
I don’t think Ice supports Linux. I actually just opened an issue there
from mint.
So that looks like master yes?
I don’t know why that would be happening.
Could you try running just a swift build
Instead of make
from mint.
Ok, let me check both if it's master and if swift build
works ...
from mint.
Yes, I'm quite confident that it's master and here's the swift build
output (it doesn't show errors):
+ swift build
Compile clibc libc.c
Compile Swift Module 'PathKit' (1 sources)
Compile Swift Module 'Rainbow' (11 sources)
Compile Swift Module 'SwiftCLI' (20 sources)
Compile Swift Module 'SPMLibc' (1 sources)
Compile Swift Module 'POSIX' (11 sources)
Compile Swift Module 'Basic' (37 sources)
Compile Swift Module 'Utility' (19 sources)
Compile Swift Module 'MintKit' (9 sources)
Compile Swift Module 'MintCLI' (9 sources)
Compile Swift Module 'Mint' (1 sources)
Linking ./.build/x86_64-unknown-linux/debug/mint
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/apple/swift-package-manager.git
Cloning https://github.com/jakeheis/SwiftCLI
Resolving https://github.com/jakeheis/SwiftCLI at 5.1.2
Cloning https://github.com/kylef/Spectre.git
Resolving https://github.com/kylef/Spectre.git at 0.8.0
Cloning https://github.com/kylef/PathKit.git
Resolving https://github.com/kylef/PathKit.git at 0.9.1
Cloning https://github.com/onevcat/Rainbow.git
Resolving https://github.com/onevcat/Rainbow.git at 3.1.4
Cloning https://github.com/apple/swift-package-manager.git
Resolving https://github.com/apple/swift-package-manager.git at 0.2.0
from mint.
I suspect it’s the -Xswiftc -static-stdlib
from mint.
I'm just trying different swift build
parameters, I'll report once the CI is done, just wait a moment ...
from mint.
Yeah, you were right, both swift build --disable-sandbox
and swift build --disable-sandbox -c release
passed as well. So it must be the -Xswiftc -static-stdlib
. Can I work around it somehow? What happens, if I just don't add them?
from mint.
Looks like this SO question or this open Swift issue could be the issue, no?
from mint.
Okay, actually it looks more like this open Swift issue.
from mint.
I just tried the latest Swift snapshot (from 2018-08-02) and Swift 4.0.3 and the issue appears in all of the tested version.
from mint.
Yes, Mint itself has to check for Linux to not add this flag when installing other tools here https://github.com/yonaskolb/Mint/blob/master/Sources/MintKit/Mint.swift#L289
The command basically just bundles up swift with the binary. Not having it means that the binary may fail when a new version of swift comes out and may have to be re-installed. ABI stability in Swift 5 should solve this though.
A workaround is to not run the make install
script but to just install yourself
swift build --disable-sandbox -c release
cp -f .build/release/mint /usr/local/bin/mint
The fix would be to make the Makefile aware of it was running on Linux and adjust accordingly
from mint.
Thank you for the workaround, it kinda worked!
Though I still couldn't install SwiftLint or Ice running mint install jakeheis/Ice
.
When running with the --verbose
option set, I get something like this:
mint install jakeheis/Ice --verbose
🌱 Finding latest version of Ice
🌱 Resolved latest version of Ice to 0.6.1
🌱 Cloning https://github.com/jakeheis/Ice.git 0.6.1...
Cloning into 'github.com_jakeheis_Ice'...
Note: checking out '24eae42cfaa59ac4b8965ce5f0936a84b97287aa'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
🌱 Building Ice with SPM...
Failed to build Ice
from mint.
Related Issues (20)
- Using `master` when a project has no tags is problematic HOT 1
- Add Shell Completion Scripts HOT 1
- [BUG] Version comparison fails when it should actually succeed
- [CI] Github actions HOT 1
- To support local-packages HOT 1
- Build and cache packages on ci server to accelerate installs
- Swift Package plugin: MintKit compilation errors HOT 2
- Can't run [email protected] due to missing lib_InternalSwiftSyntaxParser.dylib HOT 2
- Allow custom scripts in the Mintfile
- Running (or rather, building) swiftlint 0.50.0-rc.1 fails HOT 4
- Mint 0.17.3 isn't available on brew HOT 1
- i can't install mint HOT 5
- Cannot install IBLinter with latest Mint HOT 1
- `mint run`, but referring to SPM executable name, instead of GitHub repo name? HOT 1
- Support Artifact Bundle
- Cannot find bundle with Bundle.module HOT 5
- mint does not fail when Mintfile does not exists at the specified path HOT 2
- Enable locking versions in `Mintfile.lock` or sth similar HOT 4
- mint which usage HOT 1
- _InternalSwiftSyntaxParser (no such module '_InternalSwiftSyntaxParser')
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mint.