bash: line 1: 5121 Illegal instruction ${PORTAGE_BUNZIP2_COMMAND:-${PORTAGE_BZIP2_COMMAND} -d} -c -- "/var/db/pkg/app-arch/bzip2-1.0.6/environment.bz2" > "/var/tmp/binpkgs/app-arch/bzip2-1.0.6/temp/environment" !!! FAILED prerm: 132 Reproducible: Always Steps to Reproduce: 0.install bootcd, gentoo reboot ------------------ 1.eix-sync 2.emerge linux-headers glibc binutils gcc-config gcc 3.gcc-config -l 4.gcc-config 1 5.env-update && source /etc/profile 6.emerge -b glibc binutils gcc portage 7.emerge -bke system Actual Results: --cut-- >>> /usr/include/bzlib.h >>> Safely unmerging already-installed instance... bash: line 1: 5121 Illegal instruction ${PORTAGE_BUNZIP2_COMMAND:-${PORTAGE_BZIP2_COMMAND} -d} -c -- "/var/db/pkg/app-arch/bzip2-1.0.6/environment.bz2" > "/var/tmp/binpkgs/app-arch/bzip2-1.0.6/temp/environment" !!! FAILED prerm: 132 No package files given... Grabbing a set. --cut-- >>> Original instance of package unmerged safely. /usr/lib/portage/bin/ebuild.sh: line 2139: 5265 Done save_ebuild_env --exclude-init-phases 5266 | filter_readonly_variables --filter-path --filter-sandbox --allow-extra-vars 5268 Illegal instruction | ${PORTAGE_BZIP2_COMMAND} -c -f9 > "$PORTAGE_UPDATE_ENV" * ERROR: app-arch/bzip2-1.0.6 failed: * save_ebuild_env failed * * Call stack: * ebuild.sh, line 2320: Called ebuild_main * ebuild.sh, line 2163: Called assert 'save_ebuild_env failed' * isolated-functions.sh, line 14: Called die * The specific snippet of code: * [[ $x -eq 0 ]] || die "$@" * * If you need support, post the output of 'emerge --info =app-arch/bzip2-1.0.6', * the complete build log and the output of 'emerge -pqv =app-arch/bzip2-1.0.6'. * The complete build log is located at '/var/log/portage/app-arch:bzip2-1.0.6:20110121-112314.log'. * The ebuild environment file is located at '/var/tmp/portage/app-arch/bzip2-1.0.6/temp/environment'. * S: '/var/tmp/portage/app-arch/bzip2-1.0.6/work/bzip2-1.0.6' !!! FAILED postinst: 1 Expected Results: install bzip2 stage3-i686-hardened-20110104.tar.bz2 install-x86-minimal-20101123.iso gcc-config -l [1] i686-pc-linux-gnu-4.4.4 * [2] i686-pc-linux-gnu-4.4.4-hardenednopie [3] i686-pc-linux-gnu-4.4.4-hardenednopiessp [4] i686-pc-linux-gnu-4.4.4-hardenednossp [5] i686-pc-linux-gnu-4.4.4-vanilla emerge --info =app-arch/bzip2-1.0.6 Portage 2.1.9.25 (hardened/linux/x86, gcc-4.4.4, glibc-2.11.2-r3, 2.6.34-hardened i686) System Settings System uname: Linux-2.6.34-hardened-i686-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-1.12.14 Timestamp of tree: Fri, 21 Jan 2011 09:30:23 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p7 dev-lang/python: 2.6.6-r1, 3.1.2-r4 dev-util/ccache: 2.4-r9 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.65-r1 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -fomit-frame-pointer -pipe -ftree-vectorize -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4 -mcx16 -mpopcnt -msahf" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=prescott -O2 -fomit-frame-pointer -pipe -ftree-vectorize -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4 -mcx16 -mpopcnt -msahf" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de fr es ru pl en en_US it" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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="SECURITY_HAZARD acl bash-completion bashlogger berkdb bzip2 cgi chroot clamav cli cracklib crypt ctype cups curl cxx daemon dcc debug-verbose dkim dnsdb dri dsn edit epoll eurephia examples exiscan-acl extensions filter ftp gd gdbm gmp gnutls gpm hardened iconv imap iproute2 jpeg large-domain logrotate mbox mod_cgi modules mudflap multiuser mysqli ncurses nls nptl nptlonly odbc openmp optimization pae pam pam_ssh passwordsave pcntl pcre perl pic pie pkcs11 png pppd pwdb python python3 readline rfc3779 session slang sockets spf spoof-source sqlite srs sse sse2 sse3 sse4 ssh ssl ssp ssp4 suexec symlink sysfs syslog sysvipc tcpd threads tools unicode urandom userlocales vhosts virtual-users x86 xorg zero-penalty-hit 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 mmap_emul 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr es ru pl en en_US it" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 intel mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa via vmware nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
CFLAGS="-march=prescott -O2 -fomit-frame-pointer -pipe -ftree-vectorize -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4 -mcx16 -mpopcnt -msahf" Stop doing silly things, you've miscompiled things badly. Best to reinstall with sane CFLAGS and not use instructions your CPU doesn't provide ...
(In reply to comment #1) > CFLAGS="-march=prescott -O2 -fomit-frame-pointer -pipe -ftree-vectorize -msse > -msse2 -msse3 -mssse3 -msse4.1 -msse4 -mcx16 -mpopcnt -msahf" > > Stop doing silly things, you've miscompiled things badly. > Best to reinstall with sane CFLAGS and not use instructions your CPU doesn't > provide ... > cat /proc/cpuinfo --- processor : 0 flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat clflush mmx fxsr sse sse2 lm constant_tsc pni ssse3 cx16 hypervisor lahf_lm processor : 1 -- Thanks!