printf '

' | fink --no-use-binary-dist --yes  --build-as-nobody rebuild term-readkey-pm5162 2>&1
The package 'term-readkey-pm5162' will be built without being installed.
Reading build dependency for term-readkey-pm5162-2.31-1...
Reading dependency for term-readkey-pm5162-2.31-1...
Reading build conflict for term-readkey-pm5162-2.31-1...
The following package will be rebuilt:
 term-readkey-pm5162
curl --connect-timeout 30 -f -L -A 'fink/0.37.0' -O http://distfiles.master.finkmirrors.net/distfiles/TermReadKey-2.31.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 19 79553   19 15687    0     0  54496      0  0:00:01 --:--:--  0:00:01 54468
100 79553  100 79553    0     0   190k      0 --:--:-- --:--:-- --:--:--  190k
Setting runtime build-lock...
dpkg-deb -b /sw/build.build/root-fink-buildlock-term-readkey-pm5162-2.31-1 /sw/build.build
dpkg-deb: building package `fink-buildlock-term-readkey-pm5162-2.31-1' in `/sw/build.build/fink-buildlock-term-readkey-pm5162-2.31-1_2014.07.25-01.45.25_darwin-x86_64.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i /sw/build.build/fink-buildlock-term-readkey-pm5162-2.31-1_2014.07.25-01.45.25_darwin-x86_64.deb
Selecting previously deselected package fink-buildlock-term-readkey-pm5162-2.31-1.
(Reading database ... 4296 files and directories currently installed.)
Unpacking fink-buildlock-term-readkey-pm5162-2.31-1 (from .../fink-buildlock-term-readkey-pm5162-2.31-1_2014.07.25-01.45.25_darwin-x86_64.deb) ...
Setting up fink-buildlock-term-readkey-pm5162-2.31-1 (2014.07.25-01.45.25) ...

sudo -u fink-bld [ENV] sh -c /tmp/fink.usqcU
env LANG=C LC_ALL=C /sw/bin/tar  --no-same-owner --no-same-permissions -xvf /sw/src/TermReadKey-2.31.tar.gz
TermReadKey-2.31/
TermReadKey-2.31/test.pl
TermReadKey-2.31/META.yml
TermReadKey-2.31/genchars.pl
TermReadKey-2.31/Makefile.PL
TermReadKey-2.31/ReadKey.xs
TermReadKey-2.31/ReadKey.pm
TermReadKey-2.31/Configure.pm
TermReadKey-2.31/MANIFEST
TermReadKey-2.31/META.json
TermReadKey-2.31/ppport.h
TermReadKey-2.31/Changes
TermReadKey-2.31/README
sudo -u fink-bld [ENV] sh -c /tmp/fink.7VuCE
ARCHFLAGS="" /usr/bin/arch -x86_64 perl5.16 Makefile.PL PERL="/usr/bin/arch -x86_64 perl5.16" PREFIX=/sw INSTALLPRIVLIB=/sw/lib/perl5/5.16.2 INSTALLARCHLIB=/sw/lib/perl5/5.16.2/darwin-thread-multi-2level INSTALLSITELIB=/sw/lib/perl5/5.16.2 INSTALLSITEARCH=/sw/lib/perl5/5.16.2/darwin-thread-multi-2level INSTALLMAN1DIR=/sw/share/man/man1 INSTALLMAN3DIR=/sw/share/man/man3 INSTALLSITEMAN1DIR=/sw/share/man/man1 INSTALLSITEMAN3DIR=/sw/share/man/man3 INSTALLBIN=/sw/bin INSTALLSITEBIN=/sw/bin INSTALLSCRIPT=/sw/bin
Checking if your kit is complete...
Looks good
Writing Makefile for Term::ReadKey
Writing MYMETA.yml and MYMETA.json
make CC=gcc CXX=g++
/usr/bin/arch -x86_64 perl5.16 -I/System/Library/Perl/5.16 genchars.pl
Running Mkbootstrap for Term::ReadKey ()
chmod 644 ReadKey.bs
cp ReadKey.bs blib/arch/auto/Term/ReadKey/ReadKey.bs
chmod 644 blib/arch/auto/Term/ReadKey/ReadKey.bs
cp ReadKey.pm blib/lib/Term/ReadKey.pm
AutoSplitting blib/lib/Term/ReadKey.pm (blib/lib/auto/Term/ReadKey)

Writing termio/termios section of cchars.h... Done.
Checking for sgtty...
	Sgtty found.
Checking sgtty...
	tchars structure found.
	ltchars structure found.
Checking symbols
	t_startc (START) found in tchars
	t_quitc (QUIT) found in tchars
	t_brkc (EOL) found in tchars
	t_eofc (EOF) found in tchars
	t_werasc (ERASEWORD) found in ltchars
	t_rprntc (REPRINT) found in ltchars
	t_dsuspc (DSUSPEND) found in ltchars
	t_flushc (DISCARD) found in ltchars
	t_suspc (SUSPEND) found in ltchars
	t_stopc (STOP) found in tchars
	t_lnextc (QUOTENEXT) found in ltchars
	t_intrc (INTERRUPT) found in tchars
Writing sgtty section of cchars.h... Done.
/usr/bin/arch -x86_64 perl5.16 /System/Library/Perl/5.16/ExtUtils/xsubpp -noprototypes -typemap /System/Library/Perl/5.16/ExtUtils/typemap  ReadKey.xs > ReadKey.xsc && mv ReadKey.xsc ReadKey.c
gcc -c   -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include -Os   -DVERSION=\"2.31\" -DXS_VERSION=\"2.31\"  "-I/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE"   ReadKey.c
ReadKey.xs:1400:3: warning: expression result unused; should this cast be to 'void'? [-Wunused-value]
                (void*)hv_delete(filehash,(char*)&handle,sizeof(int),0);
                ^    ~
