Subject: Re: bug#12522: Problem with automake tests for vala

From: Stefano Lattarini <[email-masked]>
Date: Thu, 27 Sep 2012 10:52:03 +0200

Reference: <http://debbugs.gnu.org/12522>

On 09/26/2012 10:04 AM, Pavel Raiskup wrote:
> Hi,
> 
> because valac's developers dropped POSIX profile:
> 
>    commit ca020bf04a09fe16e5583eea5a3a341e7796bff5
> 
> .. there is a problem with automake testsuite in:
> 
>    $ grep -r '\-\-profile=posix' .
>    ./vala-libs.sh:libmu_a_VALAFLAGS = --profile=posix --vapidir=$(srcdir)
>    ./vala-mix.sh:AM_VALAFLAGS = --profile=posix
>    ./vala-parallel.sh:#AM_VALAFLAGS = --profile=posix
>    ./vala-mix2.sh:AM_VALAFLAGS = --profile=posix
>    ./vala-vpath.sh:AM_VALAFLAGS = --profile=posix
>    ./vala-vapi.sh:AM_VALAFLAGS = --profile=posix
> 
> Configure then fails with:
> 
>    error: Unknown profile posix
> 
> Testsuite log from Fedora Rawhide (vala-0.18.0) attached.  Unfortunately,
> I don't know much about vala to be able fix this problem.
>
Me neither, actually.  We could copy the idioms used in the other vala tests
(using pkg-config to find gobject-2.0, like it's done in, say, 't/vala5.sh'),
but maybe there is a simpler solution that would require less churn.  I'm
CC:ing the Vala mailing list in the hope that someone there has a suggestion
on how to best tackle this issue.

Thanks,
  Stefano