go-qamel / qamel

Simple QML binding for Go
MIT License
173 stars 19 forks source link

qamel docker gen vendor failed: permission denied #11

Closed fcying closed 5 years ago

fcying commented 5 years ago
hello-world ‹master›$ qamel docker linux -o build/hello
Run `qamel build` from Docker image.
Starting build process.

Load config file...done
Generating vendor files...
Failed to vendor app: exit status 1
go: github.com/RadhiFadlillah/qamel@v0.0.0-20190708111841-8f5bb1aab5a7: mkdir /home/user/go/pkg: permission denied
go: error loading module requirements

Failed to build app using Docker: exit status 1

If I run qamel build first, and then run qamel docker linux, it will be fine.

hello-world ‹master›$ qamel build                      
Starting build process.

Load config file...done
Generating vendor files...done
Removing old build files...done
Generating binding files...done
Generating Qt resource file...done
Generating code for QML objects...done
Building app...done

Build finished succesfully.

hello-world ‹master›$ qamel docker linux -o build/hello
Run `qamel build` from Docker image.
Starting build process.

Load config file...done
Removing old build files...done
Generating binding files...done
Generating Qt resource file...done
Generating code for QML objects...done
Building app...done

Build finished succesfully.
RadhiFadlillah commented 5 years ago

Hi @fcying, could you check it out again. It should be fixed by 3dc4c5a4

fcying commented 5 years ago

It can work now~