Failed to build CodecZlib

package

#1

I ran into the following IOError when building CodecZlib on Ubuntu 16.04 with Julia 1.1, any idea to fix this? Thanks.

  Building CodecZlib → `~/.julia/packages/CodecZlib/DAjXH/deps/build.log`
┌ Error: Error building `CodecZlib`: 
│ ERROR: LoadError: IOError: stat: i/o error (EIO)
│ Stacktrace:
│  [1] stat(::String) at ./stat.jl:68
│  [2] isfile at ./stat.jl:303 [inlined]
│  [3] safe_isfile(::String) at /home/xiucheng/.julia/packages/BinaryProvider/4F5Hq/src/Prefix.jl:16
│  [4] #install#129(::Prefix, ::String, ::Bool, ::Bool, ::Bool, ::Function, ::String, ::String) at /home/xiucheng/.julia/packages/BinaryProvider/4F5Hq/src/Prefix.jl:306
│  [5] (::getfield(BinaryProvider, Symbol("#kw##install")))(::NamedTuple{(:prefix, :force, :verbose),Tuple{Prefix,Bool,Bool}}, ::typeof(install), ::String, ::String) at ./none:0
│  [6] top-level scope at /home/xiucheng/.julia/packages/CodecZlib/DAjXH/deps/build.jl:89
│  [7] include at ./boot.jl:326 [inlined]
│  [8] include_relative(::Module, ::String) at ./loading.jl:1038
│  [9] include(::Module, ::String) at ./sysimg.jl:29
│  [10] include(::String) at ./client.jl:403
│  [11] top-level scope at none:0
│ in expression starting at /home/xiucheng/.julia/packages/CodecZlib/DAjXH/deps/build.jl:78
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1075

The filesystem of the machine is as follows (not sure whether the issue is related to it):

xiucheng@SCEALE-GPU001:~$ df -hT
Filesystem      Type      Size  Used Avail Use% Mounted on
udev            devtmpfs  252G     0  252G   0% /dev
tmpfs           tmpfs      51G  115M   51G   1% /run
/dev/sda2       ext4      440G   16G  402G   4% /
tmpfs           tmpfs     252G   56K  252G   1% /dev/shm
tmpfs           tmpfs     5.0M     0  5.0M   0% /run/lock
tmpfs           tmpfs     252G     0  252G   0% /sys/fs/cgroup
/dev/sda1       vfat      487M  3.4M  483M   1% /boot/efi
/dev/sdb1       ext4      7.0T  2.0T  4.7T  30% /raid
tmpfs           tmpfs      51G     0   51G   0% /run/user/1000
NAS:userdata    nfs        55T  2.0T   53T   4% /home
NAS:project0550 nfs        55T  2.0T   53T   4% /Project0550
NAS:project0551 nfs        55T  2.0T   53T   4% /Project0551
NAS:project0552 nfs        55T  2.0T   53T   4% /Project0552
NAS:project0553 nfs        55T  2.0T   53T   4% /Project0553
NAS:project0554 nfs        55T  2.0T   53T   4% /Project0554
NAS:project0555 nfs        55T  2.0T   53T   4% /Project0555
NAS:timesheet   nfs        55T  2.0T   53T   4% /timesheet
tmpfs           tmpfs      51G     0   51G   0% /run/user/1013
tmpfs           tmpfs      51G     0   51G   0% /run/user/1010
tmpfs           tmpfs      51G   16K   51G   1% /run/user/1015
tmpfs           tmpfs      51G   28K   51G   1% /run/user/1008
tmpfs           tmpfs      51G     0   51G   0% /run/user/1012
tmpfs           tmpfs      51G   12K   51G   1% /run/user/1009

#2

Do you have sufficient disk space, and write permissions?


#3

Hi @Tamas_Papp, I do have sufficient disk space. I can create regular files in my home directory, so is there any other permission that I am supposed to own?


#4

X-ref: https://github.com/bicycle1885/CodecZlib.jl/issues/38