chardet package is in gentoo-china-overlay layman -a gentoo-china I have already filed a chardet's bug, requesting it to be added to portage However, no response yet #! /usr/bin/python import sys,chardet,shutil,os,tempfile def convert(fname): fp = open(fname) text = fp.read() encoding = chardet.detect(text)['encoding'] rate = chardet.detect(text)['confidence'] if rate > 0.9 and not encoding == 'utf-8': tmp,tmpname=tempfile.mkstemp() os.write(tmp, unicode(text,encoding).encode('utf-8')) shutil.move(tmpname...
Comments
I'm fairly interested in more information you can provide.
-j2 means make will start two thread to make simultaneously, however the one thread(call it A)'s prerequisite may depends the other thread(call it B)'s output, and B's output maybe not ready when A is going to use it. This is my guess.
to fiag:
yes. A gentoo dev told me better to use emake -j1, :)