printf '

' | fink --no-use-binary-dist --yes  --build-as-nobody rebuild www-curl-pm5124 2>&1
The package 'www-curl-pm5124' will be built without being installed.
Reading build dependency for www-curl-pm5124-4.15-1...
Reading dependency for www-curl-pm5124-4.15-1...
Reading build conflict for www-curl-pm5124-4.15-1...
The package 'libcurl4' will be installed.
Reading dependency for libcurl4-7.37.1-1+10.8...
Reading runtime dependency for libcurl4-7.37.1-1+10.8...
The package 'libcurl4-shlibs' will be installed.
Reading dependency for libcurl4-shlibs-7.37.1-1+10.8...
Reading runtime dependency for libcurl4-shlibs-7.37.1-1+10.8...
The package 'perl5124-core' will be installed.
Reading dependency for perl5124-core-5.12.4-103...
Reading runtime dependency for perl5124-core-5.12.4-103...
The package 'librtmp-shlibs' will be installed.
Reading dependency for librtmp-shlibs-2.3-4...
Reading runtime dependency for librtmp-shlibs-2.3-4...
The package 'libssh2.1-shlibs' will be installed.
Reading dependency for libssh2.1-shlibs-1.4.3-1...
Reading runtime dependency for libssh2.1-shlibs-1.4.3-1...
The package 'openssl100-shlibs' will be installed.
Reading dependency for openssl100-shlibs-1.0.1h-1...
Reading runtime dependency for openssl100-shlibs-1.0.1h-1...
The following package will be rebuilt:
 www-curl-pm5124
The following 6 additional packages will be installed:
 libcurl4 libcurl4-shlibs librtmp-shlibs libssh2.1-shlibs openssl100-shlibs
 perl5124-core
Do you want to continue? [Y/n] (assuming default)
Reading buildlock packages...
	All buildlocks accounted for.
/sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/base/openssl100-shlibs_1.0.1h-1_darwin-x86_64.deb
Selecting previously deselected package openssl100-shlibs.
(Reading database ... 4296 files and directories currently installed.)
Unpacking openssl100-shlibs (from .../openssl100-shlibs_1.0.1h-1_darwin-x86_64.deb) ...
Setting up openssl100-shlibs (1.0.1h-1) ...

Reading buildlock packages...
	All buildlocks accounted for.
/sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/languages/perl5124-core_5.12.4-103_darwin-x86_64.deb
Selecting previously deselected package perl5124-core.
(Reading database ... 4317 files and directories currently installed.)
Unpacking perl5124-core (from .../perl5124-core_5.12.4-103_darwin-x86_64.deb) ...
Setting up perl5124-core (5.12.4-103) ...

Reading buildlock packages...
	All buildlocks accounted for.
/sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/net/librtmp-shlibs_2.3-4_darwin-x86_64.deb
Selecting previously deselected package librtmp-shlibs.
(Reading database ... 7321 files and directories currently installed.)
Unpacking librtmp-shlibs (from .../librtmp-shlibs_2.3-4_darwin-x86_64.deb) ...
Setting up librtmp-shlibs (2.3-4) ...

Reading buildlock packages...
	All buildlocks accounted for.
/sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/net/libssh2.1-shlibs_1.4.3-1_darwin-x86_64.deb
Selecting previously deselected package libssh2.1-shlibs.
(Reading database ... 7326 files and directories currently installed.)
Unpacking libssh2.1-shlibs (from .../libssh2.1-shlibs_1.4.3-1_darwin-x86_64.deb) ...
Setting up libssh2.1-shlibs (1.4.3-1) ...

Reading buildlock packages...
	All buildlocks accounted for.
