[
https://issues.apache.org/jira/browse/AVRO-2433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fokko Driesprong resolved AVRO-2433.
------------------------------------
Resolution: Fixed
> Update the dependencies for Perl binding in BUILD.md
> ----------------------------------------------------
>
> Key: AVRO-2433
> URL: https://issues.apache.org/jira/browse/AVRO-2433
> Project: Apache Avro
> Issue Type: Bug
> Components: doc, perl
> Reporter: Kengo Seki
> Assignee: Kengo Seki
> Priority: Trivial
> Fix For: 1.10.0
>
>
> I tried to run the tests for Perl bindings, but failed as follows:
> {code}
> $ cd lang/perl
> $ ./build.sh test
> (snip)
> t/01_names.t ....... 1/?
> # Failed test 'use Avro::Schema;'
> # at t/01_names.t line 23.
> # Tried to use 'Avro::Schema'.
> # Error: Can't locate Error/Simple.pm in @INC (@INC contains:
> /home/sekikn/repo/avro/lang/perl/inc
> /home/sekikn/repo/avro/lang/perl/blib/lib /home/sekik
> n/repo/avro/lang/perl/blib/arch
> /home/sekikn/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/x86_64-linux
> /home/sekikn/perl5/perlbrew/perls/perl-5.14.2
> /lib/site_perl/5.14.2
> /home/sekikn/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2/x86_64-linux
> /home/sekikn/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2 .) at /h
> ome/sekikn/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2/parent.pm line 20.
> # BEGIN failed--compilation aborted at
> /home/sekikn/repo/avro/lang/perl/blib/lib/Avro/Schema.pm line 830.
> # Compilation failed in require at (eval 6) line 2.
> # BEGIN failed--compilation aborted at (eval 6) line 2.
> (snip)
> Files=7, Tests=81, 1 wallclock secs ( 0.05 usr 0.02 sys + 0.23 cusr 0.03
> csys = 0.33 CPU)
> Result: FAIL
> Failed 6/7 test programs. 79/81 subtests failed.
> Makefile:793: recipe for target 'test_dynamic' failed
> make: *** [test_dynamic] Error 255
> {code}
> This is due to the lack of the Error::Simple module, [which is not a core
> module for Perl 5.24.1|https://perldoc.perl.org/5.24.1/index-modules-E.html].
> But BUILD.md doesn't refer to this dependency.
> {code}
> The following packages must be installed before Avro can be built:
> (snip)
> - Perl: Perl 5.24.1 or greater, gmake, Module::Install,
> Module::Install::ReadmeFromPod, Module::Install::Repository,
> Math::BigInt, JSON::XS, Try::Tiny, Regexp::Common, Encode,
> IO::String, Object::Tiny, Compress::ZLib, Test::More,
> Test::Exception, Test::Pod
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)