From nobody Tue Aug 24 15:08:43 2021 X-Original-To: freebsd-perl@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3DEA71775737 for ; Tue, 24 Aug 2021 15:08:50 +0000 (UTC) (envelope-from jkeenan@pobox.com) Received: from pb-smtp20.pobox.com (pb-smtp20.pobox.com [173.228.157.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GvCDd3Cr5z3Nhy for ; Tue, 24 Aug 2021 15:08:49 +0000 (UTC) (envelope-from jkeenan@pobox.com) Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 5CE2914F549; Tue, 24 Aug 2021 11:08:47 -0400 (EDT) (envelope-from jkeenan@pobox.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=to:cc:from :subject:message-id:date:mime-version:content-type :content-transfer-encoding; s=sasl; bh=5DlPUgNgrqmyAo0hiGSSL1eKs 8E92MKMD10iX2NzEw8=; b=utV5kV9Jer3aqNPrpHhQuNTKiUURERRXQJQvungU0 vLC1imOs1bl+9jQR1GG80x3Y0Wcd9b1uxGM1Sr+hSv8cKJRG0C/mSoVqFJM785mY Qtwxhf7s8ZjqaK6S8vn/PHeSMqoYnJZgmVWIWRggG/AoI/Ohez1H5BuiBiKXDwuj xk= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 5603014F548; Tue, 24 Aug 2021 11:08:47 -0400 (EDT) (envelope-from jkeenan@pobox.com) Received: from [192.168.1.4] (unknown [24.185.115.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id CA58314F547; Tue, 24 Aug 2021 11:08:44 -0400 (EDT) (envelope-from jkeenan@pobox.com) To: freebsd-perl@freebsd.org Cc: Paul Johnson From: James E Keenan Subject: p5-Devel-Cover lacks prerequisite B::Debug Message-ID: <6b2681f1-b358-ea1d-b4cb-16fb916376af@pobox.com> Date: Tue, 24 Aug 2021 11:08:43 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 List-Id: maintainer of a number of perl-related ports List-Archive: https://lists.freebsd.org/archives/freebsd-perl List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-perl@freebsd.org X-BeenThere: freebsd-perl@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Pobox-Relay-ID: 2CF97F98-04ED-11EC-B2E3-D5C30F5B5667-57062903!pb-smtp20.pobox.com X-Rspamd-Queue-Id: 4GvCDd3Cr5z3Nhy X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=pobox.com header.s=sasl header.b=utV5kV9J; dmarc=pass (policy=none) header.from=pobox.com; spf=pass (mx1.freebsd.org: domain of jkeenan@pobox.com designates 173.228.157.52 as permitted sender) smtp.mailfrom=jkeenan@pobox.com X-Spamd-Result: default: False [-4.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[pobox.com:s=sasl]; RECEIVED_SPAMHAUS_PBL(0.00)[24.185.115.142:received]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:173.228.157.0/24]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_NONE(0.00)[pobox.com:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[pobox.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[pobox.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:173.228.157.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[173.228.157.52:from] X-ThisMailContainsUnwantedMimeParts: N Today I attempted to install FreeBSD port 'p5-Devel-Cover' on FreeBSD-12. The system 'perl' on this machine was perl-5.32.0. I ran into problems which suggest that the p5-Devel-Cover port needs revision. ##### $ uname -mrs FreeBSD 12.2-STABLE amd64 $ sudo pkg install p5-Devel-Cover Password: Updating FreeBSD repository catalogue... Fetching packagesite.pkg: 100% 6 MiB 6.6MB/s 00:01 Processing entries: 100% FreeBSD repository update completed. 30986 packages processed. All repositories are up to date. The following 5 package(s) will be affected (of 0 checked): New packages to be INSTALLED: p5-Devel-Cover: 1.36 p5-Devel-Symdump: 2.1800 p5-Parallel-Iterator: 1.00_1 p5-Pod-Coverage: 0.23_2 p5-Pod-Parser: 1.63_1 Number of packages to be installed: 5 301 KiB to be downloaded. Proceed with this action? [y/N]: y [1/5] Fetching p5-Devel-Cover-1.36.pkg: 100% 174 KiB 177.9kB/s 00:01 ... snip [5/5] Installing p5-Devel-Cover-1.36... [5/5] Extracting p5-Devel-Cover-1.36: 100% ##### So far, so good -- but when I went to run 'cover' on a Perl library I've written, I got: ##### $ cover -delete; harness; cover -report=text > $P5P_DIR/multisect/`extract-sha`.coverage.txt This version of Devel::Cover was built with Perl version 5.032001. It is now being run with Perl version 5.032000. Attempting to make adjustments, but you may find that some of your modules do not have coverage data collected. You may need to alter the +-inc, +-ignore and +-select options. Deleting database /usr/home/jkeenan/gitwork/devel-git-multibisect/cover_db PERL_DL_NONLAZY=1 "/usr/local/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/001-opts.t ..................... This version of Devel::Cover was built with Perl version 5.032001. It is now being run with Perl version 5.032000. Attempting to make adjustments, but you may find that some of your modules do not have coverage data collected. You may need to alter the +-inc, +-ignore and +-select options. Can't locate B/Debug.pm in @INC (you may need to install the B::Debug module) (@INC contains: /usr/home/jkeenan/gitwork/devel-git-multibisect/blib/lib /usr/home/jkeenan/gitwork/devel-git-multibisect/blib/arch /usr/local/lib/perl5/site_perl/mach/5.32 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.32/mach /usr/local/lib/perl5/5.32 .) at /usr/local/lib/perl5/site_perl/mach/5.32/Devel/Cover.pm line 28. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/mach/5.32/Devel/Cover.pm line 28. Compilation failed in require. BEGIN failed--compilation aborted. t/001-opts.t ..................... Dubious, test returned 2 (wstat 512, 0x200) No subtests run ... [snip: all other test files fail in the same way] ##### I addressed the Perl version clash by upgrading the 'perl5' package to 5.32.1. That proceeded without incident. I then looked at the apparently missing prerequisite B::Debug. The 'corelist' utility tells me that this module no longer ships with the Perl 5 core distribution: ##### $ corelist B::Debug Data for 2020-06-20 B::Debug was first released with perl 5.005, deprecated (will be CPAN-only) in v5.27.3 and removed from v5.29.4 ##### I searched for B-Debug at FreeBSD Ports Search, but no Perl 5 program was listed. ##### https://www.freebsd.org/cgi/ports.cgi?query=B-Debug&stype=all&sektion=all ##### I then installed B::Debug directly from CPAN. It installed successfully ... and then to my surprise subsequently installed B::Flags in the same 'cpan' session. ##### RURBAN/B-Debug-1.26.tar.gz /usr/bin/make install -- OK ... RURBAN/B-Flags-0.17.tar.gz /usr/bin/make install -- OK ##### It turns out that there *does* exist a FreeBSD port for B::Flags: ##### https://cgit.freebsd.org/ports/tree/devel/p5-B-Flags ##### ... but this *does not* appear to include B::Debug. Action Items 1. There should be a FreeBSD port for CPAN distribution B-Debug. 2. The FreeBSD port for Devel-Cover (p5-Devel-Cover) needs to have a prerequisite added for the port for B-Debug requested in the preceding item. Thank you very much. Jim Keenan