GNU bug report logs - #76550
30.1; Test failure for fns-tests-collate-strings with musl libc

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Ulrich Müller <ulm@HIDDEN>; Done: Paul Eggert <eggert@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 76550-done <at> debbugs.gnu.org:


Received: (at 76550-done) by debbugs.gnu.org; 27 Feb 2025 18:59:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 27 13:59:25 2025
Received: from localhost ([127.0.0.1]:37899 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tnj6T-0006gj-Gt
	for submit <at> debbugs.gnu.org; Thu, 27 Feb 2025 13:59:25 -0500
Received: from mail.cs.ucla.edu ([131.179.128.66]:33460)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eggert@HIDDEN>)
 id 1tnj6R-0006gC-1M
 for 76550-done <at> debbugs.gnu.org; Thu, 27 Feb 2025 13:59:23 -0500
Received: from localhost (localhost [127.0.0.1])
 by mail.cs.ucla.edu (Postfix) with ESMTP id 185D43C00E413;
 Thu, 27 Feb 2025 10:59:17 -0800 (PST)
Received: from mail.cs.ucla.edu ([127.0.0.1])
 by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP
 id DNmzbUka0Srl; Thu, 27 Feb 2025 10:59:16 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
 by mail.cs.ucla.edu (Postfix) with ESMTP id D26E43C00E415;
 Thu, 27 Feb 2025 10:59:16 -0800 (PST)
DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu D26E43C00E415
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu;
 s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1740682756;
 bh=t9hxjegtagD5BpDybSQLvXr6ufVa0lPSxYRxn4siAcQ=;
 h=Message-ID:Date:MIME-Version:To:From;
 b=YChtt3myNQkBPkGogq3bkD7uunVdPEyMtEw9bE7Jp5GM2Br1hGmeqAurgV5aaV/l/
 zNMqlvA8wQ+2YuohsxFmWpXzL9xGca5cmJfEI3cC1HUEFBh6AZ2XOJxpymIPkSO4VC
 o/TbTvon+/ONZRJcg3Yy5zKwo6rronQvYQ74W0Vlns79V/t4SFauGtGycRAlLzJ9zB
 ThP9YS0JOqYnlR8Iu0VxVi94TS5wS7nvISwc+zmUSosYWu4EcmVdeNg2Y0Xp0u2TX3
 2qQ1u7FnGzS2kHwtiHJOsU8Vb+jLBEkcEoUHzGtAefLYOhOe7tsof5JvDhL2lTm2Ja
 LTsl0cfodS/Jg==
X-Virus-Scanned: amavis at mail.cs.ucla.edu
Received: from mail.cs.ucla.edu ([127.0.0.1])
 by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP
 id cE6sykRxfLdC; Thu, 27 Feb 2025 10:59:16 -0800 (PST)
Received: from [192.168.254.12] (unknown [47.147.225.25])
 by mail.cs.ucla.edu (Postfix) with ESMTPSA id B1EFF3C00E413;
 Thu, 27 Feb 2025 10:59:16 -0800 (PST)
Message-ID: <7b929a3d-879f-4339-b7e3-903947a8bbde@HIDDEN>
Date: Thu, 27 Feb 2025 10:59:16 -0800
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76550: 30.1; Test failure for fns-tests-collate-strings with
 musl libc
To: Eli Zaretskii <eliz@HIDDEN>
References: <uo6yqdz1e@HIDDEN> <ujz9edn6b@HIDDEN>
 <86seo2vsz2.fsf@HIDDEN> <ucyf5ev6e@HIDDEN> <86h64hx0u4.fsf@HIDDEN>
 <u8qpteqbw@HIDDEN> <865xkwx2nl.fsf@HIDDEN>
 <3f862909-6bfd-4d10-9f64-6a8bef70551b@HIDDEN> <865xkvvmto.fsf@HIDDEN>
Content-Language: en-US
From: Paul Eggert <eggert@HIDDEN>
Organization: UCLA Computer Science Department
In-Reply-To: <865xkvvmto.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76550-done
Cc: ulm@HIDDEN, 76550-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 2025-02-27 00:00, Eli Zaretskii wrote:
> Thanks, this is okay to install on the release branch.  (Although it
> tests a slightly different issue, AFAICT.)

That it does. I installed it and am closing this bug report.




Notification sent to Ulrich Müller <ulm@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Paul Eggert <eggert@HIDDEN>:
You have taken responsibility. Full text available.

Message received at 76550 <at> debbugs.gnu.org:


Received: (at 76550) by debbugs.gnu.org; 27 Feb 2025 13:11:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 27 08:11:34 2025
Received: from localhost ([127.0.0.1]:59878 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tndfq-000369-Hd
	for submit <at> debbugs.gnu.org; Thu, 27 Feb 2025 08:11:34 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:33028)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tndfn-00035r-6s
 for 76550 <at> debbugs.gnu.org; Thu, 27 Feb 2025 08:11:32 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tndff-0007v5-0M; Thu, 27 Feb 2025 08:11:24 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=nr5FUge2F/9qPfnGnfyxrKbp1uvokxSkjx1DLRtr0VE=; b=U+4WoqPy2neM
 5UpwrqwfTPGI4lr8gbZDqY8Gm/MYJJP1lkIDozorING0qSnfgZZmspLxl+Xd4WeTXXFtGn73KVbSI
 AJIOWo1kXYR1rIVmycAYGr+9j7d/ey6Orem9lC/PkuKDbVBjJ+jAsm1agQEPf+DSvyY9LQWYqW3pY
 +Ys60pdseFohJ6A6RCrZlxqQRLM9cQOho2Zw/m24iSimKIuw6K1CRkIAiihVetryOKWjRi3cZCbJT
 yu1HhecFsvpsZ6wNRLH7mOme8RVyP2460XVgCLkw1U9u7qQld54UYXlNJXxVhSwfThcqhlG+tlfIy
 DReD62VGzYiD/KFIqBG3gA==;
Date: Thu, 27 Feb 2025 15:11:16 +0200
Message-Id: <86ldtrttvv.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <CADwFkmn-H80DKpmOVx5skj_CrM5ZpaSC=QCgAF2Obrk6ti+Pxg@HIDDEN>
 (message from Stefan Kangas on Thu, 27 Feb 2025 03:36:35 -0800)
Subject: Re: bug#76550: 30.1; Test failure for fns-tests-collate-strings with
 musl libc
References: <uo6yqdz1e@HIDDEN> <ujz9edn6b@HIDDEN>
 <86seo2vsz2.fsf@HIDDEN>
 <ucyf5ev6e@HIDDEN> <86h64hx0u4.fsf@HIDDEN> <u8qpteqbw@HIDDEN>
 <865xkwx2nl.fsf@HIDDEN> <w6gfrk0n4tg.fsf@HIDDEN>
 <86plj4vhgl.fsf@HIDDEN>
 <CADwFkmn-H80DKpmOVx5skj_CrM5ZpaSC=QCgAF2Obrk6ti+Pxg@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76550
Cc: ulm@HIDDEN, eggert@HIDDEN, 76550 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Stefan Kangas <stefankangas@HIDDEN>
> Date: Thu, 27 Feb 2025 03:36:35 -0800
> Cc: eggert@HIDDEN, 76550 <at> debbugs.gnu.org
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > The reason I don't want this on the release branch as that this change
> > potentially affects every system, and fixing tests on the release
> > branch is low priority anyway (the test suite is something we develop
> > for our own needs, not for the users).  So would like to avoid an
> > unnecessary, if small, risk on the release branch, especially since
> > 30.1 has been released already.
> 
> FWIW, I don't see any risk with disabling this test on emacs-30.

Yes, that would be also good.  But I think Paul found a better
solution.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76550; Package emacs. Full text available.

Message received at 76550 <at> debbugs.gnu.org:


Received: (at 76550) by debbugs.gnu.org; 27 Feb 2025 11:36:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 27 06:36:46 2025
Received: from localhost ([127.0.0.1]:58978 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tncC5-000440-Ui
	for submit <at> debbugs.gnu.org; Thu, 27 Feb 2025 06:36:46 -0500
Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]:61931)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>)
 id 1tncC2-00043H-I0
 for 76550 <at> debbugs.gnu.org; Thu, 27 Feb 2025 06:36:43 -0500
Received: by mail-ed1-x529.google.com with SMTP id
 4fb4d7f45d1cf-5e0505275b7so1202353a12.3
 for <76550 <at> debbugs.gnu.org>; Thu, 27 Feb 2025 03:36:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740656196; x=1741260996; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=y8UkVFP93dBMsd26kVlnFA/MIDJoBhJU8GExQgPtYZ0=;
 b=AAffjT5V3UKxPBtpDu+LM3MGu+5qyiCQtMFsID89b4IszsTGS53/1hassPsR826+Tl
 PaPOB8i5TzwtsnH5b77nx9mjDa4y0GAmDwZqt1goFOyff7uY5M0H1B4aoMEwYGdvnC+X
 0as1VnJdGLID6cbExvkw2itAPLSLMBfJcLKUz0tFukYQrGbUrCMNtjZqbiU6+AQY00BU
 TSNSomH+hKr8e/03rjdW1AvPH1n5zGjkCIK4WA55U8d2il2uq/EvDV21YP5nRQx0JCW1
 NvKFgsaOpm7w4tGBRClkLLwGiafhx8XcP+E6RDQfMKSuRGkTl2fVohRfY0rgut3tGqSS
 ruYA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740656196; x=1741260996;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=y8UkVFP93dBMsd26kVlnFA/MIDJoBhJU8GExQgPtYZ0=;
 b=qoX3Zbu/XMOcAHVB8Zp0OoKQcRsFVen44owZm4iAOQ/kwgfQtSYpTA3behfUmiGgn9
 zz5iy430kzaHA2ucN//SMOrZWT5rGUR9X4NH4c1MD8y8IKzIZib0Ru0sXpCDi+M3wZvd
 dFdR45b1TT5umy3x92povIZSwBvmDzLFiqpuLnz3B5CimJTfhkPbB7hioz+2uUS2Ca9M
 C3Pq5VF2Kjvfc4zWtJKVPlAtkTsweImJsTZjhgoltdxgM5RYOQLZRGAlMqMWJZym7h6/
 6TMoUA++FeM3qV1b3Q6+JdzirjShNraaetMFdcvs/uIOJZ+1J1G7n44UxMX+sG70dA/U
 udkQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCXvLEeZtVJ1+soegq9b7zbdX37E0xOsGjtTjbKLG9vo6GHKUQf8sH4rXOzMR7Wll22KwqObvQ==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YyCs/An+IbJL+QrT1Nh4h/rQ6vxsgyx+2ZKkeBCg4kHBCWu75Fx
 hqvFid9Qo84I+rTn69bEU+zx15zBfEqAoFtQdZu/ZlXpVdfXgwmp2UfKfEZIa0HxwtSiwELOUZD
 P+vJUlG+i110pe7lfe78q2sdvWMI=
