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.49k stars 748 forks source link

Failed to install on Arch Linux #883

Closed egormalyutin closed 5 years ago

egormalyutin commented 5 years ago
> go get -u -v github.com/therecipe/qt/cmd/... && $(go env GOPATH)/bin/qtsetup test && $(go env GOPATH)/bin/qtsetup -test=false
github.com/therecipe/qt (download)
# cd /home/egorcod/go/src/github.com/therecipe/qt; git pull --ff-only
error: Your local changes to the following files would be overwritten by merge:
    androidextras/androidextras.go
    androidextras/androidextras_android.cpp
    androidextras/androidextras_android.go
    androidextras/androidextras_android.h
    bluetooth/bluetooth.cpp
    bluetooth/bluetooth.go
    bluetooth/bluetooth.h
    charts/charts.cpp
    charts/charts.go
    charts/charts.h
    core/core.cpp
    core/core.go
    core/core.h
    datavisualization/datavisualization.cpp
    datavisualization/datavisualization.go
    datavisualization/datavisualization.h
    dbus/dbus.cpp
    dbus/dbus.go
    dbus/dbus.h
    designer/designer.cpp
    designer/designer.go
    designer/designer.h
    gamepad/gamepad.cpp
    gamepad/gamepad.go
    gamepad/gamepad.h
    gui/gui.cpp
    gui/gui.go
    gui/gui.h
    help/help.cpp
    help/help.go
    help/help.h
    location/location.cpp
    location/location.go
    location/location.h
    multimedia/multimedia.cpp
    multimedia/multimedia.go
    multimedia/multimedia.h
    network/network.cpp
    network/network.go
    network/network.h
    nfc/nfc.cpp
    nfc/nfc.go
    nfc/nfc.h
    positioning/positioning.cpp
    positioning/positioning.go
    positioning/positioning.h
    printsupport/printsupport.cpp
    printsupport/printsupport.go
    printsupport/printsupport.h
    purchasing/purchasing.cpp
    purchasing/purchasing.go
    purchasing/purchasing.h
    qml/qml.cpp
    qml/qml.go
    qml/qml.h
    quick/quick.cpp
    quick/quick.go
    quick/quick.h
    quickcontrols2/quickcontrols2.cpp
    quickcontrols2/quickcontrols2.go
    quickcontrols2/quickcontrols2.h
    remoteobjects/remoteobjects.cpp
    remoteobjects/remoteobjects.go
    remoteobjects/remoteobjects.h
    sailfish/sailfish.go
    sailfish/sailfish_sailfish.cpp
    sailfish/sailfish_sailfish.go
    sailfish/sailfish_sailfish.h
    script/script.cpp
    script/script.go
    script/script.h
    scripttools/scripttools.cpp
    scripttools/scripttools.go
    scripttools/scripttools.h
    scxml/scxml.cpp
    scxml/scxml.go
    scxml/scxml.h
    sensors/sensors.cpp
    sensors/sensors.go
    sensors/sensors.h
    serialbus/serialbus.cpp
    serialbus/serialbus.go
    serialbus/serialbus.h
    serialport/serialport.cpp
    serialport/serialport.go
    serialport/serialport.h
    speech/speech.cpp
    speech/speech.go
    speech/speech.h
    sql/sql.cpp
    sql/sql.go
    sql/sql.h
    svg/svg.cpp
    svg/svg.go
    svg/svg.h
    testlib/testlib.cpp
    testlib/testlib.go
    testlib/testlib.h
    uitools/uitools.cpp
    uitools/uitools.go
    uitools/uitools.h
    webchannel/webchannel.cpp
    webchannel/webchannel.go
    webchannel/webchannel.h
    webengine/webengine.cpp
    webengine/webengine.go
    webengine/webengine.h
    websockets/websockets.cpp
    websockets/websockets.go
    websockets/websockets.h
    webview/webview.go
    widgets/widgets.cpp
    widgets/widgets.go
    widgets/widgets.h
    xml/xml.cpp
    xml/xml.go
    xml/xml.h
    xmlpatterns/xmlpatterns.cpp
    xmlpatterns/xmlpatterns.go
    xmlpatterns/xmlpatterns.h
