GNU bug report logs - #44544
Failures Building in non-Git Directory

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: dejagnu; Reported by: Fred Wright <fw@HIDDEN>; Owned by: jcb62281@HIDDEN; dated Tue, 10 Nov 2020 01:54:02 UTC; Maintainer for dejagnu is bug-dejagnu@HIDDEN.
Owner recorded as jcb62281@HIDDEN Request was from Jacob Bachmeyer <jcb62281@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 44544) by debbugs.gnu.org; 11 Nov 2020 00:57:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 10 19:57:08 2020
Received: from localhost ([127.0.0.1]:39554 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kceRg-0005a3-FW
	for submit <at> debbugs.gnu.org; Tue, 10 Nov 2020 19:57:08 -0500
Received: from c.mail.sonic.net ([64.142.111.80]:51266)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <fw@HIDDEN>) id 1kceRe-0005Zv-L7
 for 44544 <at> debbugs.gnu.org; Tue, 10 Nov 2020 19:57:07 -0500
Received: from MacPro.local (c-76-102-182-162.hsd1.ca.comcast.net
 [76.102.182.162]) (authenticated bits=0)
 by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id 0AB0uvcn005817
 (version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT);
 Tue, 10 Nov 2020 16:57:04 -0800
Date: Tue, 10 Nov 2020 16:56:57 -0800 (PST)
From: Fred Wright <fw@HIDDEN>
X-X-Sender: fw@HIDDEN
To: Jacob Bachmeyer <jcb62281@HIDDEN>
Subject: Re: bug#44544: Failures Building in non-Git Directory
In-Reply-To: <5FAB3158.1040908@HIDDEN>
Message-ID: <alpine.OSX.2.23.453.2011101652450.45209@HIDDEN>
References: <alpine.OSX.2.23.453.2011091654550.97243@HIDDEN>
 <5FAB3158.1040908@HIDDEN>
User-Agent: Alpine 2.23 (OSX 453 2020-06-18)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
X-Sonic-CAuth: UmFuZG9tSVYfBaTsopiYQKfkuo0HOIm3Tz/gTysPgwlHq0Y2wBqhnY24+QosjwNMICClk/mx9SU/KzhiMaxL0/mdhU6KqSKc
X-Sonic-ID: C;NIiAzLgj6xGvy53Pl+vPsg== M;Foyv0Lgj6xGvy53Pl+vPsg==
X-Spam-Flag: No
X-Sonic-Spam-Details: 0.0/5.0 by cerberusd
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 44544
Cc: 44544 <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 (-)


On Tue, 10 Nov 2020, Jacob Bachmeyer wrote:
> Fred Wright wrote:
[...]
>> Many tests now fail, which may or may not be related, so that's not 
>> included here.
>
> There seem to be other issues with Mac OS X; you are correct that those are a 
> separate bug.

Also on at least three versions of Linux.

[...]
> The version hook was removed in commit 
> 650af6e75776a52afa4803d02aae0f923a9ec82f which is now current master.  This 
> should fix the problem.  Can you confirm that it corrects this issue?

Yes, it does.  And, as expected, it doesn't fix the test failures.  So far 
I've only tested on the Mac; I may not have time to test on the Linux VMs 
until tomorrow.

Fred Wright




Information forwarded to bug-dejagnu@HIDDEN:
bug#44544; Package dejagnu. Full text available.

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


Received: (at 44544) by debbugs.gnu.org; 11 Nov 2020 00:33:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 10 19:33:53 2020
Received: from localhost ([127.0.0.1]:39522 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kce5B-00051r-EK
	for submit <at> debbugs.gnu.org; Tue, 10 Nov 2020 19:33:53 -0500
Received: from mail-ot1-f51.google.com ([209.85.210.51]:39513)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jcb62281@HIDDEN>) id 1kce4u-00051K-MU
 for 44544 <at> debbugs.gnu.org; Tue, 10 Nov 2020 19:33:51 -0500
