Alright. I was having problems with emerge just plain segfaulting on me, upon every single package, every single time. So, i eventually poked around and found out that it was that i was using an LD_PRELOAD in /etc/profile, which just loads the audiooss driver ( makes a NAS server look like a normal /dev/dsp device and such. ) so, with the LD_PRELOAD, emerge pukes errors such as: >> emerge portage ---------- Calculating dependencies ...done! >>> emerge (1 of 1) sys-apps/portage-2.0.48_pre6 to / >>> md5 src_uri ;-) portage-2.0.48_pre6.tar.bz2 /usr/sbin/ebuild.sh: line 1010: [: ==: unary operator expected /usr/sbin/ebuild.sh: line 1052: 22097 Segmentation fault ccache -M ${CCACHE_SIZE} >&/dev/null /usr/sbin/ebuild.sh: line 1177: 22098 Segmentation fault install -m0700 -d ${WORKDIR} >>> Unpacking source... >>> Unpacking portage-2.0.48_pre6.tar.bz2 to /var/tmp/portage /usr/sbin/ebuild.sh: line 279: portage-2.0.48_pre6.tar: Permission denied !!! ERROR: sys-apps/portage-2.0.48_pre6 failed. !!! Function unpack, Line 279, Exitcode 1 !!! failure unpacking portage-2.0.48_pre6.tar.bz2 ---------- >> :NOTE: the permission denied error is new, before it was doing a segfault on: bzip2 -dc ${DISTDIR}/${x} >${x%.*} yet, without LD_PRELOAD, it works beautifully. =) Running 2.5.69-mm3 >> 800p3 if you want anymore info, just ask. thanks -- trevorj
I'm not sure if this is something I can remedy. You can try adding this into emerge though: os.environ["LD_PRELOAD"]="" place it after any 'import' statements near the top. immediately after 'import os' is listed would be best.
well, its not emerge's fault ive found out. it breaks _many_ things, including sed. libaudiooss is a naughty naughty library =)
This bug has been "critical" for 6 months. Feedback please.
This is a problem with libaudiooss...