From nobody@FreeBSD.org  Sat Sep  7 15:25:22 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id D57E2451
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  7 Sep 2013 15:25:22 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id B29D82672
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  7 Sep 2013 15:25:22 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r87FPMlM093756
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 7 Sep 2013 15:25:22 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r87FPMBx093752;
	Sat, 7 Sep 2013 15:25:22 GMT
	(envelope-from nobody)
Message-Id: <201309071525.r87FPMBx093752@oldred.freebsd.org>
Date: Sat, 7 Sep 2013 15:25:22 GMT
From: Richard Dicaire <kritek@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: p5-Socket-GetAddrInfo port fails to build package
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         181914
>Category:       ports
>Synopsis:       net/p5-Socket-GetAddrInfo fails to build package
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    perl
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 07 15:30:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Mon Sep 16 18:30:00 UTC 2013
>Originator:     Richard Dicaire
>Release:        8.4-RELEASE-p2
>Organization:
>Environment:
FreeBSD ws.int.kritek.net 8.4-RELEASE-p2 FreeBSD 8.4-RELEASE-p2 #11 r253786M: Thu Aug 22 18:38:58 EDT 2013     root@ws.int.kritek.net:/usr/obj/usr/src/sys/WS  amd64

>Description:
Performing portupgrade -p for p5-Socket-GetAddrInfo produces the following output, and no package is created though the port is installed, this started with the last two port updates:

--->  Upgrading 'p5-Socket-GetAddrInfo-0.22_1' to 'p5-Socket-GetAddrInfo-0.22_2' (net/p5-Socket-GetAddrInfo)
--->  Building '/usr/ports/net/p5-Socket-GetAddrInfo'
===>  Cleaning for p5-Socket-GetAddrInfo-0.22_2
===> Fetching all distfiles required by p5-Socket-GetAddrInfo-0.22_2 for building
===>  Extracting for p5-Socket-GetAddrInfo-0.22_2
=> SHA256 Checksum OK for Socket-GetAddrInfo-0.22.tar.gz.
===>  Patching for p5-Socket-GetAddrInfo-0.22_2
===>   p5-Socket-GetAddrInfo-0.22_2 depends on package: p5-ExtUtils-CChecker>=0.06 - found
===>   p5-Socket-GetAddrInfo-0.22_2 depends on file: /usr/local/lib/perl5/site_perl/5.12/Module/Build.pm - found
===>   p5-Socket-GetAddrInfo-0.22_2 depends on file: /usr/local/bin/perl5.12.5 - found
===>  Configuring for p5-Socket-GetAddrInfo-0.22_2
&Socket::getaddrinfo exists so no need to build XS implementation
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Socket-GetAddrInfo' version '0.22'
===>  Building for p5-Socket-GetAddrInfo-0.22_2
Building Socket-GetAddrInfo
--->  Backing up the old version
tar: lib/perl5/site_perl/5.12/mach/Socket/GetAddrInfo.pm: Cannot stat: No such file or directory
tar: lib/perl5/site_perl/5.12/mach/Socket/GetAddrInfo/Core.pm: Cannot stat: No such file or directory
tar: lib/perl5/site_perl/5.12/mach/Socket/GetAddrInfo/Emul.pm: Cannot stat: No such file or directory
tar: lib/perl5/site_perl/5.12/mach/Socket/GetAddrInfo/Socket6api.pm: Cannot stat: No such file or directory
tar: lib/perl5/site_perl/5.12/mach/Socket/GetAddrInfo/Strict.pm: Cannot stat: No such file or directory
tar: lib/perl5/site_perl/5.12/mach/Socket/GetAddrInfo/XS.pm: Cannot stat: No such file or directory
tar: lib/perl5/site_perl/5.12/mach/auto/Socket/GetAddrInfo/GetAddrInfo.bs: Cannot stat: No such file or directory
tar: lib/perl5/site_perl/5.12/mach/auto/Socket/GetAddrInfo/GetAddrInfo.so: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
--->  Uninstalling the old version
--->  Deinstalling 'p5-Socket-GetAddrInfo-0.22_1'
pkg_delete: file '/usr/local/lib/perl5/site_perl/5.12/mach/Socket/GetAddrInfo.pm' doesn't exist
pkg_delete: file '/usr/local/lib/perl5/site_perl/5.12/mach/Socket/GetAddrInfo/Core.pm' doesn't exist
pkg_delete: file '/usr/local/lib/perl5/site_perl/5.12/mach/Socket/GetAddrInfo/Emul.pm' doesn't exist
pkg_delete: file '/usr/local/lib/perl5/site_perl/5.12/mach/Socket/GetAddrInfo/Socket6api.pm' doesn't exist
pkg_delete: file '/usr/local/lib/perl5/site_perl/5.12/mach/Socket/GetAddrInfo/Strict.pm' doesn't exist
pkg_delete: file '/usr/local/lib/perl5/site_perl/5.12/mach/Socket/GetAddrInfo/XS.pm' doesn't exist
pkg_delete: file '/usr/local/lib/perl5/site_perl/5.12/mach/auto/Socket/GetAddrInfo/GetAddrInfo.bs' doesn't exist
pkg_delete: file '/usr/local/lib/perl5/site_perl/5.12/mach/auto/Socket/GetAddrInfo/GetAddrInfo.so' doesn't exist
pkg_delete: couldn't entirely delete package `p5-Socket-GetAddrInfo-0.22_1'
(perhaps the packing list is incorrectly specified?)
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 520 packages found (-1 +0) (...) done]
--->  Installing the new version via the port
===>  Installing for p5-Socket-GetAddrInfo-0.22_2
===>   p5-Socket-GetAddrInfo-0.22_2 depends on file: /usr/local/bin/perl5.12.5 - found
===>   Generating temporary packing list
Building Socket-GetAddrInfo
Installing /usr/local/man/man1/getnameinfo.1
Installing /usr/local/man/man1/getaddrinfo.1
Installing /usr/local/lib/perl5/5.12/man/man3/Socket::GetAddrInfo::Strict.3
Installing /usr/local/lib/perl5/5.12/man/man3/Socket::GetAddrInfo::Socket6api.3
Installing /usr/local/lib/perl5/5.12/man/man3/Socket::GetAddrInfo.3
Installing /usr/local/lib/perl5/5.12/man/man3/Socket::GetAddrInfo::Emul.3
Installing /usr/local/bin/getaddrinfo
Installing /usr/local/bin/getnameinfo
===>   Compressing manual pages for p5-Socket-GetAddrInfo-0.22_2
===>   Registering installation for p5-Socket-GetAddrInfo-0.22_2
===>  Building package for p5-Socket-GetAddrInfo-0.22_2
tar: lib/perl5/site_perl/5.12/mach/Socket/GetAddrInfo.pm: Cannot stat: No such file or directory
tar: lib/perl5/site_perl/5.12/mach/Socket/GetAddrInfo/Core.pm: Cannot stat: No such file or directory
tar: lib/perl5/site_perl/5.12/mach/Socket/GetAddrInfo/Emul.pm: Cannot stat: No such file or directory
tar: lib/perl5/site_perl/5.12/mach/Socket/GetAddrInfo/Socket6api.pm: Cannot stat: No such file or directory
tar: lib/perl5/site_perl/5.12/mach/Socket/GetAddrInfo/Strict.pm: Cannot stat: No such file or directory
tar: lib/perl5/site_perl/5.12/mach/Socket/GetAddrInfo/XS.pm: Cannot stat: No such file or directory
tar: lib/perl5/site_perl/5.12/mach/auto/Socket/GetAddrInfo/GetAddrInfo.bs: Cannot stat: No such file or directory
tar: lib/perl5/site_perl/5.12/mach/auto/Socket/GetAddrInfo/GetAddrInfo.so: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
*** Error code 1

