Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211176 - dev-libs/libtasn1-0.3.5 cannot be auto-cleaned
Summary: dev-libs/libtasn1-0.3.5 cannot be auto-cleaned
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 212251 212992 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-23 15:23 UTC by Lane Phillips
Modified: 2008-05-29 20:21 UTC (History)
3 users (show)

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 Lane Phillips 2008-02-23 15:23:30 UTC
My error:

# emerge -aDuN system

These are the packages that would be merged, in order:

Calculating system dependencies... done!

Nothing to merge; would you like to auto-clean packages? [Yes/No] yes
>>> Auto-cleaning packages...

 dev-libs/libtasn1
    selected: 0.3.5 
   protected: 1.2 
     omitted: none 

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

>>> Unmerging dev-libs/libtasn1-0.3.5...
/var/tmp/binpkgs/dev-libs/libtasn1-0.3.5/temp/environment: line 371: syntax error near unexpected token `('
/var/tmp/binpkgs/dev-libs/libtasn1-0.3.5/temp/environment: line 371: `            done <<(get_mounts);'
 * 
 * ERROR: dev-libs/libtasn1-0.3.5 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/dev-libs/libtasn1-0.3.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/binpkgs/dev-libs/libtasn1-0.3.5/temp/environment'.
 * 
!!! FAILED prerm: 1
 * The 'prerm' phase of the 'dev-libs/libtasn1-0.3.5' package has failed
 * with exit value 1. The problem occurred while executing the ebuild
 * located at '/var/db/pkg/dev-libs/libtasn1-0.3.5/libtasn1-0.3.5.ebuild'.
 * If necessary, manually remove the ebuild in order to skip the execution
 * of removal phases.


# emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r6 i686)
=================================================================
System uname: 2.6.23-gentoo-r6 i686 AMD Athlon(tm) XP 3000+
Timestamp of tree: Sat, 23 Feb 2008 14:30: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.11.1
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.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en es"
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="3dnow 3dnowext X aac acl acpi alsa apache2 berkdb bitmap-fonts blas cairo cdr cli cracklib crypt cups dbus doc dri dv dvd dvdr dvdread eds emboss encode esd evo fam firefox flac font-server fortran gdbm gif gimpprint gpm gstreamer gtk hal iconv ieee1394 ipv6 isdnlog java jpeg kerberos lapack ldap mad midi mikmod mmx mmxext mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline real reflection samba sdl session spell spl sse sse2 ssl svg symlink tcpd tetex threads tiff truetype truetype-fonts type1 type1-fonts unicode vorbis win32codecs x86 xml xorg xpm xv 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es" USERLAND="GNU" VIDEO_CARDS="radeon s3 via vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-23 15:27:49 UTC
Nothing we could fix, sorry; you need to fix the environment.bz2 file syntax
error manually or re-emerge it so that you get a correct one and then unmerge it.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-03-04 09:01:16 UTC
*** Bug 212251 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-03-12 13:59:06 UTC
*** Bug 212992 has been marked as a duplicate of this bug. ***
Comment 4 bluescream 2008-05-29 20:21:58 UTC
Just for documentation:

dev-perl/extutils-depends-0.205 brought up the same error.

The workaround from Bug 215551 Comment #1 (remove the file /var/db/pkg/$CATEGORY/PACKAGE/environment.bz2) helped me to unmerge this package.

/var/db/pkg/package.dev-perl/extutils-depends-0.205/environment.bz2