[pkg-go] Bug#943891: umoci: autopkgtest regression: bug in the autopkgtest-pkg-go

Dmitry Smirnov onlyjob at debian.org
Tue Nov 5 23:33:38 GMT 2019

On Monday, 4 November 2019 8:03:14 AM AEDT Paul Gevers wrote:
> > On 02-11-2019 08:31, Dmitry Smirnov wrote:
> > I suspect a bug in autopkgtest as I don't see why would
> > that particular command fail.
> Do you mean autodep8 here? I don't see how autopkgtest could be to
> blame, but please enlighten me.

Well, I was right and the problem is not in the "umoci" package indeed.

Yesterday I've uploaded a small improvement [1] to "go generate" invocation
and it exposed wrongdoing in the "autopkgtest-pkg-go".

As you can see in the following fragment of the latest CI log [2],
"vendor" part of the source is absent when "override_dh_auto_build" is
executed so "cd" command fails:

cd _build/src/github.com/openSUSE/umoci/vendor/ \
&& GO111MODULE=off go generate -v ./...
/bin/sh: 1: cd: can't cd to _build/src/github.com/openSUSE/umoci/vendor/
make[1]: *** [debian/rules:12: override_dh_auto_build] Error 2

Apparently this is happening because "override_dh_auto_configure"
(not defined in my package!) removes "vendor" tree from source.

Note that build system have no such problem as the package builds


Frustratingly I was not able to locate where "autopkgtest-pkg-go"
is defined. I've checked "apt-cache search", "apt-file search",
Debian wiki, Golang team at Salsa and few other places.

Unless someone fix "autopkgtest-pkg-go" I see no other option
but to remove "Testsuite: autopkgtest-pkg-go" from "umoci".

[1]: https://salsa.debian.org/go-team/packages/umoci/commit/30f60ae3
[2]: https://ci.debian.net/data/autopkgtest/testing/amd64/u/umoci/3337341/log.gz

 Dmitry Smirnov.


Any fool can know. The point is to understand.
        -- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20191106/a4deb70a/attachment.sig>

More information about the Pkg-go-maintainers mailing list