It has been a long since my last update to the system, found lots of weird problem today,
1. the worst among those was that I could not emerge anything now, the build.log for portage as an example: >>> Unpacking source... >>> Unpacking portage-2.1.3.16.tar.bz2 to /var/tmp/portage/sys-apps/portage- 2.1.3.19/work bzip2: /var/tmp/portage/sys-apps/portage- 2.1.3.19/distdir/portage-2.1.3.16.tar.bz2 is not a bzip2 file. ERROR: sys-apps/portage-2.1.3.19 failed. Call stack: ebuild.sh, line 1654: Called dyn_unpack ebuild.sh, line 768: Called qa_call 'src_unpack' ebuild.sh, line 44: Called src_unpack portage-2.1.3.19.ebuild, line 71: Called unpack 'portage-2.1.3.16.tar.bz2' 'portage-2.1.3.19.patch.bz2' ebuild.sh, line 444: Called die failure unpacking portage-2.1.3.16.tar.bz2 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/sys-apps/portage- 2.1.3.19/temp/build.log'. obviously, the downloaded files are not in valid bzip2 format, but why? wrong url? any alternatives? 2. 2007.0 seems missing lots of useful use flags, many apps not functioning properly after I switch to that profile (for nptl) my system info might help: Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-3.4.6, glibc-2.6.1-r0, 2.6.21-gentoo-r4 i686) ================================================================= System uname: 2.6.21-gentoo-r4 i686 Intel(R) Celeron(R) CPU 2.40GHz Timestamp of tree: Sat, 10 Nov 2007 05:16:01 +0000 app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 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.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe -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/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://files.gentoo.org http://mirror.usu.edu/mirrors/gentoo/ http://ftp.public.fix.fi/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://fido.online.kz/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X acl berkdb bitmap-fonts cjk cli cracklib crypt dri fortran gdbm iconv isdnlog midi mmx mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl tcpd truetype-fonts type1-fonts unicode x86 xorg zlib" ALSA_CARDS="intel8x0" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY many thanks fei