X-Gm-Gg: ASbGncsNI7t2ckBwkQBDwgR+B7N34VjDPiI0rlK5u+enJsnJlo+3CCHpjpPlp4Dq0yM
 pygveczgVGPez++uzOPcd2S6EMykwatpcJylYxbQCOraL7wtXwEvn9K4N1OfX2Jz3/AjzzyJvpk
 FLc7GlqqF2JQ==
X-Google-Smtp-Source: AGHT+IEPuypYnt24NhwIQ6DOgbDSDajqLUFuwkDCqNm7zIwoidE9tgXhb/NQgHoe26PSqi+GWWvG8/oZZ/tYQsOHcrk=
X-Received: by 2002:a05:6402:2110:b0:5e0:4e59:27a6 with SMTP id
 4fb4d7f45d1cf-5e4a0e1b5b7mr9600961a12.31.1740656196289; Thu, 27 Feb 2025
 03:36:36 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Thu, 27 Feb 2025 03:36:35 -0800
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <86plj4vhgl.fsf@HIDDEN>
References: <uo6yqdz1e@HIDDEN> <ujz9edn6b@HIDDEN>
 <86seo2vsz2.fsf@HIDDEN>
 <ucyf5ev6e@HIDDEN> <86h64hx0u4.fsf@HIDDEN> <u8qpteqbw@HIDDEN>
 <865xkwx2nl.fsf@HIDDEN> <w6gfrk0n4tg.fsf@HIDDEN>
 <86plj4vhgl.fsf@HIDDEN>
MIME-Version: 1.0
Date: Thu, 27 Feb 2025 03:36:35 -0800
X-Gm-Features: AQ5f1JohDmF7cZYAz57rcJaHIapOjqA4IP-8lbgaEvXQMMa4dInZWfCxmTxTz6Q
Message-ID: <CADwFkmn-H80DKpmOVx5skj_CrM5ZpaSC=QCgAF2Obrk6ti+Pxg@HIDDEN>
Subject: Re: bug#76550: 30.1; Test failure for fns-tests-collate-strings with
 musl libc
To: Eli Zaretskii <eliz@HIDDEN>,
 =?UTF-8?Q?Ulrich_M=C3=BCller?= <ulm@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76550
Cc: eggert@HIDDEN, 76550 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> The reason I don't want this on the release branch as that this change
> potentially affects every system, and fixing tests on the release
> branch is low priority anyway (the test suite is something we develop
> for our own needs, not for the users).  So would like to avoid an
> unnecessary, if small, risk on the release branch, especially since
> 30.1 has been released already.

FWIW, I don't see any risk with disabling this test on emacs-30.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76550; Package emacs. Full text available.

Message received at 76550 <at> debbugs.gnu.org:


Received: (at 76550) by debbugs.gnu.org; 27 Feb 2025 08:01:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 27 03:01:36 2025
Received: from localhost ([127.0.0.1]:57879 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tnYpr-0006gB-OJ
	for submit <at> debbugs.gnu.org; Thu, 27 Feb 2025 03:01:36 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:58692)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tnYpm-0006fh-Hi
 for 76550 <at> debbugs.gnu.org; Thu, 27 Feb 2025 03:01:33 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tnYpg-0000kR-AP; Thu, 27 Feb 2025 03:01:24 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=knGq5Fe3Esw2lqWy53RcG12LFOGrdUuzKaIr5FEQjzM=; b=ZnZTC/X7DdeCUVax+qHp
 +I0ntCguq66z7bG2+AAxLGkm4wFwRAVoeHw5AgyiutuaMC0cJlRdbd7sRqSrpP5iWn1pimWmTf3ff
 mldSW7/Gp3Q9pCIpunaegXSKdQ2Oi3zYA7EL9yxOHtQKoIGpraKFLXPZXlGcxeqDIydG54Oywoff5
 t4VwTzUA/F46hkxh7G3eoyFH6zx8fGtAaQO5gLrHvbiZo37249AhyLxd21hXKftNGpzGcas4FVBu5
 58Zr026MneMyMkYNYB1Rt5JPOaViOr6TPVfU8QSCvEQ+lf/DsOxvu+1ubbOYHmEUZZBSWuzlDQqVN
 8TTmNrsLmGi7YQ==;
Date: Thu, 27 Feb 2025 10:00:51 +0200
Message-Id: <865xkvvmto.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Paul Eggert <eggert@HIDDEN>
In-Reply-To: <3f862909-6bfd-4d10-9f64-6a8bef70551b@HIDDEN> (message from
 Paul Eggert on Wed, 26 Feb 2025 12:38:20 -0800)
Subject: Re: bug#76550: 30.1; Test failure for fns-tests-collate-strings with
 musl libc
References: <uo6yqdz1e@HIDDEN> <ujz9edn6b@HIDDEN>
 <86seo2vsz2.fsf@HIDDEN> <ucyf5ev6e@HIDDEN> <86h64hx0u4.fsf@HIDDEN>
 <u8qpteqbw@HIDDEN> <865xkwx2nl.fsf@HIDDEN>
 <3f862909-6bfd-4d10-9f64-6a8bef70551b@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76550
Cc: ulm@HIDDEN, 76550 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Wed, 26 Feb 2025 12:38:20 -0800
> Cc: 76550 <at> debbugs.gnu.org, Ulrich Müller <ulm@HIDDEN>
> From: Paul Eggert <eggert@HIDDEN>
> 
> On 2/26/25 05:21, Eli Zaretskii wrote:
> > Maybe Paul has some comments or suggestions.
> 
> I suggest the following patch.
> 
> I see no portable way to specify an invalid locale (which is what the 
> test wants), and little point to going to the trouble of trying to 
> figure out exactly which platforms allow this particular string and 
> which don't.

Thanks, this is okay to install on the release branch.  (Although it
tests a slightly different issue, AFAICT.)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76550; Package emacs. Full text available.

Message received at 76550 <at> debbugs.gnu.org:


Received: (at 76550) by debbugs.gnu.org; 27 Feb 2025 04:58:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 26 23:58:20 2025
Received: from localhost ([127.0.0.1]:57516 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tnVyW-0005Vm-Dj
	for submit <at> debbugs.gnu.org; Wed, 26 Feb 2025 23:58:20 -0500
Received: from woodpecker.gentoo.org
 ([2001:470:ea4a:1:5054:ff:fec7:86e4]:57579 helo=smtp.gentoo.org)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <ulm@HIDDEN>) id 1tnVyS-0005VK-Tw
 for 76550 <at> debbugs.gnu.org; Wed, 26 Feb 2025 23:58:18 -0500
Received: from urania (p57bb151d.dip0.t-ipconnect.de [87.187.21.29])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits)
 server-digest SHA256) (No client certificate requested)
 (Authenticated sender: ulm)
 by smtp.gentoo.org (Postfix) with ESMTPSA id EC46634315B;
 Thu, 27 Feb 2025 04:58:05 +0000 (UTC)
From: =?utf-8?Q?Ulrich_M=C3=BCller?= <ulm@HIDDEN>
To: Paul Eggert <eggert@HIDDEN>
Subject: Re: bug#76550: 30.1; Test failure for fns-tests-collate-strings
 with musl libc
In-Reply-To: <3f862909-6bfd-4d10-9f64-6a8bef70551b@HIDDEN> (Paul Eggert's
 message of "Wed, 26 Feb 2025 12:38:20 -0800")
References: <uo6yqdz1e@HIDDEN> <ujz9edn6b@HIDDEN>
 <86seo2vsz2.fsf@HIDDEN> <ucyf5ev6e@HIDDEN>
 <86h64hx0u4.fsf@HIDDEN> <u8qpteqbw@HIDDEN>
 <865xkwx2nl.fsf@HIDDEN>
 <3f862909-6bfd-4d10-9f64-6a8bef70551b@HIDDEN>
Date: Thu, 27 Feb 2025 05:58:02 +0100
Message-ID: <utt8gc7c5@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76550
Cc: Eli Zaretskii <eliz@HIDDEN>, 76550 <at> debbugs.gnu.org,
 Ulrich =?utf-8?Q?M=C3=BCller?= <ulm@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

>>>>> On Wed, 26 Feb 2025, Paul Eggert wrote:

> On 2/26/25 05:21, Eli Zaretskii wrote:
>> Maybe Paul has some comments or suggestions.

> I suggest the following patch.

> I see no portable way to specify an invalid locale (which is what the
> test wants), and little point to going to the trouble of trying to
> figure out exactly which platforms allow this particular string and
> which don't.

