GNU bug report logs - #76527
"make distcheck" broken in non-recursive build systems using Vala support

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: Reuben Thomas <rrt@HIDDEN>; Keywords: help confirmed; dated Mon, 24 Feb 2025 17:58:02 UTC; Maintainer for automake is bug-automake@HIDDEN.
Added tag(s) help and confirmed. Request was from Karl Berry <karl@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 76527) by debbugs.gnu.org; 24 Feb 2025 21:09:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 24 16:09:53 2025
Received: from localhost ([127.0.0.1]:42981 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tmfi5-0002dz-FE
	for submit <at> debbugs.gnu.org; Mon, 24 Feb 2025 16:09:53 -0500
Received: from frenzy.freefriends.org ([198.99.81.75]:36316
 helo=freefriends.org)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <karl@HIDDEN>)
 id 1tmfi2-0002di-LI
 for 76527 <at> debbugs.gnu.org; Mon, 24 Feb 2025 16:09:51 -0500
X-Envelope-From: karl@HIDDEN
Received: from freefriends.org (localhost [127.0.0.1])
 by freefriends.org (8.16.1/8.16.1) with ESMTPS id 51OL9Hp21115899
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);
 Mon, 24 Feb 2025 14:09:18 -0700
Received: (from apache@localhost)
 by freefriends.org (8.16.1/8.14.7/Submit) id 51OL9HLt1115898;
 Mon, 24 Feb 2025 14:09:17 -0700
Date: Mon, 24 Feb 2025 14:09:17 -0700
Message-Id: <202502242109.51OL9HLt1115898@HIDDEN>
From: Karl Berry <karl@HIDDEN>
To: rrt@HIDDEN
Subject: Re: bug#76527: "make distcheck" broken in non-recursive build systems
 using Vala support
In-Reply-To: <CAOnWdoh9NHxFYNUOp_YFoRNWxr-1wwayM9YvSoaX23STeUxxqQ@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 76527
Cc: 76527 <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.7 (-)

Thanks for the report, Reuben. I'll mark it as confirmed+needs help, so
it can stay open and people looking for something stray to work on might
find it. Like you, I'm content for it to stay open until there is
further demand. --best, karl.




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

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


Received: (at submit) by debbugs.gnu.org; 24 Feb 2025 17:57:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 24 12:57:41 2025
Received: from localhost ([127.0.0.1]:42498 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tmci4-0006kA-L2
	for submit <at> debbugs.gnu.org; Mon, 24 Feb 2025 12:57:41 -0500
Received: from lists.gnu.org ([2001:470:142::17]:39256)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rrt@HIDDEN>) id 1tmci2-0006ju-3T
 for submit <at> debbugs.gnu.org; Mon, 24 Feb 2025 12:57:39 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rrt@HIDDEN>) id 1tmchv-000154-C9
 for bug-automake@HIDDEN; Mon, 24 Feb 2025 12:57:31 -0500
Received: from mail-yw1-x1135.google.com ([2607:f8b0:4864:20::1135])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <rrt@HIDDEN>) id 1tmchr-0002da-QO
 for bug-automake@HIDDEN; Mon, 24 Feb 2025 12:57:31 -0500
Received: by mail-yw1-x1135.google.com with SMTP id
 00721157ae682-6f679788fd1so34932167b3.2
 for <bug-automake@HIDDEN>; Mon, 24 Feb 2025 09:57:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=sc3d.org; s=google; t=1740419846; x=1741024646; darn=gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=hADb1e1c+oCdwearuOoPA3ikzioQ5RyagQUGkSS76PA=;
 b=0IVhz4nFoQ2mWk7C3BGChuLQ6b93wfkYvJy+OPF8nVjMCiLwWhYFbCXY9+1InREo2p
 +gnUjSqg1qSEIpc/lZOROiw4BPTGSsJ3K6+Ovyp7UsF9QpmnWaeJZbOrk4235mdNwPDC
 Ag8n86NBpZKkUwI9yBOu5ikwsVnG24sNQoVMw=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740419846; x=1741024646;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=hADb1e1c+oCdwearuOoPA3ikzioQ5RyagQUGkSS76PA=;
 b=q6/v4w+0WdCiB6KgJ3KVOWknCyCDcPzqbS99pYjGRu5/IrHrwBMyv0KTWQRaRSmYsL
 5a7iGkO445FM4RwAzS/eoriKUSmNod6GNHAtr0VTobV9bHZPxmOWC4ihUnsRo9NfFwPQ
 j79ImAbxWgj5xOoq8vJowUL9ylPMKM5teoFEcrZ8eL5uh0aBWzCneR7StH5w1+Qm3yyo
 OXmFvLhDyVwLmVTE7GGW2H+h97kngO4U7L2UEuXsEFoWmBzPuhrZi9yKiW6BeLnL7Bfd
 kdc3x40PUaNjqzr8dn6rOl6sRdQ7tyfE0OfjoXBIwTTiIaD+IUqamWIOVSj6GIDupxBM
 c4aQ==
