GNU bug report logs - #8753
unable to build VALA project out-of-tree

Previous Next

Package: automake;

Reported by: Zbigniew Jędrzejewski-Szmek <zbyszek <at> in.waw.pl>

Date: Sat, 28 May 2011 17:27:02 UTC

Severity: important

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

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Zbigniew Jędrzejewski-Szmek <zbyszek <at> in.waw.pl>
Subject: bug#8753: closed (Re: bug#8753: unable to build VALA project
 out-of-tree)
Date: Wed, 11 Jan 2012 17:52:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#8753: unable to build VALA project out-of-tree

which was filed against the automake package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 8753 <at> debbugs.gnu.org.

-- 
8753: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8753
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Ryan Lortie <desrt <at> desrt.ca>
Cc: automake-patches <at> gnu.org, 8753-done <at> debbugs.gnu.org
Subject: Re: bug#8753: unable to build VALA project out-of-tree
Date: Wed, 11 Jan 2012 18:50:58 +0100
On 01/08/2012 12:54 PM, Stefano Lattarini wrote:
> 
> Attached is what I'll pushed to maint in 72 hours, if there is no objection.
> 
No objection has been advanced; I've thus pushed the patch and closed this
bug report.

Thanks,
  Stefano

[Message part 3 (message/rfc822, inline)]
From: Zbigniew Jędrzejewski-Szmek <zbyszek <at> in.waw.pl>
To: bug-automake <at> gnu.org
Subject: unable to build VALA project out-of-tree
Date: Sat, 28 May 2011 01:08:30 +0300
Automake generates rules for VALA files which try to create C output
in the source directory. This is pretty strange, but anyway the
build doesn't succeed even if the source directory is writable.

quoting Andrey Borzenkov in http://lists.gnu.org/archive/html/automake/2010-11/msg00036.html:

-------------------------------------------------------------------
I'm trying to rebuild systemd
(http://www.freedesktop.org/wiki/Software/systemd) from GIT. It is
using several programs built using vala; in-tree build is OK,
out-of-tree build fails:

{pts/0}% LC_ALL=C make
make  all-am
make[1]: Entering directory `/home/bor/build/systemd'
make[1]: *** No rule to make target
`/home/bor/src/systemd/systemadm_vala.stamp', needed by
`/home/bor/src/systemd/src/systemadm.c'.  Stop.
make[1]: Leaving directory `/home/bor/build/systemd'
make: *** [all] Error 2

Looking at Makefile.in, generated by automake, I cannot understand how
it is supposed to work:

$(srcdir)/src/systemadm.c: $(srcdir)/systemadm_vala.stamp
        @if test -f $@; then :; else \
          rm -f $(srcdir)/systemadm_vala.stamp; \
          $(am__cd) $(srcdir) && $(MAKE) $(AM_MAKEFLAGS) systemadm_vala.stamp; \
        fi
systemadm_vala.stamp: $(systemadm_SOURCES)
        $(AM_V_VALAC)$(VALAC) $(systemadm_VALAFLAGS) $(VALAFLAGS) -C
$(systemadm_SOURCES)
        $(AM_V_at)touch $@

In out-of-tree build $(srcdir)/systemadm_vala.stamp is not the same as
systemadm_vala.stamp, nor can it be. VPATH search does not apply here,
because path does not yet exist; so when it is rebuilt, file name is
used verbatim.
-------------------------------------------------------------------

Andrey didn't get a definite reply, but the problem seems to be still present.

Zbyszek



This bug report was last modified 13 years and 134 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.