[augeas-devel] ANNOUNCE: Augeas 0.2.0

David Lutterkort dlutter at redhat.com
Fri Jun 6 18:42:15 UTC 2008


On Fri, 2008-06-06 at 13:43 +0200, Dominique Dumont wrote:
> David Lutterkort <dlutter at redhat.com> writes:
> 
> > On Thu, 2008-06-05 at 22:30 +0000, David Lutterkort wrote:
> >> Tarball: http://augeas.net/download/augeas-0.1.1.tar.gz
> >
> > That should of course be http://augeas.net/download/augeas-0.2.0.tar.gz
> 
> I cannot compile augeas 0.2.0 on Debian sid (gcc 4.2.4):

Interesting ... it seems that gcc in sid is stricter than the one in
rawhide (I successfully built 0.2.0 yesterday on rawhide, but can't get
to the system right now)

> lens.c: In function 'lns_key_regexp':
> lens.c:491: warning: passing argument 1 of 'strcat' discards qualifiers from pointer target type
> make[2]: *** [lens.lo] Error 1
> make[2]: Leaving directory `/home/domi/freeware/augeas-stuff/augeas-0.2.0/src'
> 
> Is there a fix available ?

I just mailed out a patch that should take care of me overzealously
declaring fields in structs as (const char *) ... can you try rebuilding
with that patch applied ? You should be able to just apply the patch and
run make again. 

If you followed Alans advice to work around the problem, you'll also
have to rerun ./configure without the --enable-compile-warnings=no
switch.

David





More information about the augeas-devel mailing list