GNU bug report logs -
#12688
AM_PROG_VALAC: error message -> warning message
Previous Next
Reported by: Sébastien Wilmet <swilmet <at> gnome.org>
Date: Fri, 19 Oct 2012 22:52:03 UTC
Severity: normal
Tags: patch
Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Hello
20/10/2012 00:11 +0200, Sébastien Wilmet wrote:
> Hello,
>
> In the AM_PROG_VALAC macro, when the optional parameter specifying the
> minimum release number is not provided, and if the Vala compiler is not
> found, then there is a _warning_ message.
>
> On the other hand, when the version number is specified, when the Vala
> compiler is too old, there is an _error_ message.
>
> This error message is problematic, because for a tarball, the Vala
> compiler is not required: the generated C code is included in the
> tarball. So if a user wants to compile the software, he shouldn't need
> the valac program.
>
> So the AC_MSG_ERROR should be modified as a AC_MSG_WARN.
I confirm that I had this problem with LaTeXila: I had a too old version
of Vala and I was not able to compile LaTeXila except if
'/usr/bin/valac' was removed/renamed.
This is how this bug has been fixed in LaTeXila:
https://github.com/swilmet/latexila/commit/993b073c71f094ca5c15cb2a44e69399176b882a (for those who wants a workaround ;) )
Note that if a warning message is produced when a too old version is
detected, 'VALAC' variable has to be unset in vala.m4
This bug should be fixed with the attached patch :)
Thank you,
Matt
[0001-m4-AM_PROG_VALAC-should-not-produce-an-error.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 12 years and 181 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.