vapor / toolbox

Simplifies common command line tasks when using Vapor

Repository from Github https://github.comvapor/toolboxRepository from Github https://github.comvapor/toolbox

Failed to build and run on Fedora 34 x64

tomisacat opened this issue · comments

Describe the bug

Following instructions on Install on Linux, and build project with vapor build, the console outputs:

[0/878] Compiling tls_record.cc
VaporToolbox/exec.swift:55: Fatal error: result 1
Illegal instruction (core dumped)

To Reproduce

Steps to reproduce the behavior:

  1. Install Swift with dnf install swift
  2. Install Vapor Toolbox
  3. Create new project(vapor new hello) and switch to the directory(cd hello)
  4. Build: vapor build

Expected behavior

Build succeed.

Environment

  • Vapor Framework version: 4.48.5
  • Vapor Toolbox version: main (7575fe2)
  • OS version: Linux vapor 5.11.12-300.fc34.x86_64 GNU/Linux

Using swift build instead, the outputs point out zlib not found. Install zlib and build again it worked.