On Fri, Jul 17, 2026 at 8:28 PM Félix Sipma <[email protected]> wrote:
>
> On 2026-07-16 23:09+0200, Andrew Lee wrote:
> With debhelper 13, the warnings go away but the problem remains the
> same...
>
> With dh-golang (>= 1.66~exp2):
>
>         dh_auto_build -O--builddirectory=_build -O--buildsystem=golang
>         cd _build && go install -trimpath -v -p 4 
> github.com/peterbourgon/ff/v3 github.com/peterbourgon/ff/v3/ffcli 
> github.com/peterbourgon/ff/v3/ffcli/examples/objectctl/cmd/objectctl 
> github.com/peterbourgon/ff/v3/ffcli/examples/objectctl/pkg/createcmd 
> github.com/peterbourgon/ff/v3/ffcli/examples/objectctl/pkg/deletecmd 
> github.com/peterbourgon/ff/v3/ffcli/examples/objectctl/pkg/listcmd 
> github.com/peterbourgon/ff/v3/ffcli/examples/objectctl/pkg/objectapi 
> github.com/peterbourgon/ff/v3/ffcli/examples/objectctl/pkg/rootcmd 
> github.com/peterbourgon/ff/v3/ffcli/examples/textctl 
> github.com/peterbourgon/ff/v3/fftest github.com/peterbourgon/ff/v3/fftoml 
> github.com/peterbourgon/ff/v3/ffyaml github.com/peterbourgon/ff/v3/internal
>      src/github.com/peterbourgon/ff/v3/ffyaml/ffyaml.go:10:2: no required 
> module provides package gopkg.in/yaml.v2; to add it:
>         cd 
> /build/reproducible-path/golang-github-peterbourgon-ff-3.4.0/_build/src/github.com/peterbourgon/ff/v3
>         go get gopkg.in/yaml.v2

The go compiler error is telling us that `gopkg.in/yaml.v2` is missing.
Do you have golang-gopkg-yaml.v2-dev in your build-deps?

>      dh_auto_build: error: cd _build && go install -trimpath -v -p 4 
> github.com/peterbourgon/ff/v3 github.com/peterbourgon/ff/v3/ffcli 
> github.com/peterbourgon/ff/v3/ffcli/examples/objectctl/cmd/objectctl 
> github.com/peterbourgon/ff/v3/ffcli/examples/objectctl/pkg/createcmd 
> github.com/peterbourgon/ff/v3/ffcli/examples/objectctl/pkg/deletecmd 
> github.com/peterbourgon/ff/v3/ffcli/examples/objectctl/pkg/listcmd 
> github.com/peterbourgon/ff/v3/ffcli/examples/objectctl/pkg/objectapi 
> github.com/peterbourgon/ff/v3/ffcli/examples/objectctl/pkg/rootcmd 
> github.com/peterbourgon/ff/v3/ffcli/examples/textctl 
> github.com/peterbourgon/ff/v3/fftest github.com/peterbourgon/ff/v3/fftoml 
> github.com/peterbourgon/ff/v3/ffyaml github.com/peterbourgon/ff/v3/internal 
> returned exit code 1
>      make: *** [debian/rules:7: binary] Error 25
>      dpkg-buildpackage: error: debian/rules binary subprocess failed with 
> exit status 2
>
> With dh-golang 1.65:
>
>      dh_link: error: link destination 
> debian/golang-github-peterbourgon-ff-dev/usr/share/gocode/src/github.com/peterbourgon/ff/v3
>  is a directory

If the links cannot be created for some reason. Build and upload the
package into experimental instead. So that this can be useful when we
rebuild packages ships executable binaries in phase 2.

Best regards,
-- 
-Andrew

Reply via email to