Skip to content
This repository was archived by the owner on Mar 1, 2020. It is now read-only.
This repository was archived by the owner on Mar 1, 2020. It is now read-only.

Segmentation fault: 11 #4

Description

@Jeehut

I installed querykit-cli via Homebrew and I'm getting a Segmentation fault: 11 when I try to run the querykit command as suggested in the README. Is it possible this isn't working with Swift 2.1?

Here's my full Swift version info:

$ swift --version
Apple Swift version 2.1.1 (swiftlang-700.1.101.15 clang-700.1.81)
Target: x86_64-apple-darwin15.2.0

Activity

  1. troya2 commented on Jan 27, 2016

    @troya2

    Same here. I get it just running querykit by itself or with -h or --help. Not sure which matters, but I'm on El Capitan, using XCode 7.2.

  2. gekitz commented on Feb 7, 2016

    @gekitz

    Same here.

  3. kylef commented on Feb 29, 2016

    @kylef
    Member

    Unfortunately these issues are due to the homebrew version is a binary release, when the underlying Xcode on your system is updated, the binaries are now hitting a different version of Swift's run-time libraries bundled with Xcode.

    Installing from source via there instructions in the README should work for now. Sorry about this.

    You can install into home-brew's directory via:

    $ brew uninstall querykit-cli
    $ make DESTDIR=/usr/local/Cellar/querykit-cli/HEAD install
    $ brew link querykit-cli
  4. sgflamel commented on Mar 14, 2016

    @sgflamel

    I follow you new command, but still it doesn't work
    make DESTDIR=/usr/local/Cellar/querykit-cli/HEAD install
    :0: error: no such file or directory: 'build'
    make: *** [build] Error 1

    And also, when I wanted to install the query kit from git, it returns the same error
    MacBook-Pro:querykit-cli fyt$ make install
    :0: error: no such file or directory: 'build'
    make: *** [build] Error 1

    Update~
    Yesterday is a tough day, but I successfully built the project eventually!
    First I check out my swift tool chain to 2.2 snapshot, but still the 'swift build' command won't work, then I check out to the latest 3.0 swift tool chain, and it worked! However, after the SwiftPM clone source from git, it told me that a folder name can not be found, but when I check the 'Tests' folder, it's already there. After a long time googling, I found a not that perfect but available solution, just change the 'Tests' folder's name to '_Tests', and the build will continue and finally done. And BTW, your project is fascinating

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions