Open skanskan opened 5 years ago
Hi @skanskan please see #387 Just had a look out of curiosity, and did a hack to see BinDeps.debugs output (because of pkg.Dir depreceated) PS: libCairo refuses to build on Win10/1.0.2 for me too.
`julia> BinDeps.debug("Cairo") [ Info: Reading build script... [ Info: Recompiling stale cache file C:\Users\Tho.julia\compiled\v1.0\WinRPM\ko3j0.ji for WinRPM [c17dfb99-b4f7-5aad-8812-456da1ad7187] The package declares 1 dependencies.
Library Group "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
julia>`
Any progress on this? See the exact same issue with this use case.
see https://github.com/JuliaGraphics/Cairo.jl/issues/265 in short, stdout handling changed btw 0.7 and 1.0. and further - winRPM fetched (mingw) cairo libs depend on SJLJ but dont include that symbols themselfs. Current Mingw switched to SEH and such Libdl.dlopen fails because of unfilled lib dependencies even when one has a copy of Mingw installed.
follow up:
STDOUT
(used last line in debug.jl
) was renamed in v1.0 to stdout
(see JuliaLang/julia#25959)
any chance of a v1.0 only tag? I am having deprecation issues:
julia> BinDeps.debug(stdout, "Cairo")
[ Info: Reading build script...
┌ Warning: `Pkg.dir(pkgname, paths...)` is deprecated; instead, do `import Cairo; joinpath(dirname(pathof(Cairo)), "..", paths...)`.
└ @ Pkg.API /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:454
ERROR: MethodError: no method matching joinpath(::Nothing, ::String, ::String)
Closest candidates are:
joinpath(::AbstractString, ::AbstractString, ::AbstractString...) at path.jl:214
joinpath(::String, ::String) at path.jl:217
joinpath(::AbstractString, ::AbstractString) at path.jl:226
Stacktrace:
[1] macro expansion at ./logging.jl:308 [inlined]
[2] debug_context(::String) at /home/hamza/.julia/packages/BinDeps/ZEval/src/debug.jl:48
[3] debug(::Base.TTY, ::String) at /home/hamza/.julia/packages/BinDeps/ZEval/src/debug.jl:57
[4] top-level scope at none:0
julia> VERSION
v"1.0.0"
(v1.0) pkg> status
Status `~/.julia/environments/v1.0/Project.toml`
#...
[9e28174c] BinDeps v0.8.10
On master (]add BinDeps#master
) this works fine. Should have been fixed by #389, @rdeits?
Hello.
When I try to execute
BinDeps.debug("Cairo")
I get this error.ERROR: UndefVarError: STDOUT not defined
I'm using Julia 1.0.2 on Windows 10.