Bug 195449

Summary: Mk/perl5.mk broken - incorrect plist
Product: Ports & Packages Reporter: Victor Kustov <ktrace>
Component: Ports FrameworkAssignee: freebsd-perl (Nobody) <perl>
Status: Closed FIXED    
Severity: Affects Only Me CC: portmgr, timp87
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195448

Description Victor Kustov 2014-11-27 14:09:47 UTC
root@anotherserver [pts/0]  FreeBSD 9.3-STABLE FreeBSD 9.3-STABLE #0 r273735: Tue Oct 28 15:19:01 MSK 2014     root@anotherserver:/usr/obj/usr/src/sys/GENERIC  Thu Nov 27 17:02:18 
/usr/ports/devel/p5-ExtUtils-InstallPaths # portmaster  

===>>> Currently installed version: p5-ExtUtils-InstallPaths-0.010_1
===>>> Port directory: /usr/ports/devel/p5-ExtUtils-InstallPaths

===>>> Gathering distinfo list for installed ports

===>>> Launching 'make checksum' for devel/p5-ExtUtils-InstallPaths in background
===>>> Gathering dependency list for devel/p5-ExtUtils-InstallPaths from ports
===>>> Initial dependency check complete for devel/p5-ExtUtils-InstallPaths


===>>> Starting build for devel/p5-ExtUtils-InstallPaths <<<===

===>>> All dependencies are up to date

===>  Cleaning for p5-ExtUtils-InstallPaths-0.010_1
===>  License ART10 GPLv1 accepted by the user
===>   p5-ExtUtils-InstallPaths-0.010_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by p5-ExtUtils-InstallPaths-0.010_1 for building
===>  Extracting for p5-ExtUtils-InstallPaths-0.010_1
=> SHA256 Checksum OK for ExtUtils-InstallPaths-0.010.tar.gz.
===>  Patching for p5-ExtUtils-InstallPaths-0.010_1
===>   p5-ExtUtils-InstallPaths-0.010_1 depends on package: p5-ExtUtils-Config>=0.002 - found
===>   p5-ExtUtils-InstallPaths-0.010_1 depends on file: /usr/local/bin/perl5.18.4 - found
===>  Configuring for p5-ExtUtils-InstallPaths-0.010_1
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for ExtUtils::InstallPaths
Writing MYMETA.yml and MYMETA.json
===>  Building for p5-ExtUtils-InstallPaths-0.010_1
Smartmatch is experimental at /usr/local/lib/perl5/5.18/BSDPAN/ExtUtils/Packlist.pm line 218.
cp lib/ExtUtils/InstallPaths.pm blib/lib/ExtUtils/InstallPaths.pm
Manifying blib/man3/ExtUtils::InstallPaths.3
===>  Staging for p5-ExtUtils-InstallPaths-0.010_1
===>   Generating temporary packing list
Smartmatch is experimental at /usr/local/lib/perl5/5.18/BSDPAN/ExtUtils/Packlist.pm line 218.
Installing /usr/ports/devel/p5-ExtUtils-InstallPaths/work/stage/usr/local/lib/perl5/site_perl/ExtUtils/InstallPaths.pm
Installing /usr/ports/devel/p5-ExtUtils-InstallPaths/work/stage/usr/local/lib/perl5/site_perl/man/man3/ExtUtils::InstallPaths.3
====> Compressing man pages (compress-man)

===>>> Creating a backup package for old version p5-ExtUtils-InstallPaths-0.010_1
Creating package for p5-ExtUtils-InstallPaths-0.010_1
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
	p5-ExtUtils-InstallPaths-0.010_1

The operation will free 43 kB.
[1/1] Deleting p5-ExtUtils-InstallPaths-0.010_1: 100%

