printf '

' | fink --no-use-binary-dist --yes  rebuild cran-cluster-r30 2>&1
The package 'cran-cluster-r30' will be built without being installed.
Reading build dependency for cran-cluster-r30-1.15.2-2...
Reading dependency for cran-cluster-r30-1.15.2-2...
Reading build conflict for cran-cluster-r30-1.15.2-2...
The following package will be rebuilt:
 cran-cluster-r30
Setting runtime build-lock...
dpkg-deb -b /sw/build.build/root-fink-buildlock-cran-cluster-r30-1.15.2-2 /sw/build.build
dpkg-deb: building package `fink-buildlock-cran-cluster-r30-1.15.2-2' in `/sw/build.build/fink-buildlock-cran-cluster-r30-1.15.2-2_2014.07.27-11.44.29_darwin-x86_64.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i /sw/build.build/fink-buildlock-cran-cluster-r30-1.15.2-2_2014.07.27-11.44.29_darwin-x86_64.deb
Selecting previously deselected package fink-buildlock-cran-cluster-r30-1.15.2-2.
(Reading database ... 7384 files and directories currently installed.)
Unpacking fink-buildlock-cran-cluster-r30-1.15.2-2 (from .../fink-buildlock-cran-cluster-r30-1.15.2-2_2014.07.27-11.44.29_darwin-x86_64.deb) ...
Setting up fink-buildlock-cran-cluster-r30-1.15.2-2 (2014.07.27-11.44.29) ...

sudo -u fink-bld [ENV] sh -c /tmp/fink.IVNUl
env LANG=C LC_ALL=C /sw/bin/tar  --no-same-owner --no-same-permissions -xvf /sw/src/cluster_1.15.2.tar.gz
cluster/
cluster/po/
cluster/po/update-me.sh
cluster/po/R-fr.po
cluster/po/R-de.po
cluster/po/R-en@quot.po
cluster/po/cluster.pot
cluster/po/R-cluster.pot
cluster/po/R-pl.po
cluster/inst/
cluster/inst/po/
cluster/inst/po/pl/
cluster/inst/po/pl/LC_MESSAGES/
cluster/inst/po/pl/LC_MESSAGES/R-cluster.mo
cluster/inst/po/en@quot/
cluster/inst/po/en@quot/LC_MESSAGES/
cluster/inst/po/en@quot/LC_MESSAGES/cluster.mo
cluster/inst/po/en@quot/LC_MESSAGES/R-cluster.mo
cluster/inst/po/fr/
cluster/inst/po/fr/LC_MESSAGES/
cluster/inst/po/fr/LC_MESSAGES/R-cluster.mo
cluster/inst/po/de/
cluster/inst/po/de/LC_MESSAGES/
cluster/inst/po/de/LC_MESSAGES/R-cluster.mo
cluster/inst/CITATION
cluster/tests/
cluster/tests/mona.Rout.save
cluster/tests/ellipsoid-ex.Rout.save
cluster/tests/daisy-ex.Rout.save
cluster/tests/clara.Rout.save
cluster/tests/diana-boots.R
cluster/tests/silhouette-default.R
cluster/tests/agnes-ex.R
cluster/tests/ellipsoid-ex.R
cluster/tests/diana-ex.Rout.save
cluster/tests/clara-ex.R
cluster/tests/silhouette-default.Rout.save
cluster/tests/clusplot-out.Rout.save
cluster/tests/mona.R
cluster/tests/agnes-ex.Rout.save
cluster/tests/pam.R
cluster/tests/clara-NAs.R
cluster/tests/clara.R
cluster/tests/fanny-ex.R
cluster/tests/daisy-ex.R
cluster/tests/pam.Rout.save
cluster/tests/clusplot-out.R
cluster/tests/clara-NAs.Rout.save
cluster/tests/sweep-ex.R
cluster/tests/diana-ex.R
cluster/src/
cluster/src/spannel.c
cluster/src/pam.c
cluster/src/sildist.c
cluster/src/daisy.f
cluster/src/mona.f
cluster/src/fanny.c
cluster/src/cluster.h
cluster/src/clara.c
cluster/src/twins.c
cluster/src/dysta.f
cluster/src/ind_2.h
cluster/src/init.c
cluster/NAMESPACE
cluster/data/
cluster/data/agriculture.tab
cluster/data/ruspini.tab
cluster/data/plantTraits.rda
cluster/data/chorSub.rda
cluster/data/flower.R
cluster/data/xclara.rda
cluster/data/animals.tab
cluster/data/pluton.tab
cluster/data/votes.repub.tab
cluster/PORTING
cluster/R/
cluster/R/clusGap.R
cluster/R/fanny.q
cluster/R/0aaa.R
cluster/R/plothier.q
cluster/R/plotpart.q
cluster/R/ellipsoidhull.R
cluster/R/pam.q
cluster/R/coef.R
cluster/R/daisy.q
cluster/R/internal.R
cluster/R/diana.q
cluster/R/mona.q
cluster/R/clara.q
cluster/R/silhouette.R
cluster/R/agnes.q
cluster/R/zzz.R
cluster/MD5
cluster/README
cluster/DESCRIPTION
cluster/ChangeLog
cluster/man/
cluster/man/print.clara.Rd
cluster/man/agnes.Rd
cluster/man/plot.partition.Rd
cluster/man/plantTraits.Rd
cluster/man/mona.object.Rd
cluster/man/chorSub.Rd
cluster/man/pluton.Rd
cluster/man/lower.to.upper.tri.inds.Rd
cluster/man/clusplot.partition.Rd
cluster/man/summary.mona.Rd
cluster/man/agnes.object.Rd
cluster/man/bannerplot.Rd
cluster/man/plot.mona.Rd
cluster/man/agriculture.Rd
cluster/man/clara.object.Rd
cluster/man/silhouette.Rd
cluster/man/cluster-internal.Rd
cluster/man/print.pam.Rd
cluster/man/daisy.Rd
cluster/man/partition.object.Rd
cluster/man/plot.diana.Rd
cluster/man/pam.Rd
cluster/man/print.mona.Rd
cluster/man/volume.ellipsoid.Rd
cluster/man/plot.agnes.Rd
cluster/man/clusGap.Rd
cluster/man/print.dissimilarity.Rd
cluster/man/animals.Rd
cluster/man/predict.ellipsoid.Rd
cluster/man/pam.object.Rd
cluster/man/flower.Rd
cluster/man/summary.agnes.Rd
cluster/man/fanny.object.Rd
cluster/man/print.agnes.Rd
cluster/man/summary.diana.Rd
cluster/man/ellipsoidhull.Rd
cluster/man/print.diana.Rd
cluster/man/votes.repub.Rd
cluster/man/dissimilarity.object.Rd
cluster/man/summary.clara.Rd
cluster/man/summary.pam.Rd
cluster/man/clara.Rd
cluster/man/xclara.Rd
cluster/man/coef.hclust.Rd
cluster/man/pltree.Rd
cluster/man/clusplot.default.Rd
cluster/man/print.fanny.Rd
cluster/man/sizeDiss.Rd
cluster/man/fanny.Rd
cluster/man/twins.object.Rd
cluster/man/pltree.twins.Rd
cluster/man/diana.Rd
cluster/man/ruspini.Rd
cluster/man/mona.Rd
cluster/INDEX
sudo -u fink-bld [ENV] sh -c /tmp/fink.lFrk1
/tmp/fink.JraTK
#!/bin/sh -ev
  export TMPDIR=/sw/build.build/cran-cluster-r30-1.15.2-2/cluster/tmp
  BIN_R=/sw/Library/Frameworks/R.framework/Versions/3.0/Resources/bin/R
  
  pushd ..
