Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215551 - sys-apps/texinfo-4.8-r5 failed to unmerge with "error processing environment"
Summary: sys-apps/texinfo-4.8-r5 failed to unmerge with "error processing environment"
Status: RESOLVED DUPLICATE of bug 211833
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-31 10:59 UTC by Martin Weber
Modified: 2008-04-20 18:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Weber 2008-03-31 10:59:34 UTC
When upgrading from sys-apps/texinfo-4.8-r5 to sys-apps/texinfo-4.11-r1 the unmerge step of the package fails with the following error message:

>>> Unmerging sys-apps/texinfo-4.8-r5...
/var/tmp/binpkgs/sys-apps/texinfo-4.8-r5/temp/environment: line 251: syntax error near unexpected token `('
/var/tmp/binpkgs/sys-apps/texinfo-4.8-r5/temp/environment: line 251: `            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.

 

Reproducible: Always

Steps to Reproduce:
1. emerge --unmerge sys-apps/texinfo-4.8-r5

Actual Results:  
>>> Unmerging sys-apps/texinfo-4.8-r5...
/var/tmp/binpkgs/sys-apps/texinfo-4.8-r5/temp/environment: line 251: syntax error near unexpected token `('
/var/tmp/binpkgs/sys-apps/texinfo-4.8-r5/temp/environment: line 251: `            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.



Expected Results:  
Clean removal of all files.

emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r3-mkw i686)
=================================================================
System uname: 2.6.24-gentoo-r3-mkw i686 Intel(R) Pentium(R) M processor 1500MHz
Timestamp of tree: Sun, 30 Mar 2008 17:15: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.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium-m -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
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 -pipe -march=pentium-m -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://gentoo.osuosl.org"
LINGUAS="en de"
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.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac accessibility acpi akode alsa amr arts artswrappersuid asf audiofile bash-completion blas bzip2 cairo calendar cdr cli cracklib crypt css cups dbus dga divx dmx dri dts dv dvb dvd dvdr dvdread emacs emboss enblend encode exif fam fax ffmpeg firefox foomaticdb fortran gcj gdbm gif gimp gphoto2 gpm gstreamer gtk hal iconv imagemagick imap ipv6 irda isdnlog java jce jpeg jpeg2k kde kerberos krb4 lcms ldap leim mad maildir mbox midi mikmod mime mjpeg mmap mmx mng mono mp3 mpeg mplayer mudflap mule ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcmcia pcre pdf perl png posix ppds pppd python qt3 qt3support qt4 quicktime readline real reflection scanner sdl session sockets spell spl sse sse2 ssl subtitles svg symlink syslog tcpd tetex threads tidy tiff truetype unicode usb v4l v4l2 vcd vidix vorbis wifi win32codecs wmf x86 xine xinerama xml xorg xv xvid xvmc 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="fbdev radeon vesa vmware fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-03-31 19:28:38 UTC
rm /var/db/pkg/sys-apps/texinfo-4.8-r5/environment.bz2 is the workaround


*** This bug has been marked as a duplicate of bug 211833 ***
Comment 2 Danny 2008-04-20 18:34:44 UTC
Just thought I'd drop in to say this one hit me too.