GNU bug report logs - #15919
subdir-objects and path in variable

Previous Next

Package: automake;

Reported by: Oleg Latin <jujulicca <at> gmail.com>

Date: Mon, 18 Nov 2013 16:53:02 UTC

Severity: normal

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: Oleg Latin <jujulicca <at> gmail.com>
Subject: bug#15919: closed (Re: bug#16375: subdir-objects breaks build
 which specifies sources relative to $(top_srcdir))
Date: Mon, 21 Apr 2014 10:34:05 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#15919: subdir-objects and path in variable

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 15919 <at> debbugs.gnu.org.

-- 
15919: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15919
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: Diab Jerius <djerius <at> cfa.harvard.edu>
Cc: 13928 <at> debbugs.gnu.org
Subject: Re: bug#16375: subdir-objects breaks build which specifies sources
 relative to $(top_srcdir)
Date: Mon, 21 Apr 2014 11:33:27 +0100
[+cc 13928 <at> debbugs.gnu.org]

References:
  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16375
  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15919
  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15293

Known bugs sadly -- all duplicates of http://debbugs.gnu.org/13928

See also recent thread on the automake list (with sad updates
regarding the current Automake development status):
http://lists.gnu.org/archive/html/automake/2014-04/msg00002.html

Closing these bug as a duplicate.  Feel free to continue the
discussion in the http://debbugs.gnu.org/13928 thread.  And
if anyone manages to come up with a patch, I will certainly
make time to review it.

Thanks, and sorry for the lack of progress,
  Stefano

[Message part 3 (message/rfc822, inline)]
From: Oleg Latin <jujulicca <at> gmail.com>
To: bug-automake <at> gnu.org
Subject: subdir-objects and path in variable
Date: Mon, 18 Nov 2013 20:49:51 +0400
[Message part 4 (text/plain, inline)]
When subdir-objects option is enabled (without subdir-objects all works
fine) and xxx_SOURCES contains paths stored in variables when automake
tries to create directory named by variable name not value. For example:

FOO=/path/to/foo
foo_SOURCES=$(FOO)/bar.cpp

Automake tries create directory $(FOO) not /path/to/foo, and make can not
find dependencies.
I attached minimal example. It use non recursive make, but recursive make
also fails.

In attached project problem seems to be in line 310 in generated
Makefile.in. If I replace $(XXXDIR) with xxx manually, then all works fine.

I use autoconf 2.69, automake 1.12.1 and gmake 3.82.
[Message part 5 (text/html, inline)]
[subdir-objects-bug-0.tar.gz (application/x-gzip, attachment)]

This bug report was last modified 11 years and 36 days ago.

Previous Next


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