[Ubuntu] creating GRASS packages for UbuntuGIS
Martin Landa
landa.martin at gmail.com
Wed Jan 13 00:16:14 PST 2016
Hi,
2016-01-09 16:59 GMT+01:00 Sebastiaan Couwenberg <sebastic at 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
More information about the Ubuntu
mailing list