ReadKey.xs:1401:3: warning: expression result unused; should this cast be to 'void'? [-Wunused-value]
                (void*)hv_delete(modehash,(char*)&handle,sizeof(int),0);
                ^    ~
2 warnings generated.
rm -f blib/arch/auto/Term/ReadKey/ReadKey.bundle
cc -mmacosx-version-min=10.9  -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector ReadKey.o  -o blib/arch/auto/Term/ReadKey/ReadKey.bundle 	\
	     	\
	  
ld: warning: directory not found for option '-L/usr/local/lib'
chmod 755 blib/arch/auto/Term/ReadKey/ReadKey.bundle
Manifying blib/man3/Term::ReadKey.3pm
/bin/rm -rf /sw/build.build/root-term-readkey-pm5162-2.31-1
/bin/mkdir -p /sw/build.build/root-term-readkey-pm5162-2.31-1/sw
/bin/mkdir -p /sw/build.build/root-term-readkey-pm5162-2.31-1/DEBIAN
/usr/sbin/chown -R fink-bld:fink-bld /sw/build.build/root-term-readkey-pm5162-2.31-1
sudo -u fink-bld [ENV] sh -c /tmp/fink.MKIv2
make -j1 install PREFIX=/sw INSTALLPRIVLIB=/sw/lib/perl5/5.16.2 INSTALLARCHLIB=/sw/lib/perl5/5.16.2/darwin-thread-multi-2level INSTALLSITELIB=/sw/lib/perl5/5.16.2 INSTALLSITEARCH=/sw/lib/perl5/5.16.2/darwin-thread-multi-2level INSTALLMAN1DIR=/sw/share/man/man1 INSTALLMAN3DIR=/sw/share/man/man3 INSTALLSITEMAN1DIR=/sw/share/man/man1 INSTALLSITEMAN3DIR=/sw/share/man/man3 INSTALLBIN=/sw/bin INSTALLSITEBIN=/sw/bin INSTALLSCRIPT=/sw/bin DESTDIR=/sw/build.build/root-term-readkey-pm5162-2.31-1
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /sw/build.build/root-term-readkey-pm5162-2.31-1/sw/lib/perl5/5.16.2/darwin-thread-multi-2level/auto/Term/ReadKey/ReadKey.bs
Installing /sw/build.build/root-term-readkey-pm5162-2.31-1/sw/lib/perl5/5.16.2/darwin-thread-multi-2level/auto/Term/ReadKey/ReadKey.bundle
Installing /sw/build.build/root-term-readkey-pm5162-2.31-1/sw/lib/perl5/5.16.2/darwin-thread-multi-2level/auto/Term/ReadKey/autosplit.ix
Installing /sw/build.build/root-term-readkey-pm5162-2.31-1/sw/lib/perl5/5.16.2/darwin-thread-multi-2level/Term/ReadKey.pm
Installing /sw/build.build/root-term-readkey-pm5162-2.31-1/sw/share/man/man3/Term::ReadKey.3pm
Appending installation info to /sw/build.build/root-term-readkey-pm5162-2.31-1/sw/lib/perl5/5.16.2/darwin-thread-multi-2level/perllocal.pod
mv /sw/build.build/root-term-readkey-pm5162-2.31-1/sw/share/man /sw/build.build/root-term-readkey-pm5162-2.31-1/sw/lib/perl5/5.16.2
sudo -u fink-bld [ENV] sh -c /tmp/fink.sI5IO
/bin/mkdir -p /sw/build.build/root-term-readkey-pm5162-2.31-1/sw/share/podfiles/5.16.2
for i in `find /sw/build.build/root-term-readkey-pm5162-2.31-1/sw -name perllocal.pod`; do /bin/cat $i | sed -e s,/sw/build.build/root-term-readkey-pm5162-2.31-1/sw/lib/perl5,/sw/lib/perl5, >> /sw/build.build/root-term-readkey-pm5162-2.31-1/sw/share/podfiles/5.16.2/perllocal.term-readkey-pm5162.pod; /bin/rm -rf $i; done;
/usr/bin/install -d -m 700 /sw/build.build/root-term-readkey-pm5162-2.31-1/sw/share/doc/term-readkey-pm5162
/bin/cp -r README* /sw/build.build/root-term-readkey-pm5162-2.31-1/sw/share/doc/term-readkey-pm5162/
/bin/chmod -R go=u-w /sw/build.build/root-term-readkey-pm5162-2.31-1/sw/share/doc/term-readkey-pm5162
/bin/rm -f /sw/build.build/root-term-readkey-pm5162-2.31-1/sw/info/dir /sw/build.build/root-term-readkey-pm5162-2.31-1/sw/info/dir.old /sw/build.build/root-term-readkey-pm5162-2.31-1/sw/share/info/dir /sw/build.build/root-term-readkey-pm5162-2.31-1/sw/share/info/dir.old
Reverting ownership of install dir to root
Writing control file...
Writing package script postinst...
Writing package script postrm...
Writing md5sums file...
env LANG=C LC_ALL=C dpkg-deb -b root-term-readkey-pm5162-2.31-1 /sw/fink/10.9/stable/main/binary-darwin-x86_64/libs/perlmods
dpkg-deb: building package `term-readkey-pm5162' in `/sw/fink/10.9/stable/main/binary-darwin-x86_64/libs/perlmods/term-readkey-pm5162_2.31-1_darwin-x86_64.deb'.
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-term-readkey-pm5162-2.31-1
(Reading database ... 4297 files and directories currently installed.)
Removing fink-buildlock-term-readkey-pm5162-2.31-1 ...