therecipe / qt

Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly
GNU Lesser General Public License v3.0
10.5k stars 748 forks source link

Cannot operate with a read-only vendor folder #1151

Open xeals opened 4 years ago

xeals commented 4 years ago

I'm in the process of trying to package an application for a Linux distribution that uses this tool. This issue follows #1150.

The build environment I am required to use fetches all of a Go application's dependencies and vendors them read-only. From what I've found the build tools write heavily to the vendor and/or GOPATH.

I'm aware that this is a niche issue, so I don't expect a fix for it. However, I would appreciate any guidance in how to go about resolving this -- where to look in the code, what to change, etc.