/sw/bin/dpkg-lockwait -i /sw/fink/debs/libcurl4_7.37.1-1+10.8_darwin-x86_64.deb /sw/fink/dists/stable/main/binary-darwin-x86_64/net/libcurl4-shlibs_7.37.1-1+10.8_darwin-x86_64.deb
Selecting previously deselected package libcurl4.
(Reading database ... 7334 files and directories currently installed.)
Unpacking libcurl4 (from .../libcurl4_7.37.1-1+10.8_darwin-x86_64.deb) ...
Selecting previously deselected package libcurl4-shlibs.
Unpacking libcurl4-shlibs (from .../libcurl4-shlibs_7.37.1-1+10.8_darwin-x86_64.deb) ...
Setting up libcurl4-shlibs (7.37.1-1+10.8) ...

Setting up libcurl4 (7.37.1-1+10.8) ...
Clearing dependency_libs of .la files being installed

Setting runtime build-lock...
dpkg-deb -b /sw/build.build/root-fink-buildlock-www-curl-pm5124-4.15-1 /sw/build.build
dpkg-deb: building package `fink-buildlock-www-curl-pm5124-4.15-1' in `/sw/build.build/fink-buildlock-www-curl-pm5124-4.15-1_2014.07.30-16.02.58_darwin-x86_64.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i /sw/build.build/fink-buildlock-www-curl-pm5124-4.15-1_2014.07.30-16.02.58_darwin-x86_64.deb
Selecting previously deselected package fink-buildlock-www-curl-pm5124-4.15-1.
(Reading database ... 7687 files and directories currently installed.)
Unpacking fink-buildlock-www-curl-pm5124-4.15-1 (from .../fink-buildlock-www-curl-pm5124-4.15-1_2014.07.30-16.02.58_darwin-x86_64.deb) ...
Setting up fink-buildlock-www-curl-pm5124-4.15-1 (2014.07.30-16.02.58) ...

