X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 353CC3858415
Authentication-Results: sourceware.org;
 dmarc=pass (p=none dis=none) header.from=inf.ed.ac.uk
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=inf.ed.ac.uk
To: cygwin@cygwin.com
Subject: mingw64-x86_64-libidn2 is out-of-date, causes linking fail
From: "Henry S. Thompson" <ht@inf.ed.ac.uk>
Date: Sat, 05 Feb 2022 18:15:33 +0000
Message-ID: <f5bmtj5w56i.fsf@ecclerig.inf.ed.ac.uk>
User-Agent: Gnus/5.101 (Gnus v5.10.10) XEmacs/21.5-b34 (linux)
MIME-Version: 1.0
X-Edinburgh-Scanned: at loire.is.ed.ac.uk
X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 SPF_HELO_PASS, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

There's a version skew problem between the current gnutls (3.5.18)
and libidn2 (2.3.2) in mingw64-x86_64.  This tickles an old bug (see
e.g. this bug report [1]) at runtime, namely:

  entry point "_idn2_punycode_decode" could not be found in
  .../libgnutls-30.dlls-30.dll

Downgrading mingw64-x86_64-libidn2 from 2.3.2 (2021) to 2.0,4 (2017)
fixes the problem, but may or may not introduce other issues down the
line.

Any chance we could get an update to the mingw64-x86_64-gnutls
package?  I note that the libgnutls30 package is at 3.6.9, and gnutls
stable itself is at 3.6.16.

Thanks,

ht

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1683812
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
