Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 210580 - x11-themes/fvwm-crystal creates un-sourceable environment, breaking emerge
Summary: x11-themes/fvwm-crystal creates un-sourceable environment, breaking emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Lukasz Strzygowski (RETIRED)
URL:
Whiteboard:
Keywords:
: 211882 (view as bug list)
Depends on: 212025
Blocks:
  Show dependency tree
 
Reported: 2008-02-18 14:54 UTC by Andreas Buck
Modified: 2008-06-22 19:50 UTC (History)
5 users (show)

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


Attachments
envfix.sh (envfix.sh,3.12 KB, text/plain)
2008-02-25 13:49 UTC, Lukasz Strzygowski (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Buck 2008-02-18 14:54:33 UTC
emerge failes after accessing the temp/environment file for any ebuild, printing "command not found" messages for a list of environment variables

Reproducible: Always

Steps to Reproduce:
1. open konsole
2. switch to su mode
3. execute "emerge -av <somepackagesname>" as in "emerge -av portage"
Actual Results:  
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking libggiwmh-0.3.2.src.tar.bz2 ;-) ...                           [ ok ]
>>> cfg-update-1.8.2-r1: Creating checksum index...
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 20: Colorset-Author=QsoRiX: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 21: Colorset-Name=RedDesktop: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 31: Desk-Pages-X=8: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 32: Desk-Pages-Y=1: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 35: EWMH-BS-Desktop-Bottom=3: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 36: EWMH-BS-Desktop-Left=3: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 37: EWMH-BS-Desktop-Right=3: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 38: EWMH-BS-Desktop-Top=3: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 39: EWMH-BS-Panel-Bottom=3: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 40: EWMH-BS-Panel-Left=3: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 41: EWMH-BS-Panel-Right=3: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 42: EWMH-BS-Panel-Top=30: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 53: FvwmPager-Height=24: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 54: FvwmPager-Width=224: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 67: Icon-Theme=Default: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 92: MenuPosition-Above=mouse o100+50m -100m-5p: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 93: MenuPosition-AboveLeft=mouse -100m-5p -100m-5p: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 94: MenuPosition-AboveRight=mouse 15p -100m-5p: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 95: MenuPosition-Below=mouse o100+50m 15p: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 96: MenuPosition-BelowLeft=mouse -100m-5p 15p: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 97: MenuPosition-BelowRight=mouse 15p 15p: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 98: MenuPosition-E=Rectangle $widthx$height+$left+$top@c 100 o50: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 99: MenuPosition-EN=Rectangle $widthx$height+$left+$top@c 100 o100: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 100: MenuPosition-ES=Rectangle $widthx$height+$left+$top@c 100 0: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 101: MenuPosition-N=Rectangle $widthx$height+$left+$top@c o50 -100m: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 102: MenuPosition-NE=Rectangle $widthx$height+$left+$top@c 0 -100m: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 103: MenuPosition-NW=Rectangle $widthx$height+$left+$top@c o100 -100m: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 104: MenuPosition-S=Rectangle $widthx$height+$left+$top@c o50 100: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 105: MenuPosition-SE=Rectangle $widthx$height+$left+$top@c 0 100: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 106: MenuPosition-SW=Rectangle $widthx$height+$left+$top@c o100 100: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 107: MenuPosition-W=Rectangle $widthx$height+$left+$top@c -100m o50: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 108: MenuPosition-WN=Rectangle $widthx$height+$left+$top@c -100m o100: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 109: MenuPosition-WS=Rectangle $widthx$height+$left+$top@c -100m 0: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 122: QuakeConsole-Border=1: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 123: QuakeConsole-Height=50: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 150: Window-Decorations_ButtonModel=Theme.fvwm-crystal: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 157: cs-menu-active=7: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 158: cs-menu-inactive=6: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 159: cs-panel-active=2: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 160: cs-panel-border=5: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 161: cs-panel-inactive=1: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 162: cs-panel-winactive=4: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 163: cs-panel-wininactive=3: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 164: cs-quakeconsole=0: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 165: cs-window-active=10: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 166: cs-window-inactive=9: command not found
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 280: declare: `Colorset-Author=QsoRiX': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 281: declare: `Colorset-Name=RedDesktop': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 289: declare: `Desk-Pages-X=8': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 290: declare: `Desk-Pages-Y=1': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 292: declare: `EWMH-BS-Desktop-Bottom=3': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 293: declare: `EWMH-BS-Desktop-Left=3': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 294: declare: `EWMH-BS-Desktop-Right=3': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 295: declare: `EWMH-BS-Desktop-Top=3': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 296: declare: `EWMH-BS-Panel-Bottom=3': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 297: declare: `EWMH-BS-Panel-Left=3': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 298: declare: `EWMH-BS-Panel-Right=3': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 299: declare: `EWMH-BS-Panel-Top=30': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 310: declare: `FvwmPager-Height=24': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 311: declare: `FvwmPager-Width=224': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 323: declare: `Icon-Theme=Default': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 346: declare: `MenuPosition-Above=mouse o100+50m -100m-5p': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 347: declare: `MenuPosition-AboveLeft=mouse -100m-5p -100m-5p': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 348: declare: `MenuPosition-AboveRight=mouse 15p -100m-5p': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 349: declare: `MenuPosition-Below=mouse o100+50m 15p': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 350: declare: `MenuPosition-BelowLeft=mouse -100m-5p 15p': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 351: declare: `MenuPosition-BelowRight=mouse 15p 15p': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 352: declare: `MenuPosition-E=Rectangle $widthx$height+$left+$top@c 100 o50': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 353: declare: `MenuPosition-EN=Rectangle $widthx$height+$left+$top@c 100 o100': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 354: declare: `MenuPosition-ES=Rectangle $widthx$height+$left+$top@c 100 0': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 355: declare: `MenuPosition-N=Rectangle $widthx$height+$left+$top@c o50 -100m': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 356: declare: `MenuPosition-NE=Rectangle $widthx$height+$left+$top@c 0 -100m': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 357: declare: `MenuPosition-NW=Rectangle $widthx$height+$left+$top@c o100 -100m': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 358: declare: `MenuPosition-S=Rectangle $widthx$height+$left+$top@c o50 100': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 359: declare: `MenuPosition-SE=Rectangle $widthx$height+$left+$top@c 0 100': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 360: declare: `MenuPosition-SW=Rectangle $widthx$height+$left+$top@c o100 100': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 361: declare: `MenuPosition-W=Rectangle $widthx$height+$left+$top@c -100m o50': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 362: declare: `MenuPosition-WN=Rectangle $widthx$height+$left+$top@c -100m o100': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 363: declare: `MenuPosition-WS=Rectangle $widthx$height+$left+$top@c -100m 0': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 374: declare: `QuakeConsole-Border=1': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 375: declare: `QuakeConsole-Height=50': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 400: declare: `Window-Decorations_ButtonModel=Theme.fvwm-crystal': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 405: declare: `cs-menu-active=7': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 406: declare: `cs-menu-inactive=6': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 407: declare: `cs-panel-active=2': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 408: declare: `cs-panel-border=5': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 409: declare: `cs-panel-inactive=1': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 410: declare: `cs-panel-winactive=4': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 411: declare: `cs-panel-wininactive=3': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 412: declare: `cs-quakeconsole=0': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 413: declare: `cs-window-active=10': not a valid identifier
/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment: line 414: declare: `cs-window-inactive=9': not a valid identifier
 *
 * ERROR: media-libs/libggiwmh-0.3.2 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/portage/media-libs/libggiwmh-0.3.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment'.
 *

 * Messages for package media-libs/libggiwmh-0.3.2:

 *
 * ERROR: media-libs/libggiwmh-0.3.2 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/portage/media-libs/libggiwmh-0.3.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/libggiwmh-0.3.2/temp/environment'.
 *


Expected Results:  
Merge the requested ebuild.

The above result shows the bug for media-libs/libggiwmh. It works the same way for any other.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-18 14:59:49 UTC
It's clearly cfg-update that fails here, post your emerge --info.
Comment 2 Andreas Buck 2008-02-18 15:12:32 UTC
(In reply to comment #1)
> It's clearly cfg-update that fails here, post your emerge --info.
> 

Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r3 x86_64 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
Timestamp of tree: Mon, 18 Feb 2008 13:00: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-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  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.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox severe sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirrors.64hosting.com/pub/mirrors/gentoo/ http://ftp.isu.edu.tw/pub/Linux/Gentoo/ http://ftp.twaren.net/Linux/Gentoo/ http://ftp.kaist.ac.kr/pub/gentoo/ http://gentoo.channelx.biz/ http://ftp.jaist.ac.jp/pub/Linux/Gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 arts bash-completion berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kerberos ldap mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis xml xorg xv xvmc-gtk zlib" ALSA_CARDS="hda-intel" 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="mouse keyboard ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Harald van Dijk (RETIRED) gentoo-dev 2008-02-18 17:56:31 UTC
Actually, cfg-update doesn't seem like it has anything to do with this; it's portage itself that's trying to re-source the environment, and it appears to be fvwm-crystal that made it unsourceable. I can get the same sort of errors with fvwm-crystal, without cfg-update.
Comment 4 Lukasz Strzygowski (RETIRED) gentoo-dev 2008-02-19 21:46:47 UTC
Please try x11-themes/fvwm-crystal-3.0.5-r1.
Comment 5 Andreas Buck 2008-02-24 17:05:39 UTC
Thank you. I tried that but unfortunately it didn't help. It does seem to be about fvwm-crystal though. 

Some further observations: while I'm in fvwm-crystal I can do nothing with emerge. It's interrupted as described above. If I use another tty though I can merge packages but unmerging seems to at least fail often if not always. As in this case there are no strange environment variables I really wonder why this still does happen.
Comment 6 Lukasz Strzygowski (RETIRED) gentoo-dev 2008-02-24 19:19:38 UTC
Could you attach output of emerge after upgrading to -r1?
Comment 7 Andreas Buck 2008-02-25 10:25:08 UTC
In fvwm this output is still identical. Using another tty the output is very similar. As mentioned it only affects unmerging though. There the output looks like this:

 net-wireless/ipw3945
    selected: 1.2.2 
   protected: none 
     omitted: none 

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1 
>>> Unmerging net-wireless/ipw3945-1.2.2...
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 39: Colorset-Author=QsoRiX: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 40: Colorset-Name=RedDesktop: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 54: Desk-Pages-X=8: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 55: Desk-Pages-Y=1: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 73: EWMH-BS-Desktop-Bottom=3: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 74: EWMH-BS-Desktop-Left=3: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 75: EWMH-BS-Desktop-Right=3: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 76: EWMH-BS-Desktop-Top=3: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 77: EWMH-BS-Panel-Bottom=3: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 78: EWMH-BS-Panel-Left=3: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 79: EWMH-BS-Panel-Right=3: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 80: EWMH-BS-Panel-Top=30: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 91: FvwmPager-Height=24: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 92: FvwmPager-Width=224: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 112: Icon-Theme=Default: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 161: MenuPosition-Above=mouse o100+50m -100m-5p: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 162: MenuPosition-AboveLeft=mouse -100m-5p -100m-5p: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 163: MenuPosition-AboveRight=mouse 15p -100m-5p: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 164: MenuPosition-Below=mouse o100+50m 15p: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 165: MenuPosition-BelowLeft=mouse -100m-5p 15p: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 166: MenuPosition-BelowRight=mouse 15p 15p: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 167: MenuPosition-E=Rectangle $widthx$height+$left+$top@c 100 o50: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 168: MenuPosition-EN=Rectangle $widthx$height+$left+$top@c 100 o100: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 169: MenuPosition-ES=Rectangle $widthx$height+$left+$top@c 100 0: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 170: MenuPosition-N=Rectangle $widthx$height+$left+$top@c o50 -100m: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 171: MenuPosition-NE=Rectangle $widthx$height+$left+$top@c 0 -100m: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 172: MenuPosition-NW=Rectangle $widthx$height+$left+$top@c o100 -100m: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 173: MenuPosition-S=Rectangle $widthx$height+$left+$top@c o50 100: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 174: MenuPosition-SE=Rectangle $widthx$height+$left+$top@c 0 100: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 175: MenuPosition-SW=Rectangle $widthx$height+$left+$top@c o100 100: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 176: MenuPosition-W=Rectangle $widthx$height+$left+$top@c -100m o50: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 177: MenuPosition-WN=Rectangle $widthx$height+$left+$top@c -100m o100: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 178: MenuPosition-WS=Rectangle $widthx$height+$left+$top@c -100m 0: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 234: QuakeConsole-Border=1: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 235: QuakeConsole-Height=50: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 280: Window-Decorations_ButtonModel=Theme.fvwm-crystal: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 292: cs-menu-active=7: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 293: cs-menu-inactive=6: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 294: cs-panel-active=2: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 295: cs-panel-border=5: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 296: cs-panel-inactive=1: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 297: cs-panel-winactive=4: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 298: cs-panel-wininactive=3: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 299: cs-quakeconsole=0: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 300: cs-window-active=10: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 301: cs-window-inactive=9: command not found
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5387: declare: `Colorset-Author=QsoRiX': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5388: declare: `Colorset-Name=RedDesktop': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5399: declare: `Desk-Pages-X=8': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5400: declare: `Desk-Pages-Y=1': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5407: declare: `EWMH-BS-Desktop-Bottom=3': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5408: declare: `EWMH-BS-Desktop-Left=3': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5409: declare: `EWMH-BS-Desktop-Right=3': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5410: declare: `EWMH-BS-Desktop-Top=3': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5411: declare: `EWMH-BS-Panel-Bottom=3': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5412: declare: `EWMH-BS-Panel-Left=3': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5413: declare: `EWMH-BS-Panel-Right=3': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5414: declare: `EWMH-BS-Panel-Top=30': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5425: declare: `FvwmPager-Height=24': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5426: declare: `FvwmPager-Width=224': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5441: declare: `Icon-Theme=Default': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5474: declare: `MenuPosition-Above=mouse o100+50m -100m-5p': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5475: declare: `MenuPosition-AboveLeft=mouse -100m-5p -100m-5p': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5476: declare: `MenuPosition-AboveRight=mouse 15p -100m-5p': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5477: declare: `MenuPosition-Below=mouse o100+50m 15p': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5478: declare: `MenuPosition-BelowLeft=mouse -100m-5p 15p': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5479: declare: `MenuPosition-BelowRight=mouse 15p 15p': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5480: declare: `MenuPosition-E=Rectangle $widthx$height+$left+$top@c 100 o50': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5481: declare: `MenuPosition-EN=Rectangle $widthx$height+$left+$top@c 100 o100': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5482: declare: `MenuPosition-ES=Rectangle $widthx$height+$left+$top@c 100 0': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5483: declare: `MenuPosition-N=Rectangle $widthx$height+$left+$top@c o50 -100m': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5484: declare: `MenuPosition-NE=Rectangle $widthx$height+$left+$top@c 0 -100m': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5485: declare: `MenuPosition-NW=Rectangle $widthx$height+$left+$top@c o100 -100m': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5486: declare: `MenuPosition-S=Rectangle $widthx$height+$left+$top@c o50 100': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5487: declare: `MenuPosition-SE=Rectangle $widthx$height+$left+$top@c 0 100': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5488: declare: `MenuPosition-SW=Rectangle $widthx$height+$left+$top@c o100 100': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5489: declare: `MenuPosition-W=Rectangle $widthx$height+$left+$top@c -100m o50': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5490: declare: `MenuPosition-WN=Rectangle $widthx$height+$left+$top@c -100m o100': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5491: declare: `MenuPosition-WS=Rectangle $widthx$height+$left+$top@c -100m 0': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5545: declare: `QuakeConsole-Border=1': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5546: declare: `QuakeConsole-Height=50': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5583: declare: `Window-Decorations_ButtonModel=Theme.fvwm-crystal': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5590: declare: `cs-menu-active=7': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5591: declare: `cs-menu-inactive=6': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5592: declare: `cs-panel-active=2': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5593: declare: `cs-panel-border=5': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5594: declare: `cs-panel-inactive=1': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5595: declare: `cs-panel-winactive=4': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5596: declare: `cs-panel-wininactive=3': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5597: declare: `cs-quakeconsole=0': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5598: declare: `cs-window-active=10': not a valid identifier
/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment: line 5599: declare: `cs-window-inactive=9': not a valid identifier

 *
 * ERROR: net-wireless/ipw3945-1.2.2 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/net-wireless/ipw3945-1.2.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment'.
 *
