Date: Sat, 5 Aug 2017 09:44:08 +0100 From: Geraint Edwards <gedge@yadn.org> To: perl@FreeBSD.org Subject: perl5.26 vs devel/p5-Params-Classify ? Message-ID: <20170805084408.GJ26140@yadn.org>
next in thread | raw e-mail | index | archive | help
--fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, Long-time ports user, life-time fan. Thanks for doing what you do. Alas, I've got a problem with the installation of the devel/p5-Params-Classify port which - I suspect - is beause I'm on perl5.26 (but I'm also recently on FreeBSD 11.1, so it may be that): ``` => SHA256 Checksum OK for Params-Classify-0.015.tar.gz. ===> Patching for p5-Params-Classify-0.015 ===> p5-Params-Classify-0.015 depends on package: p5-Devel-CallChecker>=0.003 - found ===> p5-Params-Classify-0.015 depends on package: p5-Module-Build>=0.4206 - found ===> p5-Params-Classify-0.015 depends on package: perl5>=5.26<5.27 - found ===> Configuring for p5-Params-Classify-0.015 Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Params-Classify' version '0.015' ===> Building for p5-Params-Classify-0.015 Building Params-Classify ===> Staging for p5-Params-Classify-0.015 ===> Generating temporary packing list Building Params-Classify Installing /usr/ports/devel/p5-Params-Classify/work/stage/usr/local/lib/perl5/site_perl/Params/Classify.pm Installing /usr/ports/devel/p5-Params-Classify/work/stage/usr/local/lib/perl5/site_perl/man/man3/Params::Classify.3 /usr/bin/strip /usr/ports/devel/p5-Params-Classify/work/stage/usr/local/lib/perl5/site_perl/mach/5.26/auto/Params/Classify/Classify.so strip: open /usr/ports/devel/p5-Params-Classify/work/stage/usr/local/lib/perl5/site_perl/mach/5.26/auto/Params/Classify/Classify.so failed: No such file or directory *** Error code 1 Stop. make: stopped in /usr/ports/devel/p5-Params-Classify ``` but there is no .so file anywhere under `stage`, and the .pm file is not in SITE_ARCH (as plist expects): ``` /usr/ports/devel/p5-Params-Classify/work # find stage -type f -ls 171647052 32 -rw-r--r-- 1 root wheel 15567 5 Aug 09:09 stage/usr/local/lib/perl5/site_perl/Params/Classify.pm 171647053 36 -rw-r--r-- 1 root wheel 17465 5 Aug 09:09 stage/usr/local/lib/perl5/site_perl/man/man3/Params::Classify.3 171647060 4 -rw-r--r-- 1 root wheel 109 5 Aug 09:09 stage/usr/local/lib/perl5/site_perl/mach/5.26/auto/Params/Classify/.packlist ``` The attached patch got it all working. -- Geraint A. Edwards (aka "Gedge") gedge@yadn.org --fUYQa+Pmc3FrFX/N Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="p5-p-c.patch" --- //orig/.../Makefile 2017-07-30 14:12:34 +++ Makefile 2017-08-05 09:25:52 @@ -25,6 +25,6 @@ .endif post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Params/Classify/Classify.so + [ ! -f ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Params/Classify/Classify.so ] || ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Params/Classify/Classify.so .include <bsd.port.post.mk> --- //orig/.../pkg-plist 2017-07-16 17:10:23 +++ pkg-plist 2017-08-05 09:28:09 @@ -1,3 +1,2 @@ -%%SITE_ARCH%%/Params/Classify.pm -%%SITE_ARCH%%/auto/Params/Classify/Classify.so +%%SITE_PERL%%/Params/Classify.pm %%PERL5_MAN3%%/Params::Classify.3.gz --fUYQa+Pmc3FrFX/N--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170805084408.GJ26140>