Date: Tue, 12 Mar 2013 09:38:39 GMT From: Alexey Markov <redrat@mail.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/176872: devel/p5-TimeDate fails to build package because of errors in the pkg-plist Message-ID: <201303120938.r2C9cdlf055380@red.freebsd.org> Resent-Message-ID: <201303120940.r2C9e3gY052124@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 176872 >Category: ports >Synopsis: devel/p5-TimeDate fails to build package because of errors in the pkg-plist >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 12 09:40:02 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Alexey Markov >Release: 8.3-RELEASE-p6 >Organization: JSC Complitex >Environment: FreeBSD meson.complitex.ru 8.3-RELEASE-p6 FreeBSD 8.3-RELEASE-p6 #0: Thu Feb 21 12:32:56 MSK 2013 redrat@meson.complitex.ru:/arc/obj/arc/src/sys/MESON amd64 >Description: devel/p5-TimeDate fails to build package: ===>>> Creating a package for new version p5-TimeDate-2.30,1 tar: lib/perl5/site_perl/5.12.4/mach/auto/TimeDate/.packlist: Cannot stat: No such file or directory tar: Error exit delayed from previous errors. pkg_create: make_dist: tar command failed with code 256 Also, then you try to deinstall this port, you get: pkg_delete: file '/usr/local/lib/perl5/site_perl/5.12.4/mach/auto/TimeDate/.packlist' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/lib/perl5/site_perl/5.12.4/Date/Language' pkg_delete: file '/usr/local/lib/perl5/site_perl/5.12.4/mach/auto/TimeDate' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/lib/perl5/site_perl/5.12.4/mach/auto/TimeDate' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) >How-To-Repeat: cd /usr/ports/devel/p5-TimeDate make package clean make deinstall >Fix: Apply the attached patch. Patch attached with submission follows: --- pkg-plist.orig 2012-07-14 17:54:48.000000000 +0400 +++ pkg-plist 2013-03-12 13:31:15.000000000 +0400 @@ -4,6 +4,7 @@ %%SITE_PERL%%/Date/Language/Amharic.pm %%SITE_PERL%%/Date/Language/Austrian.pm %%SITE_PERL%%/Date/Language/Brazilian.pm +%%SITE_PERL%%/Date/Language/Bulgarian.pm %%SITE_PERL%%/Date/Language/Chinese.pm %%SITE_PERL%%/Date/Language/Chinese_GB.pm %%SITE_PERL%%/Date/Language/Czech.pm @@ -34,8 +35,9 @@ %%SITE_PERL%%/Date/Language/Turkish.pm %%SITE_PERL%%/Date/Parse.pm %%SITE_PERL%%/Time/Zone.pm -%%SITE_PERL%%/%%PERL_ARCH%%/auto/TimeDate/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Date/Parse/.packlist @dirrm %%SITE_PERL%%/Date/Language -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/TimeDate +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Date/Parse +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Date @dirrmtry %%SITE_PERL%%/Time @dirrmtry %%SITE_PERL%%/Date >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303120938.r2C9cdlf055380>