[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems with initial packaging of sptlrx



Dear Shengjing,

Am 25.10.2024 04:52, schrieb Shengjing Zhu:
That's because the go.mod file[1] says its name is "sptlrx", not
"github.com/raitonoberu/sptlrx", which is set in XS-Go-Import-Path in
d/control.

It is bad practice for upstream to use that name. It may work if you
change XS-Go-Import-Path to "sptlrx", but it should be globally unique
in the Debian archive.... Another way is to set DH_GOPKG[2] in d/rules
to override the value XS-Go-Import-Path.

[1] https://salsa.debian.org/go-team/packages/sptlrx/-/blob/debian/sid/go.mod?ref_type=heads
[2] https://manpages.debian.org/unstable/dh-golang/Debian::Debhelper::Buildsystem::golang.3pm.en.html


Thank you very much for your input I will inquire upstream to consider using the full import path.

Best regards,
Martin

Attachment: signature.asc
Description: PGP signature


Reply to: