printf '

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

sudo -u fink-bld [ENV] sh -c /tmp/fink.9MdoM
env LANG=C LC_ALL=C /sw/bin/tar  --no-same-owner --no-same-permissions -xvf /sw/src/mclust_4.3.tar.gz
mclust/
mclust/inst/
mclust/inst/CITATION
mclust/inst/NEWS
mclust/inst/doc/
mclust/inst/doc/mclust.pdf
mclust/inst/doc/mclust.Rnw
mclust/inst/doc/mclust-weights.Rnw
mclust/inst/doc/mclust-weights.pdf
mclust/src/
mclust/src/Makevars
mclust/src/mclust.f
mclust/NAMESPACE
mclust/data/
mclust/data/Baudry_etal_2010_JCGS_examples.rda
mclust/data/chevron.rda
mclust/data/GvHD.rda
mclust/data/wreath.rda
mclust/data/cross.rda
mclust/data/diabetes.rda
mclust/data/banknote.txt.gz
mclust/R/
mclust/R/mclust.R
mclust/R/mclustdr.R
mclust/R/densityMclust.R
mclust/R/mclustda.R
mclust/R/icl.R
mclust/R/weights.R
mclust/R/clustCombi.R
mclust/R/zzz.R
mclust/vignettes/
mclust/vignettes/mclust.Rnw
mclust/vignettes/mclust-weights.Rnw
mclust/MD5
mclust/build/
mclust/build/vignette.rds
mclust/DESCRIPTION
mclust/man/
mclust/man/em.Rd
mclust/man/simE.Rd
mclust/man/surfacePlot.Rd
mclust/man/me.Rd
mclust/man/logLik.MclustDA.Rd
mclust/man/dens.Rd
mclust/man/meE.Rd
mclust/man/densityMclust.Rd
mclust/man/hypvol.Rd
mclust/man/cv.MclustDA.Rd
mclust/man/clustCombi.Rd
mclust/man/plot.densityMclust.Rd
mclust/man/mclustVariance.Rd
mclust/man/plot.MclustDR.Rd
mclust/man/cv1EMtrain.Rd
mclust/man/estep.Rd
mclust/man/chevron.Rd
mclust/man/map.Rd
mclust/man/mclust-package.Rd
mclust/man/mclust2Dplot.Rd
mclust/man/partuniq.Rd
mclust/man/plot.clustCombi.Rd
mclust/man/classError.Rd
mclust/man/wreath.Rd
mclust/man/logLik.Mclust.Rd
mclust/man/mclustBIC.Rd
mclust/man/combMat.Rd
mclust/man/Baudry_etal_2010_JCGS_examples.Rd
mclust/man/mclustICL.Rd
mclust/man/mvnX.Rd
mclust/man/plot.mclustBIC.Rd
mclust/man/priorControl.Rd
mclust/man/mstepE.Rd
mclust/man/estepE.Rd
mclust/man/cross.Rd
mclust/man/clustCombi-internals.Rd
mclust/man/hclass.Rd
mclust/man/adjustedRandIndex.Rd
mclust/man/imputePairs.Rd
mclust/man/mclustModelNames.Rd
mclust/man/randProj.Rd
mclust/man/summary.mclustBIC.Rd
mclust/man/bicEMtrain.Rd
mclust/man/mapClass.Rd
mclust/man/emE.Rd
mclust/man/summary.Mclust.Rd
mclust/man/bic.Rd
mclust/man/emControl.Rd
mclust/man/cdensE.Rd
mclust/man/partconv.Rd
mclust/man/mclust-internal.Rd
mclust/man/entPlot.Rd
mclust/man/GvHD.Rd
mclust/man/predict.Mclust.Rd
mclust/man/decomp2sigma.Rd
mclust/man/MclustDA.Rd
mclust/man/mstep.Rd
mclust/man/print.clustCombi.Rd
mclust/man/nVarParams.Rd
mclust/man/predict.MclustDR.Rd
mclust/man/cdens.Rd
mclust/man/unmap.Rd
mclust/man/mclustModel.Rd
mclust/man/hcE.Rd
mclust/man/hc.Rd
mclust/man/coordProj.Rd
mclust/man/cdfMclust.Rd
mclust/man/densityMclust.diagnostic.Rd
mclust/man/combiPlot.Rd
mclust/man/mclust1Dplot.Rd
mclust/man/clPairs.Rd
mclust/man/banknote.Rd
mclust/man/plot.mclustICL.Rd
mclust/man/summary.MclustDR.Rd
mclust/man/predict.MclustDA.Rd
mclust/man/Mclust.Rd
mclust/man/plot.MclustDA.Rd
mclust/man/mvn.Rd
mclust/man/imputeData.Rd
mclust/man/diabetes.Rd
mclust/man/MclustDR.Rd
mclust/man/summary.MclustDA.Rd
mclust/man/plot.Mclust.Rd
mclust/man/uncerPlot.Rd
mclust/man/sigma2decomp.Rd
mclust/man/mclust.options.Rd
mclust/man/icl.Rd
mclust/man/me.weighted.Rd
mclust/man/sim.Rd
mclust/man/predict.densityMclust.Rd
mclust/man/defaultPrior.Rd
sudo -u fink-bld [ENV] sh -c /tmp/fink.hCVK6
/tmp/fink.0zz5Y
#!/bin/bash -ev
  export TMPDIR=/sw/build.build/cran-mclust-r30-4.3-2/mclust/tmp
  BIN_R=/sw/Library/Frameworks/R.framework/Versions/3.0/Resources/bin/R
  
  pushd ..
/sw/build.build/cran-mclust-r30-4.3-2 /sw/build.build/cran-mclust-r30-4.3-2/mclust

  if [[ 3.0 > 2.15 ]]; then
    $BIN_R --verbose CMD build --no-build-vignettes mclust
  else
    $BIN_R --verbose CMD build --no-vignettes mclust
  fi
* checking for file 'mclust/DESCRIPTION' ... OK
* preparing 'mclust':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* checking vignette meta-information ... OK
* 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 'mclust_4.3.tar.gz'

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

	Jack Howarth <howarth.at.fink@gmail.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