Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building VegaLite fails on v5.3.0 #146

Closed
asinghvi17 opened this issue Feb 6, 2019 · 1 comment
Closed

Building VegaLite fails on v5.3.0 #146

asinghvi17 opened this issue Feb 6, 2019 · 1 comment
Labels

Comments

@asinghvi17
Copy link

When trying to build VegaLite on MacOS (latest version), this happens:

pkg> build VegaLite
  Building LibCURL ─ `~/.julia/packages/LibCURL/OoXMv/deps/build.log`
  Building WinRPM ── `~/.julia/packages/WinRPM/Y9QdZ/deps/build.log`
  Building Homebrew  `~/.julia/packages/Homebrew/s09IX/deps/build.log`
  Building Cairo ─── `~/.julia/packages/Cairo/CXPG1/deps/build.log`
  Building Rsvg ──── `~/.julia/packages/Rsvg/uwc9D/deps/build.log`
  Building NodeJS ── `~/.julia/packages/NodeJS/rx0mH/deps/build.log`
  Building VegaLite  `~/.julia/packages/VegaLite/Sl5pu/deps/build.log`
┌ Error: Error building `VegaLite`:
│ curl: (48) An unknown option was passed in to libcurl
│ [ Info: Attempting to create directory /Users/anshul/.julia/packages/VegaLite/Sl5pu/deps/lib
│ [ Info: Attempting to create directory /Users/anshul/.julia/packages/VegaLite/Sl5pu/deps/lib
│ [ Info: Directory /Users/anshul/.julia/packages/VegaLite/Sl5pu/deps/lib already exists
│ [ Info: Downloading file https://vega.github.io/schema/vega-lite/v2.6.0.json
│ ERROR: LoadError: failed process: Process(`curl -f -o /Users/anshul/.julia/packages/VegaLite/Sl5pu/deps/lib/vega-lite-schema.json -L https://vega.github.io/schema/vega-lite/v2.6.0.json`, ProcessExited(48)) [48]
│ Stacktrace:
│  [1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at /Applications/Julia-1.1.app/Contents/Resources/julia/lib/julia/sys.dylib:?
│  [2] #run#515(::Bool, ::Function, ::Cmd) at /Applications/Julia-1.1.app/Contents/Resources/julia/lib/julia/sys.dylib:?
│  [3] run(::Cmd) at ./process.jl:724
│  [4] run(::BinDeps.SynchronousStepCollection) at /Users/anshul/.julia/packages/BinDeps/ZEval/src/BinDeps.jl:521
│  [5] run(::FileRule) at /Users/anshul/.julia/packages/BinDeps/ZEval/src/BinDeps.jl:483
│  [6] run(::BinDeps.SynchronousStepCollection) at /Users/anshul/.julia/packages/BinDeps/ZEval/src/BinDeps.jl:521
│  [7] top-level scope at /Users/anshul/.julia/packages/BinDeps/ZEval/src/BinDeps.jl:311
│  [8] include_relative(::Module, ::String) at /Applications/Julia-1.1.app/Contents/Resources/julia/lib/julia/sys.dylib:?
│  [9] include(::Module, ::String) at /Applications/Julia-1.1.app/Contents/Resources/julia/lib/julia/sys.dylib:? (repeats 2 times)
│  [10] top-level scope at none:0in expression starting at /Users/anshul/.julia/packages/VegaLite/Sl5pu/deps/build.jl:13
└ @ Pkg.Operations /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1075

However, running

curl -f -o /Users/anshul/.julia/packages/VegaLite/Sl5pu/deps/lib/vega-lite-schema.json -L https://vega.github.io/schema/vega-lite/v2.6.0.json

in bash works fine.

@asinghvi17
Copy link
Author

I got VegaLite to build by manually executing the failed command whenever there was an error - it seems LibCURL was not liking what seemed to be a perfectly valid command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants