Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 397797 - sys-devel/automake: vala support broken with out-of-source builds
Summary: sys-devel/automake: vala support broken with out-of-source builds
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL: http://lists.gnu.org/archive/html/aut...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-05 20:15 UTC by Michał Górny
Modified: 2012-01-12 22:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-01-05 20:15:34 UTC
When using an out-of-source build with vala sources, automake fails to output correct rules. If the precompiled .c files are bundled, these are used even though .vala files are modified afterwards. If they are not, automake simply fails to build them.

To reproduce:
$ git clone --depth=1 git://anongit.freedesktop.org/systemd
$ cd systemd
$ intltoolize;autoreconf -vi
$ mkdir _build; cd _build
$ ../configure VALAC=/usr/bin/valac-0.12
$ make systemadm
make: *** No rule to make target `../systemadm_vala.stamp', needed by `../src/systemadm.c'.  Stop.

Supposedly automake should either recompile .vala files into builddir or copy existing result if it is new enough.
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-01-05 22:29:11 UTC
Upstream knows about this, and has not fixed it yet: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8753
Comment 2 SpanKY gentoo-dev 2012-01-06 00:47:41 UTC
it's been reported upstream, so we're not going to be any dev locally ...
Comment 3 SpanKY gentoo-dev 2012-01-12 22:27:15 UTC
looks like it's been fixed.  i'd prefer to just wait for the fix to propagate down like normal, especially since this doesn't seem like a blocker and breaks only a few people/packages.