Created attachment 178412 [details] patch for updating the port - Update 1.15 --> 1.28 Changes: http://cpansearch.perl.org/src/DAMI/SQL-Abstract-More-1.28/Changes - remove p5-Scalar-Does from build dependencies as not needed. - add new build and test dependencies, except those which are core modules. - add NO_ARCH=yes - "portlint -AC" gives just non-relevant warnings. - Tested (with and without buil-in perl tests) at 11.stable-amd64 with poudriere-3.1.14, perl-5.24.1, and openssl from base. To activate test from within poudriere, file Mk/Uses/perl5.mk was locally augmented with lines: .if defined(RUN_PERL_TESTS) BUILD_DEPENDS+= ${TEST_DEPENDS} pre-install: test .endif All tests say: PASS.
Created attachment 178620 [details] patch for updating the port Now with sorted *_DEPENDS.
(In reply to Sergei Vyshenski from comment #1) The correct dependency is: BUILD_DEPENDS= p5-MRO-Compat>0:devel/p5-MRO-Compat \ p5-Params-Validate>0:devel/p5-Params-Validate \ p5-SQL-Abstract>=1.73:databases/p5-SQL-Abstract \ p5-namespace-clean>=0:devel/p5-namespace-clean RUN_DEPENDS:= ${BUILD_DEPENDS} TEST_DEPENDS= p5-List-MoreUtils>=0:lang/p5-List-MoreUtils \ p5-Test-Exception>=0:devel/p5-Test-Exception \ p5-Test-Pod>=0:devel/p5-Test-Pod I could not find any clue that p5-Moo, p5-Sub-Quote and p5-Test-Deep are required for testing.
1. A few days ago (after this patch was prepared) p5-Moo has been added as a new build dependency of prerequisite port p5-SQL-Abstract. So it is not needed here. Correct. Sorry. 2. Sub::Defer is a sub-module of Sub::Quote, which is a prerequisite of Moo. So today p5-Sub-Quote is not needed here too. Correct. And sorry again. 3. Running perl tests from within poudriere using a method suggested by you and without p5-Test-Deep in TEST_DEPENDS: Can't locate Test/Deep.pm in @INC (you may need to install the Test::Deep module) <...> Result: FAIL Failed 7/9 test programs. 0/2 subtests failed. *** Error code 2 Stop. Thank you very much.
(In reply to Sergei Vyshenski from comment #3) I found that SQL::Abstract::Test requires Test::Deep. I'll update databases/p5-SQL-Abstract first.
A commit references this bug: Author: sunpoet Date: Mon Jan 16 15:35:38 UTC 2017 New revision: 431672 URL: https://svnweb.freebsd.org/changeset/ports/431672 Log: Update to 1.28 - Add TEST_DEPENDS - Add NO_ARCH Changes: http://search.cpan.org/dist/SQL-Abstract-More/Changes PR: 215679 Submitted by: Sergei Vyshenski <svysh.fbsd@gmail.com> Approved by: maintainer (timeout, 16 days) Changes: head/databases/p5-SQL-Abstract-More/Makefile head/databases/p5-SQL-Abstract-More/distinfo
Committed. Thanks!