Received: by mail-ot1-f51.google.com with SMTP id z16so555420otq.6
 for <44544 <at> debbugs.gnu.org>; Tue, 10 Nov 2020 16:33:36 -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=ZWGY4t1GWTFnAidafsNXIZofVOwOKm0iAAtuOk1JMuU=;
 b=dg8/CZdCBi2B8Pq2YFy6lR6ktahYVLTPiaNfJB3Cv88KafVYUfNnvMkU0oHOYntu2I
 oMVl34eLFnfHKCPvTUgAxdfyS3CBen3w6jpGM+4loxKncX0BWG4b6K5MTBjGyYVXnH5V
 ehRyWOLpa/bwYR5y1ts2Db8jhyCvS2Joc/kmy5Diu9qOAZ/+yfJoNoAMbnWFkRkit8/C
 DfNxyRCQCcTK7qzGl7GGMbB6XGwaKlQZk/HrnJXIp+u/x3FzYTKGGsnPSIyZjvIeryjf
 p2/eh91kcUWUzfLDjTNEsYEMeHjyV4d0JOsA+jS5FLm777Cgc4pwPpo7joNNnvbE7eM4
 QPiA==
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=ZWGY4t1GWTFnAidafsNXIZofVOwOKm0iAAtuOk1JMuU=;
 b=hfCwurrprfWYsnbbTjHaW1hUHFrVOMNtriv3FkT8e43hxqEtqKx2y7hDsq0Z1raQrW
 COw3z3GwqjxXoKlun8UlzH14rFXF0muDWW/NdrpQsc1notddAqnyjsK82lXAzRDFhRrg
 41mckAdhkd2aq3Xi0LNaMux74V9rLSHC+0AN2gLjC74lnPn0lxGf+7G77FGTbu794EGv
 CjeQAX/EXoX9g1yzLWLUs9NiyF4TgMSoHDuPHt2lFof5WcJkWaeT0O1hvpAKICMUIhW5
 /B8wZUG8mtVTgtvyFY+13nRa7ufjAixuHrdSLWLPwbWqeIP/BaCAci7qMafW3SrOLGxC
 zyqA==
X-Gm-Message-State: AOAM532fz6x/MrgebRoo5jSlk8xFvP8ehS3RxKs4kplSeuWwebXAAe4k
 Rwmg70YlvIpI0IXGvoFKahM=
X-Google-Smtp-Source: ABdhPJwFTAr8EUGnAjYEYpGv+IKVDd5+SCbysvsbT8ephENRVyaZD+Xf4MpUFJkki3+d3QPLcoVQSw==
X-Received: by 2002:a05:6830:1308:: with SMTP id
 p8mr14677625otq.330.1605054810902; 
 Tue, 10 Nov 2020 16:33:30 -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 t19sm137500otp.51.2020.11.10.16.33.29
 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
 Tue, 10 Nov 2020 16:33:30 -0800 (PST)
Message-ID: <5FAB3158.1040908@HIDDEN>
Date: Tue, 10 Nov 2020 18:33:28 -0600
From: Jacob Bachmeyer <jcb62281@HIDDEN>
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: Fred Wright <fw@HIDDEN>
Subject: Re: bug#44544: Failures Building in non-Git Directory
References: <alpine.OSX.2.23.453.2011091654550.97243@HIDDEN>
In-Reply-To: <alpine.OSX.2.23.453.2011091654550.97243@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 44544
Cc: 44544 <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>
Reply-To: jcb62281@HIDDEN
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

Fred Wright wrote:
>
> When running in a directory that's not a git repo, there are at least 
> two failures:
>
> [...]
>
> Note that the allegedly "fatal" error doesn't avoid a zero exit status 
> (which may be a separate bug).

The "fatal" error is from Git, which exits reporting failure, which 
configure ignores.

> After the "successful" configure, building succeeds, with no error 
> messages:
>
> MacPro:dejagnu fw$ make
> [...]
>     rm -rf $backupdir; exit $rc
> Done. Now run 'make install'.
> MacPro:dejagnu fw$ echo $?
> 0
>
> Many tests now fail, which may or may not be related, so that's not 
> included here.

There seem to be other issues with Mac OS X; you are correct that those 
are a separate bug.

> But install fails:
>
> MacPro:dejagnu fw$ sudo make install
> Password:
> Done. Now run 'make install'.
> [...]
> make  install-data-hook
> revision=`cd . &&  git rev-parse --short HEAD` \
>     && sed -i -e "s/^set *frame_version.*/set frame_version 
> -${revision}/" /usr/local/share/dejagnu/runtest.exp
> fatal: not a git repository (or any parent up to mount point /Volumes)
> Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not 
> set).
> make[2]: *** [install-data-hook] Error 128
> make[1]: *** [install-data-am] Error 2
> make: *** [install-am] Error 2
> MacPro:dejagnu fw$ echo $?
> 2

Same error here, but make does not ignore it.

> This is commonly seen when copying all tracked files to another 
> location for testing (e.g., using git ls-files and rsync), but for 
> purposes of reproducing the failure, another approach is to 
> temporarily rename the .git subdirectory to something else.

The issue was verified here using `git ls-files -z | cpio -0dp 
/tmp/some/where/else`.

> The above examples are from the current master branch @3d62df2.  They 
> are from Mac OSX, but essentially identical failures also occur on 
> Ubuntu 14.04, CentOS 7, and Fedora 25.
>
> These failures do not occur with the 1.6.2 release version, which may 
> be due to a new bug, or may be due to differences between release and 
> non-release builds.  In general, anything relying on git during builds 
> should have a fallback for the non-git environment.

The version hook was removed in commit 
650af6e75776a52afa4803d02aae0f923a9ec82f which is now current master.  
This should fix the problem.  Can you confirm that it corrects this issue?


-- Jacob




