unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
To: Florian Weimer <fweimer@redhat.com>,
	Carlos O'Donell <carlos@redhat.com>,
	libc-alpha@sourceware.org
Subject: Re: [PATCH COMMITTED] Switch IDNA implementation to libidn2 [BZ #19728] [BZ #19729] [BZ #22247]
Date: Wed, 23 May 2018 17:34:58 -0300	[thread overview]
Message-ID: <fc895d9c-16ae-18c0-3d8f-f193054396f0@linaro.org> (raw)
In-Reply-To: <c9d52c9c-2db7-fd02-d377-0b2bed48ee41@redhat.com>



On 23/05/2018 16:33, Florian Weimer wrote:
> On 05/23/2018 07:51 PM, Adhemerval Zanella wrote:
> 
>> So in this case we should at least document this better, commit message does
>> not have anything regarding it and NEWS update just states "[...] libidn2
>> version 2.0.5 or later is recommended. [...]" which does not really state
>> why 2.0.5 is preferred.
> 
> I thought that obvious: It has fewer bugs.  This dragged on for so many months because we kept finding issues that needed addressing, and only with the 2.0.5 release, we have something that is close both to the WHATWG recommendations (which isn't what browsers implement) and what is needed on some enterprise networks.
> 
> HJ tested with Fedora 28 libidn2 which has backports, so he reported only comparatively few test failures.
> 
>> Also, reading the newer tests does give any indication why 2.0.5 is required
>> to fully compliance nor they check libidn2 version.  To one involved in glibc
>> developments it should be straightforward to relate possible test-suite to
>> related error, but I still think that indicating that system tests libidn is
>> the culprit nor glibc itself is a better error output.
> 
> There are comments in the test case which indicate what is being tested (non-transitional mode, Unicode TR 46 mode).  These are areas where we pushed libidn2 to change defaults.
> 
> Due to the backports from some distributions, mentioning specific libidn2 versions could be misleading.
> 
> Immediately after the commit, I added a note <https://sourceware.org/glibc/wiki/Release/2.28#libidn2_is_a_recommended_dependency>.  Isn't this sufficient?
> 
> Thanks,
> Florian

What was not immediate obvious to me (and H.J. Lu I would say) was which 
kind of issues to expect in a non conforming environment, neither that 
resolv/tst-resolv-ai_idn should fail in such scenarios.  It it just for 
future references it would be good to have reference that it might be 
triggered by a faulty libidn2 installation (which this thread should 
be enough if someone cross this very issue).

  reply	other threads:[~2018-05-23 20:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-23 13:29 [PATCH COMMITTED] Switch IDNA implementation to libidn2 [BZ #19728] [BZ #19729] [BZ #22247] Florian Weimer
2018-05-23 16:44 ` H.J. Lu
2018-05-23 16:55   ` Florian Weimer
2018-05-23 17:12     ` Adhemerval Zanella
2018-05-23 17:38       ` Carlos O'Donell
2018-05-23 17:51         ` Adhemerval Zanella
2018-05-23 17:53           ` Carlos O'Donell
2018-05-23 19:33           ` Florian Weimer
2018-05-23 20:34             ` Adhemerval Zanella [this message]
2018-05-23 20:35             ` Adhemerval Zanella
2019-01-21  9:10 ` Andreas Schwab
2019-01-21  9:30   ` Florian Weimer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/libc/involved.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fc895d9c-16ae-18c0-3d8f-f193054396f0@linaro.org \
    --to=adhemerval.zanella@linaro.org \
    --cc=carlos@redhat.com \
    --cc=fweimer@redhat.com \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).