printf '

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

env LANG=C LC_ALL=C /sw/bin/tar  --no-same-owner --no-same-permissions -xvf /sw/src/combinatorics-2.0.0.tar.gz
combinatorics/inst/dummy
combinatorics/NEWS
combinatorics/DESCRIPTION
combinatorics/COPYING
combinatorics/inst/
combinatorics/
/tmp/fink.0kR5y
#!/bin/sh -ev
if [ $UID -ne 0 ]
then 
	echo "combinatorics-oct362 cannot be built with --build-as-nobody"
	exit 1
fi
export OCTAVE=/sw/bin/octave-3.6.2 
# repack tarball, since octave-3.4.3 appears not to want to install
# from directories
cd ..
tar -cf combinatorics-2.0.0.tar combinatorics
cd /sw/build.build/combinatorics-oct362-2.0.0-2/combinatorics
pkgsrc=combinatorics-2.0.0.tar
/sw/share/octave/3.6.2/scripts/octave-forge-compile.sh $pkgsrc
/tmp/fink.0kR5y: line 14: /sw/share/octave/3.6.2/scripts/octave-forge-compile.sh: No such file or directory
### execution of /tmp/fink.0kR5y failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-combinatorics-oct362-2.0.0-2
(Reading database ... 7829 files and directories currently installed.)
Removing fink-buildlock-combinatorics-oct362-2.0.0-2 ...
Failed: phase compiling: combinatorics-oct362-2.0.0-2 failed

Before reporting any errors, please run "fink selfupdate" and try 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:

	Alexander Hansen <alexkhansen@users.sourceforge.net>

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
combinatorics-oct362-2.0.0-2 is set to build with only one job.