> diff --git a/test/src/fns-tests.el b/test/src/fns-tests.el
> index 3d6cd5de8fe..e97ae275da6 100644
> --- a/test/src/fns-tests.el
> +++ b/test/src/fns-tests.el
> @@ -277,7 +277,7 @@ fns-tests-collate-strings
>    (should (string-collate-equalp "xyzzy" "XYZZY" nil t))
>
>    ;; Locale must be valid.
> -  (should-error (string-collate-equalp "xyzzy" "xyzzy" "en_XY.UTF-8")))
> +  (should-error (string-collate-equalp "xyzzy" "xyzzy" 'not-a-locale)))
>
>  ;; There must be a check for valid codepoints.  (Check not
>     implemented yet)
>  ;  (should-error

I confirm that this patch makes the test pass with musl 1.2.5.

(The __STDC_ISO_10646__ macro was introduced in musl 1.1.15, released
in 2016: https://git.musl-libc.org/cgit/musl/tree/WHATSNEW#n1707
Presumably the test would still fail with older musl versions, but I
think it is OK to ignore that.)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76550; Package emacs. Full text available.

Message received at 76550 <at> debbugs.gnu.org:


Received: (at 76550) by debbugs.gnu.org; 26 Feb 2025 20:38:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 26 15:38:29 2025
Received: from localhost ([127.0.0.1]:55668 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tnOAn-0007ST-7H
	for submit <at> debbugs.gnu.org; Wed, 26 Feb 2025 15:38:29 -0500
Received: from mail.cs.ucla.edu ([131.179.128.66]:58174)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eggert@HIDDEN>)
 id 1tnOAk-0007S5-V9
 for 76550 <at> debbugs.gnu.org; Wed, 26 Feb 2025 15:38:27 -0500
Received: from localhost (localhost [127.0.0.1])
 by mail.cs.ucla.edu (Postfix) with ESMTP id 188533C00E409;
 Wed, 26 Feb 2025 12:38:21 -0800 (PST)
Received: from mail.cs.ucla.edu ([127.0.0.1])
 by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP
 id 9NEYG5vMRX0k; Wed, 26 Feb 2025 12:38:20 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
 by mail.cs.ucla.edu (Postfix) with ESMTP id C5CFB3C00E40C;
 Wed, 26 Feb 2025 12:38:20 -0800 (PST)
DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu C5CFB3C00E40C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu;
 s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1740602300;
 bh=RFM2Pkv76df1Bjl2LOW1KRMozqIG/Ydsu/gpfbgD8xY=;
 h=Message-ID:Date:MIME-Version:To:From;
 b=K7rEuySLftK2zx066asPujYa8JukLD/8+/tAZVOeN4DxyLR2od9P1mo440v+qxA99
 452y7rgr5tv0wRF5FI7oaUOZ+PHcWE+EHfqngBjtV8NwMlGykzQYIvbiSaRQWSKJbP
 dn4snWkmJgBy5vO2GYuQS3QPh9a7ffohM3VhnUK6JkYI+QKv4U8Ao8ghwy4F1WZA+1
 PDJMthLh6ol2LVT8d/EFsIrSyqyx9rrompQWg8WTsgWr71rd3ViZDIRCXvGdEZQNv0
 bL4WL55r4ScEQ/mf7TgDHj0LKp/4x2PqkNYmV9EV7LfRRc18LfcVRI7AlXKQI8EUCP
 PnTpDI4hQ78Ow==
X-Virus-Scanned: amavis at mail.cs.ucla.edu
Received: from mail.cs.ucla.edu ([127.0.0.1])
 by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP
 id AUkzdaatkWAy; Wed, 26 Feb 2025 12:38:20 -0800 (PST)
Received: from [131.179.64.200] (Penguin.CS.UCLA.EDU [131.179.64.200])
 by mail.cs.ucla.edu (Postfix) with ESMTPSA id AB7F83C00E409;
 Wed, 26 Feb 2025 12:38:20 -0800 (PST)
Message-ID: <3f862909-6bfd-4d10-9f64-6a8bef70551b@HIDDEN>
Date: Wed, 26 Feb 2025 12:38:20 -0800
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#76550: 30.1; Test failure for fns-tests-collate-strings with
 musl libc
To: Eli Zaretskii <eliz@HIDDEN>
References: <uo6yqdz1e@HIDDEN> <ujz9edn6b@HIDDEN>
 <86seo2vsz2.fsf@HIDDEN> <ucyf5ev6e@HIDDEN> <86h64hx0u4.fsf@HIDDEN>
 <u8qpteqbw@HIDDEN> <865xkwx2nl.fsf@HIDDEN>
Content-Language: en-US
From: Paul Eggert <eggert@HIDDEN>
Autocrypt: addr=eggert@HIDDEN; keydata=
 xsFNBEyAcmQBEADAAyH2xoTu7ppG5D3a8FMZEon74dCvc4+q1XA2J2tBy2pwaTqfhpxxdGA9
 Jj50UJ3PD4bSUEgN8tLZ0san47l5XTAFLi2456ciSl5m8sKaHlGdt9XmAAtmXqeZVIYX/UFS
 96fDzf4xhEmm/y7LbYEPQdUdxu47xA5KhTYp5bltF3WYDz1Ygd7gx07Auwp7iw7eNvnoDTAl
 KAl8KYDZzbDNCQGEbpY3efZIvPdeI+FWQN4W+kghy+P6au6PrIIhYraeua7XDdb2LS1en3Ss
 mE3QjqfRqI/A2ue8JMwsvXe/WK38Ezs6x74iTaqI3AFH6ilAhDqpMnd/msSESNFt76DiO1ZK
 QMr9amVPknjfPmJISqdhgB1DlEdw34sROf6V8mZw0xfqT6PKE46LcFefzs0kbg4GORf8vjG2
 Sf1tk5eU8MBiyN/bZ03bKNjNYMpODDQQwuP84kYLkX2wBxxMAhBxwbDVZudzxDZJ1C2VXujC
 OJVxq2kljBM9ETYuUGqd75AW2LXrLw6+MuIsHFAYAgRr7+KcwDgBAfwhPBYX34nSSiHlmLC+
 KaHLeCLF5ZI2vKm3HEeCTtlOg7xZEONgwzL+fdKo+D6SoC8RRxJKs8a3sVfI4t6CnrQzvJbB
 n6gxdgCu5i29J1QCYrCYvql2UyFPAK+do99/1jOXT4m2836j1wARAQABzSBQYXVsIEVnZ2Vy
 dCA8ZWdnZXJ0QGNzLnVjbGEuZWR1PsLBlQQTAQgAPwIbAwYLCQgHAwIGFQgCCQoLBBYCAwEC
 HgECF4AWIQR+N5Kp2Kz31jO8FYjtl+kOYqp+NAUCZiLOewUJHWQLDAAKCRDtl+kOYqp+NHGE
 D/9Wmbk+cAaQsYLPGBvyzIjZIRzo/V2p3ZwckVA1VEQivx5azu1cs86qDoVIe45AtwmKOvdV
 wTQd/QeglkZR6D2YPW7UR/7emajyJZZcy+etVTDKoaw1i6/hmd/CpGjUeUSvgoPs6nYR+1lo
 pSXTpaGrh1W0qQHalSkOOwCHG3HtGk9Ve2AERDUYxmcn8/eZHb7xpUJEJMBBI1bx/zcw1EtB
 rjsQ1R1faJ/r/7LPAyV36RLvnbX69PylHKQEbJoaY9aUb2Vpm63ni3FeTA7/3jpPvaSRWHJh
 vPYx6Fm2Ln8pI0Yf/W2B8QMiPTnF/LnH2kvUcf9VXm+1mQJ3fBFU25HZwBhuqZ24IeKymPEt
 BUMQAum97Dto0jSgR2OUvX7z+twhpQEgRGBzPHYwDi4SxF5Z4Q5Y7B7a++HP9tIxG6CVFIwI
 4xVaZud18bPa0YBL+cISmMgxq7h7yoVXl6u3pm9Yiv+W6Lp9QGN8Rw1VuJMOoFCYuoxG8mXO
 TA5b1jvlQ32gHFFhqErDAhNJRsfgrpe9Gok4Ycp+rWljbvS5Wrl0uth5MP7FbaHN2kmTZibq
 KXAd//IqczhDyU6qnW6ao+h4iDBDgYgRbQjmToX/vmIdEMzvPGqWXKhe/q1TYMuOO+IfP+bI
 fyPFH29nVN/o9c4J7myeKvv3HKSXdSVjlh2V787BTQRMgHJkARAApoXrvxP3DIfjCNOtXU/P
 dwMShKdX/RlSs5PfunV1wbKP8herXHrvQdFVqECaTSxmlhzbk8X0PkY9gcVaU2O49T3qsOd1
 cHeF52YFGEt0LhsBeMjgNX5uZ1V76r8gyeVlFpWWb0SIwJUBHrDXexF67upeRb2vdHBjYDNe
 ySn+0B7gFEqvVmZu+LadudDp6kQLjatFvHQHUSGNshBnkkcaTbiI9Pst0GCc2aiznBiPPA2W
 QxAPlPRh3OGTsn5THADmbjqY6FEMLasVX8DSCblMvLwNeO/8SxziBidhqLpJCqdQRWHku5Xx
 gIkGeKOz5OLDvXHWJyafrEYjjkS6Ak6B5z6svKliClWnjHQcjlPzyoFFgKTEfcqDxCj4RY0D
 0DgtFD0NfyeOidrSB/SzTe2hwryQE3rpSiqo+0cGdzh4yAHKYJ+UrXZ4p93ZhjGfKD1xlrNY
 DlWyW9PGmbvqFuDmiIAQf9WD/wzEfICc+F+uDDI+uYkRxUFp92ykmdhDEFg1yjYsU8iGU69a
 Hyvhq36z4zctvbqhRNzOWB1bVJ/dIMDvsExGcXQVDIT7sDNXv0wE3jKSKpp7NDG1oXUXL+2+
 SF99Kjy753AbQSAmH617fyBNwhJWvQYg+mUvPpiGOtses9EXUI3lS4v0MEaPG43flEs1UR+1
 rpFQWVHo1y1OO+sAEQEAAcLBfAQYAQgAJgIbDBYhBH43kqnYrPfWM7wViO2X6Q5iqn40BQJm
 Is58BQkdZAsMAAoJEO2X6Q5iqn40Q68QAJ9GubS/ej30Vc4idoZdc0IyMcL7kQJbMohF+Tyn
 ZE+TGn9WvzP10yLyzoI0vNlcNfP92d2MS//pFjOuANb5mwyiEYA+rDZIdS4ZZpHxCs2sxMC4
 afLCf3kv4aMnTeBvb9na403dlczz9cAacvsmniSFdpb1+BzMpYbybglU5oYMGhYT2nnCRjXN
 6S2nKYt4mjJeeOuxHrdeqQQdVBNYeNfTcPePeqvZ2+bD6u9yxZtaV+wxdpqglosQvjqhOYz7
 h50/ZTSq70/npoCq44TzdJKttaYvlW6ziRz0g4RRAqZyoxjYXiy5qj8r8zXJuB11ApZCGuKn
 /usbji9RYbflAhxFeh4LMmpDVi6BrF30b73Md59K7PuEKN1NxzlWiqqQHZZ9momN0GXLPcGq
 4uyfq7yVEy7wP5PMOh6oqscKklE3gFQtq0P1Ki0xqdF6Fq5LPJc+0Db2CYkVIy7Xaa/f74I3
 sOfQfEeDylVXR5iDfUJEYv/0DYhOr7q5/0b1kh3M4wkrB4C5jVNHjIIj+RsAK90c3t38OhAl
 jiSN7Bkwy24Afy8eIu6wWzvhnsQGpZPB+IffmxT1wkTy8UxZKjUWV0C82iphVgCUUi2f9sDV
 Q/tNcwVWmOS+gdv9Wk6tdGeM+Ee+Qs6YG05jcSoajzF0TL07ajLcayRq2j1Os2CtQ8qu
Organization: UCLA Computer Science Department
In-Reply-To: <865xkwx2nl.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76550
Cc: =?UTF-8?Q?Ulrich_M=C3=BCller?= <ulm@HIDDEN>, 76550 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 2/26/25 05:21, Eli Zaretskii wrote:
> Maybe Paul has some comments or suggestions.

I suggest the following patch.

I see no portable way to specify an invalid locale (which is what the 
test wants), and little point to going to the trouble of trying to 
figure out exactly which platforms allow this particular string and 
which don't.

diff --git a/test/src/fns-tests.el b/test/src/fns-tests.el
index 3d6cd5de8fe..e97ae275da6 100644
--- a/test/src/fns-tests.el
+++ b/test/src/fns-tests.el
@@ -277,7 +277,7 @@ fns-tests-collate-strings
    (should (string-collate-equalp "xyzzy" "XYZZY" nil t))

    ;; Locale must be valid.
-  (should-error (string-collate-equalp "xyzzy" "xyzzy" "en_XY.UTF-8")))
+  (should-error (string-collate-equalp "xyzzy" "xyzzy" 'not-a-locale)))

  ;; There must be a check for valid codepoints.  (Check not implemented 
yet)
  ;  (should-error





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76550; Package emacs. Full text available.

Message received at 76550 <at> debbugs.gnu.org:


Received: (at 76550) by debbugs.gnu.org; 26 Feb 2025 15:44:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 26 10:44:42 2025
Received: from localhost ([127.0.0.1]:54882 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tnJaT-00016R-Pw
	for submit <at> debbugs.gnu.org; Wed, 26 Feb 2025 10:44:42 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:47458)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tnJaQ-000166-6A
 for 76550 <at> debbugs.gnu.org; Wed, 26 Feb 2025 10:44:39 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tnJaJ-0003BE-V0; Wed, 26 Feb 2025 10:44:32 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=bLu/ZZsQ5FktOicKp2doUhZgFagcXml8gycH6YgX4Ok=; b=HyvUn3Amk31sBGHHX4D+
 0g1/cwExco9MJN4iD0etDSKYkT9UaR+ka5f5sravn8ZPghTlz9LVLDL1kF1PlHrQBNCne7ULc12+F
 I9JUVIoloQgGwCf0kBRakwNLe81c9JciEzkV9ld2IIsSGmEeCG+XzXLMViuuLDVtM6M1fjEPSdxNO
 Q1jzNtZeYN8db9S1Pjp0jJ57VSXjQyB6k2B1qM1dCfzEnZewwTNqc9UXFAEhH1F6/JHShSjkGwXzh
 K7IcLf3vXe/prKKgMeq2v95pS8NajUcRP5P5k631KZ7iTSzdJb+mSEiSoI6OqcWU2zebhfi1eWaOb
 X5n2K+AUXvl49w==;
Date: Wed, 26 Feb 2025 17:44:26 +0200
Message-Id: <86plj4vhgl.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ulrich =?utf-8?Q?M=C3=BCller?= <ulm@HIDDEN>
In-Reply-To: <w6gfrk0n4tg.fsf@HIDDEN> (message from Ulrich
 =?utf-8?Q?M=C3=BCller?= on Wed, 26 Feb 2025 15:44:43 +0100)
Subject: Re: bug#76550: 30.1; Test failure for fns-tests-collate-strings
 with musl libc
References: <uo6yqdz1e@HIDDEN> <ujz9edn6b@HIDDEN>
 <86seo2vsz2.fsf@HIDDEN> <ucyf5ev6e@HIDDEN>
 <86h64hx0u4.fsf@HIDDEN> <u8qpteqbw@HIDDEN>
 <865xkwx2nl.fsf@HIDDEN> <w6gfrk0n4tg.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76550
Cc: eggert@HIDDEN, 76550 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Ulrich Müller <ulm@HIDDEN>
> Cc: Ulrich Müller <ulm@HIDDEN>,  Paul Eggert
>  <eggert@HIDDEN>,
>   76550 <at> debbugs.gnu.org
> Date: Wed, 26 Feb 2025 15:44:43 +0100
> 
> > But okay, matching the system-configuration string might also be okay,
> 
> In fact, I went with the documentation of system-type in the lispref
> manual:
> 
> | If you need to make a finer distinction than ‘system-type’ allows for,
> | you can test ‘system-configuration’, e.g., against a regexp."
> 
> > just add a comment there explaining why we do that.
> 
> Sure, can do.

Thanks.

> > And please install the change on master, not on the release branch.
> 
> Why? I don't see how disabling this test could break anything. (And I'd
> really like to have it fixed in the next release.)

You can do that in your own repository, can't you?

The reason I don't want this on the release branch as that this change
potentially affects every system, and fixing tests on the release
branch is low priority anyway (the test suite is something we develop
for our own needs, not for the users).  So would like to avoid an
unnecessary, if small, risk on the release branch, especially since
30.1 has been released already.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76550; Package emacs. Full text available.

Message received at 76550 <at> debbugs.gnu.org:


Received: (at 76550) by debbugs.gnu.org; 26 Feb 2025 14:45:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 26 09:45:21 2025
Received: from localhost ([127.0.0.1]:51880 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tnIf3-0005cx-Gj
	for submit <at> debbugs.gnu.org; Wed, 26 Feb 2025 09:45:21 -0500
Received: from dev.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]:37291
 helo=smtp.gentoo.org)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <ulm@HIDDEN>) id 1tnIez-0005cS-Om
 for 76550 <at> debbugs.gnu.org; Wed, 26 Feb 2025 09:45:18 -0500
Received: from a1i15 (a1i15.kph.Uni-Mainz.DE [134.93.134.10])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits)
 server-digest SHA256) (No client certificate requested)
 (Authenticated sender: ulm)
 by smtp.gentoo.org (Postfix) with ESMTPSA id A91F9335DEB;
 Wed, 26 Feb 2025 14:45:09 +0000 (UTC)
