Discussion:
[tex-k] Test Failure
Richard Koch
2016-04-21 06:01:21 UTC
Permalink
Folks,

Building the latest binaries on 32 bit Leopard (both PPC and Intel) causes
a test failure. (The binaries pass all tests on 64 -bit Snow Leopard and higher).

The log for the build failure says

Making check in texlive
Making check in tl_scripts
make[4]: Nothing to be done for `check'.
Making check in linked_scripts
make[4]: Nothing to be done for `check'.
make check-TESTS
FAIL: tests/updmap-cmdline-test.pl
============================================================================
Testsuite summary for TeX Live Scripts 2016
============================================================================
# TOTAL: 1
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to tex-***@tug.org <mailto:tex-***@tug.org>


The test-suite.log says

=============================================
TeX Live Scripts 2016: ./test-suite.log
=============================================

# TOTAL: 1
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests/updmap-cmdline-test
===============================

../../../texk/texlive/tests/updmap-cmdline-test.pl: running ../../../texk/texlive/linked_scripts/texlive/updmap.pl --version
Can't locate Digest/SHA.pm in @INC (@INC contains: /Users/koch/texlive2016dev/source/Work/tlpkg /Users/koch/texlive2016dev/source/texk/tests /Library/Perl/Updates/5.8.8 /System/Library/Perl/5.8.8/darwin-thread-multi-2level /System/Library/Perl/5.8.8 /Library/Perl/5.8.8/darwin-thread-multi-2level /Library/Perl/5.8.8 /Library/Perl /Network/Library/Perl/5.8.8/darwin-thread-multi-2level /Network/Library/Perl/5.8.8 /Network/Library/Perl /System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.8 /Library/Perl/5.8.6 /Library/Perl/5.8.1 .) at /Users/koch/texlive2016dev/source/texk/tests/TeXLive/TLUtils.pm line 209.
BEGIN failed--compilation aborted at /Users/koch/texlive2016dev/source/texk/tests/TeXLive/TLUtils.pm line 209.
Compilation failed in require at ../../../texk/texlive/linked_scripts/texlive/updmap.pl line 41.
BEGIN failed--compilation aborted at ../../../texk/texlive/linked_scripts/texlive/updmap.pl line 41.
FAIL tests/updmap-cmdline-test.pl (exit status: 1)


This makes it clear that the problem was a request for

Digest/SHA.pm


Indeed, TLUtils.pm lines 207 - 211 read


use Cwd;
use Digest::MD5;
use Digest::SHA;
use Getopt::Long;
use File::Temp;

I also looked at updmap.pl, but it looks like line 41 referenced in the error report just calls TLUtils.pm


I don’t know anything about Perl. Help! What changed recently in TLUtils.pm and why?

Dick Koch
Karl Berry
2016-04-21 21:27:59 UTC
Permalink
I factored the crypto stuff out of TLUtils.pm today. After dealing with
inevitable breakage, I hope it will solve the spurious
updmap-cmdline-test failure, among other things. -k

Loading...