[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#10894: Mixed C-Vala projects distcheck is broken

From: Stefano Lattarini
Subject: Re: bug#10894: Mixed C-Vala projects distcheck is broken
Date: Mon, 27 Feb 2012 22:33:05 +0100

Hi Quentin, thanks for the report.

On 02/26/2012 10:12 PM, Quentin Glidic wrote:
> Package: automake
> Version: 1.11.3
> Hello,
> The distcheck of a project which mix C and Vala targets in the same 
> leads to a pass of C targets to valac, which is completely wrong and fails if
> you put your headers in _SOURCES (valac ignores *.c files only).
This is bad.  We had a test in the automake testsuite that tried to build a
project with mixed C/Vala sources, but it didn't use a C header as well :-(

I've thus added a new test case that exposes the bug (see the first attached

> Attached a patch that limits the vala stamps’ generation to targets with
> *.vala file.
Unfortunately, your patch doesn't seem to fix the issue.  I've attached a
second patch that seems to do the trick.  It will appear in the next automake
version (1.12) unless there are objections.


Attachment: 0001-vala-expose-automake-bug-10894.patch
Description: Text Data

Attachment: 0002-vala-fix-valac-calls-for-projects-with-mixed-Vala-C.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]