GNU bug report logs - #53780
Automake failing with conditional AC_CONFIG_FILES

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: automake; Reported by: Valio Valtokari <ubuntugeek1904@HIDDEN>; Keywords: confirmed; merged with #28002; dated Fri, 4 Feb 2022 15:55:01 UTC; Maintainer for automake is bug-automake@HIDDEN.
Added tag(s) confirmed. Request was from Mike Frysinger <vapier@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Forcibly Merged 28002 53780. Request was from Mike Frysinger <vapier@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Removed tag(s) moreinfo. Request was from Mike Frysinger <vapier@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 53780 <at> debbugs.gnu.org:


Received: (at 53780) by debbugs.gnu.org; 20 Feb 2022 08:00:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 20 03:00:05 2022
Received: from localhost ([127.0.0.1]:59297 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nLh8W-0004do-Je
	for submit <at> debbugs.gnu.org; Sun, 20 Feb 2022 03:00:05 -0500
Received: from mail-wr1-f49.google.com ([209.85.221.49]:38675)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <nbowler@HIDDEN>) id 1nLh8R-0004ci-N1
 for 53780 <at> debbugs.gnu.org; Sun, 20 Feb 2022 03:00:03 -0500
Received: by mail-wr1-f49.google.com with SMTP id d27so21698845wrb.5
 for <53780 <at> debbugs.gnu.org>; Sat, 19 Feb 2022 23:59:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=draconx-ca.20210112.gappssmtp.com; s=20210112;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to;
 bh=le4ldOzs7UNmLbSaB0n4HTG1YbO1aQIyWsVPRyNCdGw=;
 b=Q1qIB9WT3ZN3ajx5qi8l8ONmwRbZVPFlmswdREmjwNb7h+v5Csraud4ElOI9FniIpq
 Y/XpgZpKCwvF70ddy8qDmx7krfbIaUrab2QHM3/nPt6Y/r2fH1bU3MawC1FRjnhgfzyG
 7GwdPKGJkaYzzMQYP3gKxeoG3TIZXSoB/xqAZGBzWDDc+g6m3FbltaaI0wlsyhFjJv1a
 Z45xBBL8sB4HFB6ZIlYxyQ280Du4oROnf4MFg1Bv6cJzw7Zw0/QSadOraLBoIFOjZkCg
 To9G3oTFeAXXvaNLZW6JEdA67+ckpcupkP74t+3IvrmI2lhGqZ4ORC8EYahdiyw2uAMZ
 ooKw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to;
 bh=le4ldOzs7UNmLbSaB0n4HTG1YbO1aQIyWsVPRyNCdGw=;
 b=YP0AVq81r62rnQBB5xuIaQIopoQ/CxKRrYcDrx51xCqyiMnNk2Xz/3z7wtO4KeCSeZ
 LGAnkqpu5VHctdDitkwU9odADtXJ667+72dtasz8mXuJ9eJSBUFoyvHsIAq8hVYmEPz7
 wul6oquJbWvTNOLKaURfLVeqsZ8M44wpJECrirqq166F3WkvsOfejzuTwjHXNYd4YYr5
 KueEqWdFvJKqKwzZ+1tbbEawl2ibiCWI1afM3ZZAZEgsPVgyOUHV2ahaW0JMptEUQA8h
 +x7CY6bu5nDiWctYt6ZW2pPJmxg9jQnZyOyKAU/iR5XJSCnv7uEputPofV9H/DpCZltD
 eJjg==
X-Gm-Message-State: AOAM5321JWDE6qAys9+35pLIby+pXU5UqsX03neL8QGczG7N0OnLwHZ/
 CycBPsLZy7WvCosZCBvAI1F4eNKM1zi0H/ALmi6fn4qimNe3PQ==
X-Google-Smtp-Source: ABdhPJyCH7t86ax5tg2J+s6nt9xXTZYTBHPz4m38i34FYYlyJ7rEfD3QERf//ii7uE8Cjv3CAgR7lfil8z40BDx7fz8=
X-Received: by 2002:a5d:6a03:0:b0:1e4:4055:7e35 with SMTP id
 m3-20020a5d6a03000000b001e440557e35mr12004898wru.495.1645343993775; Sat, 19
 Feb 2022 23:59:53 -0800 (PST)
