With svn-1.14.0, if --without-berkeley-db is given to configure, and
--with-swig is given, make swig-pl succeeds, but check-swig-pl fails
with:
make[1]: Entering directory '/home/local/src/subversion-1.14.0/subversion/bindings/swig/perl/native'
"/home/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- _Core.bs blib/arch/auto/SVN/_Core/_Core.bs 644
PERL_DL_NONLAZY=1 LD_LIBRARY_PATH=:/home/local/src/subversion-1.14.0/subversion/bindings/swig/perl/libsvn_swig_perl/.libs:/home/local/src/subversion-1.14.0/subversion/libsvn_client/.libs:/home/local/src/subversion-1.14.0/subversion/libsvn_delta/.libs:/home/local/src/subversion-1.14.0/subversion/libsvn_fs/.libs:/home/local/src/subversion-1.14.0/subversion/libsvn_ra/.libs:/home/local/src/subversion-1.14.0/subversion/libsvn_repos/.libs:/home/local/src/subversion-1.14.0/subversion/libsvn_wc/.libs:/home/local/src/subversion-1.14.0/subversion/libsvn_diff/.libs:/home/local/src/subversion-1.14.0/subversion/libsvn_subr/.libs:/home/local/src/subversion-1.14.0/subversion/libsvn_ra_local/.libs:/home/local/src/subversion-1.14.0/subversion/libsvn_ra_svn/.libs:/home/local/src/subversion-1.14.0/subversion/libsvn_ra_serf/.libs:/home/local/src/subversion-1.14.0/subversion/libsvn_fs_base/.libs:/home/local/src/subversion-1.14.0/subversion/libsvn_fs_util/.libs:/home/local/src/subversion-1.14.0/s!
ubversion/libsvn_fs_fs/.libs:/home/local/src/subversion-1.14.0/subversion/libsvn_fs_x/.libs "/home/local/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" ../../../../../subversion/bindings/swig/perl/native/t/*.t
# Failed test 'use SVN::Repos;'
# at ../../../../../subversion/bindings/swig/perl/native/t/0use.t line 28.
# Tried to use 'SVN::Repos'.
# Error: Can't locate loadable object for module SVN::_Repos in @INC (@INC contains: /home/local/src/subversion-1.14.0/subversion/bindings/swig/perl/native/blib/lib /home/local/src/subversion-1.14.0/subversion/bindings/swig/perl/native/blib/arch /usr/local/lib/perl5/site_perl/5.30.2/x86_64-linux /usr/local/lib/perl5/site_perl/5.30.2 /usr/local/lib/perl5/5.30.2/x86_64-linux /usr/local/lib/perl5/5.30.2 /usr/local/lib/perl5/site_perl/5.30.1/x86_64-linux /usr/local/lib/perl5/site_perl/5.30.1 /usr/local/lib/perl5/site_perl/5.30.0/x86_64-linux /usr/local/lib/perl5/site_perl/5.30.0 /usr/local/lib/perl5/site_perl/5.28.1 /usr/local/lib/perl5/site_perl/5.28.0 /usr/local/lib/perl5/site_perl/5.26.2 /usr/local/lib/perl5/site_perl/5.26.1 /usr/local/lib/perl5/site_perl/5.24.1 /usr/local/lib/perl5/site_perl/5.24.0 /usr/local/lib/perl5/site_perl .) at /home/local/src/subversion-1.14.0/subversion/bindings/swig/perl/native/blib/lib/SVN/Base.pm line 59.
# BEGIN failed--compilation aborted at /home/local/src/subversion-1.14.0/subversion/bindings/swig/perl/native/blib/lib/SVN/Repos.pm line 5.
# Compilation failed in require at ../../../../../subversion/bindings/swig/perl/native/t/0use.t line 28.
# BEGIN failed--compilation aborted at ../../../../../subversion/bindings/swig/perl/native/t/0use.t line 28.
.. all the swig-pl tests fail similarly.
When --without-berkeley-db is omitted, all tests succeed.
It would be nice if the configure script bailed out in this
configuration instead of leaving it for a painful Perl message after
building everything. Assuming it's intentional that BDB is
required. I'm not sure if it was in previous releases.
--best, karl_at_freefriends.org
Received on 2020-06-01 23:02:07 CEST