X-Gm-Message-State: AOJu0Yyk2WYrllcn2thm6it2qKI2q3YlafSXRcnypj8/fRIBSkpXnFcy
 wT9lpBCylTRyaozcX7LRi3XNKm86XYqUJP/bgbFLh2+jiJnvG5DQbJ6dk83buRdlLqUIkFrFUJl
 Kwuol8AQRsSUc3dcA9SOG+6hFDvhxibcrV+DG3qf3WCby7nY25EmtXA==
X-Gm-Gg: ASbGnctN45wr2neuLvz7SkVtSzUCSwjsDdBauKYuuWa418nxWgzi1hP9UoIMZfwZWnI
 Ca2pehAT9YjbI8j5sfONLU/nBsfHy6l7+j+Jjz+oRdC9l9yRZ0vGAj+7EMHyEpBr1YA0zXM4tG4
 bxHdoZnw==
X-Google-Smtp-Source: AGHT+IFZfSqyfv+f+XDXCVkpTYZnyzljjM4WxMR/OxaTgStVjXL7/3sRyCUefrOSs0HJZwf4yxOiy7aoOFB9N5UD8Ws=
X-Received: by 2002:a05:690c:6f8f:b0:6fb:949f:117 with SMTP id
 00721157ae682-6fbcc23a67cmr110539787b3.12.1740419845487; Mon, 24 Feb 2025
 09:57:25 -0800 (PST)
MIME-Version: 1.0
From: Reuben Thomas <rrt@HIDDEN>
Date: Mon, 24 Feb 2025 19:57:14 +0200
X-Gm-Features: AWEUYZlVAHnl0typPS36BVO60K6-AazAIVHrHncFlGC3_sqdPFDD_kP8b3DR0wg
Message-ID: <CAOnWdoh9NHxFYNUOp_YFoRNWxr-1wwayM9YvSoaX23STeUxxqQ@HIDDEN>
Subject: "make distcheck" broken in non-recursive build systems using Vala
 support
To: bug-automake <bug-automake@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000a69cdc062ee71228"
Received-SPF: pass client-ip=2607:f8b0:4864:20::1135;
 envelope-from=rrt@HIDDEN; helo=mail-yw1-x1135.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.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, HTML_MESSAGE=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
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: -0.1 (/)

--000000000000a69cdc062ee71228
Content-Type: text/plain; charset="UTF-8"

See commit 73f5ca3a of Zile:
https://git.savannah.gnu.org/cgit/zile.git/commit/

Also see https://savannah.gnu.org/bugs/index.php?66843

"make dist" works, but "make distcheck" fails as Vala-generated C files
remain in the out-of-tree build directory.

I have not worked out why, but it seems that the rule that should copy the
file from the top directory into the sub-directory does not fire. (The Vala
compiler is not terribly sympathetic to non-recursive build systems either,
so we generate complicated Makefile rules to work around it.)

I don't think this is a serious problem, as a) not many people use Vala,
and b) not many people use non-recursive build systems; also, c) Vala
itself recommends the use of Meson these days.

Hence, consider this a placeholder bug for now. If there is demand to fix
it, I might be able to find time to look into it further.

My own plan, should I need to make another release of Zile (the last
release was nearly 4 years ago, and there's little chance of a significant
change requiring an update), is to just run "make dist" if it's a minor
fix, or to switch back to a recursive build system.

(Incidentally, I am using Vala with automake on various other projects, all
using single-directory or recursive build systems, and it works fine,
including, I discovered last week, using the TAP support in Automake to run
Vala's GLib-based test suites. Using Vala & GLib obviates the use of
bootstrap+gnulib, which makes builds quite fast enough for my purposes,
while still benefitting from the familiarity, power and flexibility of the
autotools.)

