After I do a 'emerge -u world' portage decides it needs to auto-clean texinfo-4.8-r5 (8.11-r1 is still installed). It all goes pear shaped with the follwing message: >>> Unmerging sys-apps/texinfo-4.8-r5... /var/tmp/binpkgs/sys-apps/texinfo-4.8-r5/temp/environment: line 261: syntax error near unexpected token `(' /var/tmp/binpkgs/sys-apps/texinfo-4.8-r5/temp/environment: line 261: ` done <<(get_mounts);' * * ERROR: sys-apps/texinfo-4.8-r5 failed. * Call stack: * ebuild.sh, line 1641: Called die * The specific snippet of code: * preprocess_ebuild_env || \ * die "error processing environment" * The die message: * error processing environment * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/binpkgs/sys-apps/texinfo-4.8-r5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/binpkgs/sys-apps/texinfo-4.8-r5/temp/environment'. * !!! FAILED prerm: 1 * The 'prerm' phase of the 'sys-apps/texinfo-4.8-r5' package has failed * with exit value 1. The problem occurred while executing the ebuild * located at '/var/db/pkg/sys-apps/texinfo-4.8-r5/texinfo-4.8-r5.ebuild'. * If necessary, manually remove the ebuild in order to skip the execution * of removal phases. Seems there is a syntax error in the ebuild. Reproducible: Always Steps to Reproduce: 1. emerge -u world 2. portage tries to auto clean textinfo-8.4-r5 Actual Results: unmerge of texinfo fails Expected Results: clean unmerge of texinfo emerge --info: *** Deprecated use of action 'info', use '--info' instead Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 i686) ================================================================= System uname: 2.6.22-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Timestamp of tree: Mon, 14 Apr 2008 20:04:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.is.co.za/linux/distributions/gentoo ftp://ftp.rucus.ru.ac.za/pub/linux/gentoo ftp://gentoo.mirror.ac.za" LANG="en_ZA.UTF-8" LINGUAS="en_ZA en_GB" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 acl alsa avahi bash-completion berkdb bitmap-fonts bonjour cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo exif fam firefox flac fortran gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jpeg kerberos mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pango pcre pdf perl png pppd python qt3support quicktime readline reflection ruby sdl session speex spell spl ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode vim-syntax vorbis win32codecs x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_ZA en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Could you grep /var/log/emerge.logs for the date on which the older version of texinfo was emerged last? And which version of sys-apps/portage was in use back then?
*** This bug has been marked as a duplicate of bug 211833 ***