Information forwarded to bug-dejagnu@HIDDEN:
bug#44544; Package dejagnu. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 10 Nov 2020 01:53:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 09 20:53:54 2020
Received: from localhost ([127.0.0.1]:36000 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kcIr4-0000hk-GX
	for submit <at> debbugs.gnu.org; Mon, 09 Nov 2020 20:53:54 -0500
Received: from lists.gnu.org ([209.51.188.17]:41262)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <fw@HIDDEN>) id 1kcIr2-0000hd-Nn
 for submit <at> debbugs.gnu.org; Mon, 09 Nov 2020 20:53:52 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:55562)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <fw@HIDDEN>) id 1kcIr2-0000yo-FG
 for bug-dejagnu@HIDDEN; Mon, 09 Nov 2020 20:53:52 -0500
Received: from d.mail.sonic.net ([64.142.111.50]:44508)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <fw@HIDDEN>) id 1kcIr0-0003K1-Jk
 for bug-dejagnu@HIDDEN; Mon, 09 Nov 2020 20:53:52 -0500
Received: from MacPro.local (c-76-102-182-162.hsd1.ca.comcast.net
 [76.102.182.162]) (authenticated bits=0)
 by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id 0AA1ravh013812
 (version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <bug-dejagnu@HIDDEN>; Mon, 9 Nov 2020 17:53:42 -0800
Date: Mon, 9 Nov 2020 17:53:36 -0800 (PST)
From: Fred Wright <fw@HIDDEN>
X-X-Sender: fw@HIDDEN
To: bug-dejagnu@HIDDEN
Subject: Failures Building in non-Git Directory
Message-ID: <alpine.OSX.2.23.453.2011091654550.97243@HIDDEN>
User-Agent: Alpine 2.23 (OSX 453 2020-06-18)
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVZ6gW8omS9uLRzq0axv07Q9kzr41AM/EBPSZJrfnZour8qVcydfNIVp4r0ka6J8S17HYGjcMoQDvlOY22hcEoTU
X-Sonic-ID: C;hinMi/ci6xGpLbSffAb4WQ== M;6ll/j/ci6xGpLbSffAb4WQ==
X-Spam-Flag: No
X-Sonic-Spam-Details: 1.0/5.0 by cerberusd
Received-SPF: none client-ip=64.142.111.50; envelope-from=fw@HIDDEN;
 helo=d.mail.sonic.net
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/09 20:53:43
X-ACL-Warn: Detected OS   = Linux 3.1-3.10 [fuzzy]
X-Spam_score_int: -25
X-Spam_score: -2.6
X-Spam_bar: --
X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7,
 SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -2.3 (--)
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: -3.3 (---)


When running in a directory that's not a git repo, there are at least two 
failures:

MacPro:dejagnu fw$ ./configure
[...]
checking for expect... /usr/bin/expect
checking Tcl version 8.5 or greater... yes
fatal: not a git repository (or any parent up to mount point /Volumes)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
MacPro:dejagnu fw$ echo $?
0

Note that the allegedly "fatal" error doesn't avoid a zero exit status 
(which may be a separate bug).

After the "successful" configure, building succeeds, with no error 
messages:

MacPro:dejagnu fw$ make
[...]
 	rm -rf $backupdir; exit $rc
Done. Now run 'make install'.
MacPro:dejagnu fw$ echo $?
0

Many tests now fail, which may or may not be related, so that's not 
included here.

But install fails:

MacPro:dejagnu fw$ sudo make install
Password:
Done. Now run 'make install'.
[...]
make  install-data-hook
revision=`cd . &&  git rev-parse --short HEAD` \
 	&& sed -i -e "s/^set *frame_version.*/set frame_version 
-${revision}/" /usr/local/share/dejagnu/runtest.exp
fatal: not a git repository (or any parent up to mount point /Volumes)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
make[2]: *** [install-data-hook] Error 128
make[1]: *** [install-data-am] Error 2
make: *** [install-am] Error 2
MacPro:dejagnu fw$ echo $?
2

This is commonly seen when copying all tracked files to another location 
for testing (e.g., using git ls-files and rsync), but for purposes of 
reproducing the failure, another approach is to temporarily rename the 
.git subdirectory to something else.

The above examples are from the current master branch @3d62df2.  They are 
from Mac OSX, but essentially identical failures also occur on Ubuntu 
14.04, CentOS 7, and Fedora 25.

These failures do not occur with the 1.6.2 release version, which may be 
due to a new bug, or may be due to differences between release and 
non-release builds.  In general, anything relying on git during builds 
should have a fallback for the non-git environment.

Fred Wright




Acknowledgement sent to Fred Wright <fw@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-dejagnu@HIDDEN. Full text available.
Report forwarded to bug-dejagnu@HIDDEN:
bug#44544; Package dejagnu. 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: Fri, 13 Nov 2020 00:30:02 UTC

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