Skipping: RTLD_NEXT = ((void *) -1l) Skipping: RTLD_DEFAULT = ((void *) 0) Traceback (most recent call last): File "../../Tools/scripts/h2py.py", line 167, in <module> main() File "../../Tools/scripts/h2py.py", line 81, in main process(fp, outfp) File "../../Tools/scripts/h2py.py", line 108, in process line = fp.readline() File "/var/tmp/portage/dev-lang/python-3.2.3-r1/work/Python-3.2.3/Lib/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 175: ordinal not in range(128) make: *** [platformspecificmods] Error 1 emake failed * ERROR: dev-lang/python-3.2.3-r1 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 5490: Called die * The specific snippet of code: * emake CPPFLAGS="" CFLAGS="" LDFLAGS="" || die "emake failed"; * * If you need support, post the output of 'emerge --info =dev-lang/python-3.2.3-r1', * the complete build log and the output of 'emerge -pqv =dev-lang/python-3.2.3-r1'. * The complete build log is located at '/var/tmp/portage/dev-lang/python-3.2.3-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-3.2.3-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/python-3.2.3-r1/work/Python-3.2.3' * S: '/var/tmp/portage/dev-lang/python-3.2.3-r1/work/Python-3.2.3' # eselect locale show LANG variable in profile: (none)
I have the same issue.
Added upstream bug report to URL. python-3.2.3-r1 dropped 23_all_h2py_encoding.patch since it has not been accepted upstream. See discussion on the gentoo-python mailing list. It seems pretty easy to trigger this problem, so we should probably rethink that decision. Thoughts?
3.2.2 doesn't have that patch either, does it? I think rethinking it would be good, but let's also try to push harder upstream?
I have a unicode locale and can build with portage but get the same failures referenced using cave.
same issue here
(In reply to comment #3) > 3.2.2 doesn't have that patch either, does it? Correct. dev-lang/python-3.2.2-r1 builds successfully in the same environment without this patch. > I think rethinking it would be good, but let's also try to push harder > upstream? That's always a good plan. I have not studied the problem well enough to express an intelligent opinion upstream, so that will take some time if I'm the one to do it.
I have reverted to the previous patchset, which restores 23_all_h2py_encoding.patch. Let's leave this open until upstream moves on it.
And we've declared py3.2 dead, so this one is no longer something to worry about