From: =?utf-8?Q?Ulrich_M=C3=BCller?= <ulm@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#76550: 30.1; Test failure for fns-tests-collate-strings
 with musl libc
In-Reply-To: <865xkwx2nl.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 26 Feb
 2025 15:21:18 +0200")
References: <uo6yqdz1e@HIDDEN> <ujz9edn6b@HIDDEN>
 <86seo2vsz2.fsf@HIDDEN> <ucyf5ev6e@HIDDEN>
 <86h64hx0u4.fsf@HIDDEN> <u8qpteqbw@HIDDEN>
 <865xkwx2nl.fsf@HIDDEN>
Date: Wed, 26 Feb 2025 15:44:43 +0100
Message-ID: <w6gfrk0n4tg.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76550
Cc: Ulrich =?utf-8?Q?M=C3=BCller?= <ulm@HIDDEN>,
 Paul Eggert <eggert@HIDDEN>, 76550 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

>>>>> On Wed, 26 Feb 2025, Eli Zaretskii wrote:

> If you insist to not have this test fail (is it really a problem?),
> then why not do it cleanly?

Tests are enabled in Gentoo, so we have to disable any failing tests
in our ebuild. IIUC the only method is via EXCLUDE_TESTS which operates
on the file level, i.e. disabling one specific test isn't even possible.
So yes, it is a problem.

> But okay, matching the system-configuration string might also be okay,

In fact, I went with the documentation of system-type in the lispref
manual:

| If you need to make a finer distinction than =E2=80=98system-type=E2=80=
=99 allows for,
| you can test =E2=80=98system-configuration=E2=80=99, e.g., against a rege=
xp."

> just add a comment there explaining why we do that.

Sure, can do.

> And please install the change on master, not on the release branch.

Why? I don't see how disabling this test could break anything. (And I'd
really like to have it fixed in the next release.)

>> >> Presumably, the most specific feature check would be for the
>> >> return value of newlocale(3), depending on its second argument.
>> >> Then again, newlocale is called by str_collate (in sysdep.c),
>> >> which in turn is called by string-collate-equalp.
>> >>=20
>> >> Effectively, the test checks for the exact feature that we need,
>> >> in order to decide whether the test should be called. :) IMHO it
>> >> is pretty much pointless.
>>=20
>> > Sorry, you lost me here.
>>=20
>> The test succeeds with glibc, where newlocale checks validity of the
>> locale. And it fails with musl, where newlocale's checks are lenient.
>> So one could say that the test is for a feature of the C library but
>> not for any feature of Emacs.

> Ah, but the code which calls newlocale depends on that validity check.

> Maybe Paul has some comments or suggestions.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76550; Package emacs. Full text available.

Message received at 76550 <at> debbugs.gnu.org:


Received: (at 76550) by debbugs.gnu.org; 26 Feb 2025 13:58:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 26 08:58:59 2025
Received: from localhost ([127.0.0.1]:51665 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tnHwB-0002lf-4r
	for submit <at> debbugs.gnu.org; Wed, 26 Feb 2025 08:58:59 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:49898)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tnHw8-0002lM-26
 for 76550 <at> debbugs.gnu.org; Wed, 26 Feb 2025 08:58:56 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tnHw2-00054I-Kc; Wed, 26 Feb 2025 08:58:50 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=2b2atulPexS96d2YLmH5p7B3RcJdiS1zZkgz3TbkYQY=; b=Jd31zdU5d8IH+ghkHfd4
 AMXr7c8U6XoRkvXoZ8fNc0DhO5Y5pxe+QON9r2lrpfD0w/TVPRk0Fzo9dSDHVLVgNRo17UWmeJHe0
 eV+G8DvrHPqsg0GeR9Aj2iW4MJtV3NhNwHZKxmoqxkC4miWlTSZ4OtAN/4Yhe7w/YdlR866ruoTaW
 LclY6Y5WtGt/Ls5xs6KN2/nFKuBS30pbJXFcKRrRTerwPfrkLwgW0wBhX8dPX2zWAwzjej9WUCY0v
 zw8jT/2lsToFX/CwZYKZanU40iqCNygX4JUWaRtJfVKLvODYUYiriDLW1U1zjMsro3AgSQsmaL1oz
 CXzfFlGSO1jJAQ==;
Date: Wed, 26 Feb 2025 15:58:48 +0200
Message-Id: <86tt8gvmcn.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ulrich =?utf-8?Q?M=C3=BCller?= <ulm@HIDDEN>
In-Reply-To: <u4j0hdwgz@HIDDEN> (message from Ulrich =?utf-8?Q?M=C3=BC?=
 =?utf-8?Q?ller?= on Wed, 26 Feb 2025 07:57:32 +0100)
Subject: Re: bug#76550: 30.1; Test failure for fns-tests-collate-strings
 with musl libc
References: <uo6yqdz1e@HIDDEN> <ujz9edn6b@HIDDEN>
 <86seo2vsz2.fsf@HIDDEN> <ucyf5ev6e@HIDDEN>
 <86h64hx0u4.fsf@HIDDEN> <u8qpteqbw@HIDDEN> <u4j0hdwgz@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76550
Cc: 76550 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Ulrich Müller <ulm@HIDDEN>
> Cc: 76550 <at> debbugs.gnu.org, Ulrich Müller <ulm@HIDDEN>
> Date: Wed, 26 Feb 2025 07:57:32 +0100
> 
> >>>>> On Tue, 25 Feb 2025, Ulrich Müller wrote:
> 
> >>>>> On Tue, 25 Feb 2025, Eli Zaretskii wrote:
> >> We could make a new symbol, if that's useful.
> 
> > That feels a little over-engineered just to control a single test, at
> > least for my taste.
> 
> Maybe I misunderstood you there. Did you mean a new value for the
> system-type variable, like 'musl/linux?

No, I thought about a symbol named, say, libc-name.  We'd need to give
it a value on all systems, of course.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76550; Package emacs. Full text available.

Message received at 76550 <at> debbugs.gnu.org:


