Email or username:

Password:

Forgot your password?
Top-level
Alex Schroeder

Also, I always thought that Go coming with cross-compiling included was super duper great. So I wanted to build a bunch of binary packages people might want to download.

But no.

~/src/oddmu $ GOOS=windows GOARCH=386 go build 
package alexschroeder.ch/cgit/oddmu
	imports github.com/bashdrew/goheif
	imports github.com/bashdrew/goheif/libde265: build constraints exclude all Go files in /home/alex/go/pkg/mod/github.com/bashdrew/goheif@v0.0.0-20230406184952-7a08ca9c9bdd/libde265

Whaaat? #golang

1 comment
Alex Schroeder

We all know that cool URIs don't change. But my thing was hosted at github.com/kensanata/oddmu, at alexschroeder.ch/cgit/oddmu, and now it's at src.alexschroeder.ch/oddmu.git … something tells me that using the repository URL was not a cool idea.

$ go install github.com/kensanata/oddmu@latest
go: downloading github.com/kensanata/oddmu v0.0.0-20240301202355-e3ceaf031ef1
go: github.com/kensanata/oddmu@latest: version constraints conflict:
	github.com/kensanata/oddmu@v0.0.0-20240301202355-e3ceaf031ef1: parsing go.mod:
	module declares its path as: alexschroeder.ch/cgit/oddmu
	        but was required as: github.com/kensanata/oddmu

But this also doesn't work:

$ go install alexschroeder.ch/cgit/oddmu@latest
go: alexschroeder.ch/cgit/oddmu@latest: unrecognized import path "alexschroeder.ch/cgit/oddmu": parse https://alexschroeder.ch/cgit/oddmu?go-get=1: no go-import meta tags (meta tag src.alexschroeder.ch/oddmu.git did not match import path alexschroeder.ch/cgit/oddmu)

I guess I have to fix that package name. And – hypothetically! – everybody else who depends on it must also fix it. Or maybe there's some way to save it by using "go mod replace"? Gaaah.
#goLang

We all know that cool URIs don't change. But my thing was hosted at github.com/kensanata/oddmu, at alexschroeder.ch/cgit/oddmu, and now it's at src.alexschroeder.ch/oddmu.git … something tells me that using the repository URL was not a cool idea.

$ go install github.com/kensanata/oddmu@latest go: downloading github.com/kensanata/oddmu v0.0.0-20240301202355-e3ceaf031ef1 go: github.com/kensanata/oddmu@latest: version constraints conflict: github.com/kensanata/oddmu@v0.0.0-20240301202355-e3ceaf031ef1:...
Go Up