!!! FAILED prerm: 1
 * The 'prerm' phase of the 'net-wireless/ipw3945-1.2.2' package has failed
 * with exit value 1. The problem occurred while executing the ebuild
 * located at '/var/db/pkg/net-
 * wireless/ipw3945-1.2.2/ipw3945-1.2.2.ebuild'. If necessary, manually
 * remove the ebuild in order to skip the execution of removal phases.

 * Messages for package net-wireless/ipw3945-1.2.2:

 *
 * ERROR: net-wireless/ipw3945-1.2.2 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/net-wireless/ipw3945-1.2.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/binpkgs/net-wireless/ipw3945-1.2.2/temp/environment'.
 *
 * The 'prerm' phase of the 'net-wireless/ipw3945-1.2.2' package has failed
 * with exit value 1. The problem occurred while executing the ebuild
 * located at '/var/db/pkg/net-
 * wireless/ipw3945-1.2.2/ipw3945-1.2.2.ebuild'. If necessary, manually
 * remove the ebuild in order to skip the execution of removal phases.
Comment 8 Lukasz Strzygowski (RETIRED) gentoo-dev 2008-02-25 13:49:19 UTC
Created attachment 144580 [details]
envfix.sh

Please try running the attached script for all packages you can't unmerge,
with path to their environment.bz2 as an argument:
./envfix.sh /var/db/pkg/<category>/<package>/environment.bz2