Received: (at 76550) by debbugs.gnu.org; 26 Feb 2025 13:21:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 26 08:21:30 2025
Received: from localhost ([127.0.0.1]:51491 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tnHLt-0000jP-JS
	for submit <at> debbugs.gnu.org; Wed, 26 Feb 2025 08:21:30 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:57076)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tnHLr-0000j6-Kv
 for 76550 <at> debbugs.gnu.org; Wed, 26 Feb 2025 08:21:28 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tnHLk-0000UO-4H; Wed, 26 Feb 2025 08:21:20 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=9twNRMI4YlNvFdQRBuF3f2mRvWEkWgDbidZT56h9/aM=; b=W1pHYVO5cdoqGoe5l0Qc
 Tvtqb4SPEd9YoEk/grQGuQLX7jSUafVLg5IN3F79A1lIeeO9zkO5K/+bpXrT8Uzll9hcqIMD21Acp
 CXjuP2qx93ZMTiGeVkVp10QXuIJbcLwipxj+7mT39FBGqFNIUsUj03SPKwxkdOAu1rZnFaKF568HK
 8jRsS+fyieOvhIs+buEiYvkWYBik/4Fua7pFJtfK/PLVVNyHr6WvSWEb/E36QGkCcl6V03Myxi7u7
 hHwXx7fpJ3k4Tg1/6SSwb/Cs6Mkw22BFGhwCFtg2xhWwaq09wXmdjiPYV2Br47oNSCggQxcXurs2c
 ez6p5JFmLIHUuA==;
Date: Wed, 26 Feb 2025 15:21:18 +0200
Message-Id: <865xkwx2nl.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ulrich =?utf-8?Q?M=C3=BCller?= <ulm@HIDDEN>, Paul Eggert
 <eggert@HIDDEN>
In-Reply-To: <u8qpteqbw@HIDDEN> (message from Ulrich =?utf-8?Q?M=C3=BC?=
 =?utf-8?Q?ller?= on Tue, 25 Feb 2025 21:12:35 +0100)
Subject: Re: bug#76550: 30.1; Test failure for fns-tests-collate-strings
 with musl libc
References: <uo6yqdz1e@HIDDEN> <ujz9edn6b@HIDDEN>
 <86seo2vsz2.fsf@HIDDEN> <ucyf5ev6e@HIDDEN>
 <86h64hx0u4.fsf@HIDDEN> <u8qpteqbw@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76550
Cc: 76550 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Ulrich Müller <ulm@HIDDEN>
> Cc: Ulrich Müller <ulm@HIDDEN>,  76550 <at> debbugs.gnu.org
> Date: Tue, 25 Feb 2025 21:12:35 +0100
> 
> >>>>> On Tue, 25 Feb 2025, Eli Zaretskii wrote:
> 
> >> > II thought about using some musl-specific symbol, or even creating one
> >> > if none already exists.
> >> 
> >> I cannot find any such symbol in the sources.
> 
> > We could make a new symbol, if that's useful.
> 
> That feels a little over-engineered just to control a single test, at
> least for my taste.

If you insist to not have this test fail (is it really a problem?),
then why not do it cleanly?

But okay, matching the system-configuration string might also be okay,
just add a comment there explaining why we do that.

And please install the change on master, not on the release branch.

> >> Presumably, the most specific feature check would be for the return
> >> value of newlocale(3), depending on its second argument. Then again,
> >> newlocale is called by str_collate (in sysdep.c), which in turn is
> >> called by string-collate-equalp.
> >> 
> >> Effectively, the test checks for the exact feature that we need, in
> >> order to decide whether the test should be called. :) IMHO it is pretty
> >> much pointless.
> 
> > Sorry, you lost me here.
> 
> The test succeeds with glibc, where newlocale checks validity of the
> locale. And it fails with musl, where newlocale's checks are lenient.
> So one could say that the test is for a feature of the C library but not
> for any feature of Emacs.

Ah, but the code which calls newlocale depends on that validity check.

Maybe Paul has some comments or suggestions.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76550; Package emacs. Full text available.

Message received at 76550 <at> debbugs.gnu.org:


Received: (at 76550) by debbugs.gnu.org; 26 Feb 2025 06:57:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 26 01:57:46 2025
Received: from localhost ([127.0.0.1]:50716 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tnBMX-0001zy-Ql
	for submit <at> debbugs.gnu.org; Wed, 26 Feb 2025 01:57:46 -0500
Received: from woodpecker.gentoo.org
 ([2001:470:ea4a:1:5054:ff:fec7:86e4]:36415 helo=smtp.gentoo.org)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <ulm@HIDDEN>) id 1tnBMV-0001zi-PI
 for 76550 <at> debbugs.gnu.org; Wed, 26 Feb 2025 01:57:44 -0500
Received: from urania (p5b255376.dip0.t-ipconnect.de [91.37.83.118])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits)
 server-digest SHA256) (No client certificate requested)
 (Authenticated sender: ulm)
 by smtp.gentoo.org (Postfix) with ESMTPSA id 9B649343062;
 Wed, 26 Feb 2025 06:57:36 +0000 (UTC)
From: =?utf-8?Q?Ulrich_M=C3=BCller?= <ulm@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#76550: 30.1; Test failure for fns-tests-collate-strings
 with musl libc
In-Reply-To: <u8qpteqbw@HIDDEN> ("Ulrich =?utf-8?Q?M=C3=BCller=22's?=
 message of "Tue, 25 Feb 2025 21:12:35 +0100")
References: <uo6yqdz1e@HIDDEN> <ujz9edn6b@HIDDEN>
 <86seo2vsz2.fsf@HIDDEN> <ucyf5ev6e@HIDDEN>
 <86h64hx0u4.fsf@HIDDEN> <u8qpteqbw@HIDDEN>
Date: Wed, 26 Feb 2025 07:57:32 +0100
Message-ID: <u4j0hdwgz@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76550
Cc: Ulrich =?utf-8?Q?M=C3=BCller?= <ulm@HIDDEN>, 76550 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

>>>>> On Tue, 25 Feb 2025, Ulrich M=C3=BCller wrote:

>>>>> On Tue, 25 Feb 2025, Eli Zaretskii wrote:
>> We could make a new symbol, if that's useful.

> That feels a little over-engineered just to control a single test, at
> least for my taste.

Maybe I misunderstood you there. Did you mean a new value for the
system-type variable, like 'musl/linux?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76550; Package emacs. Full text available.
Severity set to 'minor' from 'normal' Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 76550 <at> debbugs.gnu.org:


Received: (at 76550) by debbugs.gnu.org; 25 Feb 2025 20:12:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 25 15:12:54 2025
Received: from localhost ([127.0.0.1]:48626 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tn1IU-0007uO-DR
	for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 15:12:54 -0500
Received: from mail.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]:52513
 helo=smtp.gentoo.org)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <ulm@HIDDEN>) id 1tn1IR-0007tz-Ky
 for 76550 <at> debbugs.gnu.org; Tue, 25 Feb 2025 15:12:52 -0500
Received: from urania (p57bb12b4.dip0.t-ipconnect.de [87.187.18.180])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits)
 server-digest SHA256) (No client certificate requested)
 (Authenticated sender: ulm)
 by smtp.gentoo.org (Postfix) with ESMTPSA id 9C26F343253;
 Tue, 25 Feb 2025 20:12:44 +0000 (UTC)
From: =?utf-8?Q?Ulrich_M=C3=BCller?= <ulm@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#76550: 30.1; Test failure for fns-tests-collate-strings
 with musl libc
In-Reply-To: <86h64hx0u4.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 25 Feb
 2025 21:48:19 +0200")
References: <uo6yqdz1e@HIDDEN> <ujz9edn6b@HIDDEN>
 <86seo2vsz2.fsf@HIDDEN> <ucyf5ev6e@HIDDEN>
 <86h64hx0u4.fsf@HIDDEN>
Date: Tue, 25 Feb 2025 21:12:35 +0100
Message-ID: <u8qpteqbw@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76550
Cc: Ulrich =?utf-8?Q?M=C3=BCller?= <ulm@HIDDEN>, 76550 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

>>>>> On Tue, 25 Feb 2025, Eli Zaretskii wrote:

>> From: Ulrich M=C3=BCller <ulm@HIDDEN>
>> Cc: Ulrich M=C3=BCller <ulm@HIDDEN>,  76550 <at> debbugs.gnu.org
>> Date: Tue, 25 Feb 2025 19:27:53 +0100
>>=20
>> >>>>> On Tue, 25 Feb 2025, Eli Zaretskii wrote:
>>=20
>> > Are musl builds guaranteed to have "-musl" in system-configuration?
>> > Or is that just in the builds you are doing?
>>=20
>> musl.m4 from Gnulib does this:
>>=20
>> case "$host_os" in
>> *-musl* | midipix*)
>> AC_DEFINE([MUSL_LIBC], [1], [Define to 1 on musl libc.])
>> ;;
>> esac

> So it could also be "midipix"?

midipix seems to be a development environment on Windows (using musl,
I guess?), see https://midipix.org/. We could of course check for both
strings, but I have no way to test with midipix.

>> > II thought about using some musl-specific symbol, or even creating one
>> > if none already exists.
>>=20
>> I cannot find any such symbol in the sources.

> We could make a new symbol, if that's useful.

That feels a little over-engineered just to control a single test, at
least for my taste.

>> Presumably, the most specific feature check would be for the return
>> value of newlocale(3), depending on its second argument. Then again,
>> newlocale is called by str_collate (in sysdep.c), which in turn is
>> called by string-collate-equalp.
>>=20
>> Effectively, the test checks for the exact feature that we need, in
>> order to decide whether the test should be called. :) IMHO it is pretty
>> much pointless.

> Sorry, you lost me here.

The test succeeds with glibc, where newlocale checks validity of the
locale. And it fails with musl, where newlocale's checks are lenient.
So one could say that the test is for a feature of the C library but not
for any feature of Emacs.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76550; Package emacs. Full text available.

Message received at 76550 <at> debbugs.gnu.org:


Received: (at 76550) by debbugs.gnu.org; 25 Feb 2025 19:48:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 25 14:48:31 2025
Received: from localhost ([127.0.0.1]:48570 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tn0ut-0006mY-3V
	for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 14:48:31 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:47644)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tn0uq-0006mK-JE
 for 76550 <at> debbugs.gnu.org; Tue, 25 Feb 2025 14:48:28 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tn0ul-0001uX-A2; Tue, 25 Feb 2025 14:48:23 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=tTxNvaTkQph0RArmeGYSGf8QdmcxpkJ6/XrB5hYs5z4=; b=sJADccZbLI4qI9OO2BQl
 DES4KrokLyMJwP9Ptznmic5BYGbd2kwr/MD0DAIKBq678JGZBE6GPiUcbhdG/SLlkaV7NuKObabPb
 7a7Yi3hJ0IhevS0k3rtGnBXNDZK954NI/lmP3cwn59za60EAXq6XKyI1eQHlXO2VCK0xRqKosbdpI
 mU9Q4L9UTb4S/WKki5awLlRKvSwjVCvwWy0l3oRwM2hhJUQHHytYt8llOJyKWCq+UJ17EbseFva6T
 CIJvRi0WXYQKbm5wh8A5PWCCxJxw8Cx/19O5Rq9H+0K0daGPRD6+yfBloZw+SISIpqE/rShm+hheK
 x7CwzwCfC14+MA==;
Date: Tue, 25 Feb 2025 21:48:19 +0200
Message-Id: <86h64hx0u4.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ulrich =?iso-8859-1?Q?M=FCller?= <ulm@HIDDEN>
In-Reply-To: <ucyf5ev6e@HIDDEN> (message from Ulrich =?iso-8859-1?Q?M?=
 =?iso-8859-1?Q?=FCller?= on Tue, 25 Feb 2025 19:27:53 +0100)
Subject: Re: bug#76550: 30.1; Test failure for fns-tests-collate-strings
 with musl libc
References: <uo6yqdz1e@HIDDEN> <ujz9edn6b@HIDDEN>
 <86seo2vsz2.fsf@HIDDEN> <ucyf5ev6e@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76550
Cc: 76550 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Ulrich Müller <ulm@HIDDEN>
> Cc: Ulrich Müller <ulm@HIDDEN>,  76550 <at> debbugs.gnu.org
> Date: Tue, 25 Feb 2025 19:27:53 +0100
> 
> >>>>> On Tue, 25 Feb 2025, Eli Zaretskii wrote:
> 
> > Are musl builds guaranteed to have "-musl" in system-configuration?
> > Or is that just in the builds you are doing?
> 
> musl.m4 from Gnulib does this:
> 
>   case "$host_os" in
>     *-musl* | midipix*)
>       AC_DEFINE([MUSL_LIBC], [1], [Define to 1 on musl libc.])
>       ;;
>   esac

So it could also be "midipix"?

> > II thought about using some musl-specific symbol, or even creating one
> > if none already exists.
> 
> I cannot find any such symbol in the sources.

We could make a new symbol, if that's useful.

> Presumably, the most specific feature check would be for the return
> value of newlocale(3), depending on its second argument. Then again,
> newlocale is called by str_collate (in sysdep.c), which in turn is
> called by string-collate-equalp.
> 
> Effectively, the test checks for the exact feature that we need, in
> order to decide whether the test should be called. :) IMHO it is pretty
> much pointless.

Sorry, you lost me here.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76550; Package emacs. Full text available.

Message received at 76550 <at> debbugs.gnu.org:


Received: (at 76550) by debbugs.gnu.org; 25 Feb 2025 18:28:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 25 13:28:11 2025
Received: from localhost ([127.0.0.1]:48435 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tmzf9-00037g-36
	for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 13:28:11 -0500
Received: from woodpecker.gentoo.org ([140.211.166.183]:60366
 helo=smtp.gentoo.org)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <ulm@HIDDEN>) id 1tmzf2-000370-0D
 for 76550 <at> debbugs.gnu.org; Tue, 25 Feb 2025 13:28:08 -0500
Received: from urania (p57bb12b4.dip0.t-ipconnect.de [87.187.18.180])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits)
 server-digest SHA256) (No client certificate requested)
 (Authenticated sender: ulm)
 by smtp.gentoo.org (Postfix) with ESMTPSA id 39A7F343236;
 Tue, 25 Feb 2025 18:27:57 +0000 (UTC)
From: =?utf-8?Q?Ulrich_M=C3=BCller?= <ulm@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#76550: 30.1; Test failure for fns-tests-collate-strings
 with musl libc
In-Reply-To: <86seo2vsz2.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 25 Feb
 2025 19:23:29 +0200")
References: <uo6yqdz1e@HIDDEN> <ujz9edn6b@HIDDEN>
 <86seo2vsz2.fsf@HIDDEN>
Date: Tue, 25 Feb 2025 19:27:53 +0100
Message-ID: <ucyf5ev6e@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76550
Cc: Ulrich =?utf-8?Q?M=C3=BCller?= <ulm@HIDDEN>, 76550 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Tue, 25 Feb 2025, Eli Zaretskii wrote:

> Are musl builds guaranteed to have "-musl" in system-configuration?
> Or is that just in the builds you are doing?

musl.m4 from Gnulib does this:

  case "$host_os" in
    *-musl* | midipix*)
      AC_DEFINE([MUSL_LIBC], [1], [Define to 1 on musl libc.])
      ;;
  esac

> II thought about using some musl-specific symbol, or even creating one
> if none already exists.

I cannot find any such symbol in the sources.

Presumably, the most specific feature check would be for the return
value of newlocale(3), depending on its second argument. Then again,
newlocale is called by str_collate (in sysdep.c), which in turn is
called by string-collate-equalp.

Effectively, the test checks for the exact feature that we need, in
order to decide whether the test should be called. :) IMHO it is pretty
much pointless.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76550; Package emacs. Full text available.

Message received at 76550 <at> debbugs.gnu.org:


Received: (at 76550) by debbugs.gnu.org; 25 Feb 2025 17:23:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 25 12:23:48 2025
Received: from localhost ([127.0.0.1]:48262 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tmyeq-0005Sf-5K
	for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 12:23:48 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:49618)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tmyeh-0005S7-L8
 for 76550 <at> debbugs.gnu.org; Tue, 25 Feb 2025 12:23:40 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tmyec-00057O-6S; Tue, 25 Feb 2025 12:23:34 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=GcCn+Cb021aWKy/+dN+gck8ERZDfxhHNDEzHH0LSS1k=; b=iUuUXMG0/8YUNkko62PY
 BbZ2hI3HzWFi243qPh+xU5tkKseMcnqyM+3YpehYf4XFDO31Fhd/nxqD1HmG7tZTslNyHl+Esdeyp
 61VHFS1JYryS6qIMjyhT7V4550zImAvcKsfbSkC4LlmMvKyeYWUMlkP9LHOlXCgeLIJSOULSe78Zl
 rag6u4ppqW/HX+TuTZPqcTk88/ZEpjbIIbpxC16KjPvMg0apPxZf/+L4A/hpDcW7eqR9EIVB8Wsda
 iza3ZzB25p8nZctn533N6OiH+GtWjkU3NAQ3jgLNNdZmU6gkxx8x/axdmmhAYJoYj6Tq0LrFuIIta
 5jLIIapxG+k6tw==;
Date: Tue, 25 Feb 2025 19:23:29 +0200
Message-Id: <86seo2vsz2.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ulrich =?iso-8859-1?Q?M=FCller?= <ulm@HIDDEN>
In-Reply-To: <ujz9edn6b@HIDDEN> (message from Ulrich =?iso-8859-1?Q?M?=
 =?iso-8859-1?Q?=FCller?= on Tue, 25 Feb 2025 17:06:04 +0100)
Subject: Re: bug#76550: 30.1;
 Test failure for fns-tests-collate-strings with musl libc
References: <uo6yqdz1e@HIDDEN> <ujz9edn6b@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76550
Cc: 76550 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Ulrich Müller <ulm@HIDDEN>
> Date: Tue, 25 Feb 2025 17:06:04 +0100
> 
> Would attached patch be acceptable as a fix?

Are musl builds guaranteed to have "-musl" in system-configuration?
Or is that just in the builds you are doing?

II thought about using some musl-specific symbol, or even creating one
if none already exists.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76550; Package emacs. Full text available.

Message received at 76550 <at> debbugs.gnu.org:


Received: (at 76550) by debbugs.gnu.org; 25 Feb 2025 16:29:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 25 11:29:46 2025
Received: from localhost ([127.0.0.1]:48125 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tmxoX-0002uX-VE
	for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 11:29:46 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:58856)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tmxoU-0002uF-Nl
 for 76550 <at> debbugs.gnu.org; Tue, 25 Feb 2025 11:29:43 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tmxoN-00069y-Rh; Tue, 25 Feb 2025 11:29:35 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=aReiiuMhMvWIJ2efEsXmhAAuefRTHOQ/GDhEccE3oa8=; b=ixNtjlAJC/ytO+JLBmiu
 pFVL/0Ur9WD0/9jKdaePfaxvoUh+UcvEGV7Ln/STIjZSvCA3iBDs6BN/Tdd26apOqZifDbQdLxKAw
 uEE3xhDJkmKqLp9i2g9pIJbMlW1hu7JBOb0qOtCPA+SRuo9irSjI1ed8ltbUWXc7WdWL73RD+8Duy
 NgI0g70nYeBsPU65KL1Mbt+t9PFXiXyneF6qvDnHZe+466k+fAB3rUxlciQA2E86qBVElmO6fEA1X
 C7F5TLY7vo+t007MPmDUQhwQ0/005snfK4Z/MC/oCX9SUX4kEC056/EuAPwVkqe8Ryp2RKc4BpLWD
 88aJKChuuwlM8w==;
Date: Tue, 25 Feb 2025 18:29:19 +0200
Message-Id: <86zfiavvhc.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ulrich =?iso-8859-1?Q?M=FCller?= <ulm@HIDDEN>
In-Reply-To: <uo6yqdz1e@HIDDEN> (message from Ulrich =?iso-8859-1?Q?M?=
 =?iso-8859-1?Q?=FCller?= on Tue, 25 Feb 2025 12:49:49 +0100)
Subject: Re: bug#76550: 30.1;
 Test failure for fns-tests-collate-strings with musl libc
References: <uo6yqdz1e@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76550
Cc: 76550 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Ulrich Müller <ulm@HIDDEN>
> Date: Tue, 25 Feb 2025 12:49:49 +0100
> 
> 1 unexpected results:
>    FAILED  fns-tests-collate-strings  ((should-error (string-collate-equalp "xyzzy" "xyzzy" "en_XY.UTF-8")) :form (string-collate-equalp "xyzzy" "xyzzy" "en_XY.UTF-8") :value t :fail-reason "did not signal an error")
> 
> make[3]: *** [Makefile:185: src/fns-tests.log] Error 1
> 
> 
> The problem is that (string-collate-equalp "xyzzy" "xyzzy" "en_XY.UTF-8")
> doesn't signal an error with musl libc. This is because newlocale(3)
> always succeeds, regardless of the string passed as its second argument.
> 
> (Note that bug #62420 had addressed a failure of the same test, and the
> fix was to replace "en_DE.UTF-8" with "en_XY.UTF-8". This definitely
> isn't enough to fix the problem on musl.)

I think this quirk is glibc-specific, and the test should be disabled
in the musl build.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76550; Package emacs. Full text available.

Message received at 76550 <at> debbugs.gnu.org:


Received: (at 76550) by debbugs.gnu.org; 25 Feb 2025 16:06:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 25 11:06:18 2025
Received: from localhost ([127.0.0.1]:48095 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tmxRq-0001w7-59
	for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 11:06:18 -0500
Received: from woodpecker.gentoo.org ([140.211.166.183]:44896
 helo=smtp.gentoo.org)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <ulm@HIDDEN>) id 1tmxRn-0001vs-6M
 for 76550 <at> debbugs.gnu.org; Tue, 25 Feb 2025 11:06:15 -0500
Received: from urania (p57bb12b4.dip0.t-ipconnect.de [87.187.18.180])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits)
 server-digest SHA256) (No client certificate requested)
 (Authenticated sender: ulm)
 by smtp.gentoo.org (Postfix) with ESMTPSA id C6980343195;
 Tue, 25 Feb 2025 16:06:07 +0000 (UTC)
