printf ' ' | fink --no-use-binary-dist --yes rebuild sockets-oct364 2>&1 The package 'sockets-oct364' will be built without being installed. Reading build dependency for sockets-oct364-1.0.8-3... Reading dependency for sockets-oct364-1.0.8-3... Reading build conflict for sockets-oct364-1.0.8-3... The following package will be rebuilt: sockets-oct364 Setting runtime build-lock... dpkg-deb -b /sw/build.build/root-fink-buildlock-sockets-oct364-1.0.8-3 /sw/build.build dpkg-deb: building package `fink-buildlock-sockets-oct364-1.0.8-3' in `/sw/build.build/fink-buildlock-sockets-oct364-1.0.8-3_2014.08.06-22.25.27_darwin-x86_64.deb'. Installing build-lock package... /sw/bin/dpkg-lockwait -i /sw/build.build/fink-buildlock-sockets-oct364-1.0.8-3_2014.08.06-22.25.27_darwin-x86_64.deb Selecting previously deselected package fink-buildlock-sockets-oct364-1.0.8-3. (Reading database ... 17251 files and directories currently installed.) Unpacking fink-buildlock-sockets-oct364-1.0.8-3 (from .../fink-buildlock-sockets-oct364-1.0.8-3_2014.08.06-22.25.27_darwin-x86_64.deb) ... Setting up fink-buildlock-sockets-oct364-1.0.8-3 (2014.08.06-22.25.27) ... env LANG=C LC_ALL=C /sw/bin/tar --no-same-owner --no-same-permissions -xvf /sw/src/sockets-1.0.8.tar.gz sockets/ sockets/NEWS sockets/COPYING sockets/INDEX sockets/src/ sockets/src/test_socket sockets/src/sockets.cc sockets/src/Makefile sockets/src/test_octave_sockets sockets/DESCRIPTION /tmp/fink.lZEYr #!/bin/sh -ev if [ $UID -ne 0 ] then echo "sockets-oct364 cannot be built with --build-as-nobody" exit 1 fi export OCTAVE=/sw/bin/octave-3.6.4 # repack tarball, since octave-3.4.3 appears not to want to install # from directories if [ 364 -ge 343 ] then cd .. tar -cf sockets.tar sockets cd /sw/build.build/sockets-oct364-1.0.8-3/sockets pkgsrc=sockets.tar else pkgsrc=sockets fi /sw/share/octave/3.6.4/scripts/octave-forge-compile.sh $pkgsrc #!/bin/sh -ev cd .. mkdir -p bld/share/octave/3.6.4/packages bld/lib/octave/3.6.4/packages cp /sw/share/octave/3.6.4/scripts/octave-forge-comp /sw/share/octave/3.6.4/scripts/octave-forge-inst bld chmod a+x bld/octave-forge* sed -i.bak -e "s/@PKGNAME@/$1/" bld/octave-forge* `which xvfb-run` bld/octave-forge-comp which xvfb-run GNU Octave, version 3.6.4 Copyright (C) 2013 John W. Eaton and others. This is free software; see the source code for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'. Octave was configured for "x86_64-apple-darwin". Additional information about Octave is available at http://www.octave.org. Please contribute if you find this software useful. For more information, visit http://www.octave.org/get-involved.html Read http://www.octave.org/bugs.html to learn how to submit bug reports. For information about changes from previous versions, type `news'. executing commands from /sw/share/octave/3.6.4/m/startup/octaverc ... done. ans = /sw/build.build/sockets-oct364-1.0.8-3/bld/share/octave/3.6.4/packages mkdir (/var/tmp/oct-aXide8) untar (./sockets.tar, /var/tmp/oct-aXide8) mkoctfile: stripping disabled on this platform sockets.cc:151:29: warning: control reaches end of non-void function [-Wreturn-type] bool is_data_available() {}; ^ sockets.cc:226:17: error: invalid token at start of a preprocessor expression #if MAJORVERSION==3 && MINORVERSION<2 ^ sockets.cc:435:18: error: invalid token at start of a preprocessor expression #if MINORVERSION <= 2 ^ sockets.cc:894:21: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] octave_socket temp(); ^~ sockets.cc:894:21: note: remove parentheses to declare a variable octave_socket temp(); ^~ 2 warnings and 2 errors generated. make: *** [sockets.oct] Error 1 'make' returned the following error: mkoctfile -DMAJORVERSION= -DMINORVERSION= -DMICROVERSION= -s sockets.cc error: called from 'pkg>configure_make' in file /sw/share/octave/3.6.4/m/pkg/pkg.m near line 1385, column 9 error: called from: error: /sw/share/octave/3.6.4/m/pkg/pkg.m at line 827, column 5 error: /sw/share/octave/3.6.4/m/pkg/pkg.m at line 383, column 9 error: /sw/build.build/sockets-oct364-1.0.8-3/bld/octave-forge-comp at line 4, column 1 ### execution of /tmp/fink.lZEYr failed, exit code 1 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-sockets-oct364-1.0.8-3 (Reading database ... 17252 files and directories currently installed.) Removing fink-buildlock-sockets-oct364-1.0.8-3 ... Failed: phase compiling: sockets-oct364-1.0.8-3 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 The Fink Beginners List , with a carbon copy to the maintainer: Alexander Hansen 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 sockets-oct364-1.0.8-3 is set to build with only one job.