sudo -u fink-bld [ENV] sh -c /tmp/fink.OXt3K
env LANG=C LC_ALL=C /sw/bin/tar  --no-same-owner --no-same-permissions -xvf /sw/src/WWW-Curl-4.15.tar.gz
WWW-Curl-4.15/
WWW-Curl-4.15/SIGNATURE
WWW-Curl-4.15/README
WWW-Curl-4.15/Curl.xs
WWW-Curl-4.15/Changes
WWW-Curl-4.15/META.yml
WWW-Curl-4.15/README.Win32
WWW-Curl-4.15/MANIFEST
WWW-Curl-4.15/lib/
WWW-Curl-4.15/lib/WWW/
WWW-Curl-4.15/lib/WWW/Curl.pm
WWW-Curl-4.15/lib/WWW/Curl/
WWW-Curl-4.15/lib/WWW/Curl/Easy.pm
WWW-Curl-4.15/lib/WWW/Curl/Multi.pm
WWW-Curl-4.15/lib/WWW/Curl/Form.pm
WWW-Curl-4.15/lib/WWW/Curl/Share.pm
WWW-Curl-4.15/t/
WWW-Curl-4.15/t/16formpost.t
WWW-Curl-4.15/t/meta.t
WWW-Curl-4.15/t/15duphandle-callback.t
WWW-Curl-4.15/t/20undefined_subs.t
WWW-Curl-4.15/t/04abort-test.t
WWW-Curl-4.15/t/01basic.t
WWW-Curl-4.15/t/pod-coverage.t
WWW-Curl-4.15/t/21write-to-scalar.t
WWW-Curl-4.15/t/05progress.t
WWW-Curl-4.15/t/17slist.t
WWW-Curl-4.15/t/00constants.t
WWW-Curl-4.15/t/10errbuf.t
WWW-Curl-4.15/t/08ssl.t
WWW-Curl-4.15/t/06http-post.t
WWW-Curl-4.15/t/13slowleak.t
WWW-Curl-4.15/t/new/
WWW-Curl-4.15/t/new/04abort.t
WWW-Curl-4.15/t/new/README
WWW-Curl-4.15/t/new/07errbuf.t
WWW-Curl-4.15/t/new/01basic.t
WWW-Curl-4.15/t/new/03body-callback.t
WWW-Curl-4.15/t/new/05progress.t
WWW-Curl-4.15/t/new/00constants.t
WWW-Curl-4.15/t/new/06http-post.t
WWW-Curl-4.15/t/new/10multi-callback.t
WWW-Curl-4.15/t/new/02header-callback.t
WWW-Curl-4.15/t/new/09duphandle-callback.t
WWW-Curl-4.15/t/new/08duphandle.t
WWW-Curl-4.15/t/14duphandle.t
WWW-Curl-4.15/t/pod.t
WWW-Curl-4.15/t/07ftp-upload.t
WWW-Curl-4.15/t/symbols-in-versions
WWW-Curl-4.15/t/19multi.t
WWW-Curl-4.15/t/18twinhandles.t
WWW-Curl-4.15/t/02callbacks.t
WWW-Curl-4.15/t/09times.t
WWW-Curl-4.15/Makefile.PL
WWW-Curl-4.15/inc/
WWW-Curl-4.15/inc/Module/
WWW-Curl-4.15/inc/Module/Install/
WWW-Curl-4.15/inc/Module/Install/External.pm
WWW-Curl-4.15/inc/Module/Install/Can.pm
WWW-Curl-4.15/inc/Module/Install/Base.pm
WWW-Curl-4.15/inc/Module/Install/Metadata.pm
WWW-Curl-4.15/inc/Module/Install/Makefile.pm
WWW-Curl-4.15/inc/Module/Install/MakeMaker.pm
WWW-Curl-4.15/inc/Module/Install.pm
WWW-Curl-4.15/template/
WWW-Curl-4.15/template/Easy.pm.tmpl
WWW-Curl-4.15/template/Share.pm.tmpl
WWW-Curl-4.15/LICENSE
WWW-Curl-4.15/typemap
sudo -u fink-bld [ENV] sh -c /tmp/fink.ryPOn
ARCHFLAGS="" /usr/bin/arch -x86_64 perl5.12.4 Makefile.PL PERL="/usr/bin/arch -x86_64 perl5.12.4" PREFIX=/sw INSTALLPRIVLIB=/sw/lib/perl5/5.12.4 INSTALLARCHLIB=/sw/lib/perl5/5.12.4/darwin-thread-multi-2level INSTALLSITELIB=/sw/lib/perl5/5.12.4 INSTALLSITEARCH=/sw/lib/perl5/5.12.4/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
Locating required external dependency bin:curl-config... found at /sw/bin/curl-config.
The version is libcurl 7.37.1
Found curl.h in /sw/include/curl/curl.h
In file included from /sw/include/curl/curl.h:34:
In file included from /sw/include/curl/curlbuild.h:152:
In file included from /usr/include/sys/socket.h:80:
In file included from /usr/include/Availability.h:148:
/usr/include/AvailabilityInternal.h:4098:10: error: #else without #if
        #else
         ^
/usr/include/AvailabilityInternal.h:4158:10: error: unterminated conditional directive
        #if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_6
         ^
/usr/include/AvailabilityInternal.h:4131:10: error: unterminated conditional directive
        #if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_5
         ^
/usr/include/AvailabilityInternal.h:4108:10: error: unterminated conditional directive
        #if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_4
         ^
