❦ 23 février 2017 16:57 +0800, Chris Lamb <la...@debian.org> :

>   dh_auto_test: go test -v -p 1 github.com/codegangsta/cli 
> github.com/codegangsta/cli/altsrc returned exit code 1
>   debian/rules:4: recipe for target 'build' failed
>   make: *** [build] Error 1
>   dpkg-buildpackage: error: debian/rules build gave error exit status
>   2

Bisected to

Confirmed the bug is still in 1.18.1 and gone from 1.19.0. The patch is
quite invasive and doesn't apply cleanly on top of 1.18.x because it
relies on a totally different approach (with code generation). I don't
see any "[aA]pplyWithError" function in the current code that could be
patched. I have also no clue why this problem happens now and not
before. I suppose a change in the dependencies.

I would propose to turn this package as a semi-transitional package to
golang-github-urfave-cli-dev (just a symlink). However,
golang-github-urfave-cli-dev in testing has exactly the same problem but
it doesn't happen because it is ignoring the "altsrc" directory. In
unstable, it doesn't work either if we remove the altsrc directory
(because it is missing a symlink for gopkg.in/urfave/cli.v1).

As a quick workaround, as there is absolutely no use of
github.com/codegangsta/cli/altsrc in Debian, I'll just exclude it from
the package too.
Use variable names that mean something.
            - The Elements of Programming Style (Kernighan & Plauger)

Attachment: signature.asc
Description: PGP signature

Pkg-go-maintainers mailing list

Reply via email to