From unknown Thu Aug 14 21:55:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44580: DejaGnu runtest not found of site.exp exists Resent-From: Robert Menteer Original-Sender: "Debbugs-submit" Resent-CC: bug-dejagnu@gnu.org Resent-Date: Wed, 11 Nov 2020 16:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44580 X-GNU-PR-Package: dejagnu X-GNU-PR-Keywords: To: 44580@debbugs.gnu.org X-Debbugs-Original-To: bug-dejagnu@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16051110178065 (code B ref -1); Wed, 11 Nov 2020 16:11:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Nov 2020 16:10:17 +0000 Received: from localhost ([127.0.0.1]:42653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcshN-000260-2S for submit@debbugs.gnu.org; Wed, 11 Nov 2020 11:10:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:48892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcsSp-0001if-D6 for submit@debbugs.gnu.org; Wed, 11 Nov 2020 10:55:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcsSp-0007r2-4P for bug-dejagnu@gnu.org; Wed, 11 Nov 2020 10:55:15 -0500 Received: from st43p00im-ztbu10073701.me.com ([17.58.63.183]:34042) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcsSn-0008AJ-AK for bug-dejagnu@gnu.org; Wed, 11 Nov 2020 10:55:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mac.com; s=1a1hai; t=1605110091; bh=Mv91YQzdlPGbtLFRORyeb+3z5h5olzGhUa/e5ocjkZ0=; h=From:Content-Type:Mime-Version:Subject:Message-Id:Date:To; b=fPbncVAh31ODQx3Ni9iRJFGahavG5A3kLEG2TuHg4T7SHsR+i4Wyy9YvKVHvOgoXJ VHJ0nL8rxnbkv7Irk+ASaG6ypPNAy4fjzIybOIZUDhRDthZZLVnF6FWW1mI3jNG6Mw fOty+b8YJUkiDIN4/44KkRDnumsTiLCtIpzVjb0OTyjUrdYJM8QxqTiQQ4L0ah86dg KhuIFMlI/4PDP7mhTqS59UDvtxLQK/X1Goh8wI2Q1jG29rNTFanbjJdBg4BFr6/euF NG3Ob0nlyl6Oi5g9xFGum+KAFiY9ZetXjRpE1boI8V0zLRNg78m2Ez33bD1QRZ7Zc5 QNkgcZHMtXGYA== Received: from [192.168.0.18] (nc-71-50-141-172.dyn.embarqhsd.net [71.50.141.172]) by st43p00im-ztbu10073701.me.com (Postfix) with ESMTPSA id 6990B4C078D for ; Wed, 11 Nov 2020 15:54:51 +0000 (UTC) From: Robert Menteer Content-Type: multipart/alternative; boundary="Apple-Mail=_32FEFF88-10C7-4A9C-839E-601FF2A3D3C5" Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Message-Id: <25EB19DB-37B6-4B5D-BDAE-1271674F1A34@mac.com> Date: Wed, 11 Nov 2020 10:54:50 -0500 X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312, 18.0.737 definitions=2020-11-11_07:2020-11-10, 2020-11-11 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=620 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006250000 definitions=main-2011110094 Received-SPF: pass client-ip=17.58.63.183; envelope-from=reetnem@mac.com; helo=st43p00im-ztbu10073701.me.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/11 10:54:52 X-ACL-Warn: Detected OS = Linux 3.11 and newer 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Mailman-Approved-At: Wed, 11 Nov 2020 11:10:15 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --Apple-Mail=_32FEFF88-10C7-4A9C-839E-601FF2A3D3C5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I have a Makefile created using the auto tools and it has a problem when = making the =E2=80=98check=E2=80=99 target. The problem is the make file = fails to verify the existence of runtest. The command used to test for = the existence of runtest is: if /bin/bash -c "runtest --version" > /dev/null 2>&1; then What I found by running runtest by hand is it fails if the file site.ext = exists.=20 parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parallels = Shared Folders/FlDist/trunk/testsuite$ runtest --version ERROR: tcl error sourcing /media/psf/FlDist/trunk/testsuite/site.exp. wrong # args: should be "set varName ?newValue?" while executing "set objdir /home/parallels/Desktop/Parallels Shared = Folders/FlDist/trunk/testsuite" (file "/media/psf/FlDist/trunk/testsuite/site.exp" line 5) invoked from within "source /media/psf/FlDist/trunk/testsuite/site.exp" ("uplevel" body line 1) invoked from within "uplevel #0 source /media/psf/FlDist/trunk/testsuite/site.exp" invoked from within "catch "uplevel #0 source $file"" parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parallels = Shared Folders/FlDist/trunk/testsuite$ rm site.exp parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parallels = Shared Folders/FlDist/trunk/testsuite$ runtest --version DejaGnu version 1.6.2 Expect version 5.45.4 Tcl version 8.6 parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parallels = Shared Folders/FlDist/trunk/testsuite$ uname -a Linux parallels-Parallels-Virtual-Platform 5.4.0-42-generic #46-Ubuntu = SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parallels = Shared Folders/FlDist/trunk/testsuite$=20 --Apple-Mail=_32FEFF88-10C7-4A9C-839E-601FF2A3D3C5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 I = have a Makefile created using the auto tools and it has a problem when = making the =E2=80=98check=E2=80=99 target. The problem is the make file = fails to verify the existence of runtest. The command used to test for = the existence of runtest is:

if /bin/bash -c "runtest = --version" > /dev/null 2>&1; then

What I found by running = runtest by hand is it fails if the file site.ext exists. 

parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parall= els Shared Folders/FlDist/trunk/testsuite$ runtest --version
ERROR: tcl error sourcing = /media/psf/FlDist/trunk/testsuite/site.exp.
wrong # args: should be "set = varName ?newValue?"
    while executing
"set objdir = /home/parallels/Desktop/Parallels Shared = Folders/FlDist/trunk/testsuite"
    (file = "/media/psf/FlDist/trunk/testsuite/site.exp" line = 5)
    = invoked from within
"source = /media/psf/FlDist/trunk/testsuite/site.exp"
    ("uplevel" body = line 1)
    = invoked from within
"uplevel #0 source = /media/psf/FlDist/trunk/testsuite/site.exp"
    invoked from = within
"catch = "uplevel #0 source $file""
parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parall= els Shared Folders/FlDist/trunk/testsuite$ rm = site.exp
parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parall= els Shared Folders/FlDist/trunk/testsuite$ runtest = --version
DejaGnu = version = 1.6.2
Expect = version = 5.45.4
Tcl = version = 8.6
parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parall= els Shared Folders/FlDist/trunk/testsuite$ uname = -a
Linux = parallels-Parallels-Virtual-Platform 5.4.0-42-generic #46-Ubuntu SMP Fri = Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 = GNU/Linux
parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parall= els Shared = Folders/FlDist/trunk/testsuite$ 

= --Apple-Mail=_32FEFF88-10C7-4A9C-839E-601FF2A3D3C5-- From unknown Thu Aug 14 21:55:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44580: DejaGnu runtest not found of site.exp exists Resent-From: Jacob Bachmeyer Original-Sender: "Debbugs-submit" Resent-CC: bug-dejagnu@gnu.org Resent-Date: Thu, 12 Nov 2020 02:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44580 X-GNU-PR-Package: dejagnu X-GNU-PR-Keywords: To: reetnem@mac.com, 44580@debbugs.gnu.org Cc: 44580-done@debbugs.gnu.org X-Debbugs-Original-To: Robert Menteer , Robert Menteer via Bug-dejagnu Reply-To: jcb62281@gmail.com Received: via spool by submit@debbugs.gnu.org id=B.160514978114938 (code B ref -1); Thu, 12 Nov 2020 02:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Nov 2020 02:56:21 +0000 Received: from localhost ([127.0.0.1]:43305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kd2mb-0003ss-7d for submit@debbugs.gnu.org; Wed, 11 Nov 2020 21:56:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:46502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kd2mX-0003sX-FJ for submit@debbugs.gnu.org; Wed, 11 Nov 2020 21:56:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kd2mV-0006ka-UA for bug-dejagnu@gnu.org; Wed, 11 Nov 2020 21:56:17 -0500 Received: from mail-oi1-x232.google.com ([2607:f8b0:4864:20::232]:44694) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kd2mT-0000rb-13 for bug-dejagnu@gnu.org; Wed, 11 Nov 2020 21:56:15 -0500 Received: by mail-oi1-x232.google.com with SMTP id t16so4680614oie.11 for ; Wed, 11 Nov 2020 18:56:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=gHGZKl2gaGoRwB+sp15EGivWhqjk/cjClVH04QYRJKA=; b=UJ3oAqP1bW3V8rEFZA5zFG1KrtVTyd93C5twOVXApK5M8jbwLOXaCjmdE+zkQ8dZzQ 8OLJnBRJQHIgJqBLodJcCTu3a3LLeqePsMJ+EHrRcnj6UmFV5ppsOJiU63nyx27WxwvO JXyrfMo2+y5wlW2jpBEWT5BI0xeT1hO4CTCqAw8xlHhQdSKPlUcGbJ+FEBOU1Hj2bRdO 7+jGrs3YkghkWSF8qavA4RCPHU5pOv/2hzbJuEKQ33SwmnO8H5AP5q3qvXG95BEWJ+1U J7tWgPDyEGPnVT9E2GtqGw+PY5RUQNydGqzLcmf3L4lwNJMiMa53o+EC5PVWDKs9Vr3+ Nb+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:reply-to:user-agent :mime-version:to:cc:subject:references:in-reply-to :content-transfer-encoding; bh=gHGZKl2gaGoRwB+sp15EGivWhqjk/cjClVH04QYRJKA=; b=fOWxDvqWC9DBDMFh8HzYCCaPY/giWytPDnSXO/gV+1/7zyLaZ5yUa19Lz2rUYWYXo8 JqmR1DjiWJNFg8J4qsGK7jL88QvY1zF6i8iwseptHzFSRb/WB8bxI2urqIa+N1ky0lHI 58O7R62CYCsVPre0cF47jqZJ57bDa7tlfg5CeBhTNYeaLMrG1sUE6Ur9z+BEwt/qImES OcHqGswOMgs+tUi5WIjhQUQCzElktdOPLVUTfThPqOSHohOi1RQ46TAIuUrGJ+omDp1H ijZBnp1e3wub4whzOIctTUJUg9Echs5la5CGcdjmU0weqqHDNUdlVl8B+9UBTj/ZPR4r 9ozg== X-Gm-Message-State: AOAM531XruiJ6Mfk823P6BbGiH32CxwCDaHYEsqB9Ueb+TsfJ5ZleawU myHQRQEizM4hDXxOqGEaayw= X-Google-Smtp-Source: ABdhPJwdLljmlB9PXhSVxjwzyg3bu4gSc5nOsC19enBUAADeGyx/lq2IQ/D/wWKgguGwbujioVS/fg== X-Received: by 2002:aca:b909:: with SMTP id j9mr4343982oif.132.1605149771933; Wed, 11 Nov 2020 18:56:11 -0800 (PST) Received: from [192.168.2.42] (adsl-70-133-144-11.dsl.ablntx.sbcglobal.net. [70.133.144.11]) by smtp.gmail.com with ESMTPSA id g3sm864531oif.26.2020.11.11.18.56.10 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Nov 2020 18:56:11 -0800 (PST) Message-ID: <5FACA449.5050909@gmail.com> Date: Wed, 11 Nov 2020 20:56:09 -0600 From: Jacob Bachmeyer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 MultiZilla/1.8.3.4e SeaMonkey/1.1.17 Mnenhy/0.7.6.0 MIME-Version: 1.0 References: <25EB19DB-37B6-4B5D-BDAE-1271674F1A34@mac.com> In-Reply-To: <25EB19DB-37B6-4B5D-BDAE-1271674F1A34@mac.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::232; envelope-from=jcb62281@gmail.com; helo=mail-oi1-x232.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 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, FREEMAIL_REPLYTO_END_DIGIT=0.25, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) Robert Menteer via Bug-dejagnu via wrote: > What I found by running runtest by hand is it fails if the file > site.ext exists. Your site.exp file is invalid; this is a bug in Automake rather than a bug in DejaGnu. The version of Automake that produced the Makefile.in that you are using mishandles filenames containing spaces. Tcl requires a value containing spaces to be properly quoted in a "set" command, and Automake is producing a site.exp that does not contain those quotes for the objdir variable. An immediate workaround is to run `sed -e '/^set [^ ]*dir [^"]/{s/dir /&"/;s/$/"/}' -i site.exp` (tested with GNU sed) to fix your site.exp file, or to avoid building in a directory where the absolute filename contains spaces. Additionally, as of commit b53b22c29880f785ae5e9e1c72925d2583a4c76d (after 1.6.2 was released) DejaGnu no longer loads site.exp when invoked with the --version option. Please try regenerating your Makefile.in with a newer Automake or report this as a bug in Automake if you are already using the latest version. I am closing this report as NOTOURBUG. -- Jacob From unknown Thu Aug 14 21:55:47 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Robert Menteer Subject: bug#44580: closed (Re: bug#44580: DejaGnu runtest not found of site.exp exists) Message-ID: References: <5FACA449.5050909@gmail.com> <25EB19DB-37B6-4B5D-BDAE-1271674F1A34@mac.com> X-Gnu-PR-Message: they-closed 44580 X-Gnu-PR-Package: dejagnu Reply-To: 44580@debbugs.gnu.org Date: Thu, 12 Nov 2020 02:57:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1605149822-14996-1" This is a multi-part message in MIME format... ------------=_1605149822-14996-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #44580: DejaGnu runtest not found of site.exp exists which was filed against the dejagnu package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 44580@debbugs.gnu.org. --=20 44580: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D44580 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1605149822-14996-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 44580-done) by debbugs.gnu.org; 12 Nov 2020 02:56:20 +0000 Received: from localhost ([127.0.0.1]:43303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kd2mZ-0003sk-Uz for submit@debbugs.gnu.org; Wed, 11 Nov 2020 21:56:20 -0500 Received: from mail-oi1-f173.google.com ([209.85.167.173]:43973) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kd2mX-0003sP-L6 for 44580-done@debbugs.gnu.org; Wed, 11 Nov 2020 21:56:18 -0500 Received: by mail-oi1-f173.google.com with SMTP id t143so4685463oif.10 for <44580-done@debbugs.gnu.org>; Wed, 11 Nov 2020 18:56:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=gHGZKl2gaGoRwB+sp15EGivWhqjk/cjClVH04QYRJKA=; b=UJ3oAqP1bW3V8rEFZA5zFG1KrtVTyd93C5twOVXApK5M8jbwLOXaCjmdE+zkQ8dZzQ 8OLJnBRJQHIgJqBLodJcCTu3a3LLeqePsMJ+EHrRcnj6UmFV5ppsOJiU63nyx27WxwvO JXyrfMo2+y5wlW2jpBEWT5BI0xeT1hO4CTCqAw8xlHhQdSKPlUcGbJ+FEBOU1Hj2bRdO 7+jGrs3YkghkWSF8qavA4RCPHU5pOv/2hzbJuEKQ33SwmnO8H5AP5q3qvXG95BEWJ+1U J7tWgPDyEGPnVT9E2GtqGw+PY5RUQNydGqzLcmf3L4lwNJMiMa53o+EC5PVWDKs9Vr3+ Nb+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:reply-to:user-agent :mime-version:to:cc:subject:references:in-reply-to :content-transfer-encoding; bh=gHGZKl2gaGoRwB+sp15EGivWhqjk/cjClVH04QYRJKA=; b=nznPTJMfNH1MvcdNmIPai9//3UU5pl7ry3ydpwUlsvnc+LIPxO40rJW8OFmmHdJCrO 6LSwa/8+0kwjk4nq67GN2Hg30s+W0OpwknHeh6ekTog0XuvA83AwOxsbi3UlRvmL5/bG DU2lhXDmbbwrpdN3DJTHInG9El4yvOmXqSkSj3J8xSWrG+OpzHTPNTaaGEIPUj2F8Us8 iuFKvadBl5SMcDkGoDj1cW3qwmUu0mPa9C084zH+aWO7MJTgedYSdxoepXdjaFU8Redf PfS7hpPNdklTTUqHBCANBfE4qBTSLQJxyQ5ynowykhbZhU3RwH5FPR5/+eVsj7QQX4ql 3qVg== X-Gm-Message-State: AOAM533G4gyA8NHDvFjNGp6/j++5v+POfGyDIgowmH9g8hM2/C0SRTS/ SmgtrTW1rgK6CjpwuVhMUJI= X-Google-Smtp-Source: ABdhPJwdLljmlB9PXhSVxjwzyg3bu4gSc5nOsC19enBUAADeGyx/lq2IQ/D/wWKgguGwbujioVS/fg== X-Received: by 2002:aca:b909:: with SMTP id j9mr4343982oif.132.1605149771933; Wed, 11 Nov 2020 18:56:11 -0800 (PST) Received: from [192.168.2.42] (adsl-70-133-144-11.dsl.ablntx.sbcglobal.net. [70.133.144.11]) by smtp.gmail.com with ESMTPSA id g3sm864531oif.26.2020.11.11.18.56.10 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Nov 2020 18:56:11 -0800 (PST) Message-ID: <5FACA449.5050909@gmail.com> Date: Wed, 11 Nov 2020 20:56:09 -0600 From: Jacob Bachmeyer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 MultiZilla/1.8.3.4e SeaMonkey/1.1.17 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: Robert Menteer , Robert Menteer via Bug-dejagnu Subject: Re: bug#44580: DejaGnu runtest not found of site.exp exists References: <25EB19DB-37B6-4B5D-BDAE-1271674F1A34@mac.com> In-Reply-To: <25EB19DB-37B6-4B5D-BDAE-1271674F1A34@mac.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 44580-done Cc: 44580-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: jcb62281@gmail.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Robert Menteer via Bug-dejagnu via wrote: > What I found by running runtest by hand is it fails if the file > site.ext exists. Your site.exp file is invalid; this is a bug in Automake rather than a bug in DejaGnu. The version of Automake that produced the Makefile.in that you are using mishandles filenames containing spaces. Tcl requires a value containing spaces to be properly quoted in a "set" command, and Automake is producing a site.exp that does not contain those quotes for the objdir variable. An immediate workaround is to run `sed -e '/^set [^ ]*dir [^"]/{s/dir /&"/;s/$/"/}' -i site.exp` (tested with GNU sed) to fix your site.exp file, or to avoid building in a directory where the absolute filename contains spaces. Additionally, as of commit b53b22c29880f785ae5e9e1c72925d2583a4c76d (after 1.6.2 was released) DejaGnu no longer loads site.exp when invoked with the --version option. Please try regenerating your Makefile.in with a newer Automake or report this as a bug in Automake if you are already using the latest version. I am closing this report as NOTOURBUG. -- Jacob ------------=_1605149822-14996-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 11 Nov 2020 16:10:17 +0000 Received: from localhost ([127.0.0.1]:42653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcshN-000260-2S for submit@debbugs.gnu.org; Wed, 11 Nov 2020 11:10:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:48892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcsSp-0001if-D6 for submit@debbugs.gnu.org; Wed, 11 Nov 2020 10:55:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcsSp-0007r2-4P for bug-dejagnu@gnu.org; Wed, 11 Nov 2020 10:55:15 -0500 Received: from st43p00im-ztbu10073701.me.com ([17.58.63.183]:34042) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcsSn-0008AJ-AK for bug-dejagnu@gnu.org; Wed, 11 Nov 2020 10:55:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mac.com; s=1a1hai; t=1605110091; bh=Mv91YQzdlPGbtLFRORyeb+3z5h5olzGhUa/e5ocjkZ0=; h=From:Content-Type:Mime-Version:Subject:Message-Id:Date:To; b=fPbncVAh31ODQx3Ni9iRJFGahavG5A3kLEG2TuHg4T7SHsR+i4Wyy9YvKVHvOgoXJ VHJ0nL8rxnbkv7Irk+ASaG6ypPNAy4fjzIybOIZUDhRDthZZLVnF6FWW1mI3jNG6Mw fOty+b8YJUkiDIN4/44KkRDnumsTiLCtIpzVjb0OTyjUrdYJM8QxqTiQQ4L0ah86dg KhuIFMlI/4PDP7mhTqS59UDvtxLQK/X1Goh8wI2Q1jG29rNTFanbjJdBg4BFr6/euF NG3Ob0nlyl6Oi5g9xFGum+KAFiY9ZetXjRpE1boI8V0zLRNg78m2Ez33bD1QRZ7Zc5 QNkgcZHMtXGYA== Received: from [192.168.0.18] (nc-71-50-141-172.dyn.embarqhsd.net [71.50.141.172]) by st43p00im-ztbu10073701.me.com (Postfix) with ESMTPSA id 6990B4C078D for ; Wed, 11 Nov 2020 15:54:51 +0000 (UTC) From: Robert Menteer Content-Type: multipart/alternative; boundary="Apple-Mail=_32FEFF88-10C7-4A9C-839E-601FF2A3D3C5" Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: DejaGnu runtest not found of site.exp exists Message-Id: <25EB19DB-37B6-4B5D-BDAE-1271674F1A34@mac.com> Date: Wed, 11 Nov 2020 10:54:50 -0500 To: bug-dejagnu@gnu.org X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312, 18.0.737 definitions=2020-11-11_07:2020-11-10, 2020-11-11 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=620 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006250000 definitions=main-2011110094 Received-SPF: pass client-ip=17.58.63.183; envelope-from=reetnem@mac.com; helo=st43p00im-ztbu10073701.me.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/11 10:54:52 X-ACL-Warn: Detected OS = Linux 3.11 and newer 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 11 Nov 2020 11:10:15 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --Apple-Mail=_32FEFF88-10C7-4A9C-839E-601FF2A3D3C5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I have a Makefile created using the auto tools and it has a problem when = making the =E2=80=98check=E2=80=99 target. The problem is the make file = fails to verify the existence of runtest. The command used to test for = the existence of runtest is: if /bin/bash -c "runtest --version" > /dev/null 2>&1; then What I found by running runtest by hand is it fails if the file site.ext = exists.=20 parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parallels = Shared Folders/FlDist/trunk/testsuite$ runtest --version ERROR: tcl error sourcing /media/psf/FlDist/trunk/testsuite/site.exp. wrong # args: should be "set varName ?newValue?" while executing "set objdir /home/parallels/Desktop/Parallels Shared = Folders/FlDist/trunk/testsuite" (file "/media/psf/FlDist/trunk/testsuite/site.exp" line 5) invoked from within "source /media/psf/FlDist/trunk/testsuite/site.exp" ("uplevel" body line 1) invoked from within "uplevel #0 source /media/psf/FlDist/trunk/testsuite/site.exp" invoked from within "catch "uplevel #0 source $file"" parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parallels = Shared Folders/FlDist/trunk/testsuite$ rm site.exp parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parallels = Shared Folders/FlDist/trunk/testsuite$ runtest --version DejaGnu version 1.6.2 Expect version 5.45.4 Tcl version 8.6 parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parallels = Shared Folders/FlDist/trunk/testsuite$ uname -a Linux parallels-Parallels-Virtual-Platform 5.4.0-42-generic #46-Ubuntu = SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parallels = Shared Folders/FlDist/trunk/testsuite$=20 --Apple-Mail=_32FEFF88-10C7-4A9C-839E-601FF2A3D3C5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 I = have a Makefile created using the auto tools and it has a problem when = making the =E2=80=98check=E2=80=99 target. The problem is the make file = fails to verify the existence of runtest. The command used to test for = the existence of runtest is:

if /bin/bash -c "runtest = --version" > /dev/null 2>&1; then

What I found by running = runtest by hand is it fails if the file site.ext exists. 

parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parall= els Shared Folders/FlDist/trunk/testsuite$ runtest --version
ERROR: tcl error sourcing = /media/psf/FlDist/trunk/testsuite/site.exp.
wrong # args: should be "set = varName ?newValue?"
    while executing
"set objdir = /home/parallels/Desktop/Parallels Shared = Folders/FlDist/trunk/testsuite"
    (file = "/media/psf/FlDist/trunk/testsuite/site.exp" line = 5)
    = invoked from within
"source = /media/psf/FlDist/trunk/testsuite/site.exp"
    ("uplevel" body = line 1)
    = invoked from within
"uplevel #0 source = /media/psf/FlDist/trunk/testsuite/site.exp"
    invoked from = within
"catch = "uplevel #0 source $file""
parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parall= els Shared Folders/FlDist/trunk/testsuite$ rm = site.exp
parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parall= els Shared Folders/FlDist/trunk/testsuite$ runtest = --version
DejaGnu = version = 1.6.2
Expect = version = 5.45.4
Tcl = version = 8.6
parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parall= els Shared Folders/FlDist/trunk/testsuite$ uname = -a
Linux = parallels-Parallels-Virtual-Platform 5.4.0-42-generic #46-Ubuntu SMP Fri = Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 = GNU/Linux
parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parall= els Shared = Folders/FlDist/trunk/testsuite$ 

= --Apple-Mail=_32FEFF88-10C7-4A9C-839E-601FF2A3D3C5-- ------------=_1605149822-14996-1-- From unknown Thu Aug 14 21:55:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44580: DejaGnu runtest not found of site.exp exists Resent-From: Robert Menteer Original-Sender: "Debbugs-submit" Resent-CC: bug-dejagnu@gnu.org Resent-Date: Thu, 12 Nov 2020 16:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44580 X-GNU-PR-Package: dejagnu X-GNU-PR-Keywords: To: jcb62281@gmail.com Cc: 44580@debbugs.gnu.org, 44580-done@debbugs.gnu.org X-Debbugs-Original-Cc: Robert Menteer via Bug-dejagnu , 44580-done@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160519738627748 (code B ref -1); Thu, 12 Nov 2020 16:10:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Nov 2020 16:09:46 +0000 Received: from localhost ([127.0.0.1]:45412 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdFAP-0007DM-0r for submit@debbugs.gnu.org; Thu, 12 Nov 2020 11:09:46 -0500 Received: from lists.gnu.org ([209.51.188.17]:37624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdCkm-00035E-7c for submit@debbugs.gnu.org; Thu, 12 Nov 2020 08:35:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdCkm-0005uJ-0s for bug-dejagnu@gnu.org; Thu, 12 Nov 2020 08:35:08 -0500 Received: from st43p00im-zteg10073501.me.com ([17.58.63.180]:48698) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdCkj-0005Os-OZ for bug-dejagnu@gnu.org; Thu, 12 Nov 2020 08:35:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mac.com; s=1a1hai; t=1605188103; bh=du00viAvEAxcaufFpZBKYiVx6Z3LTOJOkGFkCUXgUv4=; h=Content-Type:Mime-Version:Subject:From:Date:Message-Id:To; b=lb8uIYaINDkY5go9IBJJOf/NxaRJkR1XkjxePaAf2z8KtA9L8LAzPsXlPkHp79ze8 H4ZK70svudNBeJmwxDZOdRibDIZcQgwO659GMunhK4ucWqCqSzCNAGC5WBipP1ZeRf KbJElBelv25S9aTX8lP+nKzzgWVQ3GgOGy8cGI1/XG822S2LJmzybNi+x4enFEhSaF 0IcAIa3rVNKfyMREkEAU/Eh+mHC5c5rdShjIySZ9163vju+y+XILXdY7846JdUb+t0 5i+EruXxdiq6qiQ6YofZHspeEHG9eXphncr2BOYNgEavZGyLg2KxjRq5Mp4sSDMnR0 vvENWtZsNwfog== Received: from [192.168.0.18] (nc-71-50-141-172.dyn.embarqhsd.net [71.50.141.172]) by st43p00im-zteg10073501.me.com (Postfix) with ESMTPSA id CF14EAE043D; Thu, 12 Nov 2020 13:35:02 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) From: Robert Menteer In-Reply-To: <5FACA449.5050909@gmail.com> Date: Thu, 12 Nov 2020 08:35:01 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <4F056DB8-EB10-4DCE-B644-51114B872B04@mac.com> References: <25EB19DB-37B6-4B5D-BDAE-1271674F1A34@mac.com> <5FACA449.5050909@gmail.com> X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312, 18.0.737 definitions=2020-11-12_05:2020-11-12, 2020-11-12 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=15 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006250000 definitions=main-2011120081 Received-SPF: pass client-ip=17.58.63.180; envelope-from=reetnem@mac.com; helo=st43p00im-zteg10073501.me.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/12 08:35:04 X-ACL-Warn: Detected OS = Linux 3.11 and newer 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, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Mailman-Approved-At: Thu, 12 Nov 2020 11:09:43 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Jacob, Thank you for the quick response. You did a beautiful analysis of what = failed, not only determining what was wrong with the site.ext file but = the input that caused another build tool to generate an incorrect file. = I laughed out when I read your ending: this is not a bug but we=E2=80=99re= fixing it anyway. > On Nov 11, 2020, at 9:56 PM, Jacob Bachmeyer = wrote: >=20 > Robert Menteer via Bug-dejagnu via wrote: >> What I found by running runtest by hand is it fails if the file = site.ext exists. >=20 > Your site.exp file is invalid; this is a bug in Automake rather than a = bug in DejaGnu. The version of Automake that produced the Makefile.in = that you are using mishandles filenames containing spaces. Tcl requires = a value containing spaces to be properly quoted in a "set" command, and = Automake is producing a site.exp that does not contain those quotes for = the objdir variable. >=20 > An immediate workaround is to run `sed -e '/^set [^ ]*dir [^"]/{s/dir = /&"/;s/$/"/}' -i site.exp` (tested with GNU sed) to fix your site.exp = file, or to avoid building in a directory where the absolute filename = contains spaces. >=20 > Additionally, as of commit b53b22c29880f785ae5e9e1c72925d2583a4c76d = (after 1.6.2 was released) DejaGnu no longer loads site.exp when invoked = with the --version option. >=20 > Please try regenerating your Makefile.in with a newer Automake or = report this as a bug in Automake if you are already using the latest = version. >=20 > I am closing this report as NOTOURBUG. >=20 >=20 > -- Jacob Thanks again Bob=