-- 
https://rrt.sc3d.org

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

<div dir=3D"ltr"><div><div style=3D"font-family:arial,helvetica,sans-serif;=
font-size:small" class=3D"gmail_default">See commit 73f5ca3a of Zile: <a hr=
ef=3D"https://git.savannah.gnu.org/cgit/zile.git/commit/">https://git.savan=
nah.gnu.org/cgit/zile.git/commit/</a></div><div style=3D"font-family:arial,=
helvetica,sans-serif;font-size:small" class=3D"gmail_default"><br></div><di=
v style=3D"font-family:arial,helvetica,sans-serif;font-size:small" class=3D=
"gmail_default">Also see <a href=3D"https://savannah.gnu.org/bugs/index.php=
?66843">https://savannah.gnu.org/bugs/index.php?66843</a></div><div style=
=3D"font-family:arial,helvetica,sans-serif;font-size:small" class=3D"gmail_=
default"><br></div><div style=3D"font-family:arial,helvetica,sans-serif;fon=
t-size:small" class=3D"gmail_default">&quot;make dist&quot; works, but &quo=
t;make distcheck&quot; fails as Vala-generated C files remain in the out-of=
-tree build directory.</div><div style=3D"font-family:arial,helvetica,sans-=
serif;font-size:small" class=3D"gmail_default"><br></div><div style=3D"font=
-family:arial,helvetica,sans-serif;font-size:small" class=3D"gmail_default"=
>I have not worked out why, but it seems that the rule that should copy the=
 file from the top directory into the sub-directory does not fire. (The Val=
a compiler is not terribly sympathetic to non-recursive build systems eithe=
r, so we generate complicated Makefile rules to work around it.)<br></div><=
div style=3D"font-family:arial,helvetica,sans-serif;font-size:small" class=
=3D"gmail_default"><br></div><div style=3D"font-family:arial,helvetica,sans=
-serif;font-size:small" class=3D"gmail_default">I don&#39;t think this is a=
 serious problem, as a) not many people use Vala, and b) not many people us=
e non-recursive build systems; also, c) Vala itself recommends the use of M=
eson these days.</div><div style=3D"font-family:arial,helvetica,sans-serif;=
font-size:small" class=3D"gmail_default"><br></div><div style=3D"font-famil=
y:arial,helvetica,sans-serif;font-size:small" class=3D"gmail_default">Hence=
, consider this a placeholder bug for now. If there is demand to fix it, I =
might be able to find time to look into it further.</div><div style=3D"font=
-family:arial,helvetica,sans-serif;font-size:small" class=3D"gmail_default"=
><br></div><div style=3D"font-family:arial,helvetica,sans-serif;font-size:s=
mall" class=3D"gmail_default">My own plan, should I need to make another re=
lease of Zile (the last release was nearly 4 years ago, and there&#39;s lit=
tle chance of a significant change requiring an update), is to just run &qu=
ot;make dist&quot; if it&#39;s a minor fix, or to switch back to a recursiv=
e build system.<br></div></div><div><br></div><div><div style=3D"font-famil=
y:arial,helvetica,sans-serif;font-size:small" class=3D"gmail_default">(Inci=
dentally, I am using Vala with automake on various other projects, all usin=
g single-directory or recursive build systems, and it works fine, including=
, I discovered last week, using the TAP support in Automake to run Vala&#39=
;s GLib-based test suites. Using Vala &amp; GLib obviates the use of bootst=
rap+gnulib, which makes builds quite fast enough for my purposes, while sti=
ll benefitting from the familiarity, power and flexibility of the autotools=
.)<br></div><br></div><span class=3D"gmail_signature_prefix">-- </span><br>=
<div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signatur=
e"><div dir=3D"ltr"><div><div dir=3D"ltr"><a href=3D"https://rrt.sc3d.org" =
target=3D"_blank">https://rrt.sc3d.org</a></div></div></div></div></div>

--000000000000a69cdc062ee71228--




Acknowledgement sent to Reuben Thomas <rrt@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-automake@HIDDEN. Full text available.
Report forwarded to bug-automake@HIDDEN:
bug#76527; 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: Mon, 24 Feb 2025 21:15:01 UTC

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