[pkg-go] Bug#1025334: Update binary package and XS-Go-Import-Path to match go.mod

Pirate Praveen praveen at onenetbeyond.org
Fri Dec 2 17:37:47 GMT 2022

Package: golang-github-cespare-xxhash
Version: 2.1.1-2

When building gitaly I get,

cannot find package "github.com/cespare/xxhash/v2" in any of:
(vendor tree)
        /usr/lib/go-1.19/src/github.com/cespare/xxhash/v2 (from $GOROOT)
        /<<PKGBUILDDIR>>/_build/src/github.com/cespare/xxhash/v2 (from 

even though golang-github-cespare-xxhash-dev is installed.

I think the import path and binary package name should be bumped to 
match go.mod:
module github.com/cespare/xxhash/v2

so binary package should be golang-github-cespare-xxhash-v2-dev. Though 
I'm not 100% sure about the XS-Go-Import-Path as I think it should 
match without a change there.

More information about the Pkg-go-maintainers mailing list