GNU bug report logs -
#26738
Test suite fails in presence of DejaGNU
Previous Next
Reported by: Paul Rogers <paulgrogers <at> fastmail.fm>
Date: Mon, 1 May 2017 17:37:01 UTC
Severity: normal
Tags: confirmed, fixed, patch
Merged with 27280
Done: Mathieu Lirzin <mthl <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26738 in the body.
You can then email your comments to 26738 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-automake <at> gnu.org
:
bug#26738
; Package
automake
.
(Mon, 01 May 2017 17:37:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Paul Rogers <paulgrogers <at> fastmail.fm>
:
New bug report received and forwarded. Copy sent to
bug-automake <at> gnu.org
.
(Mon, 01 May 2017 17:37:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I'm building LFS-7.10, but encountered these unexpected failures
following the book's instructions.
--
Paul Rogers
paulgrogers <at> fastmail.fm
Rogers' Second Law: "Everything you do communicates."
(I do not personally endorse any additions after this line. TANSTAAFL
:-)
--
http://www.fastmail.com - Faster than the air-speed velocity of an
unladen european swallow
[automake-testsuite.log (text/x-log, attachment)]
Information forwarded
to
bug-automake <at> gnu.org
:
bug#26738
; Package
automake
.
(Sat, 17 Jun 2017 22:18:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 26738 <at> debbugs.gnu.org (full text, mbox):
Hello Paul,
Paul Rogers <paulgrogers <at> fastmail.fm> writes:
> I'm building LFS-7.10, but encountered these unexpected failures
> following the book's instructions.
> --
> Paul Rogers
> paulgrogers <at> fastmail.fm
> Rogers' Second Law: "Everything you do communicates."
> (I do not personally endorse any additions after this line. TANSTAAFL
> :-)
I was able to reproduce this bug on my machine (Fedora 25) with the
minor development branch (v1.15.0a). The FAILING tests are related to
the presence of DejaGNU on the system. Unfortunately I have never used
it so it won't be easy for me to debug. Hopefully somebody more
knowledgable, will be able to investigate.
If you are only using Automake without DejaGNU, you can safely ignore
those failures.
Thanks for your report.
--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37
Information forwarded
to
bug-automake <at> gnu.org
:
bug#26738
; Package
automake
.
(Sat, 17 Jun 2017 23:32:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 26738 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Mathieu Lirzin <mthl <at> gnu.org> writes:
> I was able to reproduce this bug on my machine (Fedora 25) with the
> minor development branch (v1.15.0a). The FAILING tests are related to
> the presence of DejaGNU on the system. Unfortunately I have never used
> it so it won't be easy for me to debug. Hopefully somebody more
> knowledgable, will be able to investigate.
>
> If you are only using Automake without DejaGNU, you can safely ignore
> those failures.
Here are my logs when running the "t/check12.sh", "t/check12-w.sh", and
"t/distcheck-no-prefix-or-srcdir-override.sh" tests that were failing on
Paul's system:
[config.log (text/plain, attachment)]
[test-suite.log (text/plain, attachment)]
[Message part 4 (text/plain, inline)]
I overlooked that one of those failure was not related to DejaGNU,
but due to the use of the GZIP environment variable which had been fixed
in commit 749468ac63042820bc3da85ece5bed64b0c15d62 [1] which will be
available in the next bug-fix release.
--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37
[1] https://git.savannah.gnu.org/cgit/automake.git/commit/?id=749468ac63042820bc3da85ece5bed64b0c15d62
Changed bug title to 'Test suite fails in presence of DejaGNU' from 'Build failures '
Request was from
Mathieu Lirzin <mthl <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sat, 17 Jun 2017 23:34:02 GMT)
Full text and
rfc822 format available.
Added tag(s) confirmed.
Request was from
Mathieu Lirzin <mthl <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sat, 17 Jun 2017 23:37:02 GMT)
Full text and
rfc822 format available.
Merged 26738 27280.
Request was from
Mathieu Lirzin <mthl <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sat, 15 Jul 2017 21:00:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-automake <at> gnu.org
:
bug#26738
; Package
automake
.
(Thu, 18 Jan 2018 21:18:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 26738 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
Mathieu Lirzin <mthl <at> gnu.org> writes:
> Mathieu Lirzin <mthl <at> gnu.org> writes:
>
>> I was able to reproduce this bug on my machine (Fedora 25) with the
>> minor development branch (v1.15.0a). The FAILING tests are related to
>> the presence of DejaGNU on the system. Unfortunately I have never used
>> it so it won't be easy for me to debug. Hopefully somebody more
>> knowledgable, will be able to investigate.
>>
>> If you are only using Automake without DejaGNU, you can safely ignore
>> those failures.
>
> Here are my logs when running the "t/check12.sh", "t/check12-w.sh", and
> "t/distcheck-no-prefix-or-srcdir-override.sh" tests that were failing on
> Paul's system:
I have identified the issue
--8<---------------cut here---------------start------------->8---
Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
WARNING: Couldn't find tool config file for unix, using default.
Running ../../hammer.test/hammer.exp ...
ERROR: tcl error sourcing ../../hammer.test/hammer.exp.
ERROR: couldn't execute "../../hammer": no such file or directory
[...]
Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
WARNING: Couldn't find tool config file for unix, using default.
Running ../../spanner.test/spanner.exp ...
ERROR: tcl error sourcing ../../spanner.test/spanner.exp.
ERROR: couldn't execute "../../spanner": no such file or directory
--8<---------------cut here---------------end--------------->8---
‘hammer’ and ‘spanner’ are not found when running ‘make distcheck’
because they are not ditributed in the tarball. Those scripts are
declared in the DEJATOOL special variable. So I am wondering if the
contents of this variable should be automatically distributed or not.
If not here is a update for the test:
[dejagnu_fix.patch (text/x-patch, inline)]
diff --git a/t/check12.sh b/t/check12.sh
index 34007896c..111f43318 100644
--- a/t/check12.sh
+++ b/t/check12.sh
@@ -59,6 +59,7 @@ cat >> Makefile.am << 'END'
AUTOMAKE_OPTIONS += dejagnu
DEJATOOL = hammer spanner
AM_RUNTESTFLAGS = HAMMER=$(srcdir)/hammer SPANNER=$(srcdir)/spanner
+EXTRA_DIST += $(DEJATOOL)
EXTRA_DIST += hammer.test/hammer.exp
EXTRA_DIST += spanner.test/spanner.exp
END
[Message part 3 (text/plain, inline)]
--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37
Added tag(s) patch.
Request was from
Mathieu Lirzin <mthl <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Thu, 18 Jan 2018 21:18:02 GMT)
Full text and
rfc822 format available.
Removed tag(s) moreinfo.
Request was from
Mathieu Lirzin <mthl <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Thu, 18 Jan 2018 21:23:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-automake <at> gnu.org
:
bug#26738
; Package
automake
.
(Fri, 19 Jan 2018 11:32:01 GMT)
Full text and
rfc822 format available.
Message #27 received at 26738 <at> debbugs.gnu.org (full text, mbox):
Mathieu Lirzin <mthl <at> gnu.org> writes:
> ‘hammer’ and ‘spanner’ are not found when running ‘make distcheck’
> because they are not ditributed in the tarball. Those scripts are
> declared in the DEJATOOL special variable. So I am wondering if the
> contents of this variable should be automatically distributed or not.
> If not here is a update for the test:
>
> diff --git a/t/check12.sh b/t/check12.sh
> index 34007896c..111f43318 100644
> --- a/t/check12.sh
> +++ b/t/check12.sh
> @@ -59,6 +59,7 @@ cat >> Makefile.am << 'END'
> AUTOMAKE_OPTIONS += dejagnu
> DEJATOOL = hammer spanner
> AM_RUNTESTFLAGS = HAMMER=$(srcdir)/hammer SPANNER=$(srcdir)/spanner
> +EXTRA_DIST += $(DEJATOOL)
> EXTRA_DIST += hammer.test/hammer.exp
> EXTRA_DIST += spanner.test/spanner.exp
> END
On second thought, I realize that distributing DEJATOOL automatically
would require handling ‘nodist_’ prefix in ‘automake’ since the content
of this variable could be generated scripts. Given that this would
require a non negligeable amount of work, that seems more valuable to
require the package maintainers to add this variable to EXTRA_DIST
manually.
Let's apply this patch in a first step, and wait for a feature request
with a rationale before considering the other possibilty.
Commited in a0c7e40cf64d4512cc21ee5cdb9ba1341055f11c.
--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37
Added tag(s) fixed.
Request was from
Mathieu Lirzin <mthl <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Fri, 19 Jan 2018 11:33:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
26738 <at> debbugs.gnu.org and Paul Rogers <paulgrogers <at> fastmail.fm>
Request was from
Mathieu Lirzin <mthl <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Fri, 19 Jan 2018 11:33:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 16 Feb 2018 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 123 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.