For example:
./envfix.sh /var/db/pkg/net-wireless/ipw3945-1.2.2/environment.bz2
Comment 9 Andreas Buck 2008-02-25 18:13:55 UTC
Thank you! This fixed the unmerging problem.
Comment 10 Lukasz Strzygowski (RETIRED) gentoo-dev 2008-02-25 20:29:11 UTC
Are there any problems remaining? Does installing work?
Comment 11 M. B. 2008-02-26 16:22:53 UTC
(In reply to comment #10)
> Are there any problems remaining? Does installing work?
> 

Comment 12 M. B. 2008-02-26 16:33:11 UTC
Well, installing is still not working.

It's even going as far as affecting an emerge in a chroot. emerges are failing here, too, now, after i tried to update portage after dumping the initial portage-snapshot, emerge --sync'ing and then emerge -1av portage.
the packages that were installed for portage to be upgraded, were:

app-text/build-docbook-catalog-1.2
dev-libs/libgpg-error-1.6
sys-apps/debainutils-2.15-r1 -> 2.28.2
sys-devel/autoconf-2.13
app-shell/bash-3.1_p17 -> 3.1_p17-r1
sys-apps/sandbox-1.2.17 -> 1.2.18.1-r2
app-text/docbook-xsl-stylesheets-1.70.1
dev-libs/libgcrypt-1.4.0-r1
sys-apps/mktemp-1.5
sgml-common-0.6.3-r5
dev-libs/libxslt-1.1.22
docbook-xml-dtd-4.2-r1
docbook-xml-dtd-4.4-r1
xmlto-0.0.18
the attempted portage emerge then failed; every other emerge, too.

On my original install, the error occured also after an attempted upgrade of portage. Both times i attempted to upgrade to sys-apps/portage-2.1.4.4.

Oh, and yes, I have fvwm-crystal running.
Comment 13 M. B. 2008-02-26 17:10:26 UTC
I solved this problem by
a) hardmasking portage-2.1.4.4
b) shutting down fvwm-crystal and re-emerging portage-2.1.3.19

