[pkg-go] gbp buildpackage

Anthony Fok foka at debian.org
Sat Jun 16 15:35:06 BST 2018


Hi Tong,

On Sat, Jun 16, 2018 at 7:19 AM, Tong Sun <pkgoyq.xpt at neverbox.com> wrote:
> 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
> , , ,

1. man fakeroot
2. man sudo
3. man su

Anthony



More information about the Pkg-go-maintainers mailing list