[GRASS5] Re: [DebianGIS] problem building debian package from GRASS CVS source

Steve Halasz debian at adkgis.org
Sun Aug 7 21:57:59 EDT 2005


Hi,

On Sat, 2005-08-06 at 21:22 +0200, Moritz Lennert wrote:
> Hello,
> 
> I am trying to build debian package out of the GRASS CVS source by entering
> 
> fakeroot buildpackage in the grass6 directory. I get the following error:
> 
> [...]
> sed
> 's#'/home/mlennert/CVS/GRASS/grass6/dist.i386-pc-linux-gnu'#'/home/mlennert/CVS/GRASS/grass6/debian/tmp/usr/grass-6.1.cvs'#g'
> /home/mlennert/CVS/GRASS/grass6/dist.i386-pc-linux-gnu/etc/monitorcap >
> /home/mlennert/CVS/GRASS/grass6/debian/tmp/usr/grass-6.1.cvs/etc/monitorcap
> chmod -R a+rX /home/mlennert/CVS/GRASS/grass6/debian/tmp/usr/grass-6.1.cvs
> 2>/dev/null
> make[2]: Leaving directory `/home/mlennert/CVS/GRASS/grass6'
> make[1]: Leaving directory `/home/mlennert/CVS/GRASS/grass6'
> dh_testdir
> dh_testroot
> dh_installchangelogs CHANGES
> dh_installdocs
> dh_installexamples
> dh_install
> cp: ne peut évaluer `./usr/bin/grass61': Aucun fichier ou répertoire de ce type
> dh_install: command returned error code 256
> make: *** [binary-arch] Erreur 1
> 
> i.e.
> cp: cannot evaluate `./usr/bin/grass61': No file or directory of this type.
> 
> 1) Am I doing something wrong ?
> 2) Have the deb package config files from the DebianGIS effort flown back into
> the GRASS CVS ? 

Yes. But I'm packaging releases for debian, the most recent of which is
6.0.1RC1. I haven't personally done anything to update for 6.1/cvs.

There is a duplicate set of targets in the debian/rules file. Deleting
everything after the second #!/usr/bin/make -f is a start. But it looks
like there are other problems when it gets to debian/fixscripts.sh
because nviz is gone or moved.

Steve

> If not, is there a reason why they can't/shouldn't ?
> 3) What do I have to do to make deb-package out of the current CVS-tree ?
> 
> Moritz
> 
> 
> _______________________________________________
> Pkg-grass-general mailing list
> Pkg-grass-general at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-general




More information about the grass-dev mailing list