[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Ubuntu] creating GRASS packages for UbuntuGIS



Hi,

2016-01-09 16:59 GMT+01:00 Sebastiaan Couwenberg <sebastic@xs4all.nl>:
> Because you're using a chroot for a non-standard distribution and this
> hasn't been configured in debian/gbp.conf, you need to specify the
> distribution with the -ubuntugis suffix to have git-buildpackage use the
> correct chroot (i.e. --git-dist=wily-ubuntugis). This is documented in
> the 'Building the package' section:
>
> http://pkg-grass.alioth.debian.org/policy/packaging.html#git-build-package

thanks I was able to create build environment by

export DIST=wily
sudo -E cowbuilder --create --distribution=$DIST
--basepath=/var/cache/pbuilder/base-${DIST}-ubuntugis.cow
--save-after-login --login

on Debian Unstable. On another machine (Ubuntu 14.04 LTS) the command fails by

 -> Copying COW directory
  forking: rm -rf /var/cache/pbuilder/build//cow.26267
  forking: cp -al /var/cache/pbuilder/base-wily-ubuntugis.cow
/var/cache/pbuilder/build//cow.26267
I: unlink for ilistfile /var/cache/pbuilder/build//cow.26267/.ilist
failed, it didn't exist?
 -> Invoking pbuilder
  forking: pbuilder login --buildplace
/var/cache/pbuilder/build//cow.26267 --no-targz --internal-chrootexec
chroot /var/cache/pbuilder/build//cow.26267 cow-shell
I: Running in no-targz mode
I: copying local configuration
cp: cannot create regular file
'/var/cache/pbuilder/build/cow.26267/etc/hosts': No such file or
directory
  forking: chroot /var/cache/pbuilder/build//cow.26267 apt-get clean
chroot: failed to run command ‘apt-get’: No such file or directory
 -> Moving work directory [/var/cache/pbuilder/build//cow.26267] to
final location [/var/cache/pbuilder/base-wily-ubuntugis.cow] and
cleaning up old copy
  forking: rm -rf /var/cache/pbuilder/build//cow.26267-26267-tmp

Any idea what could be wrong? Thanks, Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


Reply to: