Summary: | net-dns/libidn: Broken idn command | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Haelwenn (lanodan) Monnier <contact> |
Component: | Current packages | Assignee: | Michał Górny <mgorny> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Haelwenn (lanodan) Monnier
2021-07-28 03:30:16 UTC
Thanks for the report. Does libidn-1.36 work? (In reply to Sam James from comment #1) > Thanks for the report. > Does libidn-1.36 work? Yes, libidn-1.36 works fine (just did a checkout of net-dns/libidn before the cleanup commit). (In reply to Haelwenn (lanodan) Monnier from comment #2) > (In reply to Sam James from comment #1) > > Thanks for the report. > > Does libidn-1.36 work? > > Yes, libidn-1.36 works fine (just did a checkout of net-dns/libidn before > the cleanup commit). Have you managed to report this upstream yet? I have an error: $ echo "прехидент.укр" | idn2 # Works fine xn--d1abbk1ahhvw.xn--j1amh $ echo "прехидент.укр" | idn # Error idn: could not convert from ASCII to UTF-8 I send bug to <bug-libidn@gnu.org> (see https://www.gnu.org/software/libidn/#bugs) He reply, that error was resolved in version 1.39. Now, version 1.40 available. Please, update ebuild version. Error was: generates a non-ASCII string if you have UTF-8 in the console Workaround for current version 1.38-r1: $ echo "прехидент.укр" | CHARSET=UTF-8 idn2 xn--d1abbk1ahhvw.xn--j1amh $ echo "прехидент.укр" | CHARSET=UTF-8 idn xn--d1abbk1ahhvw.xn--j1amh (In reply to Bogdan from comment #4) > I have an error: > > $ echo "прехидент.укр" | idn2 # Works fine > xn--d1abbk1ahhvw.xn--j1amh > > $ echo "прехидент.укр" | idn # Error > idn: could not convert from ASCII to UTF-8 > > I send bug to <bug-libidn@gnu.org> (see > https://www.gnu.org/software/libidn/#bugs) > > He reply, that error was resolved in version 1.39. > > Now, version 1.40 available. > > Please, update ebuild version. I think 1.39 and 1.40 were released on the same day, fwiw. Anyway, thanks for reporting it, I'll be bumping shortly. For posterity: +* Noteworthy changes in release 1.39 (2022-06-20) [stable] + +** lib: Code detecting current locale broken since 1.36. +The code always returned ASCII. The precise cause is complicated to +track down but likely boils down to the new autotools/gettext +bootstrapping sequence introduced in release 1.36. Reported by Богдан +Пилипенко <bogdan.pylypenko107@gmail.com>. + The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0052d62f6f3c2bb45fca98fb1ea546b4ae67ccec commit 0052d62f6f3c2bb45fca98fb1ea546b4ae67ccec Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-21 21:23:23 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-21 22:00:20 +0000 net-dns/libidn: add 1.40 Drops mono and java support because not worth the maintenance hassle. mono-env.eclass doesn't support EAPI 8 and the Java build broke for some reason (think it was trivial, but...) Can restore if someone really needs them. Bug: https://bugs.gentoo.org/723272 Closes: https://bugs.gentoo.org/804825 Signed-off-by: Sam James <sam@gentoo.org> net-dns/libidn/Manifest | 2 + net-dns/libidn/libidn-1.40.ebuild | 89 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) |