Stop in /usr/ports/net/p5-Socket-GetAddrInfo.
===>  Cleaning for p5-Socket-GetAddrInfo-0.22_2
--->  Cleaning out obsolete shared libraries
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 521 packages found (-0 +1) . done]

pkg_info -Xi p5-Socket-GetAddrInfo
Information for p5-Socket-GetAddrInfo-0.22_2:

>How-To-Repeat:
portupgrade -p p5-Socket-GetAddrInfo
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->perl 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Sep 7 17:39:49 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=181914 

From: Dave Hayes <dave@jetcafe.org>
To: bug-followup@FreeBSD.org, kritek@gmail.com
Cc:  
Subject: Re: ports/181914: net/p5-Socket-GetAddrInfo fails to build package
Date: Mon, 16 Sep 2013 11:00:45 -0700

 This problem appears to go away when I do this:
 
   .if ${PERL_LEVEL} < 501400
   PLIST_SUB+=     OLD_PERL="" NEW_PERL="@comment "
   .else
   #PLIST_SUB+=    OLD_PERL="@comment " NEW_PERL=""
   PLIST_SUB+=     OLD_PERL="" NEW_PERL="@comment "
   .endif
 
 Is there any documentation on what the OLD_PERL and NEW_PERL definitions 
 are intended for?
 -- 
 Dave Hayes - Consultant - Altadena CA, USA - dave@jetcafe.org
  >>>> *The opinions expressed above are entirely my own* <<<<
 
 A magician was driving down the road. Then he turned into a driveway...
>Unformatted:
