Summary: | app-emacs/pymacs-0.25-r1: UnicodeDecodeError in configure phase with C locale | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | GNU Emacs project <gnu-emacs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | python, uzytkownik2 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Juergen Rose
2013-04-01 17:26:09 UTC
Please attach the complete build log. (In reply to comment #1) > Please attach the complete build log. Actually, the information provided in comment #0 is sufficient. I can reproduce the bug. Just to confirm, does the error still happen if you set LC_CTYPE=en_US.UTF-8 ? *** Bug 464202 has been marked as a duplicate of this bug. *** (In reply to comment #2) > (In reply to comment #1) > > Please attach the complete build log. > > Actually, the information provided in comment #0 is sufficient. I can > reproduce the bug. > > Just to confirm, does the error still happen if you set LC_CTYPE=en_US.UTF-8 > ? I have the same issue with a different python package dev-python/python-mpd-0.5.1 but same python version dev-lang/python-3.2.3-r2 I can confirm that setting LC_ALL helps, just setting LC_CTYPE was not sufficient here. I put the following into /etc/paludis/bashrc to make the build work temporarily: case "${CATEGORY}/${PN}" in */python-mpd) LC_ALL="de_DE.UTF-8" ;; esac Reinstalling python did not help, so I searched bugs.g.o with comment:ascii.py and stumbled upon this bug. The error message for python.mpd is similar: >>> Starting src_compile * python3_2: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python3.2 setup.py build --build-base /var/tmp/paludis/dev-python-python-mpd-0.5.1/work/python-mpd-0.5.1-python3_2 --build-platlib /var/tmp/paludis/dev-python-python-mpd-0.5.1/work/python-mpd-0.5.1-python3_2/lib --build-purelib /var/tmp/paludis/dev-python-python-mpd-0.5.1/work/python-mpd-0.5.1-python3_2/lib --build-scripts /var/tmp/paludis/dev-python-python-mpd-0.5.1/work/python-mpd-0.5.1-python3_2/scripts Traceback (most recent call last): File "setup.py", line 56, in <module> long_description=read('README.rst'), File "setup.py", line 48, in read return open(os.path.join(os.path.dirname(__file__), fname)).read() File "/usr/lib64/python3.2/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 6692: ordinal not in range(128) !!! ERROR in dev-python/python-mpd-0.5.1::gentoo: !!! In esetup.py at line 2934 !!! (no message provided) Setting LC_CTYPE=en_US.UTF-8 fixed it for me. I'm kind of confused because thats what my system is set for anyway. I had this same emerge fail error with four packages in Gnome-3:- gnome-core-apps gnome-terminal gnome-shell gnome-screensaver After remerging python and perl along with base-unicode not fixing it I was glad to find this fix here. Setting LC_CTYPE=en_AU.UTF-8 did the trick nicely. app-emacs/pymacs-0.25-r1 gone form the tree. Duplicate closed but this one remains. Can not reproduce with pymacs-0.26-r3. |