On 17 July 2016 at 08:22, Chris Lamb <la...@debian.org> wrote:
> So, I can make the tests pass if I *remove* the "HOME=" bit in
> debian/rules. Sorry I can't be more help.

It looks like it passes in the reproducible builds framework, but I
think I might have a hunch for what's failing on your system.

When I build, I build via sbuild, so it builds as my user, but sets
HOME to something non-existent, hence without HOME being reset, the
tests fail in sbuild (which is what the buildds use too).

My _hunch_ is that whatever you're using to build (pbuilder perhaps?)
is running as your user ("lamby") but not including "/etc/passwd" from
your host (which "sbuild" appears to provide -- at least for the user
I currently am), so when the tests try to discover the current user's
home directory, it fails in the strange ways we're seeing.

I'm hoping we can find an easy way to verify my theory so we can
decide whether this might need to instead be an autopkgtest (which I'd
rather avoid, but if it's not reasonable to expect our current "build
user" to have a valid entry in "/etc/passwd" we don't have much
choice).


♥,
- Tianon
  4096R / B42F 6819 007F 00F8 8E36  4FD4 036A 9C25 BF35 7DD4

_______________________________________________
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers

Reply via email to