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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15919 in the body.
You can then email your comments to 15919 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-automake <at> gnu.org:
bug#15919; Package automake. (Mon, 18 Nov 2013 16:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Oleg Latin <jujulicca <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Mon, 18 Nov 2013 16:53:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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 1 (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 2 (text/html, inline)]
[subdir-objects-bug-0.tar.gz (application/x-gzip, attachment)]

Information forwarded to bug-automake <at> gnu.org:
bug#15919; Package automake. (Thu, 05 Dec 2013 23:43:01 GMT) Full text and rfc822 format available.

Message #8 received at 15919 <at> debbugs.gnu.org (full text, mbox):

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Oleg Latin <jujulicca <at> gmail.com>
Cc: 15919 <at> debbugs.gnu.org
Subject: Re: bug#15919: subdir-objects and path in variable
Date: Thu, 05 Dec 2013 23:42:38 +0000
On 11/18/2013 04:49 PM, Oleg Latin wrote:
> 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.
> 
I believe this is another issue caused by the limitations that are at the
root of http://debbugs.gnu.org/13928 as well.  This is a well-known issue,
and we should aim at fixing it before Automake 2.0 is released.

Thanks,
  Stefano




Reply sent to Stefano Lattarini <stefano.lattarini <at> gmail.com>:
You have taken responsibility. (Mon, 21 Apr 2014 10:34:04 GMT) Full text and rfc822 format available.

Notification sent to Oleg Latin <jujulicca <at> gmail.com>:
bug acknowledged by developer. (Mon, 21 Apr 2014 10:34:05 GMT) Full text and rfc822 format available.

Message #13 received at 15919-done <at> debbugs.gnu.org (full text, mbox):

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 19 May 2014 11:24:03 GMT) Full text and rfc822 format available.

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.