Using portage-2.1.3.19 everything's working fine, so far. Still, this means portage 2.1.4.4 is unusable in conjunction with fvwm-crystal running.
Comment 14 Lukasz Strzygowski (RETIRED) gentoo-dev 2008-02-26 19:39:24 UTC
And does it still fail with the same error message? 
It shouldn't, because in 3.0.5-r1 all problematic env variables are renamed.
Of course this fix affects only files in /usr/share/fvwm-crystal. Maybe
you need to update your local config?
Comment 15 Beetle B. 2008-03-01 07:34:46 UTC
*** Bug 211949 has been marked as a duplicate of this bug. ***
Comment 16 Zac Medico gentoo-dev 2008-03-01 08:38:33 UTC
If you are experiencing this problem then please use the patch on bug 211949.
Comment 17 Zac Medico gentoo-dev 2008-03-01 21:18:05 UTC
*** Bug 211882 has been marked as a duplicate of this bug. ***
Comment 18 Lukasz Strzygowski (RETIRED) gentoo-dev 2008-04-23 21:43:27 UTC
Closing, as 3.0.5-r1 has been marked stable on all archs.
Comment 19 Andreas Buck 2008-04-28 18:58:25 UTC
I'm running fvwm-crystal 3.0.5-r1 and the issue is still the same for me with portage 2.1.4.4. In case the issue concerning the "prerm" phase does actually relate to this bug as well: I applied the script proposed here: http://forums.gentoo.org/viewtopic-t-667013-postdays-0-postorder-asc-start-30.html ; unsuccessful as can be seen below though.

