bug-automake
[Top][All Lists]
Advanced

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

bug#14501: dependency generation FAIL in t/subobj11a.sh


From: Peter Rosin
Subject: bug#14501: dependency generation FAIL in t/subobj11a.sh
Date: Wed, 29 May 2013 09:48:18 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6

On 2013-05-29 09:41, Peter Rosin wrote:
> Hi!
> 
> On Automake master (baf8a1c22acce0908), t/subobj11a.sh fails
> on MSYS/MSVC (depmode=msvc7msys), like this:
> 
> + make quux
> src/.deps/foo.Po:1: *** target pattern contains no `%'.  Stop.
> 
> 
> It appears that the generated foo.Po is broken. Adding a
>       cat "$depdir"/foo.Po
> just before the $MAKE quux invocation reveals that the originally
> generated foo.Po has this single line content:
> 
> src/foo.obj : \
> 
> Notice the trailing backslash. When the testcase then adds a
> line of its own, the trailing backslash makes it blow up.

I forgot to mention that adding an empty line before the other
added line, e.g. with

echo >> "$depdir"/foo.Po

works around the problem and makes the test pass.

Cheers,
Peter






reply via email to

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