Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR] Export failed for github.com/ethereum/go-ethereum: #1004

Open
ghost opened this issue Jul 4, 2019 · 7 comments
Open

[ERROR] Export failed for github.com/ethereum/go-ethereum: #1004

ghost opened this issue Jul 4, 2019 · 7 comments

Comments

@ghost
Copy link

ghost commented Jul 4, 2019

What version of ontology are you using (ontology --version)?

the checked-out repo

What operating system are you using (such as macOS, Linux and Windows)?

Windows 10pro, native on PowerShell

What did you do?

Checkout repo, then

PS C:\Users\laz\go\src\github.com\ontio\ontology> glide install
[INFO]  Lock file (glide.lock) does not exist. Performing update.
[INFO]  Downloading dependencies. Please wait...
[INFO]  --> Fetching updates for golang.org/x/net
[...]
[INFO]  --> Exporting github.com/pmezard/go-difflib
[INFO]  --> Exporting github.com/stretchr/testify
[ERROR] Export failed for github.com/ethereum/go-ethereum: Error while exporting submodule sources: exit status 128
[ERROR] Unable to export dependencies to vendor directory: Error while exporting submodule sources: exit status 128
PS C:\Users\laz\go\src\github.com\ontio\ontology> go version
go version go1.12.6 windows/amd64
PS C:\Users\laz\go\src\github.com\ontio\ontology> glide --version
glide version v0.13.2
PS C:\Users\laz\go\src\github.com\ontio\ontology>

Workaround

use https://github.com/Masterminds/glide/releases/tag/v0.12.3

Related

This is most possibly a glide-on-Windows issue, see #1002

@Honglei-Cong
Copy link
Member

set GOPATH to C:\Users\laz\go\ ?

@ghost
Copy link
Author

ghost commented Jul 5, 2019

Yes. Saw similar error in other products. Glide win trouble.

@ghost
Copy link
Author

ghost commented Jul 9, 2019

@Honglei-Cong , any workaround here? Note that this is a BLOCKER on the windows-platform.

@Honglei-Cong
Copy link
Member

As workaround, try go get github.com/ethereum/go-ethereum , and remove it from glide?

@ghost
Copy link
Author

ghost commented Jul 9, 2019

Tried, same error.

@ghost
Copy link
Author

ghost commented Jul 9, 2019

it works with glide 0.12.3

@ghost
Copy link
Author

ghost commented Jul 9, 2019

follow-up problem: #1023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant