libvips / build-win64-mxe

73 stars 15 forks source link

error: chmod on /data/mxe/.git/config.lock failed: Operation not permitted #18

Closed GrandArth closed 3 years ago

GrandArth commented 3 years ago

Source code version: 8.10.5 - build2 (the one come with release) Host: Ubuntu 20 WSL2 The complete output is as follow:

buster: Pulling from library/buildpack-deps
Digest: sha256:782de14b2481856bb30181ef6c1987ddc550579fcf0dae94403c66791095b455
Status: Image is up to date for buildpack-deps:buster
docker.io/library/buildpack-deps:buster
[+] Building 0.1s (9/9) FINISHED
 => [internal] load build definition from Dockerfile                                                                                          0.0s
 => => transferring dockerfile: 32B                                                                                                           0.0s
 => [internal] load .dockerignore                                                                                                             0.0s
 => => transferring context: 2B                                                                                                               0.0s
 => [internal] load metadata for docker.io/library/buildpack-deps:buster                                                                      0.0s
 => [1/5] FROM docker.io/library/buildpack-deps:buster                                                                                        0.0s
 => CACHED [2/5] RUN apt-get update   && apt-get install -y     autopoint bison flex gettext gperf intltool     libtool-bin libxml-parser-pe  0.0s
 => CACHED [3/5] RUN cd $(dirname `python3 -c "import mesonbuild as _; print(_.__path__[0])"`)   && curl -L https://gist.github.com/kleisauk  0.0s
 => CACHED [4/5] RUN curl -L https://github.com/libav/gas-preprocessor/raw/master/gas-preprocessor.pl -o /usr/bin/gas-preprocessor.pl   && c  0.0s
 => CACHED [5/5] WORKDIR /data                                                                                                                0.0s
 => exporting to image                                                                                                                        0.0s
 => => exporting layers                                                                                                                       0.0s
 => => writing image sha256:dc48ae5e1afa1b74504013c256d31629dcf06dc055696cf9b07332ad8c5911a6                                                  0.0s
 => => naming to docker.io/library/libvips-build-win-mxe                                                                                      0.0s
Cloning into 'mxe'...
error: chmod on /data/mxe/.git/config.lock failed: Operation not permitted
fatal: could not set 'core.filemode' to 'false'
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

It appears to be a docker related problem, i tried switching to a powershell window with admin priviledge, but it is no avail. Any ideas? I would try to build this later on an Arch and see what will happen.

GrandArth commented 3 years ago

I guess i will close this... since everything works perfectly after i updated and restarted docker...