/usr/src/gx86/eclass/fortran-2.eclass: line 116: syntax error near unexpected token `>' /usr/src/gx86/eclass/fortran-2.eclass: line 116: ` ${fcomp} "${fcode}" -o "${fcode}.x" &>> "${T}"/_fortran_compile_test.log' * ERROR: sci-libs/fftw-3.2.2-r2 failed (depend phase): * died sourcing /usr/src/gx86/eclass/fortran-2.eclass in inherit() * * Call stack: * ebuild.sh, line 551: Called source '/usr/src/gx86/sci-libs/fftw/fftw-3.2.2-r2.ebuild' * fftw-3.2.2-r2.ebuild, line 9: Called inherit 'autotools' 'eutils' 'flag-o-matic' 'fortran-2' 'toolchain-funcs' * ebuild.sh, line 286: Called die * The specific snippet of code: * __qa_source "$location" || die "died sourcing $location in inherit()" * * If you need support, post the output of `emerge --info '=sci-libs/fftw-3.2.2-r2'`, * the complete build log and the output of `emerge -pqv '=sci-libs/fftw-3.2.2-r2'`. * This ebuild used the following eclasses from overlays: * /usr/src/gx86/eclass/autotools.eclass * /usr/src/gx86/eclass/libtool.eclass * /usr/src/gx86/eclass/multilib.eclass * /usr/src/gx86/eclass/toolchain-funcs.eclass * /usr/src/gx86/eclass/multiprocessing.eclass * /usr/src/gx86/eclass/eutils.eclass * /usr/src/gx86/eclass/user.eclass * /usr/src/gx86/eclass/flag-o-matic.eclass * /usr/src/gx86/eclass/fortran-2.eclass * This ebuild is from an overlay named 'gentoo-cvs': '/usr/src/gx86/' * Working directory: '/home/mgorny' * S: '/tmp/portage/sci-libs/fftw-3.2.2-r2/work/fftw-3.2.2' [the overlay is just a gentoo CVS checkout]
Do I see it correctly that exchanging &>> with 2>&1 >> is sufficient?
(In reply to comment #1) > Do I see it correctly that exchanging > > &>> > > with > > 2>&1 >> > > is sufficient? Rather >>foo 2>&1. 2>&1 will cause dup of stdout to stderr, but you want to dup the replaced-stdout.
Thanks for your help, + 13 Mar 2013; Justin Lecher <jlec@gentoo.org> fortran-2.eclass: + Fix fortran-2.eclass for bash-3.2 compatibility +