Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2013 08:32:51 -0700
From:      Patrick Powell <papowell@astart.com>
To:        ume@freebsd.org, perl@freebsd.org
Cc:        "papowell@astart.com" <papowell@astart.com>
Subject:   p5-Socket6 port
Message-ID:  <526A8F23.6060401@astart.com>

next in thread | raw e-mail | index | archive | help
I updated the ports using portsnap from Oct. 8 to Oct 25.  When I build 
p5-Socket6 the
staging step does not seem to find all of the files in the PLIST. The 
problem seems to come
in this step:

/usr/local/bin/perl5.14.4 -MExtUtils::Command::MM -e 'cp_nonempty' -- 
Socket6.bs blib/arch/auto/Socket6/Socket6.bs 644

The file is there,  but it does not appear to get copied to the blib 
directory
test84: {246} # find work | grep xs
work/Socket6-0.23/Socket6.xs
test84: {247} # ls -l work/Socket6-0.23/Socket6.xs
-rw-r--r--  1 root  wheel  20714 Aug 16  2008 work/Socket6-0.23/Socket6.xs

I am baffled as to why this should occur....

===>  License BSD accepted by the user
=> Socket6-0.23.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch 
ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Socket6/Socket6-0.23.tar.gz
Socket6-0.23.tar.gz                           100% of   56 kB  125 kBps
===> Fetching all distfiles required by p5-Socket6-0.23 for building
===>  Extracting for p5-Socket6-0.23
=> SHA256 Checksum OK for Socket6-0.23.tar.gz.
===>  Patching for p5-Socket6-0.23
===>   p5-Socket6-0.23 depends on file: /usr/local/bin/perl5.14.4 - found
===>  Configuring for p5-Socket6-0.23
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking whether your Perl5 have PL_sv_undef... yes
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for gethostbyname2... yes
checking for getipnodebyname... yes
checking for getipnodebyaddr... yes
checking for inet_pton... yes
checking for inet_ntop... yes
checking whether you have sa_len in struct sockaddr... yes
checking whether you have sin6_scope_id in struct sockaddr_in6... yes
checking for socklen_t... yes
configure: creating ./config.status
config.status: creating config.pl
config.status: creating gailookup.pl
config.status: creating config.h
Checking if your kit is complete...
Looks good
Generating a GNU-style Makefile
Writing Makefile for Socket6
Writing MYMETA.yml and MYMETA.json
===>  Building for p5-Socket6-0.23
/usr/local/bin/perl5.14.4 /usr/local/lib/perl5/5.14/ExtUtils/xsubpp 
-noprototypes -typemap /usr/local/lib/perl5/5.14/ExtUtils/typemap  
Socket6.xs > Socket6.xsc && mv Socket6.xsc Socket6.c
cc -c    -O2 -pipe -fno-strict-aliasing -O2 -pipe 
-fno-strict-aliasing    -DVERSION=\"0.23\"  -DXS_VERSION=\"0.23\" -DPIC 
-fPIC "-I/usr/local/lib/perl5/5.14/mach/CORE"   Socket6.c
cp Socket6.pm blib/lib/Socket6.pm
rm -f blib/arch/auto/Socket6/Socket6.so
cc  -shared  -L/usr/local/lib -fstack-protector Socket6.o  -o 
blib/arch/auto/Socket6/Socket6.so
chmod 755 blib/arch/auto/Socket6/Socket6.so
/usr/local/bin/perl5.14.4 -MExtUtils::Command::MM -e 'cp_nonempty' -- 
Socket6.bs blib/arch/auto/Socket6/Socket6.bs 644
test84: {136} # make install
===>  Staging for p5-Socket6-0.23
===>   p5-Socket6-0.23 depends on file: /usr/local/bin/perl5.14.4 - found
===>   Generating temporary packing list
Files found in blib/arch: installing files in blib/lib into architecture 
dependent library tree
Installing 
/usr/ports/net/p5-Socket6/work/stage/usr/local/lib/perl5/site_perl/5.14/mach/auto/Socket6/Socket6.so
Installing 
/usr/ports/net/p5-Socket6/work/stage/usr/local/lib/perl5/site_perl/5.14/mach/Socket6.pm
====> Compressing man pages
===>  Building package for p5-Socket6-0.23
Creating package /usr/ports/net/p5-Socket6/work/p5-Socket6-0.23.tbz
Registering depends: perl-5.14.4.
Creating bzip'd tar ball in 
'/usr/ports/net/p5-Socket6/work/p5-Socket6-0.23.tbz'
tar: lib/perl5/site_perl/5.14/mach/auto/Socket6/Socket6.bs: 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-Socket6.

test84: {215} # find work/stage/usr/local/lib/perl5/site_perl/5.14/mach/
work/stage/usr/local/lib/perl5/site_perl/5.14/mach/
work/stage/usr/local/lib/perl5/site_perl/5.14/mach/auto
work/stage/usr/local/lib/perl5/site_perl/5.14/mach/auto/Socket6
work/stage/usr/local/lib/perl5/site_perl/5.14/mach/auto/Socket6/Socket6.so
work/stage/usr/local/lib/perl5/site_perl/5.14/mach/auto/Socket6/.packlist
work/stage/usr/local/lib/perl5/site_perl/5.14/mach/Socket6.pm





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?526A8F23.6060401>