/sw/build.build/cran-cluster-r30-1.15.2-2 /sw/build.build/cran-cluster-r30-1.15.2-2/cluster
  if [[ 3.0 > 2.15 ]]; then
    $BIN_R --verbose CMD build --no-build-vignettes cluster
  else
    $BIN_R --verbose CMD build --no-vignettes cluster
  fi
* checking for file 'cluster/DESCRIPTION' ... OK
* preparing 'cluster':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* checking whether 'INDEX' is up-to-date ... NO
* use '--force' to remove the existing 'INDEX'
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* looking to see if a 'data/datalist' file should be added
* building 'cluster_1.15.2.tar.gz'

/bin/rm -rf /sw/build.build/root-cran-cluster-r30-1.15.2-2
/bin/mkdir -p /sw/build.build/root-cran-cluster-r30-1.15.2-2/sw
/bin/mkdir -p /sw/build.build/root-cran-cluster-r30-1.15.2-2/DEBIAN
/usr/sbin/chown -R fink-bld:fink-bld /sw/build.build/root-cran-cluster-r30-1.15.2-2
sudo -u fink-bld [ENV] sh -c /tmp/fink._Pc2i
/tmp/fink.XrS3g
#!/bin/sh -ev
  BIN_R=/sw/Library/Frameworks/R.framework/Versions/3.0/Resources/bin/R
  
  mkdir -p /sw/build.build/root-cran-cluster-r30-1.15.2-2/sw/lib/R/3.0/site-library
  pushd /sw/build.build/cran-cluster-r30-1.15.2-2/cluster/.. && $BIN_R --verbose CMD install --library=/sw/build.build/root-cran-cluster-r30-1.15.2-2/sw/lib/R/3.0/site-library cluster
/sw/build.build/cran-cluster-r30-1.15.2-2 /sw/build.build/cran-cluster-r30-1.15.2-2/cluster
* installing *source* package 'cluster' ...
** package 'cluster' successfully unpacked and MD5 sums checked
** libs
flag-sort -r gcc -ffor-scope -I/sw/Library/Frameworks/R.framework/Versions/3.0/Resources/include -DNDEBUG  -I/sw/include    -fPIC  -g -O3  -c clara.c -o clara.o
/sw/bin/gfortran-fsf-4.9   -fPIC  -g -O3  -c daisy.f -o daisy.o
make: /sw/bin/gfortran-fsf-4.9: No such file or directory
make: *** [daisy.o] Error 1
ERROR: compilation failed for package 'cluster'
* removing '/sw/build.build/root-cran-cluster-r30-1.15.2-2/sw/lib/R/3.0/site-library/cluster'
### execution of /tmp/fink.XrS3g failed, exit code 1
### execution of /tmp/fink._Pc2i failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-cran-cluster-r30-1.15.2-2
(Reading database ... 7385 files and directories currently installed.)
Removing fink-buildlock-cran-cluster-r30-1.15.2-2 ...
Failed: phase installing: cran-cluster-r30-1.15.2-2 failed

Before reporting any errors, please run "fink selfupdate" and try again.
Also try using "fink configure" to set your maximum build jobs to 1 and
attempt to build the package again.
If you continue to have issues, please check to see if the FAQ on Fink's 
website solves the problem.  If not, ask on one (not both, please) of
these mailing lists:

	The Fink Users List <fink-users@lists.sourceforge.net>
	The Fink Beginners List <fink-beginners@lists.sourceforge.net>,

with a carbon copy to the maintainer:

	BABA Yoshihiko <babayoshihiko@mac.com>

Note that this is preferable to emailing just the maintainer directly,
since most fink package maintainers do not have access to all possible
hardware and software configurations.

Please try to include the complete error message in your report.  This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.

Also include the following system information:
Package manager version: 0.37.0
Distribution version: selfupdate-cvs Thu Jul 24 20:26:24 2014, 10.9, x86_64
Trees: local/main stable/main
Xcode.app: 5.1.1
Xcode command-line tools: 6.0.0.0.1.1405597879
Max. Fink build jobs:  8