Closed kloczek closed 2 years ago
Please run the tests in verbose mode for us to debug, by simply adding verbose=1
on your command line: https://github.com/mquinson/po4a/blob/master/CONTRIBUTING.md#testing-your-changes
Also, you probably want to attach the output as a separate file instead of copy/pasting it all, if possible.
All fails are like below
# Subtest: Lists of addendums (asciidoc format) (dstdir)
ok 1 - Setup command: chmod -r-w-x add/*/
ok 2 - Setup command: chmod +r+x add/list
ok 3 - Setup command: chmod -w -R add/list
ok 4 - Change directory to add/list
not ok 5 - Executing po4a (retcode: 65280)
# Failed test 'Executing po4a (retcode: 65280)'
# at t/Testhelper.pm line 138.
# Expected retcode: 0
# FAILED command: perl BUILDPATH/po4a -f BUILDPATH/t/add/list/po4a.conf --destdir BUILDPATH/t/tmp/add/list --verbose > BUILDPATH/t/tmp/add/list/output 2>&1
# Produced output:
# Updating list.pot:po4a::asciidoc: Detection of two line titles failed at input-1:2
# Please install the Unicode::GCString module.
# (end of command output)
ok 6 - Teardown command: chmod +r+w+x add/*/
ok 7 - Teardown command: chmod +w -R add/list
1..7
# Looks like you failed 1 test of 7.
not ok 5 - Lists of addendums (asciidoc format) (dstdir)
Issue is that I have instralled Unicode::GCString
module
[tkloczko@ss-desktop SPECS]$ rpm -q --whatprovides 'perl(Unicode::GCString)' -l
/usr/lib/.build-id
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/a01c9494908a365adea0d4b72492fe8dfcad8e
/usr/lib64/perl5/vendor_perl/POD2
/usr/lib64/perl5/vendor_perl/POD2/JA
/usr/lib64/perl5/vendor_perl/POD2/JA/Text
/usr/lib64/perl5/vendor_perl/POD2/JA/Text/LineFold.pod
/usr/lib64/perl5/vendor_perl/POD2/JA/Unicode
/usr/lib64/perl5/vendor_perl/POD2/JA/Unicode/GCString.pod
/usr/lib64/perl5/vendor_perl/POD2/JA/Unicode/LineBreak.pod
/usr/lib64/perl5/vendor_perl/Text
/usr/lib64/perl5/vendor_perl/Text/LineFold.pm
/usr/lib64/perl5/vendor_perl/Unicode
/usr/lib64/perl5/vendor_perl/Unicode/GCString.pm
/usr/lib64/perl5/vendor_perl/Unicode/GCString.pod
/usr/lib64/perl5/vendor_perl/Unicode/LineBreak
/usr/lib64/perl5/vendor_perl/Unicode/LineBreak.pm
/usr/lib64/perl5/vendor_perl/Unicode/LineBreak.pod
/usr/lib64/perl5/vendor_perl/Unicode/LineBreak/Constants.pm
/usr/lib64/perl5/vendor_perl/Unicode/LineBreak/Defaults.pm.sample
/usr/lib64/perl5/vendor_perl/auto/Unicode
/usr/lib64/perl5/vendor_perl/auto/Unicode/LineBreak
/usr/lib64/perl5/vendor_perl/auto/Unicode/LineBreak/LineBreak.so
/usr/share/man/ja/man3/Text::LineFold.3pm.gz
/usr/share/man/ja/man3/Unicode::GCString.3pm.gz
/usr/share/man/ja/man3/Unicode::LineBreak.3pm.gz
/usr/share/man/man3/Text::LineFold.3pm.gz
/usr/share/man/man3/Unicode::GCString.3pm.gz
/usr/share/man/man3/Unicode::LineBreak.3pm.gz
In attachment is full verbose test suite log po4a-test-duile-log.txt
Hello, It seems you don't have the optional dependencies installed. The logs read: Please install the Unicode::GCString module.
Could you please try installing it? I'll try to ensure that the tests get disabled instead of failling when some dependencies are missing.
Bye, Mt -- Envoi mobile. Veuillez excuser ma brièveté.
Sorry, I was reading your input on the small screen of the phone. I'll dig into it further.
Hello @kloczek, I've added some extra output when the Unicode::GCString module fails to load. Could you please checkout a40221d2 and run the same test in verbose mode again, please?
Thanks,
Closing. It was bug in my perl modules dependencies generattor (nothingf related to po4a). Sorry my fault.
I'm not sure whot kind of details I should add in this case to plan test suite output. Please let me know if you need to know something about my build env or want me to diagnose something.