4 errors generated.
Building curlopt-constants.c for your libcurl version
Building Easy.pm constants for your libcurl version
Building Share.pm constants for your libcurl version
Checking if your kit is complete...
Looks good
Writing Makefile for WWW::Curl
make CC=gcc CXX=g++
/usr/bin/arch -x86_64 perl5.12.4 "-Iinc" /sw/lib/perl5-core/5.12.4/ExtUtils/xsubpp  -typemap /sw/lib/perl5-core/5.12.4/ExtUtils/typemap -typemap typemap  Curl.xs > Curl.xsc && mv Curl.xsc Curl.c
Running Mkbootstrap for WWW::Curl ()
chmod 644 Curl.bs
cp Curl.bs blib/arch/auto/WWW/Curl/Curl.bs
chmod 644 blib/arch/auto/WWW/Curl/Curl.bs
cp lib/WWW/Curl/Share.pm blib/lib/WWW/Curl/Share.pm
cp lib/WWW/Curl/Form.pm blib/lib/WWW/Curl/Form.pm
cp lib/WWW/Curl.pm blib/lib/WWW/Curl.pm
cp lib/WWW/Curl/Easy.pm blib/lib/WWW/Curl/Easy.pm
cp lib/WWW/Curl/Multi.pm blib/lib/WWW/Curl/Multi.pm
gcc -c  -I/sw/include -I/sw/include -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector -O3   -DVERSION=\"4.15\" -DXS_VERSION=\"4.15\"  "-I/sw/lib/perl5-core/5.12.4/darwin-thread-multi-2level/CORE"   Curl.c
In file included from Curl.xs:567:
./curlopt-constants.c:1725:44: warning: implicit conversion from 'unsigned long' to 'int' changes value from 18446744073709551599 to -17 [-Wconstant-conversion]
            if (strEQ(name, "ANY")) return CURLAUTH_ANY;
                                    ~~~~~~ ^~~~~~~~~~~~
/sw/include/curl/curl.h:640:32: note: expanded from macro 'CURLAUTH_ANY'
#define CURLAUTH_ANY          (~CURLAUTH_DIGEST_IE)
                               ^~~~~~~~~~~~~~~~~~~
In file included from Curl.xs:567:
./curlopt-constants.c:1726:48: warning: implicit conversion from 'unsigned long' to 'int' changes value from 18446744073709551598 to -18 [-Wconstant-conversion]
            if (strEQ(name, "ANYSAFE")) return CURLAUTH_ANYSAFE;
                                        ~~~~~~ ^~~~~~~~~~~~~~~~
/sw/include/curl/curl.h:641:32: note: expanded from macro 'CURLAUTH_ANYSAFE'
#define CURLAUTH_ANYSAFE      (~(CURLAUTH_BASIC|CURLAUTH_DIGEST_IE))
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Curl.xs:1090:26: warning: implicit conversion from enumeration type 'CURLINFO' to different enumeration type 'CURLoption' [-Wenum-conversion]
                curl_easy_setopt(easy, CURLINFO_PRIVATE, NULL);
                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/sw/include/curl/curl.h:2318:68: note: expanded from macro 'curl_easy_setopt'
#define curl_easy_setopt(handle,opt,param) curl_easy_setopt(handle,opt,param)
                                                                   ^
3 warnings generated.
rm -f blib/arch/auto/WWW/Curl/Curl.bundle
LD_RUN_PATH="/sw/lib" env MACOSX_DEPLOYMENT_TARGET=10.3 cc  -L/sw/lib -bundle -undefined dynamic_lookup -fstack-protector Curl.o  -o blib/arch/auto/WWW/Curl/Curl.bundle 	\
	   -L/sw/lib -lcurl  	\
	  