===>  Installing for p5-ExtUtils-InstallPaths-0.010_1
===>  Checking if p5-ExtUtils-InstallPaths already installed
===>   Registering installation for p5-ExtUtils-InstallPaths-0.010_1
pkg-static: lstat(/usr/ports/devel/p5-ExtUtils-InstallPaths/work/stage/usr/local/./usr/local/lib/perl5/site_perl/mach/5.18/auto/ExtUtils/InstallPaths/.packlist): No such file or directory
pkg-static: lstat(/usr/ports/devel/p5-ExtUtils-InstallPaths/work/stage/usr/local/./usr/local/lib/perl5/site_perl/mach/5.18/auto/ExtUtils/InstallPaths/.packlist): No such file or directory
pkg-static: lstat(/usr/ports/devel/p5-ExtUtils-InstallPaths/work/stage/usr/local/./usr/local/lib/perl5/site_perl/mach/5.18/auto/ExtUtils/InstallPaths/.packlist): No such file or directory
pkg-static: lstat(/usr/ports/devel/p5-ExtUtils-InstallPaths/work/stage/usr/local/./usr/local/lib/perl5/site_perl/mach/5.18/auto/ExtUtils/InstallPaths/.packlist): No such file or directory
pkg-static: lstat(/usr/ports/devel/p5-ExtUtils-InstallPaths/work/stage/usr/local/./usr/local/lib/perl5/site_perl/mach/5.18/auto/ExtUtils/InstallPaths/.packlist): No such file or directory
pkg-static: lstat(/usr/ports/devel/p5-ExtUtils-InstallPaths/work/stage/usr/local/./usr/local/lib/perl5/site_perl/mach/5.18/auto/ExtUtils/InstallPaths/.packlist): No such file or directory
pkg-static: lstat(/usr/ports/devel/p5-ExtUtils-InstallPaths/work/stage/usr/local/./usr/local/lib/perl5/site_perl/mach/5.18/auto/ExtUtils/InstallPaths/.packlist): No such file or directory
*** [fake-pkg] Error code 74


Because broken temporally list, cat work/.PLIST:

/usr/local/share/licenses/p5-ExtUtils-InstallPaths-0.010_1/catalog.mk
/usr/local/share/licenses/p5-ExtUtils-InstallPaths-0.010_1/LICENSE
/usr/local/share/licenses/p5-ExtUtils-InstallPaths-0.010_1/ART10
/usr/local/share/licenses/p5-ExtUtils-InstallPaths-0.010_1/GPLv1
lib/perl5/site_perl/ExtUtils/InstallPaths.pm
lib/perl5/site_perl/man/man3/ExtUtils::InstallPaths.3.gz
./usr/local/lib/perl5/site_perl/mach/5.18/auto/ExtUtils/InstallPaths/.packlist
./usr/local/lib/perl5/site_perl/mach/5.18/auto/ExtUtils/InstallPaths/.packlist
./usr/local/lib/perl5/site_perl/mach/5.18/auto/ExtUtils/InstallPaths/.packlist
./usr/local/lib/perl5/site_perl/mach/5.18/auto/ExtUtils/InstallPaths/.packlist
./usr/local/lib/perl5/site_perl/mach/5.18/auto/ExtUtils/InstallPaths/.packlist
./usr/local/lib/perl5/site_perl/mach/5.18/auto/ExtUtils/InstallPaths/.packlist
./usr/local/lib/perl5/site_perl/mach/5.18/auto/ExtUtils/InstallPaths/.packlist
Comment 1 Pavel Timofeev 2014-11-28 08:57:15 UTC
Try this tip:
Remove you ports tree, then extract it again, latest, from official server (svn co or portsnap fetch extract). The problem will go away.
Comment 2 John Marino freebsd_committer freebsd_triage 2014-11-28 09:09:55 UTC
*** Bug 195448 has been marked as a duplicate of this bug. ***
Comment 3 Mathieu Arnold freebsd_committer freebsd_triage 2014-11-28 11:21:08 UTC
This was fixed in r373485.