From: =?utf-8?Q?Ulrich_M=C3=BCller?= <ulm@HIDDEN>
To: 76550 <at> debbugs.gnu.org
Subject: Re: 30.1; Test failure for fns-tests-collate-strings with musl libc
In-Reply-To: <uo6yqdz1e@HIDDEN> ("Ulrich =?utf-8?Q?M=C3=BCller=22's?=
 message of "Tue, 25 Feb 2025 12:49:49 +0100")
References: <uo6yqdz1e@HIDDEN>
Date: Tue, 25 Feb 2025 17:06:04 +0100
Message-ID: <ujz9edn6b@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76550
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain

Would attached patch be acceptable as a fix?


--=-=-=
Content-Type: text/plain
Content-Disposition: inline;
 filename=0001-Fix-fns-tests.el-with-musl-libc.patch

From 403191534a1dda4e396ae05dd8a34c3230e9a7fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@HIDDEN>
Date: Tue, 25 Feb 2025 17:03:02 +0100
Subject: [PATCH] ; Fix fns-tests.el with musl libc

* test/src/fns-tests.el (fns-tests-collate-strings): Don't test
for valid locale with musl libc.  (Bug#76550)
---
 test/src/fns-tests.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/src/fns-tests.el b/test/src/fns-tests.el
index 9e134c24e05..f15896cfd57 100644
--- a/test/src/fns-tests.el
+++ b/test/src/fns-tests.el
@@ -277,7 +277,9 @@ fns-tests-collate-strings
   (should (string-collate-equalp "xyzzy" "XYZZY" nil t))
 
   ;; Locale must be valid.
-  (should-error (string-collate-equalp "xyzzy" "xyzzy" "en_XY.UTF-8")))
+  ;; musl's newlocale(3) is lenient about locale validation (bug#76550).
+  (unless (string-match-p "-musl" system-configuration)
+    (should-error (string-collate-equalp "xyzzy" "xyzzy" "en_XY.UTF-8"))))
 
 ;; There must be a check for valid codepoints.  (Check not implemented yet)
 ;  (should-error
-- 
2.48.1


--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76550; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Feb 2025 11:52:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 25 06:52:07 2025
Received: from localhost ([127.0.0.1]:45104 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tmtTq-0004YH-0p
	for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 06:52:07 -0500
Received: from lists.gnu.org ([2001:470:142::17]:40500)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ulm@HIDDEN>) id 1tmtS4-0004U3-N6
 for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 06:50:19 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ulm@HIDDEN>) id 1tmtRw-0000xl-TZ
 for bug-gnu-emacs@HIDDEN; Tue, 25 Feb 2025 06:50:09 -0500
Received: from woodpecker.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]
 helo=smtp.gentoo.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <ulm@HIDDEN>) id 1tmtRt-0004rw-Rh
 for bug-gnu-emacs@HIDDEN; Tue, 25 Feb 2025 06:50:08 -0500
Received: from urania (p57bb12b4.dip0.t-ipconnect.de [87.187.18.180])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits)
 server-digest SHA256) (No client certificate requested)
 (Authenticated sender: ulm)
 by smtp.gentoo.org (Postfix) with ESMTPSA id DD87F3431A4;
 Tue, 25 Feb 2025 11:49:53 +0000 (UTC)
From: =?utf-8?Q?Ulrich_M=C3=BCller?= <ulm@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.1; Test failure for fns-tests-collate-strings with musl libc
Date: Tue, 25 Feb 2025 12:49:49 +0100
Message-ID: <uo6yqdz1e@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2001:470:ea4a:1:5054:ff:fec7:86e4;
 envelope-from=ulm@HIDDEN; helo=smtp.gentoo.org
X-Spam_score_int: -41
X-Spam_score: -4.2
X-Spam_bar: ----
X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

Forwarding Gentoo bug https://bugs.gentoo.org/906012.

On an x86_64-pc-linux-musl system (musl libc 1.2.5), we see one test
failure in fns-tests-collate-strings:


Running 81 tests (2025-02-25 10:06:35+0000, selector `(not (or (tag :expens=
ive-test) (tag :unstable) (tag :nativecomp)))')
   passed   1/81  fns--copy-alist (0.000116 sec)
   passed   2/81  fns--define-hash-table-test (0.000040 sec)
   passed   3/81  fns--string-to-unibyte-multibyte (0.000156 sec)
   passed   4/81  fns--take-ntake (0.000225 sec)
   passed   5/81  fns-append (0.000043 sec)
   passed   6/81  fns-concat (0.000062 sec)
   passed   7/81  fns-test-base64url-encode-region (0.000244 sec)
   passed   8/81  fns-test-base64url-encode-string (0.000083 sec)
   passed   9/81  fns-tests-base64-decode-string (0.000097 sec)
   passed  10/81  fns-tests-base64-encode-region (0.000090 sec)
   passed  11/81  fns-tests-base64-encode-string (0.000045 sec)
   passed  12/81  fns-tests-collate-sort (0.000180 sec)
Test fns-tests-collate-strings backtrace:
  signal(ert-test-failed (((should-error (string-collate-equalp "xyzzy" "xy=
zzy" "en_XY.UTF-8")) :form (string-collate-equalp "xyzzy" "xyzzy" "en_XY.UT=
F-8") :value t :fail-reason "did not signal an error")))
  ert-fail(((should-error (string-collate-equalp "xyzzy" "xyzzy" "en_XY.UTF=
-8")) :form (string-collate-equalp "xyzzy" "xyzzy" "en_XY.UTF-8") :value t =
:fail-reason "did not signal an error"))
  #f(compiled-function () #<bytecode -0xf4a78f5ec213ec3>)()
  #f(compiled-function () #<bytecode -0x1103712a176de548>)()
  handler-bind-1(#f(compiled-function () #<bytecode -0x1103712a176de548>) (=
error quit) #f(compiled-function (err) #<bytecode 0x1d814be4f72f192c>))
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test :nam=
e fns-tests-collate-strings :documentation nil :body #f(compiled-function (=
) #<bytecode -0xf4a78f5ec213ec3>) :most-recent-result #s(ert-test-failed :m=
essages "" :should-forms (... ... ... ... ... ...) :duration 9.6502e-05 :co=
ndition (ert-test-failed ...) :backtrace (... ... ... ... ... ... ... ... .=
.. ... ... ... ... ... ...) :infos nil) :expected-result-type :passed :tags=
 nil :file-name "/var/tmp/portage/app-editors/emacs-30.1/work/emacs-30.1/te=
st/src/fns-tests.el") :result #s(ert-test-failed :messages "" :should-forms=
 ((... :form ... :value t) (... :form ... :value t) (... :form ... :value n=
il) (... :form ... :value t) (... :form ... :value t) (... :form ... :value=
 t)) :duration 9.6502e-05 :condition (ert-test-failed (... :form ... :value=
 t :fail-reason "did not signal an error")) :backtrace (#s(backtrace-frame =
:evald t :fun signal :args ... :flags nil :locals nil :buffer nil :pos nil)=
 #s(backtrace-frame :evald t :fun ert-fail :args ... :flags nil :locals nil=
 :buffer nil :pos nil) #s(backtrace-frame :evald t :fun #f(compiled-functio=
n () #<bytecode -0xf4a78f5ec213ec3>) :args nil :flags nil :locals nil :buff=
er nil :pos nil) #s(backtrace-frame :evald t :fun #f(compiled-function () #=
<bytecode -0x1103712a176de548>) :args nil :flags nil :locals nil :buffer ni=
l :pos nil) #s(backtrace-frame :evald t :fun handler-bind-1 :args ... :flag=
s nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun er=
t--run-test-internal :args #0 :flags nil :locals ... :buffer nil :pos nil) =
#s(backtrace-frame :evald t :fun ert-run-test :args ... :flags nil :locals =
... :buffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-run-or-rerun=
-test :args ... :flags nil :locals ... :buffer nil :pos nil) #s(backtrace-f=
rame :evald t :fun ert-run-tests :args ... :flags nil :locals ... :buffer n=
il :pos nil) #s(backtrace-frame :evald t :fun ert-run-tests-batch :args ...=
 :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t :=
fun ert-run-tests-batch-and-exit :args ... :flags nil :locals nil :buffer n=
il :pos nil) #s(backtrace-frame :evald t :fun eval :args ... :flags nil :lo=
cals nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun command-lin=
e-1 :args ... :flags nil :locals ... :buffer nil :pos nil) #s(backtrace-fra=
me :evald t :fun command-line :args nil :flags nil :locals nil :buffer nil =
:pos nil) #s(backtrace-frame :evald t :fun normal-top-level :args nil :flag=
s nil :locals nil :buffer nil :pos nil)) :infos nil) :exit-continuation #f(=
compiled-function () #<bytecode 0x98f3573c9bd6c3>) :ert-debug-on-error nil))
  ert-run-test(#s(ert-test :name fns-tests-collate-strings :documentation n=
il :body #f(compiled-function () #<bytecode -0xf4a78f5ec213ec3>) :most-rece=
nt-result #s(ert-test-failed :messages "" :should-forms (((skip-unless (fns=
-tests--collate-enabled-p)) :form (fns-tests--collate-enabled-p) :value t) =
((should (string-collate-equalp "xyzzy" "xyzzy")) :form (string-collate-equ=
alp "xyzzy" "xyzzy") :value t) ((should-not (string-collate-equalp "xyzzy" =
"XYZZY")) :form (string-collate-equalp "xyzzy" "XYZZY") :value nil) ((shoul=
d (string-collate-lessp "XYZZY" "xyzzy" "POSIX")) :form (string-collate-les=
sp "XYZZY" "xyzzy" "POSIX") :value t) ((should (string-collate-equalp "xyzz=
y" "XYZZY" nil t)) :form (string-collate-equalp "xyzzy" "XYZZY" nil t) :val=
ue t) ((should-error (string-collate-equalp "xyzzy" "xyzzy" "en_XY.UTF-8"))=
 :form (string-collate-equalp "xyzzy" "xyzzy" "en_XY.UTF-8") :value t)) :du=
ration 9.6502e-05 :condition (ert-test-failed ((should-error (string-collat=
e-equalp "xyzzy" "xyzzy" "en_XY.UTF-8")) :form (string-collate-equalp "xyzz=
y" "xyzzy" "en_XY.UTF-8") :value t :fail-reason "did not signal an error"))=
 :backtrace (#s(backtrace-frame :evald t :fun signal :args (ert-test-failed=
 (...)) :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :ev=
ald t :fun ert-fail :args ((... :form ... :value t :fail-reason "did not si=
gnal an error")) :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-=
frame :evald t :fun #f(compiled-function () #<bytecode -0xf4a78f5ec213ec3>)=
 :args nil :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame =
:evald t :fun #f(compiled-function () #<bytecode -0x1103712a176de548>) :arg=
s nil :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :eval=
d t :fun handler-bind-1 :args (#f(compiled-function () #<bytecode -0x110371=
2a176de548>) (error quit) #f(compiled-function (err) #<bytecode 0x1d814be4f=
72f192c>)) :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame =
:evald t :fun ert--run-test-internal :args (#s(ert--test-execution-info :te=
st #1 :result #2 :exit-continuation #f(compiled-function () #<bytecode 0x98=
f3573c9bd6c3>) :ert-debug-on-error nil)) :flags nil :locals ((ert--infos) (=
lexical-binding . t)) :buffer nil :pos nil) #s(backtrace-frame :evald t :fu=
n ert-run-test :args #0 :flags nil :locals ((ert--running-tests #1) (messag=
e-log-max . t) (ert--should-execution-observer . #f(compiled-function (form=
-description) #<bytecode -0x68c27499cc3ea68>))) :buffer nil :pos nil) #s(ba=
cktrace-frame :evald t :fun ert-run-or-rerun-test :args (#s(ert--stats :sel=
ector ... :tests ... :test-map #<hash-table eql 81/81 0x1800022ce8f7 ...> :=
test-results ... :test-start-times ... :test-end-times ... :passed-expected=
 12 :passed-unexpected 0 :failed-expected 0 :failed-unexpected 1 :skipped 0=
 :start-time ... :end-time nil :aborted-p nil :current-test #1 :next-redisp=
lay 0.0) #1 #f(compiled-function (event-type &rest event-args) #<bytecode 0=
x1073d527539a2e17>)) :flags nil :locals ((ert--current-run-stats . ...)) :b=
uffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-run-tests :args ((=
not ...) #f(compiled-function (event-type &rest event-args) #<bytecode 0x10=
73d527539a2e17>) nil) :flags nil :locals ((ert--current-run-stats . ...)) :=
buffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-run-tests-batch :=
args ((not ...)) :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-=
frame :evald t :fun ert-run-tests-batch-and-exit :args ((not ...)) :flags n=
il :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun eval =
:args ((ert-run-tests-batch-and-exit ...) t) :flags nil :locals nil :buffer=
 nil :pos nil) #s(backtrace-frame :evald t :fun command-line-1 :args (("-L"=
 ":." "-l" "ert" "--eval" "(setq treesit-extra-load-path '(\"/var/tmp/porta=
ge/app-editors/emacs-30.1/homedir/.emacs.d/tree-sitter\"))" "--eval" "(setq=
 ert-batch-backtrace-right-margin nil)" "-l" "src/fns-tests" "--eval" "(ert=
-run-tests-batch-and-exit (quote (not (or (tag :expensive-test) (tag :unsta=
ble) (tag :nativecomp)))))")) :flags nil :locals ((command-line-args-left) =
(argi . "-eval")) :buffer nil :pos nil) #s(backtrace-frame :evald t :fun co=
mmand-line :args nil :flags nil :locals nil :buffer nil :pos nil) #s(backtr=
ace-frame :evald t :fun normal-top-level :args nil :flags nil :locals nil :=
buffer nil :pos nil)) :infos nil) :expected-result-type :passed :tags nil :=
file-name "/var/tmp/portage/app-editors/emacs-30.1/work/emacs-30.1/test/src=
/fns-tests.el"))
  ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-map #<=
hash-table eql 81/81 0x1800022ce8f7 ...> :test-results ... :test-start-time=
s ... :test-end-times ... :passed-expected 12 :passed-unexpected 0 :failed-=
expected 0 :failed-unexpected 1 :skipped 0 :start-time ... :end-time nil :a=
borted-p nil ...) #s(ert-test :name fns-tests-collate-strings :documentatio=
n nil :body #f(compiled-function () #<bytecode -0xf4a78f5ec213ec3>) :most-r=
ecent-result ... :expected-result-type :passed :tags nil :file-name "/var/t=
mp/portage/app-editors/emacs-30.1/work/emacs-30.1/test/src/fns-tests.el") #=
f(compiled-function (event-type &rest event-args) #<bytecode 0x1073d527539a=
2e17>))
  ert-run-tests((not (or (tag :expensive-test) (tag :unstable) (tag :native=
comp))) #f(compiled-function (event-type &rest event-args) #<bytecode 0x107=
3d527539a2e17>) nil)
  ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable) (tag :=
nativecomp))))
  ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :unstabl=
e) (tag :nativecomp))))
  eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) (tag :=
unstable) (tag :nativecomp)))) t)
  command-line-1(("-L" ":." "-l" "ert" "--eval" "(setq treesit-extra-load-p=
ath '(\"/var/tmp/portage/app-editors/emacs-30.1/homedir/.emacs.d/tree-sitte=
r\"))" "--eval" "(setq ert-batch-backtrace-right-margin nil)" "-l" "src/fns=
-tests" "--eval" "(ert-run-tests-batch-and-exit (quote (not (or (tag :expen=
sive-test) (tag :unstable) (tag :nativecomp)))))"))
  command-line()
  normal-top-level()

Test fns-tests-collate-strings condition:
    (ert-test-failed
     ((should-error (string-collate-equalp "xyzzy" "xyzzy" "en_XY.UTF-8"))
      :form (string-collate-equalp "xyzzy" "xyzzy" "en_XY.UTF-8") :value t
      :fail-reason "did not signal an error"))
   FAILED  13/81  fns-tests-collate-strings (0.000097 sec) at src/fns-tests=
.el:264
   passed  14/81  fns-tests-compare-strings (0.000099 sec)
   passed  15/81  fns-tests-equal-including-properties (0.000083 sec)
   passed  16/81  fns-tests-equal-including-properties/string-prop-vals (0.=
000060 sec)
   passed  17/81  fns-tests-equal-symbols-with-position (0.000059 sec)
   passed  18/81  fns-tests-equality-nan (0.000041 sec)
   passed  19/81  fns-tests-func-arity (0.005018 sec)
   passed  20/81  fns-tests-hash-buffer (0.000075 sec)
   passed  21/81  fns-tests-identity (0.000042 sec)
   passed  22/81  fns-tests-length (0.000045 sec)
   passed  23/81  fns-tests-mapcan (0.000047 sec)
   passed  24/81  fns-tests-mapconcat (0.000053 sec)
   passed  25/81  fns-tests-nreverse (0.000056 sec)
   passed  26/81  fns-tests-nreverse-bool-vector (0.000041 sec)
   passed  27/81  fns-tests-random (0.000067 sec)
   passed  28/81  fns-tests-reverse (0.000077 sec)
   passed  29/81  fns-tests-reverse-bool-vector (0.000058 sec)
   passed  30/81  fns-tests-safe-length (0.000057 sec)
   passed  31/81  fns-tests-sort (0.827500 sec)
   passed  32/81  fns-tests-sort-gc (0.133975 sec)
   passed  33/81  fns-tests-sort-kw (0.027079 sec)
   passed  34/81  fns-tests-string-bytes (0.000046 sec)
   passed  35/81  fns-tests-string-lessp (0.000394 sec)
   passed  36/81  fns-tests-string-version-lessp (0.000054 sec)
   passed  37/81  fns-value<-bool-vector (0.003720 sec)
   passed  38/81  fns-value<-circle (0.000046 sec)
   passed  39/81  fns-value<-ordered (0.000362 sec)
   passed  40/81  fns-value<-symbol-with-pos (0.000084 sec)
   passed  41/81  fns-value<-type-mismatch (0.000129 sec)
   passed  42/81  fns-value<-unordered (0.000055 sec)
   passed  43/81  fns-vconcat (0.000054 sec)
   passed  44/81  length-equals-tests (0.000066 sec)
   passed  45/81  object-intervals (0.000058 sec)
   passed  46/81  plist-get/odd-number-of-elements (0.000038 sec)
   passed  47/81  plist-member/improper-list (0.000041 sec)
   passed  48/81  plist-put/odd-number-of-elements (0.000040 sec)
   passed  49/81  string-search (0.000099 sec)
   passed  50/81  test-assoc-testfn (0.000053 sec)
   passed  51/81  test-bignum-eql (0.000044 sec)
   passed  52/81  test-bignum-hash (0.000044 sec)
   passed  53/81  test-buffer-line-stats-gap (0.001859 sec)
   passed  54/81  test-buffer-line-stats-nogap (0.000082 sec)
   passed  55/81  test-cycle-assoc (0.000066 sec)
   passed  56/81  test-cycle-assq (0.000063 sec)
   passed  57/81  test-cycle-delete (0.000120 sec)
   passed  58/81  test-cycle-delq (0.000091 sec)
   passed  59/81  test-cycle-equal (0.000067 sec)
   passed  60/81  test-cycle-length (0.000053 sec)
   passed  61/81  test-cycle-member (0.000067 sec)
   passed  62/81  test-cycle-memq (0.000064 sec)
   passed  63/81  test-cycle-memql (0.000071 sec)
   passed  64/81  test-cycle-nconc (0.000051 sec)
   passed  65/81  test-cycle-plist-get (0.000058 sec)
   passed  66/81  test-cycle-plist-member (0.000064 sec)
   passed  67/81  test-cycle-plist-put (0.000066 sec)
   passed  68/81  test-cycle-rassoc (0.000098 sec)
   passed  69/81  test-cycle-rassq (0.000065 sec)
   passed  70/81  test-cycle-reverse (0.000064 sec)
   passed  71/81  test-cycle-safe-length (0.000069 sec)
   passed  72/81  test-hash-function-that-mutates-hash-table (0.000064 sec)
   passed  73/81  test-line-number-at-position (0.000051 sec)
   passed  74/81  test-nthcdr-circular (0.000284 sec)
   passed  75/81  test-nthcdr-simple (0.000041 sec)
   passed  76/81  test-plist (0.000061 sec)
   passed  77/81  test-proper-list-p (0.000063 sec)
   passed  78/81  test-secure-hash (0.000066 sec)
   passed  79/81  test-string-distance (0.000067 sec)
   passed  80/81  test-sxhash-equal (0.000058 sec)
   passed  81/81  test-vector-delete (0.000054 sec)

Ran 81 tests, 80 results as expected, 1 unexpected (2025-02-25 10:06:36+000=
0, 1.101394 sec)

1 unexpected results:
   FAILED  fns-tests-collate-strings  ((should-error (string-collate-equalp=
 "xyzzy" "xyzzy" "en_XY.UTF-8")) :form (string-collate-equalp "xyzzy" "xyzz=
y" "en_XY.UTF-8") :value t :fail-reason "did not signal an error")

make[3]: *** [Makefile:185: src/fns-tests.log] Error 1


The problem is that (string-collate-equalp "xyzzy" "xyzzy" "en_XY.UTF-8")
doesn't signal an error with musl libc. This is because newlocale(3)
always succeeds, regardless of the string passed as its second argument.

(Note that bug #62420 had addressed a failure of the same test, and the
fix was to replace "en_DE.UTF-8" with "en_XY.UTF-8". This definitely
isn't enough to fix the problem on musl.)




Acknowledgement sent to Ulrich Müller <ulm@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#76550; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 27 Feb 2025 19:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.