MIME-Version: 1.0
Received: by 2002:a05:6000:2a8:0:0:0:0 with HTTP; Sat, 19 Feb 2022 23:59:53
 -0800 (PST)
X-Originating-IP: [24.53.241.20]
In-Reply-To: <YhHiRnEHg8hv8XD1@vapier>
References: <CABFerJi4vj01P9SAZu-mArFeBc58KcAuGhh=U_3BObOO0m8b_g@HIDDEN>
 <YhHiRnEHg8hv8XD1@vapier>
From: Nick Bowler <nbowler@HIDDEN>
Date: Sun, 20 Feb 2022 02:59:53 -0500
Message-ID: <CADyTPExDVPpb3upJAe+pjp6_d9UU-6i1pO4mpwa_1GrQvQncHA@HIDDEN>
Subject: Re: bug#53780: Automake failing with conditional AC_CONFIG_FILES
To: Valio Valtokari <ubuntugeek1904@HIDDEN>, 53780 <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 53780
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 2022-02-20, Mike Frysinger <vapier@HIDDEN> wrote:
> can you link to the project/source ?  the snippet you posted isn't
> complete, and adding a few more lines doesn't cause automake crash for me.

Here is a minimal reproducer:

  % cat >configure.ac <<'EOF'
  AC_INIT([test], [0])
  AM_INIT_AUTOMAKE([foreign])
  AC_CONFIG_FILES([x:y z])
  AC_OUTPUT
EOF

  % touch x.am
  % touch z.am
  % autoreconf -is
  configure.ac:2: installing './install-sh'
  configure.ac:2: installing './missing'
  automake-1.16: error: x:y in @other_input_files
  [...]

Critically, both x.am and z.am files are required to exist to
reproduce the crash.

The "x" output should be ignored by Automake (since its input
filename, "y", does not end in ".in") but it apparently slightly
confused by the existence of the (should not be used) x.am in the
source tree.

I think this crash will, in practice, only ever happen due to
serious mistakes in configure.ac (i.e., I believe the reporter
has used AC_CONFIG_FILES with the wrong filenames).

Cheers,
  Nick




Information forwarded to bug-automake@HIDDEN:
bug#53780; Package automake. Full text available.
Added tag(s) moreinfo. Request was from Mike Frysinger <vapier@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 53780 <at> debbugs.gnu.org:


Received: (at 53780) by debbugs.gnu.org; 20 Feb 2022 06:40:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 20 01:40:28 2022
Received: from localhost ([127.0.0.1]:59238 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nLftQ-0006Qe-Dr
	for submit <at> debbugs.gnu.org; Sun, 20 Feb 2022 01:40:28 -0500
Received: from woodpecker.gentoo.org ([140.211.166.183]:34866
 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <vapier@HIDDEN>) id 1nLftL-0006QF-WE
 for 53780 <at> debbugs.gnu.org; Sun, 20 Feb 2022 01:40:23 -0500
Received: by smtp.gentoo.org (Postfix, from userid 559)
 id 8CF3D342C3B; Sun, 20 Feb 2022 06:40:07 +0000 (UTC)
Date: Sun, 20 Feb 2022 01:40:06 -0500
From: Mike Frysinger <vapier@HIDDEN>
To: Valio Valtokari <ubuntugeek1904@HIDDEN>
Subject: Re: bug#53780: Automake failing with conditional AC_CONFIG_FILES
Message-ID: <YhHiRnEHg8hv8XD1@vapier>
Mail-Followup-To: Valio Valtokari <ubuntugeek1904@HIDDEN>,
 53780 <at> debbugs.gnu.org
References: <CABFerJi4vj01P9SAZu-mArFeBc58KcAuGhh=U_3BObOO0m8b_g@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="2grPHvh0Goqx9NMr"
Content-Disposition: inline
In-Reply-To: <CABFerJi4vj01P9SAZu-mArFeBc58KcAuGhh=U_3BObOO0m8b_g@HIDDEN>
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 53780
Cc: 53780 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)


