Bug 181914 - net/p5-Socket-GetAddrInfo fails to build package
Summary: net/p5-Socket-GetAddrInfo fails to build package
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-perl (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-07 16:30 UTC by kritek
Modified: 2014-09-15 11:16 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kritek 2013-09-07 16:30:00 UTC
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-09-07 18:39:49 UTC
Responsible Changed
From-To: freebsd-ports-bugs->perl

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Dave Hayes 2013-09-16 19:00:45 UTC
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...
Comment 3 Carlo Strub freebsd_committer freebsd_triage 2014-09-15 05:06:57 UTC
Is this PR still relevant?
Comment 4 Kurt Jaeger freebsd_committer freebsd_triage 2014-09-15 05:28:24 UTC
Tested, no longer a problem with _2.
Comment 5 kritek 2014-09-15 11:16:08 UTC
Works for me as of 2014.09.15