Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 743980 - gnome-extra/gconf-editor-3.0.1-r1 UnicodeEncodeError: 'charmap' codec can't encode character '\u2019' in position 741: character maps to <undefined>
Summary: gnome-extra/gconf-editor-3.0.1-r1 UnicodeEncodeError: 'charmap' codec can't e...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-21 17:46 UTC by Christophe PEREZ
Modified: 2022-09-12 20:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
error log (emerge-error.txt,163.84 KB, text/plain)
2020-09-21 17:46 UTC, Christophe PEREZ
Details
emerge --info (emerge-info.txt,6.24 KB, text/plain)
2020-09-21 17:47 UTC, Christophe PEREZ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe PEREZ 2020-09-21 17:46:38 UTC
Created attachment 661795 [details]
error log

I can't rebuild gnome-extra/gconf-editor-3.0.1-r1 :

if [ -f "${mo}" ]; then mo="../${mo}"; else mo="/var/tmp/portage/gnome-extra/gconf-editor-3.0.1-r1/work/gconf-editor-3.0.1/docs/${mo}"; fi; \
(cd fr/ && \
  `which xml2po` -m docbook -e -t "${mo}" \
    "${d}C/gconf-editor.xml" > gconf-editor.xml.tmp && \
    cp gconf-editor.xml.tmp gconf-editor.xml && rm -f gconf-editor.xml.tmp)
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.7/xml2po", line 191, in <module>
    main(sys.argv[1:])
  File "/usr/lib/python-exec/python3.7/xml2po", line 174, in main
    xml2po_main.merge(mofile, filenames[0])
  File "/usr/lib/python3.7/site-packages/xml2po/__init__.py", line 611, in merge
    self.out.write(doc.doc.serialize('utf-8', 1))
  File "/usr/lib/python3.7/encodings/iso8859_15.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u2019' in position 741: character maps to <undefined>
make[2]: *** [Makefile:786: fr/gconf-editor.xml] Error 1
make[2]: Leaving directory '/var/tmp/portage/gnome-extra/gconf-editor-3.0.1-r1/work/gconf-editor-3.0.1/docs'
make[1]: *** [Makefile:352: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/gnome-extra/gconf-editor-3.0.1-r1/work/gconf-editor-3.0.1'
make: *** [Makefile:281: all] Error 2
 * ERROR: gnome-extra/gconf-editor-3.0.1-r1::gentoo failed (compile phase):
 *   emake failed
Comment 1 Christophe PEREZ 2020-09-21 17:47:08 UTC
Created attachment 661798 [details]
emerge --info
Comment 2 Christophe PEREZ 2020-09-21 17:54:32 UTC
I can compile with :
LC_CTYPE=C.utf8 emerge -1 gconf-editor
Comment 3 Christophe PEREZ 2020-09-21 17:59:10 UTC
Seems to be the same problem as https://bugs.gentoo.org/707026
Comment 4 Jonas Stein gentoo-dev 2020-09-21 22:29:04 UTC
does the patch from #707026 fix it for you?
Comment 5 Christophe PEREZ 2020-09-21 22:37:10 UTC
(In reply to Jonas Stein from comment #4)
> does the patch from #707026 fix it for you?

Not applicable IMHO.
Comment 6 Christophe PEREZ 2022-09-12 20:13:49 UTC
I migrated my system to UTF-8
I close the bug