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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 34924 in the body.
You can then email your comments to 34924 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#34924; Package automake. (Wed, 20 Mar 2019 15:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Дилян Палаузов <dilyan.palauzov <at> aegee.org>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Wed, 20 Mar 2019 15:23:02 GMT) Full text and rfc822 format available.

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

From: Дилян Палаузов
 <dilyan.palauzov <at> aegee.org>
To: bug-automake <at> gnu.org
Subject: Default _SOURCES fails when the target contains dots
Date: Wed, 20 Mar 2019 15:21:05 +0000
Hello,

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.

Regards
  Дилян





Information forwarded to bug-automake <at> gnu.org:
bug#34924; Package automake. (Mon, 21 Feb 2022 01:15:01 GMT) Full text and rfc822 format available.

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)]

Added tag(s) moreinfo. Request was from Mike Frysinger <vapier <at> gentoo.org> to control <at> debbugs.gnu.org. (Mon, 21 Feb 2022 01:15:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-automake <at> gnu.org:
bug#34924; Package automake. (Mon, 21 Feb 2022 06:19:02 GMT) Full text and rfc822 format available.

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

From: Дилян Палаузов
 <dilyan.palauzov <at> aegee.org>
To: Mike Frysinger <vapier <at> gentoo.org>
Cc: 34924 <at> debbugs.gnu.org
Subject: Re: bug#34924: Default _SOURCES fails when the target contains dots
Date: Mon, 21 Feb 2022 08:18:41 +0200
Hello,

I cannot attach my full configure.ac .

I wrote the email in 2019 and in the meantime have forgotten any
context.

Greetings
  Dilyan

On Sun, 2022-02-20 at 20:14 -0500, Mike Frysinger wrote:
> 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





bug closed, send any further explanations to 34924 <at> debbugs.gnu.org and Дилян Палаузов <dilyan.palauzov <at> aegee.org> Request was from Mike Frysinger <vapier <at> gentoo.org> to control <at> debbugs.gnu.org. (Mon, 21 Feb 2022 17:56:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 22 Mar 2022 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 34 days ago.

Previous Next


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