Skip to content
This repository was archived by the owner on Aug 16, 2023. It is now read-only.

fix a line of code which causes CodecLibz build to fail#171

Open
kindlychung wants to merge 1 commit intoJuliaPackaging:masterfrom
kindlychung:fix-julia-cmd
Open

fix a line of code which causes CodecLibz build to fail#171
kindlychung wants to merge 1 commit intoJuliaPackaging:masterfrom
kindlychung:fix-julia-cmd

Conversation

@kindlychung
Copy link

Got this error while building CodecLibz:

│ ERROR: LoadError: LibraryProduct(nothing, ["libz"], :libz, "Prefix(/home/kaiyin/.julia/packages/CodecZlib/hJvUf/deps/usr)") is not satisfied, cannot generate deps.jl!

This commit fixes the problem.

@hhaensel
Copy link
Contributor

hhaensel commented Jul 8, 2019

Hi @kindlychung ,
the code that you propose is executed if you call write_deps_file with isolate=false.
So if you want to correct the behaviour of BinaryProvider for yourself, better use

    verbose::Bool=false, isolate::Bool=false) where {P <: Product}

in line 398 of Products.jl
The reason, why the dlopen-check with isolate=true fails is not yet understood, but probably resolvable by deleting .julia
The ìsolate option was introduced by @staticfloat , I think, to have a more robust checking of the executability (is that an English word ;-) ) of a library product.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants