printf ' ' | fink --no-use-binary-dist --yes rebuild lssa-oct364 2>&1 The package 'lssa-oct364' will be built without being installed. Reading build dependency for lssa-oct364-0.1.2-2... Reading dependency for lssa-oct364-0.1.2-2... Reading build conflict for lssa-oct364-0.1.2-2... The following package will be rebuilt: lssa-oct364 Setting runtime build-lock... dpkg-deb -b /sw/build.build/root-fink-buildlock-lssa-oct364-0.1.2-2 /sw/build.build dpkg-deb: building package `fink-buildlock-lssa-oct364-0.1.2-2' in `/sw/build.build/fink-buildlock-lssa-oct364-0.1.2-2_2014.07.26-11.40.18_darwin-x86_64.deb'. Installing build-lock package... /sw/bin/dpkg-lockwait -i /sw/build.build/fink-buildlock-lssa-oct364-0.1.2-2_2014.07.26-11.40.18_darwin-x86_64.deb Selecting previously deselected package fink-buildlock-lssa-oct364-0.1.2-2. (Reading database ... 16807 files and directories currently installed.) Unpacking fink-buildlock-lssa-oct364-0.1.2-2 (from .../fink-buildlock-lssa-oct364-0.1.2-2_2014.07.26-11.40.18_darwin-x86_64.deb) ... Setting up fink-buildlock-lssa-oct364-0.1.2-2 (2014.07.26-11.40.18) ... env LANG=C LC_ALL=C /sw/bin/tar --no-same-owner --no-same-permissions -xvf /sw/src/lssa-0.1.2.tar.gz lssa/ lssa/COPYING lssa/DESCRIPTION lssa/INDEX lssa/inst/ lssa/NEWS lssa/src/ lssa/src/fastlscomplex.cc lssa/src/fastlsreal.cc lssa/src/Makefile lssa/inst/cubicwgt.m lssa/inst/lombcoeff.m lssa/inst/lombnormcoeff.m lssa/inst/lscomplex.m lssa/inst/lscorrcoeff.m lssa/inst/lsreal.m lssa/inst/lswaveletcoeff.m /tmp/fink.rcRul #!/bin/sh -ev #--build-as-nobody blocker if [ $UID -ne 0 ] then echo "lssa-oct364 cannot be built with --build-as-nobody" exit 1 fi export OCTAVE=/sw/bin/octave-3.6.4 # usually srcdir=%type_pkg[forge] these days, but sometimes it's still # %type_pkg[forge]-%v srcdir=lssa # repack tarball, since octave-3.4.3+ appears not to want to install # from directories cd .. pkgsrc=$srcdir-0.1.2.tar tar -cvf $pkgsrc $srcdir lssa/ lssa/COPYING lssa/DESCRIPTION lssa/INDEX lssa/inst/ lssa/inst/cubicwgt.m lssa/inst/lombcoeff.m lssa/inst/lombnormcoeff.m lssa/inst/lscomplex.m lssa/inst/lscorrcoeff.m lssa/inst/lsreal.m lssa/inst/lswaveletcoeff.m lssa/NEWS lssa/src/ lssa/src/fastlscomplex.cc lssa/src/fastlsreal.cc lssa/src/Makefile cd /sw/build.build/lssa-oct364-0.1.2-2/lssa /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/lssa-oct364-0.1.2-2/bld/share/octave/3.6.4/packages mkdir (/var/tmp/oct-d0brOQ) untar (./lssa-0.1.2.tar, /var/tmp/oct-d0brOQ) fastlscomplex.cc:65:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ fastlscomplex.cc:375:68: error: expression is not assignable record_current->power_series[p].real() -= h.imag(); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ fastlscomplex.cc:376:68: error: expression is not assignable record_current->power_series[p].imag() += h.real(); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ fastlscomplex.cc:389:68: error: expression is not assignable record_current->power_series[p].real() -= h.imag(); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ fastlscomplex.cc:390:68: error: expression is not assignable record_current->power_series[p].imag() += h.real(); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ fastlscomplex.cc:425:74: error: expression is not assignable record_current->power_series[p].real() -= h.imag(); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ fastlscomplex.cc:426:74: error: expression is not assignable record_current->power_series[p].imag() += h.real(); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ fastlscomplex.cc:439:74: error: expression is not assignable record_current->power_series[p].real() -= h.imag(); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ fastlscomplex.cc:440:74: error: expression is not assignable record_current->power_series[p].imag() += h.real(); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ fastlscomplex.cc:470:71: error: expression is not assignable record_next->power_series[q].real() -= h.imag(); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ fastlscomplex.cc:471:71: error: expression is not assignable record_next->power_series[q].imag() += h.real(); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ fastlscomplex.cc:484:71: error: expression is not assignable record_next->power_series[q].real() -= h.imag(); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ fastlscomplex.cc:485:71: error: expression is not assignable record_next->power_series[q].imag() += h.real(); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 1 warning and 12 errors generated. make: *** [fastlscomplex.oct] Error 1 'make' returned the following error: /sw/bin/mkoctfile-3.6.4 fastlscomplex.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/lssa-oct364-0.1.2-2/bld/octave-forge-comp at line 4, column 1 ### execution of /tmp/fink.rcRul failed, exit code 1 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-lssa-oct364-0.1.2-2 (Reading database ... 16808 files and directories currently installed.) Removing fink-buildlock-lssa-oct364-0.1.2-2 ... Failed: phase compiling: lssa-oct364-0.1.2-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 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 lssa-oct364-0.1.2-2 is set to build with only one job.