dgroup / lazylead

Eliminate the annoying work within ticketing systems (Jira, GitHub, Trello). Allows automating (without admin access) daily actions like tickets fields verification, email notifications by JQL/GQL, meeting requests to your (or teammates) calendar.
https://lazylead.org
MIT License
72 stars 1 forks source link

Installation on windows fails due to rake task `sqlint` and its dependencies #155

Open dgroup opened 4 years ago

dgroup commented 4 years ago

Root cause: https://github.com/lfittl/pg_query/issues/60

xxx >bundle update
Fetching gem metadata from https://rubygems.org/..........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies.....
Using rake 12.3.3 (was 12.3.2)
Using concurrent-ruby 1.1.5
Fetching i18n 1.8.3 (was 1.8.2)
Installing i18n 1.8.3 (was 1.8.2)
Using minitest 5.11.3
Using thread_safe 0.3.6
Using tzinfo 1.1.0
Using zeitwerk 2.3.0
Using activesupport 6.0.3
Using activemodel 6.0.3
Using activerecord 6.0.3
Using ansi 1.5.0
Fetching ast 2.4.1 (was 2.4.0)
Installing ast 2.4.1 (was 2.4.0)
Using jwt 2.1.0
Using atlassian-jwt 0.2.0
Using backtrace 0.3.0
Using builder 3.2.4
Using bundler 2.1.4
Using json 2.2.0
Using docile 1.3.2
Using simplecov-html 0.12.2
Using simplecov 0.18.5
Using url 0.3.2
Using codecov 0.1.14
Fetching coderay 1.1.3 (was 1.1.2)
Installing coderay 1.1.3 (was 1.1.2)
Using differ 0.1.2
Using diffy 3.3.0
Using et-orbi 1.2.4
Fetching ffi 1.13.1 (x64-mingw32) (was 1.12.2)
Installing ffi 1.13.1 (x64-mingw32) (was 1.12.2)
Using ethon 0.12.0
Using multipart-post 2.1.1
Using faraday 1.0.1
Using fileutils 1.4.1
Using formatador 0.2.5
Fetching raabro 1.3.1 (was 1.3.0)
Installing raabro 1.3.1 (was 1.3.0)
Fetching fugit 1.3.6 (was 1.3.5)
Installing fugit 1.3.6 (was 1.3.5)
Using futex 0.8.5
Using get_process_mem 0.2.5
Using rb-fsevent 0.10.4
Using rb-inotify 0.10.1
Using listen 3.2.1
Fetching lumberjack 1.2.5 (was 1.2.4)
Installing lumberjack 1.2.5 (was 1.2.4)
Using nenv 0.3.0
Using shellany 0.0.1
Using notiffany 0.1.3
Using method_source 1.0.0
Using pry 0.13.1
Using thor 1.0.1
Using guard 2.15.0
Using guard-compat 1.2.1
Using guard-minitest 2.4.6
Using temple 0.8.2
Using tilt 2.0.10
Using haml 5.0.4
Using httpclient 2.8.3
Using ipaddr 1.2.2
Using jaro_winkler 1.5.4
Using oauth 0.5.4
Using jira-ruby 1.7.1
Using little-plugger 1.1.4
Using multi_json 1.14.1
Using logging 2.2.2
Using mini_mime 1.0.2
Using mail 2.7.1
Using memory_profiler 0.9.13
Using openssl 2.1.2
Using rainbow 3.0.0
Using require_all 3.0.0
Using rufus-scheduler 3.6.0
Using semantic 1.6.1
Using ruby2_keywords 0.0.2
Using mustermann 1.1.1
Fetching rack 2.2.3 (was 2.2.2)
Installing rack 2.2.3 (was 2.2.2)
Using rack-protection 2.0.5
Using sinatra 2.0.5
Using slop 4.4.0
Using sqlite3 1.4.2
Using sys-proctable 1.2.1
Using threads 0.3.0
Using total 0.3.0
Using typhoeus 1.3.1
Using tzinfo-data 1.2019.3
Using usagewatch 0.0.7
Using usagewatch_ext 0.2.1
Using vcs4sql 0.1.0
Using mini_portile2 2.4.0
Using nokogiri 1.10.9 (x64-mingw32)
Using rubyntlm 0.6.2
Using viewpoint 1.1.0
Using zache 0.12.0
Using lazylead 0.0.0 from source at `.`
Using minitest-fail-fast 0.1.0
Using minitest-hooks 1.5.0
Using ruby-progressbar 1.10.1
Using minitest-reporters 1.3.6
Using parallel 1.19.1
Fetching parser 2.7.1.3 (was 2.7.1.2)
Installing parser 2.7.1.3 (was 2.7.1.2)
Fetching pg_query 1.2.0
Installing pg_query 1.2.0 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/pg_query-1.2.0/ext/pg_query
C:/Ruby26-x64/bin/ruby.exe -I C:/Ruby26-x64/lib/ruby/2.6.0 -r
./siteconf20200616-22048-fcfxt2.rb extconf.rb
tar (child): Cannot connect to C: resolve failed

gzip: stdin: unexpected end of file
tar: Child returned status 128
tar: Error is not recoverable: exiting now
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=C:/Ruby26-x64/bin/$(RUBY_BASE_NAME)
extconf.rb:22:in `<main>': ERROR (RuntimeError)

extconf failed, exit code 1

Gem files will remain installed in
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/pg_query-1.2.0 for inspection.
Results logged to
C:/Ruby26-x64/lib/ruby/gems/2.6.0/extensions/x64-mingw32/2.6.0/pg_query-1.2.0/gem_make.out

An error occurred while installing pg_query (1.2.0), and Bundler cannot
continue.
Make sure that `gem install pg_query -v '1.2.0' --source
'https://rubygems.org/'` succeeds before bundling.

In Gemfile:
  sqlint was resolved to 0.1.10, which depends on
    pg_query
dgroup commented 4 years ago

https://github.com/lfittl/pg_query/issues/60