Please commit your changes or stash them before you merge.
Aborting
package github.com/therecipe/qt/cmd/qtdeploy: exit status 1
github.com/sirupsen/logrus (download)
Fetching https://golang.org/x/sys/unix?go-get=1
Parsing meta tags from https://golang.org/x/sys/unix?go-get=1 (status code 200)
get "golang.org/x/sys/unix": found meta tag get.metaImport{Prefix:"golang.org/x/sys", VCS:"git", RepoRoot:"https://go.googlesource.com/sys"} at https://golang.org/x/sys/unix?go-get=1
get "golang.org/x/sys/unix": verifying non-authoritative meta tag
Fetching https://golang.org/x/sys?go-get=1
Parsing meta tags from https://golang.org/x/sys?go-get=1 (status code 200)
golang.org/x/sys (download)
Fetching https://golang.org/x/tools/imports?go-get=1
Parsing meta tags from https://golang.org/x/tools/imports?go-get=1 (status code 200)
get "golang.org/x/tools/imports": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/imports?go-get=1
get "golang.org/x/tools/imports": verifying non-authoritative meta tag
Fetching https://golang.org/x/tools?go-get=1
Parsing meta tags from https://golang.org/x/tools?go-get=1 (status code 200)
golang.org/x/tools (download)
Fetching https://golang.org/x/tools/internal/imports?go-get=1
Parsing meta tags from https://golang.org/x/tools/internal/imports?go-get=1 (status code 200)
get "golang.org/x/tools/internal/imports": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/imports?go-get=1
get "golang.org/x/tools/internal/imports": verifying non-authoritative meta tag
Fetching https://golang.org/x/tools/go/ast/astutil?go-get=1
Parsing meta tags from https://golang.org/x/tools/go/ast/astutil?go-get=1 (status code 200)
get "golang.org/x/tools/go/ast/astutil": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/ast/astutil?go-get=1
get "golang.org/x/tools/go/ast/astutil": verifying non-authoritative meta tag
Fetching https://golang.org/x/tools/go/packages?go-get=1
Parsing meta tags from https://golang.org/x/tools/go/packages?go-get=1 (status code 200)
get "golang.org/x/tools/go/packages": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/packages?go-get=1
get "golang.org/x/tools/go/packages": verifying non-authoritative meta tag
Fetching https://golang.org/x/tools/go/gcexportdata?go-get=1
Parsing meta tags from https://golang.org/x/tools/go/gcexportdata?go-get=1 (status code 200)
get "golang.org/x/tools/go/gcexportdata": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/gcexportdata?go-get=1
get "golang.org/x/tools/go/gcexportdata": verifying non-authoritative meta tag
Fetching https://golang.org/x/tools/go/internal/gcimporter?go-get=1
Parsing meta tags from https://golang.org/x/tools/go/internal/gcimporter?go-get=1 (status code 200)
get "golang.org/x/tools/go/internal/gcimporter": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/internal/gcimporter?go-get=1
get "golang.org/x/tools/go/internal/gcimporter": verifying non-authoritative meta tag
Fetching https://golang.org/x/tools/go/internal/packagesdriver?go-get=1
Parsing meta tags from https://golang.org/x/tools/go/internal/packagesdriver?go-get=1 (status code 200)
get "golang.org/x/tools/go/internal/packagesdriver": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/internal/packagesdriver?go-get=1
get "golang.org/x/tools/go/internal/packagesdriver": verifying non-authoritative meta tag
Fetching https://golang.org/x/tools/internal/gopathwalk?go-get=1
Parsing meta tags from https://golang.org/x/tools/internal/gopathwalk?go-get=1 (status code 200)
get "golang.org/x/tools/internal/gopathwalk": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/gopathwalk?go-get=1
get "golang.org/x/tools/internal/gopathwalk": verifying non-authoritative meta tag
Fetching https://golang.org/x/tools/internal/fastwalk?go-get=1
Parsing meta tags from https://golang.org/x/tools/internal/fastwalk?go-get=1 (status code 200)
get "golang.org/x/tools/internal/fastwalk": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/fastwalk?go-get=1
get "golang.org/x/tools/internal/fastwalk": verifying non-authoritative meta tag
Fetching https://golang.org/x/tools/internal/semver?go-get=1
Parsing meta tags from https://golang.org/x/tools/internal/semver?go-get=1 (status code 200)
get "golang.org/x/tools/internal/semver": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/semver?go-get=1
get "golang.org/x/tools/internal/semver": verifying non-authoritative meta tag
Fetching https://golang.org/x/tools/internal/module?go-get=1
Parsing meta tags from https://golang.org/x/tools/internal/module?go-get=1 (status code 200)
get "golang.org/x/tools/internal/module": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/module?go-get=1
get "golang.org/x/tools/internal/module": verifying non-authoritative meta tag
Fetching https://golang.org/x/crypto/ssh?go-get=1
Parsing meta tags from https://golang.org/x/crypto/ssh?go-get=1 (status code 200)
get "golang.org/x/crypto/ssh": found meta tag get.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at https://golang.org/x/crypto/ssh?go-get=1
get "golang.org/x/crypto/ssh": verifying non-authoritative meta tag
Fetching https://golang.org/x/crypto?go-get=1
Parsing meta tags from https://golang.org/x/crypto?go-get=1 (status code 200)
golang.org/x/crypto (download)
Fetching https://golang.org/x/crypto/curve25519?go-get=1
Parsing meta tags from https://golang.org/x/crypto/curve25519?go-get=1 (status code 200)
get "golang.org/x/crypto/curve25519": found meta tag get.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at https://golang.org/x/crypto/curve25519?go-get=1
get "golang.org/x/crypto/curve25519": verifying non-authoritative meta tag
Fetching https://golang.org/x/crypto/ed25519?go-get=1
Parsing meta tags from https://golang.org/x/crypto/ed25519?go-get=1 (status code 200)
get "golang.org/x/crypto/ed25519": found meta tag get.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at https://golang.org/x/crypto/ed25519?go-get=1
get "golang.org/x/crypto/ed25519": verifying non-authoritative meta tag
Fetching https://golang.org/x/crypto/ed25519/internal/edwards25519?go-get=1
Parsing meta tags from https://golang.org/x/crypto/ed25519/internal/edwards25519?go-get=1 (status code 200)
get "golang.org/x/crypto/ed25519/internal/edwards25519": found meta tag get.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at https://golang.org/x/crypto/ed25519/internal/edwards25519?go-get=1
get "golang.org/x/crypto/ed25519/internal/edwards25519": verifying non-authoritative meta tag
Fetching https://golang.org/x/crypto/internal/chacha20?go-get=1
Parsing meta tags from https://golang.org/x/crypto/internal/chacha20?go-get=1 (status code 200)
get "golang.org/x/crypto/internal/chacha20": found meta tag get.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at https://golang.org/x/crypto/internal/chacha20?go-get=1
get "golang.org/x/crypto/internal/chacha20": verifying non-authoritative meta tag
Fetching https://golang.org/x/crypto/internal/subtle?go-get=1
Parsing meta tags from https://golang.org/x/crypto/internal/subtle?go-get=1 (status code 200)
get "golang.org/x/crypto/internal/subtle": found meta tag get.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at https://golang.org/x/crypto/internal/subtle?go-get=1
get "golang.org/x/crypto/internal/subtle": verifying non-authoritative meta tag
Fetching https://golang.org/x/crypto/poly1305?go-get=1
Parsing meta tags from https://golang.org/x/crypto/poly1305?go-get=1 (status code 200)
get "golang.org/x/crypto/poly1305": found meta tag get.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at https://golang.org/x/crypto/poly1305?go-get=1
get "golang.org/x/crypto/poly1305": verifying non-authoritative meta tag
therecipe commented 5 years ago

Hey

Try to remove /home/egorcod/go/src/github.com/therecipe/qt and then run

go get -u -v github.com/therecipe/qt/cmd/... && $(go env GOPATH)/bin/qtsetup test && $(go env GOPATH)/bin/qtsetup -test=false

again

or maybe try to run "go get" with out the -u flag

go get -v github.com/therecipe/qt/cmd/... && $(go env GOPATH)/bin/qtsetup test && $(go env GOPATH)/bin/qtsetup -test=false
egormalyutin commented 5 years ago

Thanks, it worked.