Date: Mon, 4 Nov 2013 00:29:27 +0100 From: Michael Gmelin <freebsd@grem.de> To: papowell@astart.com Cc: Baptiste Daroussin <bapt@freebsd.org>, freebsd-ports@freebsd.org Subject: Re: some perl5 modules with .xs components fail to install/package Message-ID: <20131104002927.49b60d77@bsd64.grem.de> In-Reply-To: <526AACCA.50104@astart.com> References: <526AACCA.50104@astart.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 25 Oct 2013 10:39:22 -0700 Patrick Powell <papowell@astart.com> wrote: > I also submitted this as a PR. > > I installed a FreeBSD 8.4-Release. > Installed perl5: > root@test84:/install/INSTALL_FreeBSD_84 # perl -v > > This is perl 5, version 14, subversion 4 (v5.14.4) built for > amd64-freebsd > > I then compiled and tried to install a laundry list of perl modules. > > Some modules need to compile and install .so and .bs files. Some, > but not all, > of these modules had the following error. It appears that the .bs > file is listed in the PLIST > > > XX ===> Building package for p5-Bit-Vector-7.3 > XX tar: lib/perl5/site_perl/5.14/mach/auto/Bit/Vector/Vector.bs: > Cannot stat: No such file or directory > XX tar: Error exit delayed from previous errors. > > But there is no Vector.bs file: > > # find work -name '*.bs' (no output - no file found) > > I also did: > > test84: {60} # cd work/Bit-Vector-7.3/ > test84: {61} # make test > PERL_DL_NONLAZY=1 /usr/local/bin/perl5.14.4 "-MExtUtils::Command::MM" > "-MTest::Harness" "-e" "undef *Test::Harness::Switches; > test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/00_____version.t .. ok > t/01_________new.t .. ok > t/02_____destroy.t .. ok > t/03__operations.t .. ok > t/04___functions.t .. ok > t/05______primes.t .. ok > t/06______subset.t .. ok > t/07_____compare.t .. ok > t/08______resize.t .. ok > t/09__parameters.t .. ok > t/10___intervals.t .. ok > t/11_______shift.t .. ok > t/12______string.t .. ok > t/13___increment.t .. ok > t/14_______empty.t .. ok > t/15_________add.t .. ok > t/16____subtract.t .. ok > t/17_________gcd.t .. ok > t/28___chunklist.t .. ok > t/30__overloaded.t .. ok > t/40___auxiliary.t .. ok > t/50_freeze_thaw.t .. ok > t/51_file_nstore.t .. ok > All tests successful. > Files=23, Tests=91963, 9 wallclock secs ( 7.84 usr 0.09 sys + 1.54 > cusr 0.18 csys = 9.65 CPU) > Result: PASS > > So it appears that the .bs file is not generated or required. > > I patched the pkg-plist file: > test84: {64} # diff -bc pkg-plist* > *** pkg-plist Fri Oct 25 10:23:07 2013 > --- pkg-plist.orig Fri Oct 25 10:22:50 2013 > *************** > *** 5,10 **** > --- 5,11 ---- > %%SITE_PERL%%/%%PERL_ARCH%%/Bit/Vector/String.pm > %%SITE_PERL%%/%%PERL_ARCH%%/Bit/Vector/String.pod > %%SITE_PERL%%/%%PERL_ARCH%%/auto/Bit/Vector/.packlist > + %%SITE_PERL%%/%%PERL_ARCH%%/auto/Bit/Vector/Vector.bs > %%SITE_PERL%%/%%PERL_ARCH%%/auto/Bit/Vector/Vector.so > @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Bit/Vector > @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Bit/Vector > > And did: > make all install package > > > test84: {71} # make all install package > ===> Installing for p5-Bit-Vector-7.3 > ===> p5-Bit-Vector-7.3 depends on package: p5-Carp-Clan>=0 - found > ===> p5-Bit-Vector-7.3 depends on file: /usr/local/bin/perl5.14.4 - > found ===> Generating temporary packing list > ===> Checking if math/p5-Bit-Vector already installed > Files found in blib/arch: installing files in blib/lib into > architecture dependent library tree > Installing > /usr/local/lib/perl5/site_perl/5.14/mach/auto/Bit/Vector/Vector.so > Installing /usr/local/lib/perl5/site_perl/5.14/mach/Bit/Vector.pm > Installing /usr/local/lib/perl5/site_perl/5.14/mach/Bit/Vector.pod > Installing /usr/local/lib/perl5/site_perl/5.14/mach/Bit/Vector/Overload.pm > Installing /usr/local/lib/perl5/site_perl/5.14/mach/Bit/Vector/String.pod > Installing /usr/local/lib/perl5/site_perl/5.14/mach/Bit/Vector/Overload.pod > Installing /usr/local/lib/perl5/site_perl/5.14/mach/Bit/Vector/String.pm > Installing /usr/local/lib/perl5/5.14/man/man3/Bit::Vector.3 > Installing /usr/local/lib/perl5/5.14/man/man3/Bit::Vector::Overload.3 > Installing /usr/local/lib/perl5/5.14/man/man3/Bit::Vector::String.3 > ===> Compressing manual pages for p5-Bit-Vector-7.3 > ===> Registering installation for p5-Bit-Vector-7.3 > ===> Building package for p5-Bit-Vector-7.3 > > I suspect that the pkg-plist entries for the indicated *.bs files are > not needed. > > -------------------------------------- > > XX ===> Building package for p5-B-Utils-0.21 > XX tar: lib/perl5/site_perl/5.14/mach/auto/B/Utils/Utils.bs: Cannot > stat: No such file or directory > XX tar: Error exit delayed from previous errors. > > XX ===> Building package for p5-Bit-Vector-7.3 > XX tar: lib/perl5/site_perl/5.14/mach/auto/Bit/Vector/Vector.bs: > Cannot stat: No such file or directory > XX tar: Error exit delayed from previous errors. > > XX ===> Building package for p5-HTML-Parser-3.71 > XX tar: lib/perl5/site_perl/5.14/mach/auto/HTML/Parser/Parser.bs: > Cannot stat: No such file or directory > XX tar: Error exit delayed from previous errors. > > XX ===> Building package for p5-Params-Util-1.07 > XX tar: lib/perl5/site_perl/5.14/mach/auto/Params/Util/Util.bs: > Cannot stat: No such file or directory > XX tar: Error exit delayed from previous errors. > > XX ===> Building package for p5-Socket-2.012 > XX tar: lib/perl5/site_perl/5.14/mach/auto/Socket/Socket.bs: Cannot > stat: No such file or directory > XX tar: Error exit delayed from previous errors. > > XX ===> Building package for p5-Storable-2.45 > XX tar: lib/perl5/site_perl/5.14/mach/auto/Storable/Storable.bs: > Cannot stat: No such file or directory > XX tar: Error exit delayed from previous errors. > > XX ===> Building package for p5-Text-Iconv-1.7 > XX tar: lib/perl5/site_perl/5.14/mach/auto/Text/Iconv/Iconv.bs: > Cannot stat: No such file or directory > XX tar: Error exit delayed from previous errors. > > XX ===> Building package for p5-Tk-804.031_1 > XX tar: lib/perl5/site_perl/5.14/mach/auto/Tk/Canvas/Canvas.bs: > Cannot stat: No such file or directory > XX tar: Error exit delayed from previous errors. > > XX ===> Building package for p5-XML-LibXML-2.0106,1 > XX tar: lib/perl5/site_perl/5.14/mach/auto/XML/LibXML/LibXML.bs: > Cannot stat: No such file or directory > XX tar: Error exit delayed from previous errors. > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to > "freebsd-ports-unsubscribe@freebsd.org" Same problem here, I'm installing those using NO_STAGE=yes right now. @Baptiste: It seems like it's trying to tar them from .../5.14/, even though they get written to 5.14.2 in staging. I feel like we discussed this before, but I can't remember (did upgrading to 5.16 fix it?) Cheers, -- Michael Gmelin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131104002927.49b60d77>