[GRASS5] Makefile problem - Re: [GRASS-announce] GRASS 6.0.2RC3 released

Glynn Clements glynn at gclements.plus.com
Wed Jan 4 11:38:03 EST 2006


Markus Neteler wrote:

> > > > GRASS 6.0.2RC3 released
> > > ...
> > > >     * bugfix for 'builddemolocation target' in Makefile
> > > >       when building as root (RPMs etc)
> > > 
> > > Unfortunately I still have the following problem:
> > > 
> > > [root at bild-mandriva2006 dist.i686-pc-linux-gnu]# ls -l dist.i686-pc-linux-gnu/
> > > insgesamt 40
> > > drwxr-sr-x   3 1338  204 4096 Jan  3 14:21 demolocation/
> > > drwxr-xr-x   3 root root 4096 Jan  3 14:22 docs/
> > > drwxr-xr-x   4 root root 4096 Jan  3 14:22 bwidget/
> > > drwxr-xr-x   2 root root 4096 Jan  3 14:22 fonts/
> > > [...]
> > > 
> > > Although 'tar' is used in the 'builddemolocation' target in the
> > > main Makefile, the owner is still preserved (1338 above).
> > > It must be the owner compiling GRASS (here, root), otherwise the
> > > virtual session to generate the HTML manuals fails.
> > > 
> > > Any ideas?
> > 
> >        -o, --no-same-owner
> >               do not attempt to restore ownership when extracting; -o exhibits
> >               this behavior when extracting an archive
> 
> would you mind to apply it to CVS? I don't get it
> working (maybe order of parameters or whatever).

Done.

Someone on a system whose tar isn't GNU tar should check it for
compatibility.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list