emerging of sci-mathematics/octave-3.8.2 fails because its calls texi2dvi texi2dvi fails because of bashism: /usr/bin/texi2dvi: 132: /usr/bin/texi2dvi: Syntax error: Bad function name Reproducible: Always Portage 2.2.14 (python 2.7.7-final-0, default/linux/amd64/13.0, gcc-4.9.2, glibc-2.19-r1, 3.16.5-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.16.5-gentoo-x86_64-AMD_A6-4400M_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2 KiB Mem: 3381312 total, 899388 free KiB Swap: 8190972 total, 8190972 free Timestamp of tree: Wed, 10 Dec 2014 06:30:01 +0000 ld GNU gold (Gentoo 2.24.90 p1.0 2.24.90.20141014) 1.11 ccache version 3.1.9 [disabled] app-shells/bash: 4.2_p53 dev-java/java-config: 2.2.0 dev-lang/perl: 5.18.2-r2 dev-lang/python: 2.7.7, 3.4.1 dev-util/ccache: 3.1.9-r3 dev-util/cmake: 2.8.12.2-r1 dev-util/pkgconfig: 0.28-r1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6-r1, 1.13.4 sys-devel/binutils: 2.24.90 sys-devel/gcc: 4.7.3-r1, 4.8.3, 4.9.2 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2-r1 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.16 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo local-crossdev x-portage ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -mtune=native -pipe -O2 -fomit-frame-pointer -ftree-vectorize -g0 -ftree-vrp -fgcse-sm -fgcse-las -fgcse-after-reload -fsched-pressure -fipa-pta -ftree-loop-im -fivopts -fweb -fbranch-target-load-optimize --param=allow-load-data-races=0 -funswitch-loops -ffat-lto-objects -mfpmath=sse -fPIC -frename-registers -fira-loop-pressure -ftree-partial-pre -flive-range-shrinkage -flto=2 -fuse-linker-plugin" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -mtune=native -pipe -O2 -fomit-frame-pointer -ftree-vectorize -g0 -ftree-vrp -fgcse-sm -fgcse-las -fgcse-after-reload -fsched-pressure -fipa-pta -ftree-loop-im -fivopts -fweb -fbranch-target-load-optimize --param=allow-load-data-races=0 -funswitch-loops -ffat-lto-objects -mfpmath=sse -fPIC -frename-registers -fira-loop-pressure -ftree-partial-pre -flive-range-shrinkage -flto=2 -fuse-linker-plugin" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=y --quiet=n" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="rsync://de-mirror.org/gentoo/" LANG="de_DE.utf8" LDFLAGS="-Wl,--as-needed -Wl,--hash-style=gnu -Wl,--icf=safe -Wl,-O1 -march=native -mtune=native -pipe -O2 -fomit-frame-pointer -ftree-vectorize -g0 -ftree-vrp -fgcse-sm -fgcse-las -fgcse-after-reload -fsched-pressure -fipa-pta -ftree-loop-im -fivopts -fweb -fbranch-target-load-optimize --param=allow-load-data-races=0 -funswitch-loops -ffat-lto-objects -mfpmath=sse -fPIC -frename-registers -fira-loop-pressure -ftree-partial-pre -flive-range-shrinkage -flto=2 -fuse-linker-plugin" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage-crossdev /usr/local/portage" USE="3dnow 3dnowext X acl alsa amd64 avx branding fma ipv6 mmx mmxext nls nptl openmp pic sse sse2 ssl ssse3 threads truetype unicode vdpau vim-syntax xinerama" ABI_X86="64" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console pdfimport presenter-minimizer" LINGUAS="de" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="r600 radeon" XFCE_PLUGINS="trash clock" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Might be connected to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619786. However switching temporarily to bash did not helped. It worked however when I executed it as bash /usr/bin/texi2dvi or changed /bin/sh to /bin/bash in shebang.
I reported the problem upstream but the don't know what I'm talking about. ... The "problem" is fixed in version 5.2.0. Emerging =sys-apps/texinfo-5.2.0 solves the problem too.
won't bother investigating since 5.1 isn't in the tree anymore