Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

gcp-connector-util build fails #395

Closed
zmlcrm opened this issue Jan 4, 2018 · 6 comments
Closed

gcp-connector-util build fails #395

zmlcrm opened this issue Jan 4, 2018 · 6 comments

Comments

@zmlcrm
Copy link

zmlcrm commented Jan 4, 2018

<$ go get github.com/google/cloud-print-connector/...>

results in...

<# github.com/google/cloud-print-connector/gcp-connector-util go/src/github.com/google/cloud-print-connector/gcp-connector-util/init.go:417:26: multiple-value uuid.NewV4() in single-value context>

Am I missing something?

@DanielCeregatti
Copy link

Same here. I tried go 1.5 and 1.9, both report the above. This is on a fully updated Raspbian Jesse (arm6l according to uname)

@DanielCeregatti
Copy link

Turns out only gcp-cups-connector was all that was needed to get everything working. The other binary apparently is only used for local configuration. Running gcp-cups-connector caused my local browser to display a page that allowed for the addition of the printer to google drive. Thing is, I ssh from my laptop to the pi, yet somehow that managed to get a page up on my local browser, presumably through X forwarding or some such.

@ALRubinger
Copy link

Ping with request for PR merge. :) Issue persisting for me locally as reported by Travis:

https://travis-ci.org/google/cloud-print-connector/jobs/328007814

@imrichierich
Copy link

Confirmed I receive the same issue:

root@host:~# go get github.com/google/cloud-print-connector/...
# github.com/google/cloud-print-connector/gcp-connector-util
go/src/github.com/google/cloud-print-connector/gcp-connector-util/init.go:417:26: multiple-value uuid.NewV4() in single-value context
root@host:~# 
root@host:~# go version
go version go1.9.2 linux/amd64

@ScottESanDiego
Copy link

The fix proposed works okay for me. Pinging again here to request the merge so I don't have to patch manually. :-)

@normanr
Copy link

normanr commented Jun 28, 2020

This was caused by satori/go.uuid#66. Unfortunately while #397 makes gcp-connector-util build with satori/go.uuid at head, it makes it fail #425 with the most recent release (v1.2.0)!

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

No branches or pull requests

6 participants