Package: dh-golang
Version: 1.63
Severity: normal
X-Debbugs-Cc: [email protected]

Hi,

I discovered this while packaging a package that the upstream ships go
module under go/ folder.

I have `XS-Go-Import-Path: github.com/apache/arrow/go/v15` in d/control
file. And specified `dh $@ --sourcedirectory=go --buildsystem=golang` in
d/rules file.

It should follow the --sourcedirectory=go to build go module under go/
folder as
 github.com/apache/arrow/go/v15/arrow
 github.com/apache/arrow/go/v15/arrow/array
 github.com/apache/arrow/go/v15/arrow/ipc
 github.com/apache/arrow/go/v15/arrow/memory

However the dh-golang still append the go/ path into
the `go install` command. Results wrong path:
 github.com/apache/arrow/go/v15/go/arrow
 github.com/apache/arrow/go/v15/go/arrow/array
 ...
And also folders out of specificed --sourcedirectory=go directory:
 github.com/apache/arrow/go/v15/swift/data-generator/swift-datagen
 returned exit code 1
 ... FTBFS

Best regards,
-Andrew

Reply via email to