chmod 755 blib/arch/auto/WWW/Curl/Curl.bundle
Manifying blib/man3/WWW::Curl.3pm
/bin/rm -rf /sw/build.build/root-www-curl-pm5124-4.15-1
/bin/mkdir -p /sw/build.build/root-www-curl-pm5124-4.15-1/sw
/bin/mkdir -p /sw/build.build/root-www-curl-pm5124-4.15-1/DEBIAN
/usr/sbin/chown -R fink-bld:fink-bld /sw/build.build/root-www-curl-pm5124-4.15-1
sudo -u fink-bld [ENV] sh -c /tmp/fink.07wny
make -j1 install PREFIX=/sw INSTALLPRIVLIB=/sw/lib/perl5/5.12.4 INSTALLARCHLIB=/sw/lib/perl5/5.12.4/darwin-thread-multi-2level INSTALLSITELIB=/sw/lib/perl5/5.12.4 INSTALLSITEARCH=/sw/lib/perl5/5.12.4/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-www-curl-pm5124-4.15-1
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /sw/build.build/root-www-curl-pm5124-4.15-1/sw/lib/perl5/5.12.4/darwin-thread-multi-2level/auto/WWW/Curl/Curl.bs
Installing /sw/build.build/root-www-curl-pm5124-4.15-1/sw/lib/perl5/5.12.4/darwin-thread-multi-2level/auto/WWW/Curl/Curl.bundle
Installing /sw/build.build/root-www-curl-pm5124-4.15-1/sw/lib/perl5/5.12.4/darwin-thread-multi-2level/WWW/Curl.pm
Installing /sw/build.build/root-www-curl-pm5124-4.15-1/sw/lib/perl5/5.12.4/darwin-thread-multi-2level/WWW/Curl/Easy.pm
Installing /sw/build.build/root-www-curl-pm5124-4.15-1/sw/lib/perl5/5.12.4/darwin-thread-multi-2level/WWW/Curl/Form.pm
Installing /sw/build.build/root-www-curl-pm5124-4.15-1/sw/lib/perl5/5.12.4/darwin-thread-multi-2level/WWW/Curl/Multi.pm
Installing /sw/build.build/root-www-curl-pm5124-4.15-1/sw/lib/perl5/5.12.4/darwin-thread-multi-2level/WWW/Curl/Share.pm
Installing /sw/build.build/root-www-curl-pm5124-4.15-1/sw/share/man/man3/WWW::Curl.3pm
Appending installation info to /sw/build.build/root-www-curl-pm5124-4.15-1/sw/lib/perl5/5.12.4/darwin-thread-multi-2level/perllocal.pod
/bin/mv /sw/build.build/root-www-curl-pm5124-4.15-1/sw/share/man /sw/build.build/root-www-curl-pm5124-4.15-1/sw/lib/perl5/5.12.4
sudo -u fink-bld [ENV] sh -c /tmp/fink.Pm85g
/bin/mkdir -p /sw/build.build/root-www-curl-pm5124-4.15-1/sw/share/podfiles/5.12.4
for i in `find /sw/build.build/root-www-curl-pm5124-4.15-1/sw -name perllocal.pod`; do /bin/cat $i | sed -e s,/sw/build.build/root-www-curl-pm5124-4.15-1/sw/lib/perl5,/sw/lib/perl5, >> /sw/build.build/root-www-curl-pm5124-4.15-1/sw/share/podfiles/5.12.4/perllocal.www-curl-pm5124.pod; /bin/rm -rf $i; done;
/usr/bin/install -d -m 700 /sw/build.build/root-www-curl-pm5124-4.15-1/sw/share/doc/www-curl-pm5124
/bin/cp -r Changes /sw/build.build/root-www-curl-pm5124-4.15-1/sw/share/doc/www-curl-pm5124/
/bin/cp -r README /sw/build.build/root-www-curl-pm5124-4.15-1/sw/share/doc/www-curl-pm5124/
/bin/chmod -R go=u-w /sw/build.build/root-www-curl-pm5124-4.15-1/sw/share/doc/www-curl-pm5124
/bin/rm -f /sw/build.build/root-www-curl-pm5124-4.15-1/sw/info/dir /sw/build.build/root-www-curl-pm5124-4.15-1/sw/info/dir.old /sw/build.build/root-www-curl-pm5124-4.15-1/sw/share/info/dir /sw/build.build/root-www-curl-pm5124-4.15-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-www-curl-pm5124-4.15-1 /sw/fink/10.9/stable/main/binary-darwin-x86_64/libs/perlmods
dpkg-deb: building package `www-curl-pm5124' in `/sw/fink/10.9/stable/main/binary-darwin-x86_64/libs/perlmods/www-curl-pm5124_4.15-1_darwin-x86_64.deb'.
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-www-curl-pm5124-4.15-1
(Reading database ... 7688 files and directories currently installed.)
Removing fink-buildlock-www-curl-pm5124-4.15-1 ...