Bug 176872 - devel/p5-TimeDate fails to build package because of errors in the pkg-plist
Summary: devel/p5-TimeDate fails to build package because of errors in the pkg-plist
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dmitry Sivachenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-12 09:40 UTC by Alexey Markov
Modified: 2013-03-12 11:20 UTC (History)
0 users

See Also:


Attachments
file.diff (873 bytes, patch)
2013-03-12 09:40 UTC, Alexey Markov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Markov 2013-03-12 09:40:02 UTC
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?)

Fix: Apply the attached patch.

Patch attached with submission follows:
How-To-Repeat: cd /usr/ports/devel/p5-TimeDate
make package clean
make deinstall
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-12 09:40:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->demon

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Dmitry Sivachenko freebsd_committer freebsd_triage 2013-03-12 11:15:41 UTC
State Changed
From-To: open->closed

Patch committed, thanks! 

(you missed one more file: Date::Language::Bulgarian.3)
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-03-12 11:15:45 UTC
Author: demon
Date: Tue Mar 12 11:15:32 2013
New Revision: 313967
URL: http://svnweb.freebsd.org/changeset/ports/313967

Log:
  Fix PLIST.
  
  PR:		176872
  Submitted by:	Alexey Markov <redrat@mail.ru>

Modified:
  head/devel/p5-TimeDate/Makefile
  head/devel/p5-TimeDate/pkg-plist

Modified: head/devel/p5-TimeDate/Makefile
==============================================================================
--- head/devel/p5-TimeDate/Makefile	Tue Mar 12 11:00:38 2013	(r313966)
+++ head/devel/p5-TimeDate/Makefile	Tue Mar 12 11:15:32 2013	(r313967)
@@ -7,6 +7,7 @@
 
 PORTNAME=	TimeDate
 PORTVERSION=	2.30
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
@@ -18,10 +19,7 @@ COMMENT=	Perl5 module containing a bette
 
 PERL_CONFIGURE=	YES
 
-MAN3=		Date::Format.3 \
-		Date::Language.3 \
-		Date::Language::Hungarian.3 \
-		Date::Parse.3 \
-		Time::Zone.3
+MAN3=		Date::Format.3 Date::Language.3 Date::Language::Bulgarian.3 \
+		Date::Language::Hungarian.3 Date::Parse.3 Time::Zone.3
 
 .include <bsd.port.mk>

Modified: head/devel/p5-TimeDate/pkg-plist
==============================================================================
--- head/devel/p5-TimeDate/pkg-plist	Tue Mar 12 11:00:38 2013	(r313966)
+++ head/devel/p5-TimeDate/pkg-plist	Tue Mar 12 11:15:32 2013	(r313967)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"