That's the ouput I got after updating media-gfx/splashutils:
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Unmerging media-gfx/splashutils-1.5.2.1...
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 36: Colorset-Author=QsoRiX: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 37: Colorset-Name=RedDesktop: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 51: Desk-Pages-X=8: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 52: Desk-Pages-Y=1: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 68: EWMH-BS-Desktop-Bottom=3: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 69: EWMH-BS-Desktop-Left=3: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 70: EWMH-BS-Desktop-Right=3: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 71: EWMH-BS-Desktop-Top=3: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 72: EWMH-BS-Panel-Bottom=3: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 73: EWMH-BS-Panel-Left=3: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 74: EWMH-BS-Panel-Right=3: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 75: EWMH-BS-Panel-Top=30: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 87: FvwmPager-Height=24: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 88: FvwmPager-Width=224: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 109: Icon-Theme=Default: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 148: MenuPosition-Above=mouse o100+50m -100m-5p: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 149: MenuPosition-AboveLeft=mouse -100m-5p -100m-5p: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 150: MenuPosition-AboveRight=mouse 15p -100m-5p: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 151: MenuPosition-Below=mouse o100+50m 15p: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 152: MenuPosition-BelowLeft=mouse -100m-5p 15p: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 153: MenuPosition-BelowRight=mouse 15p 15p: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 154: MenuPosition-E=Rectangle $widthx$height+$left+$top@c 100 o50: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 155: MenuPosition-EN=Rectangle $widthx$height+$left+$top@c 100 o100: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 156: MenuPosition-ES=Rectangle $widthx$height+$left+$top@c 100 0: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 157: MenuPosition-N=Rectangle $widthx$height+$left+$top@c o50 -100m: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 158: MenuPosition-NE=Rectangle $widthx$height+$left+$top@c 0 -100m: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 159: MenuPosition-NW=Rectangle $widthx$height+$left+$top@c o100 -100m: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 160: MenuPosition-S=Rectangle $widthx$height+$left+$top@c o50 100: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 161: MenuPosition-SE=Rectangle $widthx$height+$left+$top@c 0 100: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 162: MenuPosition-SW=Rectangle $widthx$height+$left+$top@c o100 100: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 163: MenuPosition-W=Rectangle $widthx$height+$left+$top@c -100m o50: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 164: MenuPosition-WN=Rectangle $widthx$height+$left+$top@c -100m o100: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 165: MenuPosition-WS=Rectangle $widthx$height+$left+$top@c -100m 0: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 220: QuakeConsole-Border=1: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 221: QuakeConsole-Height=50: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 271: Window-Decorations_ButtonModel=Theme.fvwm-crystal: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 285: cs-menu-active=7: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 286: cs-menu-inactive=6: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 287: cs-panel-active=2: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 288: cs-panel-border=5: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 289: cs-panel-inactive=1: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 290: cs-panel-winactive=4: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 291: cs-panel-wininactive=3: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 292: cs-quakeconsole=0: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 293: cs-window-active=10: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 294: cs-window-inactive=9: command not found
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4224: declare: `Colorset-Author=QsoRiX': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4225: declare: `Colorset-Name=RedDesktop': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4237: declare: `Desk-Pages-X=8': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4238: declare: `Desk-Pages-Y=1': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4245: declare: `EWMH-BS-Desktop-Bottom=3': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4246: declare: `EWMH-BS-Desktop-Left=3': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4247: declare: `EWMH-BS-Desktop-Right=3': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4248: declare: `EWMH-BS-Desktop-Top=3': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4249: declare: `EWMH-BS-Panel-Bottom=3': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4250: declare: `EWMH-BS-Panel-Left=3': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4251: declare: `EWMH-BS-Panel-Right=3': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4252: declare: `EWMH-BS-Panel-Top=30': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4264: declare: `FvwmPager-Height=24': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4265: declare: `FvwmPager-Width=224': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4280: declare: `Icon-Theme=Default': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4315: declare: `MenuPosition-Above=mouse o100+50m -100m-5p': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4316: declare: `MenuPosition-AboveLeft=mouse -100m-5p -100m-5p': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4317: declare: `MenuPosition-AboveRight=mouse 15p -100m-5p': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4318: declare: `MenuPosition-Below=mouse o100+50m 15p': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4319: declare: `MenuPosition-BelowLeft=mouse -100m-5p 15p': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4320: declare: `MenuPosition-BelowRight=mouse 15p 15p': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4321: declare: `MenuPosition-E=Rectangle $widthx$height+$left+$top@c 100 o50': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4322: declare: `MenuPosition-EN=Rectangle $widthx$height+$left+$top@c 100 o100': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4323: declare: `MenuPosition-ES=Rectangle $widthx$height+$left+$top@c 100 0': not a valididentifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4324: declare: `MenuPosition-N=Rectangle $widthx$height+$left+$top@c o50 -100m': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4325: declare: `MenuPosition-NE=Rectangle $widthx$height+$left+$top@c 0 -100m': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4326: declare: `MenuPosition-NW=Rectangle $widthx$height+$left+$top@c o100 -100m': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4327: declare: `MenuPosition-S=Rectangle $widthx$height+$left+$top@c o50 100': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4328: declare: `MenuPosition-SE=Rectangle $widthx$height+$left+$top@c 0 100': not a valididentifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4329: declare: `MenuPosition-SW=Rectangle $widthx$height+$left+$top@c o100 100': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4330: declare: `MenuPosition-W=Rectangle $widthx$height+$left+$top@c -100m o50': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4331: declare: `MenuPosition-WN=Rectangle $widthx$height+$left+$top@c -100m o100': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4332: declare: `MenuPosition-WS=Rectangle $widthx$height+$left+$top@c -100m 0': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4386: declare: `QuakeConsole-Border=1': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4387: declare: `QuakeConsole-Height=50': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4424: declare: `Window-Decorations_ButtonModel=Theme.fvwm-crystal': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4432: declare: `cs-menu-active=7': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4433: declare: `cs-menu-inactive=6': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4434: declare: `cs-panel-active=2': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4435: declare: `cs-panel-border=5': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4436: declare: `cs-panel-inactive=1': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4437: declare: `cs-panel-winactive=4': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4438: declare: `cs-panel-wininactive=3': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4439: declare: `cs-quakeconsole=0': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4440: declare: `cs-window-active=10': not a valid identifier
/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment: line 4441: declare: `cs-window-inactive=9': not a valid identifier
 *
 * ERROR: media-gfx/splashutils-1.5.2.1 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/media-gfx/splashutils-1.5.2.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/binpkgs/media-gfx/splashutils-1.5.2.1/temp/environment'.
 *
!!! FAILED prerm: 1
 * The 'prerm' phase of the 'media-gfx/splashutils-1.5.2.1' package has
 * failed with exit value 1. The problem occurred while executing the
 * ebuild located at '/var/db/pkg/media-
 * gfx/splashutils-1.5.2.1/splashutils-1.5.2.1.ebuild'. If necessary,
 * manually remove the ebuild in order to skip the execution of removal
 * phases.
Comment 20 Harald van Dijk (RETIRED) gentoo-dev 2008-04-28 19:18:57 UTC
Closing again, this is already fixed.

(In reply to comment #19)
> I'm running fvwm-crystal 3.0.5-r1 and the issue is still the same for me with
> portage 2.1.4.4. In case the issue concerning the "prerm" phase does actually
> relate to this bug as well: I applied the script proposed here:
> http://forums.gentoo.org/viewtopic-t-667013-postdays-0-postorder-asc-start-30.html
> ; unsuccessful as can be seen below though.

That script fixes a different syntax error, so there's no reason why it should work for this one. portage gave you a different workaround already:
> * If necessary,
> * manually remove the ebuild in order to skip the execution of removal
> * phases.
Alternatively, try modifying the script you found to look for the right kinds of errors.
Comment 21 Lukasz Strzygowski (RETIRED) gentoo-dev 2008-04-28 19:52:01 UTC
Andreas, just use the attached envfix.sh for every package failing with this error (probably everything installed under broken versions of fvwm-crystal).
Comment 22 Andreas Buck 2008-04-29 15:28:34 UTC
I'm sorry I was wrong about the problem still being there. After I applied envfix.sh everything runs nicely now. Thanks for pointing me the right direction. I should have checked more carefully myself though.
Comment 23 Dominique Michel 2008-06-21 17:52:02 UTC
Well guys, I use fvwm-crystal every day from at least 2 years now, and it is more that 1 year ago that I use my custom ebuild in order to install it from the repository instead of the tarball. You can call this a live ebuild.

My ebuild is based on the old fvwm-crystal ebuild, the one without the envfix.sh. The only modification is to use the darcs repository (mived to the new svn repo a few days ago)..

It is a log time ago that I completely stopped to use konsole because of this emerge problem: http://forums.gentoo.org/viewtopic-t-500738-highlight-fvwmcrystal+konsole+emerge.html

I use portagee-2.1.4.4 and urxwt as favorite terminal and never experimented the behavior that is described here.

I write this only to let you to know that. I just want to be sure that the real bug is fixed because I don't understand how "-" into some variable names in fvwm-crystal (or any other program) can break portage. Can someone explain this please? 

And is this a gentoo specific issue?
Comment 24 Dominique Michel 2008-06-22 19:50:34 UTC
Well, sorry for the noise. I was not understanding that "-" into env variable names break POSIX.

And thank you for the fix.