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.37k
stars
735
forks
source link
Modules fail to resolve and load with GOPROXY=off #1150
I'm in the process of trying to package an application for a Linux distribution that uses this tool.
I'm building the application with qtdeploy build <module>. My current issue gives a build output identical to #1115, #1103, and #1081. Digging into the -debug logs provides an error around each LoadModule warning:
DEBU[0016] failed to load (optional) go: github.com/docker/docker-credential-helpers@v0.6.3: module lookup disabled by GOPROXY=off/qtwidgets.index error="open go: github.com/docker/docker-credential-helpers@v0.6.3: module lookup disabled by GOPROXY=off/qtwidgets.index: no such file or directory"
and finally
ERRO[0009] failed to load go: github.com/docker/docker-credential-helpers@v0.6.3: module lookup disabled by GOPROXY=off/binding/files/utils-qml.go error="open go: github.com/docker/docker-credential-helpers@v0.6.3: module lookup disabled by GOPROXY=off/binding/files/utils-qml.go: no such file or directory"
The build process requires vendoring all of the application's dependencies and disabling network access during build time. However, qt seemingly ignores the vendor folder and tries to use the network. I've attempted to look into the code to figure out what needs patching to have it resolve things correctly, but I'm not making a lot of headway.
qtsetup check: (note that GOROOT and QT_DIR don't exist)
I'm in the process of trying to package an application for a Linux distribution that uses this tool.
I'm building the application with
qtdeploy build <module>
. My current issue gives a build output identical to #1115, #1103, and #1081. Digging into the-debug
logs provides an error around eachLoadModule
warning:and finally
The build process requires vendoring all of the application's dependencies and disabling network access during build time. However,
qt
seemingly ignores the vendor folder and tries to use the network. I've attempted to look into the code to figure out what needs patching to have it resolve things correctly, but I'm not making a lot of headway.qtsetup check
: (note thatGOROOT
andQT_DIR
don't exist)