--2grPHvh0Goqx9NMr
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 04 Feb 2022 17:12, Valio Valtokari wrote:
> I have a project that supports multiple platforms (windows and linux as of
> right now). To implement testing functionality I use a library that I
> haven't configured for windows in my project yet. As such, my configure.ac
> has these lines:
>=20
> AC_CONFIG_FILES([Makefile:src/Makefile])
> AM_COND_IF([OS_LINUX], [
>     PKG_CHECK_MODULES([CHECK], [check>=3D0.9])
>     AC_CONFIG_FILES([tests/Makefile])
> ], [])
>=20
> This seemingly causes automake to crash with:
>=20
> automake-1.16: error: Makefile:src/Makefile in @other_input_files
> automake-1.16: @other_input_files =3D (Makefile:src/Makefile)
> automake-1.16: Please contact <bug-automake@HIDDEN>.
>  at /usr/share/automake-1.16/Automake/Channels.pm line 655.
>         Automake::Channels::msg("automake", "", "Makefile:src/Makefile in
> \@other_input_files\x{a}\@other_input_file"...) called at
> /usr/share/automake-1.16/Automake/ChannelDefs.pm line 226
>         Automake::ChannelDefs::prog_error("Makefile:src/Makefile in
> \@other_input_files\x{a}\@other_input_file"...) called at
> /usr/bin/automake-1.16 line 4311
>         Automake::handle_configure("tests/Makefile.am",
> "tests/Makefile.in", "tests/Makefile", "tests/Makefile.in") called at
> /usr/bin/automake-1.16 line 7950
>         Automake::generate_makefile("tests/Makefile.am",
> "tests/Makefile.in") called at /usr/bin/automake-1.16 line 8257
>         Automake::handle_makefile("tests/Makefile.in") called at
> /usr/bin/automake-1.16 line 8269
>         Automake::handle_makefiles_serial() called at
> /usr/bin/automake-1.16 line 8401
> autoreconf: error: automake failed with exit status: 255
>=20
> I'm running on msys2. Any help would be appreciated.

can you link to the project/source ?  the snippet you posted isn't complete,
and adding a few more lines doesn't cause automake crash for me.
-mike

--2grPHvh0Goqx9NMr
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmIR4kYACgkQQWM7n+g3
9YFTQw//ZucWbp0cC4fzXK+8BEIcBV1tPKWyFz5iiVXnIW32jxez/lvimLan/p9/
raM0bp1v5d1T1xkP1A7rUKk5hMiwj2DxuesWa96r2DAhUdGFzfYfsai8I/DqenBD
I1vZVLbQfW810uUozxU5KKz6xkqfg0/NYtHuXY81voMJBpPtR952Nk5Jcl/wyfoL
TtxTmigAKWGDKZz6QkyLdldgngN0UeUrxH9a5ZQ7prV+DBXLr4nCixyPHi5AA463
i1JWuNhdH/r4d8gOk/Qs2i16DrAdMJYL2evsrobpd4gOtxm8NzOG5dC0bZ8lF2eN
WEdBWK65xYr2iza+53pcHFUqICWPxOuiSTIi6b5sadt4JXEs+M4mT+MGYA2nCxW8
fyz+wtwCNWeaHXG9lPQc+UksFqrRakZgjkAZ1fBQmNX5CwbeHvT30ulT+YV8ECbf
sQ3xGcLtqMb0BtZ6tq+ieJLr4Ti27ws4tPOwalKwlKqPSDsxlZkSw4lJADc7podG
MxcXaoDwmR+5lWZptkdp4TpWdDnjPExg7+XCBOEpzZh6QDgYLIcALaPHcbolP0BE
bJjLBrmo1BT3aa5V/ZTodI2F4mFzdNFfPK0xAxNtrWIleuMuiVEco+hq5md59kTC
elBW/lTV7RBK8qwP6xSWLFQPD/yROUwLK3TmPTMm8w/Kr9hoRos=
=OdkW
-----END PGP SIGNATURE-----

--2grPHvh0Goqx9NMr--




Information forwarded to bug-automake@HIDDEN:
bug#53780; Package automake. Full text available.

Message received at 53780 <at> debbugs.gnu.org:


Received: (at 53780) by debbugs.gnu.org; 4 Feb 2022 22:11:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 04 17:11:11 2022
Received: from localhost ([127.0.0.1]:33099 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nG6nO-0006mR-OK
	for submit <at> debbugs.gnu.org; Fri, 04 Feb 2022 17:11:10 -0500
Received: from mail-wr1-f53.google.com ([209.85.221.53]:34513)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <nbowler@HIDDEN>) id 1nG6nJ-0006lm-Q0
 for 53780 <at> debbugs.gnu.org; Fri, 04 Feb 2022 17:11:09 -0500
Received: by mail-wr1-f53.google.com with SMTP id f17so13787639wrx.1
 for <53780 <at> debbugs.gnu.org>; Fri, 04 Feb 2022 14:11:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=draconx-ca.20210112.gappssmtp.com; s=20210112;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc; bh=QshvjNWMcSMKEbrDqmt0DLh1DEWt+ntJMkZD+zoM06g=;
 b=7DVAi1aF5vXleT7cm9auFGN7ABSqRXvMexTS50GKWvEfLPFLCx2+38ZKBfi2Ptt8Ua
 raVRI+Va3p9G1W+kLm5BUehlvnB3dDbmkqEBZ8Mqqvpm3jHgL8L/aaGRbaLuncYM2ILt
 GUN6ZZfRv6G2nT2n75xmS4JrGhnjh6RQWPk8Svn+gMpsMreKVcCW0yKa3bzYiy6YkLXW
 gHodJmDU8kVjQgwo7zv7JdlPbNwxoh3sPkksiRnnNCGFAwZ3Lqe5qaTPRy8PtSbeo7ZI
 +Cr+gmIw+3o1RwxCQkZefSmBQqfMOPu4+KyvCiQsCEXXyQiqjN40rRaJnmHDW6JLX3Jf
 ik0g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc;
 bh=QshvjNWMcSMKEbrDqmt0DLh1DEWt+ntJMkZD+zoM06g=;
 b=PhY9IMa9lScVGc0NqLSt0Ite4SORT8B3hU0W5ajgcvCGuKze9kCfeoM9FOc4hci7OK
 PKKfa0yBk/vjIvUvdtkc3yUst0UZetAoooXuMDLd7rJ+IBscqH90e/Q9NFP7xU1EkIrn
 V86QEFCcbVp2slEFGJCk0frxFu26BG9Ihrcna3zNW2Hsm1TD/Qf/RxeWNajnlzcMwSBq
 VAUodrhtTH1gd2DRSh4Nmb6fTn8NUF3vRFMjfVlkUpBg/R4SiqxYQFUoPsx2UuZn2Yib
 txLWPgiObIgBsV2x8eiEZhn84CZlMmiMEL4gvRr3HAjPfzo1j68wJJptritNN7Q3JAiu
 0P5w==
X-Gm-Message-State: AOAM531LktTUHeYN7VFSLN1JoyZE4H/P+pL+rI9kIfDdIDYDbLP8Ju8O
 0R89IpSE8UGTC26Vj4DBugOKq+Zcas3pK2AE5spBgg==
X-Google-Smtp-Source: ABdhPJw1dHfDnH+TFc9HGkoFUwG6y+JT+2vxsoT4dmfcUUbTB07L2vjRcfUV0sZ/MWU5SdwYChymrNeExgFRFt9uyJM=
X-Received: by 2002:a5d:64c3:: with SMTP id f3mr732071wri.459.1644012659665;
 Fri, 04 Feb 2022 14:10:59 -0800 (PST)
MIME-Version: 1.0
Received: by 2002:a5d:5982:0:0:0:0:0 with HTTP;
 Fri, 4 Feb 2022 14:10:59 -0800 (PST)
X-Originating-IP: [24.53.240.163]
In-Reply-To: <CABFerJi4vj01P9SAZu-mArFeBc58KcAuGhh=U_3BObOO0m8b_g@HIDDEN>
References: <CABFerJi4vj01P9SAZu-mArFeBc58KcAuGhh=U_3BObOO0m8b_g@HIDDEN>
From: Nick Bowler <nbowler@HIDDEN>
Date: Fri, 4 Feb 2022 17:10:59 -0500
Message-ID: <CADyTPEzP7+G-9TPT4++O9kNko6M1Q9HYpsaK77ROX8jQw6GRGQ@HIDDEN>
Subject: Re: bug#53780: Automake failing with conditional AC_CONFIG_FILES
To: Valio Valtokari <ubuntugeek1904@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 53780
Cc: 53780 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 2022-02-04, Valio Valtokari <ubuntugeek1904@HIDDEN> wrote:
> Hello,
>
> I have a project that supports multiple platforms (windows and linux as of
> right now). To implement testing functionality I use a library that I
> haven't configured for windows in my project yet. As such, my configure.ac
> has these lines:
>
> AC_CONFIG_FILES([Makefile:src/Makefile])

Automake probably shouldn't crash but this line is a very unusual way to
tell configure to prepare the toplevel Makefile... it says the input to
generate it is src/Makefile (as opposed to the default Makefile.in).
Basically, this tells configure to copy src/Makefile to Makefile (and
apply substitutions).

Automake will not recognize this as something it should do anything with
(it only looks for matching .am files if it sees an input file that ends
with ".in").

I can only reproduce the crash if there is a file named "Makefile.am" in
the both the toplevel directory and in the "tests" directory.  The
conditional is irrelevant: this will crash just the same:

  AC_CONFIG_FILES([Makefile:src/Makefile tests/Makefile])

Given that, without knowing anything else about your project, I suspect
you probably meant to write:

  AC_CONFIG_FILES([Makefile src/Makefile])

to have configure and/or automake prepare two different Makefiles.

Hope that helps,
  Nick




Information forwarded to bug-automake@HIDDEN:
bug#53780; Package automake. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Feb 2022 15:54:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 04 10:54:20 2022
Received: from localhost ([127.0.0.1]:60864 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nG0ue-0001EQ-Jk
	for submit <at> debbugs.gnu.org; Fri, 04 Feb 2022 10:54:20 -0500
Received: from lists.gnu.org ([209.51.188.17]:50114)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ubuntugeek1904@HIDDEN>) id 1nG0Es-00006t-OH
 for submit <at> debbugs.gnu.org; Fri, 04 Feb 2022 10:11:21 -0500
Received: from eggs.gnu.org ([209.51.188.92]:54514)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ubuntugeek1904@HIDDEN>)
 id 1nG0Em-0006yr-Op
 for bug-automake@HIDDEN; Fri, 04 Feb 2022 10:11:04 -0500
Received: from [2607:f8b0:4864:20::131] (port=34395
 helo=mail-il1-x131.google.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <ubuntugeek1904@HIDDEN>)
 id 1nG0EZ-0001CF-In
 for bug-automake@HIDDEN; Fri, 04 Feb 2022 10:11:00 -0500
Received: by mail-il1-x131.google.com with SMTP id y17so5094237ilm.1
 for <bug-automake@HIDDEN>; Fri, 04 Feb 2022 07:10:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:from:date:message-id:subject:to;
 bh=NxG4XX46pB4bYgY7dd8AvZg4+y6vpjJnVmcV8MkiU1I=;
 b=nhBiLtbqy6Jub5PPAm0CNEgbdV6kTsKCWJci1hg2y6I9+2cYElYtuTQn7Zi39TIgnz
 C+3unmo2tY/fccEgnDCMRXhsN4vnspkYX4x79br/xIPKkOp+J8KaYJcCmgZgiZ6vghEO
 rTyEDq8iFyFSITabiZ+Yi+fJvWz/YcM5Fmu/O9RYSc/infxkr3GdxEtI3x4qm4urOQ4J
 YaCCmjgwO5R+hjMNJY2AgaXfWze+qXbT2+R+7U0NBe8xuIxWQjCNN8utlt8aIWiOX1sq
 qF1eauLSTh9LOVBy7ovQkx9gcwQqDB/y4VazhDZXCiPb8NGvxXMqTjiO1b+POD3hPF2s
 Eb1A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=NxG4XX46pB4bYgY7dd8AvZg4+y6vpjJnVmcV8MkiU1I=;
 b=hIK/S/2Hip8IgdqJiJzNyjFVftllz7wAiaOV2PPoUlEAeNNq/2PP+cUJVBT4AmSsS2
 tDQIAjow+qLq9Ib+HcebM4gQ+ldRvhUrF+1zhOt8K+YewgI4lmnPDud/Ki4AYna4suJE
 1MIY9VBTXWabsTkgsQT4zD1Ox1Xbasb1Hp/nOHJAfOkxCM6jU2bqDD1hmiz4Uzf7Vdux
 E7xHXpW56h/wl5a5etFCNwYbfld2nKCCdma1JbIzw/06e3zigvefYhoJ7PW9r02efEpU
 uvKRSHlcNDEM5dkVVKqWhqfd1R8W24U8QxI8L0hApFkM8jt0njBlTry2vQLr5EIjfUOK
 a5yw==
X-Gm-Message-State: AOAM532Ej7K9pk1OPxozrjy7oCJQ8/nQlx7nGu8crZg9HYI6cRr4Kr+j
 CorQf6Cbc1QnecZ4BIPUtKiuY4V55yCYql65n6wMqNTXm9o=
X-Google-Smtp-Source: ABdhPJx1F3wyuqO+yFCi7KfB28pbd1nKCvwdQVDnfUItR00p0e626viFUyJHMh01xGZ63NQ/Hchj5S+milmVVdwXgyY=
X-Received: by 2002:a92:c54f:: with SMTP id a15mr1569102ilj.302.1643987443854; 
 Fri, 04 Feb 2022 07:10:43 -0800 (PST)
MIME-Version: 1.0
From: Valio Valtokari <ubuntugeek1904@HIDDEN>
Date: Fri, 4 Feb 2022 17:12:04 +0200
Message-ID: <CABFerJi4vj01P9SAZu-mArFeBc58KcAuGhh=U_3BObOO0m8b_g@HIDDEN>
Subject: Automake failing with conditional AC_CONFIG_FILES
To: bug-automake@HIDDEN
Content-Type: multipart/alternative; boundary="0000000000009b2fde05d732a731"
X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::131
 (failed)
Received-SPF: pass client-ip=2607:f8b0:4864:20::131;
 envelope-from=ubuntugeek1904@HIDDEN; helo=mail-il1-x131.google.com
X-Spam_score_int: -10
X-Spam_score: -1.1
X-Spam_bar: -
X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001,
 PDS_HP_HELO_NORDNS=0.001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 2.8 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Hello,
 I have a project that supports multiple platforms (windows
 and linux as of right now). To implement testing functionality I use a library
 that I haven't configured for windows in my project yet. As su [...] 
 Content analysis details:   (2.8 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (ubuntugeek1904[at]gmail.com)
 0.0 T_SPF_HELO_TEMPERROR   SPF: test of HELO record failed (temperror)
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (ubuntugeek1904[at]gmail.com)
 0.0 HTML_MESSAGE           BODY: HTML included in message
 -0.0 T_SCC_BODY_TEXT_LINE   No description available.
 1.5 SPOOFED_FREEMAIL       No description available.
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 04 Feb 2022 10:54:15 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.1 (--)

--0000000000009b2fde05d732a731
Content-Type: text/plain; charset="UTF-8"

Hello,

I have a project that supports multiple platforms (windows and linux as of
right now). To implement testing functionality I use a library that I
haven't configured for windows in my project yet. As such, my configure.ac
has these lines:

AC_CONFIG_FILES([Makefile:src/Makefile])
AM_COND_IF([OS_LINUX], [
    PKG_CHECK_MODULES([CHECK], [check>=0.9])
    AC_CONFIG_FILES([tests/Makefile])
], [])

This seemingly causes automake to crash with:

automake-1.16: error: Makefile:src/Makefile in @other_input_files
automake-1.16: @other_input_files = (Makefile:src/Makefile)
automake-1.16: Please contact <bug-automake@HIDDEN>.
 at /usr/share/automake-1.16/Automake/Channels.pm line 655.
        Automake::Channels::msg("automake", "", "Makefile:src/Makefile in
\@other_input_files\x{a}\@other_input_file"...) called at
/usr/share/automake-1.16/Automake/ChannelDefs.pm line 226
        Automake::ChannelDefs::prog_error("Makefile:src/Makefile in
\@other_input_files\x{a}\@other_input_file"...) called at
/usr/bin/automake-1.16 line 4311
        Automake::handle_configure("tests/Makefile.am",
"tests/Makefile.in", "tests/Makefile", "tests/Makefile.in") called at
/usr/bin/automake-1.16 line 7950
        Automake::generate_makefile("tests/Makefile.am",
"tests/Makefile.in") called at /usr/bin/automake-1.16 line 8257
        Automake::handle_makefile("tests/Makefile.in") called at
/usr/bin/automake-1.16 line 8269
        Automake::handle_makefiles_serial() called at
/usr/bin/automake-1.16 line 8401
autoreconf: error: automake failed with exit status: 255

I'm running on msys2. Any help would be appreciated.

--0000000000009b2fde05d732a731
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello,<div><br></div><div>I have a project that supports m=
ultiple platforms (windows and linux as of right now). To implement testing=
 functionality I use a library that I haven&#39;t configured for windows in=
 my project yet. As such, my <a href=3D"http://configure.ac">configure.ac</=
a> has these lines:</div><div><br></div><div>AC_CONFIG_FILES([Makefile:src/=
Makefile])<br>AM_COND_IF([OS_LINUX], [<br>=C2=A0 =C2=A0 PKG_CHECK_MODULES([=
CHECK], [check&gt;=3D0.9])<br>=C2=A0 =C2=A0 AC_CONFIG_FILES([tests/Makefile=
])<br>], [])<br></div><div><br></div><div>This seemingly causes automake to=
 crash with:</div><div><br></div><div>automake-1.16: error: Makefile:src/Ma=
kefile in @other_input_files<br>automake-1.16: @other_input_files =3D (Make=
file:src/Makefile)<br>automake-1.16: Please contact &lt;<a href=3D"mailto:b=
ug-automake@HIDDEN">bug-automake@HIDDEN</a>&gt;.<br>=C2=A0at /usr/share/a=
utomake-1.16/Automake/Channels.pm line 655.<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
Automake::Channels::msg(&quot;automake&quot;, &quot;&quot;, &quot;Makefile:=
src/Makefile in \@other_input_files\x{a}\@other_input_file&quot;...) called=
 at /usr/share/automake-1.16/Automake/ChannelDefs.pm line 226<br>=C2=A0 =C2=
=A0 =C2=A0 =C2=A0 Automake::ChannelDefs::prog_error(&quot;Makefile:src/Make=
file in \@other_input_files\x{a}\@other_input_file&quot;...) called at /usr=
/bin/automake-1.16 line 4311<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 Automake::handl=
e_configure(&quot;tests/Makefile.am&quot;, &quot;tests/Makefile.in&quot;, &=
quot;tests/Makefile&quot;, &quot;tests/Makefile.in&quot;) called at /usr/bi=
n/automake-1.16 line 7950<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 Automake::generate=
_makefile(&quot;tests/Makefile.am&quot;, &quot;tests/Makefile.in&quot;) cal=
led at /usr/bin/automake-1.16 line 8257<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 Auto=
make::handle_makefile(&quot;tests/Makefile.in&quot;) called at /usr/bin/aut=
omake-1.16 line 8269<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 Automake::handle_makefi=
les_serial() called at /usr/bin/automake-1.16 line 8401<br>autoreconf: erro=
r: automake failed with exit status: 255<br></div><div><br></div><div>I&#39=
;m running on msys2. Any help would be appreciated.</div></div>

--0000000000009b2fde05d732a731--




Acknowledgement sent to Valio Valtokari <ubuntugeek1904@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-automake@HIDDEN. Full text available.
Report forwarded to bug-automake@HIDDEN:
bug#53780; Package automake. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 20 Feb 2022 19:45:02 UTC

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