tcpdump mailing list archives

Re: tcpdump testsuite and Perl


From: Francois-Xavier Le Bail via tcpdump-workers <tcpdump-workers () lists tcpdump org>
Date: Tue, 28 Jan 2020 16:17:29 -0500 (EST)

--- Begin Message --- From: Francois-Xavier Le Bail <devel.fx.lebail () orange fr>
Date: Tue, 28 Jan 2020 22:17:46 +0100
On 28/01/2020 18:45, Michael Richardson wrote:

Francois-Xavier Le Bail <devel.fx.lebail () orange fr> wrote:
    >> I noticed that the testsuite of tcpdump recently fails with
    >> "make_path" is not exported by the File::Path module
    >> "remove_tree" is not exported by the File::Path module
    >> Can't continue after import errors at ./tests/TESTrun line 8
    >> BEGIN failed--compilation aborted at ./tests/TESTrun line 8.
    >> as can bee seen in the log at
    >> https://buildfarm.opencsw.org/buildbot/builders/tcpdump-solaris10-amd64/builds/2960/steps/shell_3/logs/stdio
    >>
    >> This is because the system Perl on Solaris 10 is Perl 5.8.4 which uses
    >> the slighly different mkpath and rmtree
    >> https://perldoc.perl.org/5.8.4/File/Path.html

okay.

    >>
    >> Even in recent Perl 5.30 the legacy functions mkpath and rmtree are still in:
    >> https://perldoc.perl.org/File/Path.html

So if I use "mkpath" (I actually don't need "rmtree" yet), then I'll be good
across all versions?

I have done this now.

Currently on OpenCSW Solaris 10:

"./tests/TESTrun
TESTrun needs YAML.pm. apt install libyaml-perl/yum install per-YAML/cpanm YAML at ./tests/TESTrun
line 10.
gmake: *** [Makefile:448: check] Error 2"

Missing package?
-- 
Francois-Xavier

--- End Message ---
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Current thread: