vapor/toolbox

Error when trying to install vapor on Ubuntu 18.04

Ntxnc opened this issue · 2 comments

Ntxnc commented

Describe the bug

When I try to run the command "swift build -c release --disable-sandbox" in the toolbox directory cloned from GitHub, I get an error:

'mustache': error: invalidManifestFormat("error: compile command failed due to signal 6 (use -v to see invocation)\nterminate called after throwing an instance of 'std::system_error'\n what(): Resource temporarily unavailable\nPlease submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project and the crash backtrace.\nStack dump:\n0.\tProgram arguments: /usr/share/swift/usr/bin/swift-frontend -frontend -c -primary-file /home/kush/toolbox/.build/checkouts/mustache/Package.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /usr/share/swift/usr/lib/swift/pm/ManifestAPI -swift-version 5 -package-description-version 5.1.0 -new-driver-path /usr/share/swift/usr/bin/swift-driver -disable-implicit-concurrency-module-import -resource-dir /usr/share/swift/usr/lib/swift -module-name main -o /tmp/TemporaryDirectory.bgfpLA/Package-1.o\n1.\tSwift version 5.6 (swift-5.6-RELEASE)\n2.\tCompiling with the current language version\n3.\tWhile evaluating request IRGenRequest(IR Generation for file "/home/kush/toolbox/.build/checkouts/mustache/Package.swift")\nStack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var LLVM_SYMBOLIZER_PATH to point to it):\n/usr/share/swift/usr/bin/swift-frontend[0x5187163]\n/usr/share/swift/usr/bin/swift-frontend[0x5184efe]\n/usr/share/swift/usr/bin/swift-frontend[0x51874f6]\n/lib/x86_64-linux-gnu/libpthread.so.0(+0x12980)[0x7f01f6b16980]\n/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7f01f4da1e87]\n/lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7f01f4da37f1]\n/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8c957)[0x7f01f53f8957]\n/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x92ae6)[0x7f01f53feae6]\n/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x92b21)[0x7f01f53feb21]\n/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x92d54)[0x7f01f53fed54]\n/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8ea23)[0x7f01f53faa23]\n/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xbd9a9)[0x7f01f54299a9]\n/usr/share/swift/usr/bin/swift-frontend[0x837eaa]\n/usr/share/swift/usr/bin/swift-frontend[0x85d864]\n/usr/share/swift/usr/bin/swift-frontend[0x85d7b9]\n/usr/share/swift/usr/bin/swift-frontend[0x844457]\n/usr/share/swift/usr/bin/swift-frontend[0x83ab5e]\n/usr/share/swift/usr/bin/swift-frontend[0x499698]\n/usr/share/swift/usr/bin/swift-frontend[0x498765]\n/usr/share/swift/usr/bin/swift-frontend[0x48d508]\n/usr/share/swift/usr/bin/swift-frontend[0x4463af]\n/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f01f4d84c87]\n/usr/share/swift/usr/bin/swift-frontend[0x445dda]", diagnosticFile: nil)

To Reproduce

Steps to reproduce the behavior:

  1. Install swift 5.6 for Ubuntu 18.04 and all dependencies listed on Swift.org (followed every step on Swift.org)
  2. Cloning the toolbox => "git clone https://github.com/vapor/toolbox.git"
  3. "cd toolbox"
  4. "swift build -c release --disable-sandbox

After running "swift build -c release --disable-sandbox" the error occurs.

Expected behavior

Building vapor so I can move it to /usr/local/bin with "mv .build/release/vapor /usr/local/bin"

Environment

  • Vapor Framework version: trying to install vapor
  • Vapor Toolbox version: tried to use the latest
  • OS version: Ubuntu 18.04

Bildschirmfoto 2022-03-22 um 10 05 44

0xTim commented

@Ntxnc are you still getting this? I'm unable to reproduce

Closing due to inactivity - feel free to reopen if it's still an issue