Hi, I'm following https://people.debian.org/~stapelberg/2015/07/27/dh-make-golang.html and tried to do build with
gbp buildpackage --git-pbuilder which in turns depends on cowbuilder to do the building: gbp:info: Building with (cowbuilder) for debian_sid gbp:info: Performing the build Building with cowbuilder for distribution debian_sid . . . However, I'm having problem with `cowbuilder --create` -- - If I run it with `fakeroot`, then it'll break at the end with: chroot: cannot change root directory to '/var/cache/pbuilder/base.cow': Operation not permitted chroot: cannot change root directory to '/var/cache/pbuilder/base.cow': Operation not permitted E: End of debootstrap.log W: Aborting with an error E: pbuilder create failed , , , - If I run it without `fakeroot`, then it'll break at the beginning with: , , , I: Building the build environment I: running debootstrap /usr/sbin/debootstrap E: debootstrap can only run as root E: debootstrap failed , , , Looking for the solution for "E: debootstrap can only run as root" myself, I found a bug report at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571117, but the solution however, is to use a *different* building method. So I'm wondering, are you using gbp buildpackage --git-pbuilder to build the go packages? If so, how to overcome the problem I'm experiencing above? thx
_______________________________________________ Pkg-go-maintainers mailing list Pkg-go-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers