From owner-freebsd-ports@FreeBSD.ORG Sun Nov 3 23:29:29 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1D5BE6E8 for ; Sun, 3 Nov 2013 23:29:29 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id 57B0D29BA for ; Sun, 3 Nov 2013 23:29:27 +0000 (UTC) Received: (qmail 54413 invoked by uid 89); 3 Nov 2013 23:29:25 -0000 Received: from unknown (HELO bsd64.grem.de) (mg@grem.de@88.217.181.14) by mail.grem.de with ESMTPA; 3 Nov 2013 23:29:25 -0000 Date: Mon, 4 Nov 2013 00:29:27 +0100 From: Michael Gmelin To: papowell@astart.com 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> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.18; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Baptiste Daroussin , freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Nov 2013 23:29:29 -0000 On Fri, 25 Oct 2013 10:39:22 -0700 Patrick Powell 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