JuliaIO / CodecZlib.jl

zlib codecs for TranscodingStreams.jl.
Other
51 stars 24 forks source link

Build error on FreeBSD for v0.5.1. #37

Closed CiaranOMara closed 5 years ago

CiaranOMara commented 5 years ago

I'm getting a build error on FreeBSD for v0.5.1. The error looks to be related to https://github.com/bicycle1885/ZlibBuilder/issues/11 .


 Installed CodecZlib ─ v0.5.1
  Building CodecZlib → `~/.julia/packages/CodecZlib/DAjXH/deps/build.log`
┌ Error: Error building `CodecZlib`:
│ [ Info: Downloading https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.3/Zlib.v1.2.11.x86_64-unknown-freebsd11.1.tar.gz to /home/username/.julia/packages/CodecZlib/DAjXH/deps/usr/downloads/Zlib.v1.2.11.x86_64-unknown-freebsd11.1.tar.gz...
│ ERROR: LoadError: LibraryProduct(nothing, ["libz"], :libz, "Prefix(/home/username/.julia/packages/CodecZlib/DAjXH/deps/usr)") is not satisfied, cannot generate deps.jl!
│ Stacktrace:
│  [1] error(::String) at ./error.jl:33
│  [2] #write_deps_file#152(::Bool, ::Function, ::String, ::Array{LibraryProduct,1}) at /home/username/.julia/packages/BinaryProvider/4F5Hq/src/Products.jl:414
│  [3] (::getfield(BinaryProvider, Symbol("#kw##write_deps_file")))(::NamedTuple{(:verbose,),Tuple{Bool}}, ::typeof(write_deps_file), ::String, ::Array{LibraryProduct,1}) at ./none:0
│  [4] top-level scope at logging.jl:310
│  [5] top-level scope at /home/username/.julia/packages/CodecZlib/DAjXH/deps/build.jl:82
│  [6] include at ./boot.jl:317 [inlined]
│  [7] include_relative(::Module, ::String) at ./loading.jl:1041
│  [8] include(::Module, ::String) at ./sysimg.jl:29
│  [9] include(::String) at ./client.jl:388
│  [10] top-level scope at none:0
│ in expression starting at /home/username/.julia/packages/CodecZlib/DAjXH/deps/build.jl:78
[00:03:57] ######################################################################## 100.0%
└ @ Pkg.Operations /home/vagrant/worker/package_freebsd64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1069
 username@hal  ~/.j/p/C/D/deps  julia build.jl --verbose                                                                                                                                                       Wed Dec 12 00:11:07 2018
Executing ~/.julia/config/startup.jl
[ Info: Directory /usr/home/username/.julia/packages/CodecZlib/DAjXH/deps/usr/lib does not exist!
[ Info: Destination file /usr/home/username/.julia/packages/CodecZlib/DAjXH/deps/usr/downloads/Zlib.v1.2.11.x86_64-unknown-freebsd11.1.tar.gz already exists, verifying...
[ Info: Hash cache is consistent, returning true
[ Info: Installing /usr/home/username/.julia/packages/CodecZlib/DAjXH/deps/usr/downloads/Zlib.v1.2.11.x86_64-unknown-freebsd11.1.tar.gz into /usr/home/username/.julia/packages/CodecZlib/DAjXH/deps/usr
[ Info: Removing files installed by manifests/Zlib.v1.2.11.x86_64-unknown-freebsd11.1.list
[ Info:   share/man/man3/zlib.3 removed
[ Info:   Culling empty directory share/man/man3
[ Info:   include/zlib.h removed
[ Info:   include/zconf.h removed
[ Info:   Culling empty directory include
[ Info:   logs/Zlib.log removed
[ Info:   Culling empty directory logs
[ Info:   /usr/home/username/.julia/packages/CodecZlib/DAjXH/deps/usr/lib/libz.a does not exist, but ignoring
[ Info:   /usr/home/username/.julia/packages/CodecZlib/DAjXH/deps/usr/lib/pkgconfig/zlib.pc does not exist, but ignoring
[ Info:   manifests/Zlib.v1.2.11.x86_64-unknown-freebsd11.1.list removed
[ Info: Could not locate libz inside /usr/home/username/.julia/packages/CodecZlib/DAjXH/deps/usr/lib
ERROR: LoadError: LibraryProduct(nothing, ["libz"], :libz, "Prefix(/usr/home/username/.julia/packages/CodecZlib/DAjXH/deps/usr)") is not satisfied, cannot generate deps.jl!
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] #write_deps_file#152(::Bool, ::Function, ::String, ::Array{LibraryProduct,1}) at /home/username/.julia/packages/BinaryProvider/4F5Hq/src/Products.jl:414
 [3] (::getfield(BinaryProvider, Symbol("#kw##write_deps_file")))(::NamedTuple{(:verbose,),Tuple{Bool}}, ::typeof(write_deps_file), ::String, ::Array{LibraryProduct,1}) at ./none:0
 [4] top-level scope at logging.jl:310
 [5] top-level scope at /usr/home/username/.julia/packages/CodecZlib/DAjXH/deps/build.jl:82
 [6] include at ./boot.jl:317 [inlined]
 [7] include_relative(::Module, ::String) at ./loading.jl:1041
 [8] include(::Module, ::String) at ./sysimg.jl:29
 [9] exec_options(::Base.JLOptions) at ./client.jl:229
 [10] _start() at ./client.jl:421
in expression starting at /usr/home/username/.julia/packages/CodecZlib/DAjXH/deps/build.jl:78