# dispatch-conf [H[J--- /tmp/tmpip9gluhe/0 2019-07-20 19:59:46.229764378 +0200 +++ /tmp/tmpip9gluhe/1 2019-07-20 19:59:46.229764378 +0200 @@ -1 +1 @@ -SYM: /etc/ssl/certs/NetLock_Arany_=Class_Gold=_Főtanúsítvány.pem -> /usr/share/ca-certificates/mozilla/NetLock_Arany_=Class_Gold=_Főtanúsítvány.crt +SYM: /etc/ssl/certs/NetLock_Arany_=Class_Gold=_Főtanúsítvány.pem -> ../../../usr/share/ca-certificates/mozilla/NetLock_Arany_=Class_Gold=_Főtanúsítvány.crt Traceback (most recent call last): File "/usr/lib/python-exec/python3.6/dispatch-conf", line 519, in <module> portage.settings.get('CONFIG_PROTECT', ''))) File "/usr/lib/python-exec/python3.6/dispatch-conf", line 297, in grind print('>> (%i of %i) -- %s' % (count, len(confs), conf ['current'])) UnicodeEncodeError: 'ascii' codec can't encode character '\u0151' in position 59: ordinal not in range(128) etc-update can handle it though.
We can use portage.util.writemsg_stdout for encoding here.
Patch: https://github.com/gentoo/portage/pull/438
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=3ebe48e61a02cb00c3bb2366e50b4c83ef390ecb commit 3ebe48e61a02cb00c3bb2366e50b4c83ef390ecb Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2019-07-20 20:06:50 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2019-07-20 20:08:01 +0000 dispatch-conf: use writemsg for unicode safety (bug 690304) Bug: https://bugs.gentoo.org/690304 Signed-off-by: Zac Medico <zmedico@gentoo.org> bin/dispatch-conf | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea52ac5964e3242159373adf567ff61403b31f96 commit ea52ac5964e3242159373adf567ff61403b31f96 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2019-08-02 03:41:26 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2019-08-02 03:46:19 +0000 sys-apps/portage: Bump to version 2.3.70 #233589 Support PROPERTIES=live #690304 dispatch-conf unicode safety #690446 emaint -c binhost support for binpkg-multi-instance #690758 network-sandbox support for AI_ADDRCONFIG Bug: https://bugs.gentoo.org/233589 Bug: https://bugs.gentoo.org/690304 Bug: https://bugs.gentoo.org/690446 Bug: https://bugs.gentoo.org/690758 Bug: https://bugs.gentoo.org/691278 Package-Manager: Portage-2.3.70, Repoman-2.3.16 Signed-off-by: Zac Medico <zmedico@gentoo.org> sys-apps/portage/Manifest | 1 + sys-apps/portage/portage-2.3.70.ebuild | 260 +++++++++++++++++++++++++++++++++ 2 files changed, 261 insertions(+)