-
Notifications
You must be signed in to change notification settings - Fork 56
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
Cairo does not built on julia 0.7 Windows (x86_64-w64-mingw32) #261
Comments
Might be specific to your system, appveyor succeeds in 0.7 (64bit) https://ci.appveyor.com/project/lobingera/cairo-jl-f7sfx |
Thanks @lobingera. I tried to remove Cairo and WinRPM from the folder .julia/packages and do a reinstall as it was suggested in other threads but I had no succcess. Do you have any suggestion to track and solve the problem? |
You could try a BinDeps debug https://github.com/JuliaPackaging/BinDeps.jl#diagnostics to see what BinDeps thinks is resolvable and not. |
Thanks @lobingera for your suggestion. Looks like the binaries required have been installed by WinRPM. I can in fact see them in a subfolder of ~.julia/Packages/WinRPM.
But when I run ` WARNING: importing deprecated binding Base.STDOUT into BinDeps.
|
One thing i remember is, BinDeps is thinking, that ALL dependencies have to be resolved within the same provider. Looks' like above you have pangocairo as (only) system lib. |
Thanks for the suggestion @lobingera! After removing Inkscape and pdf2svg from the PATH environment variable Cairo.jl builds successfully. |
BinDeps is not compatible with Julia 1.x. I have the same Cairo build problem and get this BinDeps error:
|
Building Cairo yields the error
ERROR: LoadError: Provider WinRPM.RPM failed to satisfy dependency pangocairo
. This is similar to what described in issues #230 and #239 but in that case the discussion was about OSX. I'm on Windows 10 (x86_64-w64-mingw32). I wonder if the error is a specific problem of my system or if it is a general problem at the moment that can be reproduced by other people.The complete log I obtain when I build Cairo is the following
`
(v0.7) pkg> build Cairo
Building LibCURL ─→
C:\Users\alaz\.julia\packages\LibCURL\GC3ap\deps\build.log
Building WinRPM ──→
C:\Users\alaz\.julia\packages\WinRPM\Y9QdZ\deps\build.log
Building Homebrew →
C:\Users\alaz\.julia\packages\Homebrew\l8kUw\deps\build.log
Building Cairo ───→
C:\Users\alaz\.julia\packages\Cairo\CXPG1\deps\build.log
┌ Error: Error building
Cairo
:│ [ Info: Updating WinRPM package list
│ [ Info: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
│ [ Info: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2/repodata/repomd.xml
│ [ Info: Nothing to do
│ [ Info: Nothing to do
│ [ Info: Nothing to do
│ ERROR: LoadError: Provider WinRPM.RPM failed to satisfy dependency pangocairo
│ Stacktrace:
│ [1] error(::String) at .\error.jl:33
│ [2] satisfy!(::BinDeps.LibraryDependency, ::Array{DataType,1}) at C:\Users\alaz.julia\packages\BinDeps\ZEval\src\dependencies.jl:945
│ [3] satisfy!(::BinDeps.LibraryGroup, ::Array{DataType,1}) at C:\Users\alaz.julia\packages\BinDeps\ZEval\src\dependencies.jl:910
│ [4] satisfy!(::BinDeps.LibraryGroup) at C:\Users\alaz.julia\packages\BinDeps\ZEval\src\dependencies.jl:874
│ [5] top-level scope at C:\Users\alaz.julia\packages\BinDeps\ZEval\src\dependencies.jl:977
│ [6] include at .\boot.jl:317 [inlined]
│ [7] include_relative(::Module, ::String) at .\loading.jl:1038
│ [8] include(::Module, ::String) at .\sysimg.jl:29
│ [9] include(::String) at .\client.jl:398
│ [10] top-level scope at none:0
│ in expression starting at C:\Users\alaz.julia\packages\Cairo\CXPG1\deps\build.jl:165
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v0.7\Pkg\src\Operations.jl:1068
`
The text was updated successfully, but these errors were encountered: