GNU bug report logs -
#34846
top_builddir incorrectly formulated when src directory at same level as configure
Previous Next
To reply to this bug, email your comments to 34846 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-automake <at> gnu.org
:
bug#34846
; Package
automake
.
(Wed, 13 Mar 2019 16:16:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Allwright, James" <James.Allwright <at> TheAA.com>
:
New bug report received and forwarded. Copy sent to
bug-automake <at> gnu.org
.
(Wed, 13 Mar 2019 16:16:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
I believe I have found a bug in automake relating to the parsing of
filepaths and/or directories.
I am getting a make failure after running "configure", then
"make" as follows:
~/autotools/proj3$ make
Making all in ../proj3_src
make[1]: Entering directory '/home/allwrigj/autotools/proj3_src'
cd ../.. && make am--refresh
make[2]: Entering directory '/home/allwrigj'
make[2]: *** No rule to make target 'am--refresh'. Stop.
make[2]: Leaving directory '/home/allwrigj'
Makefile:278: recipe for target '../../aclocal.m4' failed
make[1]: *** [../../aclocal.m4] Error 2
make[1]: Leaving directory '/home/allwrigj/autotools/proj3_src'
Makefile:330: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
I have tracked down the problem in proj3_src/Makefile :
top_builddir = ../..
should be
top_builddir = ../proj3
and with this change, the program compiles as expected.
In proj3/ Makefile.am I have
SUBDIRS= ../proj3_src
and in proj3/configure.ac I have
AC_INIT([../proj3_src/hello.c], [0.1])
AM_INIT_AUTOMAKE([foreign])
AC_PROG_CC
AC_PROG_INSTALL
AC_OUTPUT(Makefile)
AC_OUTPUT(../proj3_src/Makefile)
The versions of the tools are
automake (GNU automake) 1.15
autoconf (GNU Autoconf) 2.69
Regards,
James Allwright
Software Developer,
The Automobile Association
The information contained in or attached to this email is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorised to and must not disclose, copy, distribute or retain this message or any part of it. It may contain information which is confidential and/or covered by legal professional or other privilege (or other rules or laws with similar effect in jurisdictions outside England and Wales).
AA Corporation Limited - Registered Office: Fanum House, Basing View, Basingstoke, Hampshire RG21 4EA Registered in England and Wales number: 03797747
Information forwarded
to
bug-automake <at> gnu.org
:
bug#34846
; Package
automake
.
(Wed, 13 Mar 2019 19:24:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 34846 <at> debbugs.gnu.org (full text, mbox):
Am 13.03.2019 um 16:44 schrieb Allwright, James:
> Hi,
>
> I believe I have found a bug in automake relating to the parsing of
> filepaths and/or directories.
I believe you have used automake incorrectly.
> In proj3/ Makefile.am I have
>
> SUBDIRS= ../proj3_src
According to what it says on the tin, you're supposed to put
_subdirectories_ into that SUBDIRS listing.
But that's not a subdirectory It's a next-door directory.
Information forwarded
to
bug-automake <at> gnu.org
:
bug#34846
; Package
automake
.
(Tue, 08 Feb 2022 04:13:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 34846 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 13 Mar 2019 20:23, Hans-Bernhard Bröker wrote:
> Am 13.03.2019 um 16:44 schrieb Allwright, James:
> > I believe I have found a bug in automake relating to the parsing of
> > filepaths and/or directories.
>
> I believe you have used automake incorrectly.
>
> > In proj3/ Makefile.am I have
> >
> > SUBDIRS= ../proj3_src
>
> According to what it says on the tin, you're supposed to put
> _subdirectories_ into that SUBDIRS listing.
>
> But that's not a subdirectory It's a next-door directory.
yeah, this is pretty unusual. i don't know that i've seen this pattern
before, or that it's supported. this logic is coming from autoconf though,
not automake, so i going to route it to them to decide whether to accept.
-mike
[signature.asc (application/pgp-signature, inline)]
bug reassigned from package 'automake' to 'autoconf'.
Request was from
Mike Frysinger <vapier <at> gentoo.org>
to
control <at> debbugs.gnu.org
.
(Tue, 08 Feb 2022 04:14:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 131 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.