test failures with 2.16
Closed this issue · 3 comments
I'm trying to update biber
on Void linux, x86_64-musl.
The build is fine, but some checks fail.
It's using perl 5.32.1.
Some dependecies are missing, but I'm not even sure they're relevant, see also
WARNING: the following files are missing in your kit:
META.json
META.yml
Please inform the author.
Checking prerequisites...
requires:
! Unicode::Collate (1.27) is installed, but we need version >= 1.29
build_requires:
! Config::AutoConf is not installed
The test failures are
Test Summary Report
-------------------
t/annotations.t (Wstat: 512 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 2
t/basic-misc.t (Wstat: 3584 Tests: 69 Failed: 14)
Failed tests: 1, 5, 10, 13, 16-18, 44, 59-62, 68-69
Non-zero exit status: 14
t/biblatexml.t (Wstat: 512 Tests: 5 Failed: 2)
Failed tests: 1, 5
Non-zero exit status: 2
t/crossrefs.t (Wstat: 6144 Tests: 37 Failed: 24)
Failed tests: 1-6, 8-16, 18-19, 21-22, 32-36
Non-zero exit status: 24
t/datalists.t (Wstat: 512 Tests: 15 Failed: 2)
Failed tests: 13-14
Non-zero exit status: 2
t/dateformats.t (Wstat: 4352 Tests: 56 Failed: 17)
Failed tests: 20-22, 24, 26, 28, 31, 33-42
Non-zero exit status: 17
t/encoding.t (Wstat: 2304 Tests: 10 Failed: 9)
Failed tests: 1-8, 10
Non-zero exit status: 9
t/names.t (Wstat: 7936 Tests: 73 Failed: 31)
Failed tests: 35-61, 66-69
Non-zero exit status: 31
t/options.t (Wstat: 768 Tests: 9 Failed: 3)
Failed tests: 7-9
Non-zero exit status: 3
t/related-entries.t (Wstat: 1280 Tests: 15 Failed: 5)
Failed tests: 1-2, 10, 14-15
Non-zero exit status: 5
t/set-dynamic.t (Wstat: 1536 Tests: 7 Failed: 6)
Failed tests: 2-7
Non-zero exit status: 6
t/set-legacy.t (Wstat: 256 Tests: 3 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/set-static.t (Wstat: 1280 Tests: 5 Failed: 5)
Failed tests: 1-5
Non-zero exit status: 5
t/skips.t (Wstat: 2048 Tests: 15 Failed: 8)
Failed tests: 7, 9-15
Non-zero exit status: 8
t/skipsg.t (Wstat: 768 Tests: 3 Failed: 3)
Failed tests: 1-3
Non-zero exit status: 3
t/sort-complex.t (Wstat: 1280 Tests: 9 Failed: 5)
Failed tests: 2-6
Non-zero exit status: 5
t/truncation.t (Wstat: 2560 Tests: 12 Failed: 10)
Failed tests: 1-10
Non-zero exit status: 10
t/uniqueness-nameparts.t (Wstat: 3840 Tests: 36 Failed: 15)
Failed tests: 1-8, 30-36
Non-zero exit status: 15
t/xdata.t (Wstat: 1024 Tests: 11 Failed: 4)
Failed tests: 1-2, 5-6
Non-zero exit status: 4
Files=52, Tests=1240, 74 wallclock secs ( 0.29 usr 0.07 sys + 67.57 cusr 5.75 csys = 73.68 CPU)
Result: FAIL
Failed 19/52 test programs. 166/1240 subtests failed.
The template I'm using to build is
# Template file for 'biber'
pkgname=biber
version=2.16
revision=1
wrksrc="${pkgname}-${version}"
build_style=perl-ModuleBuild
hostmakedepends="perl-Module-Build"
makedepends="perl-ExtUtils-LibBuilder"
depends="
perl-autovivification
perl-Business-ISBN
perl-Business-ISMN
perl-Business-ISSN
perl-Class-Accessor
perl-Data-Compare
perl-Data-Dump
perl-Data-Uniqid
perl-Date-Simple
perl-DateTime-Calendar-Julian
perl-DateTime-Format-Builder
perl-Encode-EUCJPASCII
perl-Encode-HanExtra
perl-Encode-JIS2K
perl-ExtUtils-LibBuilder
perl-File-Slurper
perl-IO-String
perl-IPC-Run3
perl-Lingua-Translit
perl-List-AllUtils
perl-List-MoreUtils-XS
perl-List-MoreUtils
perl-Log-Log4perl
perl-LWP-Protocol-https
perl-MIME-Charset
perl-Mozilla-CA
perl-namespace-autoclean
perl-Parse-RecDescent
perl-PerlIO-utf8-strict
perl-Regexp-Common
perl-Sort-Key
perl-Text-BibTeX
perl-Text-CSV
perl-Text-CSV_XS
perl-Text-Roman
perl-Unicode-LineBreak
perl-URI
perl-XML-LibXML
perl-XML-LibXML-Simple
perl-XML-LibXSLT
perl-XML-Writer"
#missing: Unicode::Normalize, perl-ipc, Unicode::GCString, Storable, LWP::UserAgent, Test::More, perl-Unicode-Collate
checkdepends="$depends perl-File-Which perl-Test-Most"
short_desc="BibTeX replacement for users of biblatex, with full Unicode support"
maintainer="svenper <svenper@tuta.io>"
license="Artistic-2.0"
homepage="http://biblatex-biber.sourceforge.net"
changelog="https://raw.githubusercontent.com/plk/biber/dev/Changes"
distfiles="https://github.com/plk/biber/archive/v${version}.tar.gz"
checksum=57111ebc6d0d1933e55d3fe1a92f8ef57c602388ae83598a8073c8a77fd811e2
Do you know how to address the failures?
Thanks.
This is normal if the Unicode::Collate
module is not up to date, as the warning says it isn't. This is because sometimes the UCA changes enough to make the name hashes in the test files change and I have to update them. Update to the recommended Unicode::Collate
version and this should go away.
Thanks, that makes sense.
I was using Collate
as provided from system perl
, so I had troubles packaging it separately, as it overlapped.
So I guess I should either package it separately or update system perl
.
I guess it's simpler to wait for Void to update perl to 5.34, as collate is shipped there, and then update biber.
Shoudn't the version you require for perl and unicode:collate match though, as now you're requiring a collate that ships with a more recent perl version than the one you require, if I understand.