bblfsh / ruby-driver

GNU General Public License v3.0
3 stars 8 forks source link

Errors during installation of drivers #22

Closed EgorBu closed 6 years ago

EgorBu commented 6 years ago

Hi, During installation of drivers - several of them failed, one is ruby. Command below

docker run -d --name bblfshd --privileged -p 9432:9432 bblfsh/bblfshd
docker exec -it bblfshd bblfshctl driver install --recommended

Here is the log:

egor@egor-sourced:~/workspace/code-annotation$ docker exec -it bblfshd bblfshctl driver install --recommended
Installing bash language driver from "docker://bblfsh/bash-driver:latest"... Done
Installing go language driver from "docker://bblfsh/go-driver:latest"... Done
Installing ruby language driver from "docker://bblfsh/ruby-driver:latest"... Error
Error, unable to delete whiteout path: lstat /var/lib/bblfshd/tmp/image876882015/usr/lib/ruby/gems/2.4.0/gems/ast-2.4.0/.wh..opq: operation not permitted
Installing javascript language driver from "docker://bblfsh/javascript-driver:latest"... Done
Installing php language driver from "docker://bblfsh/php-driver:latest"... Done
Installing java language driver from "docker://bblfsh/java-driver:latest"... Done
Installing python language driver from "docker://bblfsh/python-driver:latest"... Error
Error, unable to delete whiteout path: lstat /var/lib/bblfshd/tmp/image837347843/usr/lib/python3.6/site-packages/pydetector/.wh..opq: operation not permitted

Update - docker run -d --name bblfshd --privileged -p 9432:9432 -v /var/lib/bblfshd:/var/lib/bblfshd bblfsh/bblfshd doesn't crush installation of ruby-driver

dennwc commented 6 years ago

I assume this is fixed (see #156)