GNU bug report logs - #34924
Default _SOURCES fails when the target contains dots

Previous Next

Package: automake;

Reported by: Дилян Палаузов <dilyan.palauzov <at> aegee.org>

Date: Wed, 20 Mar 2019 15:23:02 UTC

Severity: normal

Tags: moreinfo

Done: Mike Frysinger <vapier <at> gentoo.org>

Bug is archived. No further changes may be made.

Full log


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

From: Mike Frysinger <vapier <at> gentoo.org>
To: Дилян Палаузов
 <dilyan.palauzov <at> aegee.org>
Cc: 34924 <at> debbugs.gnu.org
Subject: Re: bug#34924: Default _SOURCES fails when the target contains dots
Date: Sun, 20 Feb 2022 20:14:29 -0500
[Message part 1 (text/plain, inline)]
On 20 Mar 2019 15:21, Дилян Палаузов wrote:
> I expect that the line
> 
> a_b_d_e_f_g_SOURCES = a/b/d-e-f.g.c
> 
> to be superflous, as this is a “Default _SOURCE”, but `make` fails with
> 
> make[1]: *** No rule to make target 'a/b/d-e-f.c', needed by 'a/b/d_e_f_g-d-e-f.o'.  Stop
> 
> g is lost from the tagret.
> 
> …_PROGRAMS = a/b/c-e-f.g
> 
> Note, that there is a dot before g in both _SOURCES ad _PROGRAMS, but the default extension was not changed from .c .
> 
> I use Automake 1.16.1.

i can't reproduce this.  your snippet seems to have a typo:
…_PROGRAMS = a/b/c-e-f.g
a_b_d_e_f_g_SOURCES = ...
your PROGRAMS is set to .../c-... but your SOURCES variable is ..._d_...

can you please attach full configure.ac & Makefile.am that reproduces ?
-mike
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 3 years and 149 days ago.

Previous Next


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