From MAILER-DAEMON Thu Nov 06 05:40:41 2014 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XmKUb-0008FB-Lx for mharc-bug-m4@gnu.org; Thu, 06 Nov 2014 05:40:41 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmKAC-0000fZ-JY for bug-m4@gnu.org; Thu, 06 Nov 2014 05:19:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmKA4-0000EK-NH for bug-m4@gnu.org; Thu, 06 Nov 2014 05:19:36 -0500 Received: from web101207.mail.kks.yahoo.co.jp ([183.79.100.211]:28332) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1XmKA4-0000E3-6z for bug-m4@gnu.org; Thu, 06 Nov 2014 05:19:28 -0500 Received: (qmail 59835 invoked by uid 60001); 6 Nov 2014 10:19:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1415269166; bh=Rg7mJSBU68MTj7rpfXV2aXRxMbmcWdV+g9FPnH7+5gs=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=jsEeQWjsJzvojcqgKWsUwNhKISqlYjBq7X+U+O0l44bjW/583oHR8suXI6jc/1XoYomhDEtHrg9OiiNtouWaCx2Ud7hAYppcurf2AwPU6skmCsNFfpQavpguNqR+tzrjMQEOp5MJAoBODzEHvcuELk56SD3VwsaWTaiANjXTVHg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=Efl1qb/D2Mfxk+6r7EZvtwCPd3Q0VUBw6aQdHO15sbYfTpCx2HbCHP4T5g5OauaINLPj+/TTr1NG8H5a4ysNpvjdQchHvKkMBOYkzJGMXmEy72LQZY0sKbDl3a9+hETyxQdUPHze4PkTdbbx5iQBFVu8LAgSns7FlLnj2nhIA1Y=; Message-ID: <987453.48773.qm@web101207.mail.kks.yahoo.co.jp> X-YMail-OSG: QLTLmqwVM1k_Su0yc8582EYl7tMUjiSdmsKnSBX30ETgw49SfZyMQP8CICIlG.9hyRA.sBmseiZpinVkD7RvS5jEBOxKch2bVIb9BrYyhYA.Bu9nW.Gei18LRBnXMaj1rdMD8OJBrWK_7eLvhHxcS6kDqFkpjyNXc6f3E_WDRg7OqMAa6NSl7ZvDViO_vNAOMGdBjGbusOv7ugjaL28zAHfcklWKQzxiW2ajCVYhQZVWfm52iThyN5WS5nF19RD3fEIVxxzR0FdQDOj_yeeqi_ulGkum8QG77lwajhg_NjyVQ2b0TfxG35kzcYLZlPksBrcMiHk9YbIagSY9GVLr8YGnufQPkDXRp5aF7KnvWjzIgHESVPbIkhoYZjWHZGWZRgtgUHMNLZlTDjbtpVB7rDAAHu9VS1YFD8Fy78zNVSJQwbJXX73oUgtIJsOV3i_Whgwf5YLlqtMKXFy4uWuZVZ6IrutOYX6rKqApy_1Dh5ONN5XWZRwF5wfLxFur0voXnGYtghcLGcLSZXxF22JGHguK8zbX__bW Received: from [219.122.166.214] by web101207.mail.kks.yahoo.co.jp via HTTP; Thu, 06 Nov 2014 19:19:26 JST X-Mailer: YahooMailWebService/0.8.111_57 X-YMail-JAS: b4wdx_EVM1nb7Las9dl0.w0AY5HzeJdAMYN7bCbkvloBVpgURaTdoez9SiRXEctUiLByS7.6ZC87Dplm0m4wz286v.3gYALvMXKNMwKhJ2RuPWh38S0r.9OVd.EPUN5rImPY Date: Thu, 6 Nov 2014 19:19:26 +0900 (JST) From: Kiyoshi KANAZAWA Subject: m4-1.4.17 test-mbrtowc3.sh fails on Solaris without European localization To: "bug-m4@gnu.org" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1202457372-1415269166=:48773" X-detected-operating-system: by eggs.gnu.org: iOS iPhone or iPad X-Received-From: 183.79.100.211 X-Mailman-Approved-At: Thu, 06 Nov 2014 05:40:40 -0500 X-BeenThere: bug-m4@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Kiyoshi KANAZAWA List-Id: Bug reports for the GNU m4 macro processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2014 10:19:43 -0000 --0-1202457372-1415269166=:48773 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello,=0A=0AOn Solaris 10 x86/x64,=0A"test-mbrtowc3.sh" fails if European l= ocalization is not installed.=0AIt passes with European localization.=0A=0A= This is the common test-suite bug in=0Adiffutils-3.3, grep-2.20, libunistri= ng-0.9.4 and m4-1.4.17.=0A=0A--- Kiyoshi --0-1202457372-1415269166=:48773 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hello,

On Solaris 10 x86= /x64,
"test-mbrtowc3.sh" fails if European localization is not installed= .
It passes with European localization.

This is the common test-s= uite bug in
diffutils-3.3, grep-2.20, libunistring-0.9.4 and m4-1.4.17.<= br>
--- Kiyoshi <yoi_no_myoujou@yahoo.co.jp>
--0-1202457372-1415269166=:48773-- From MAILER-DAEMON Thu Nov 06 05:44:45 2014 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XmKYX-00022h-JH for mharc-bug-m4@gnu.org; Thu, 06 Nov 2014 05:44:45 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmKYQ-000224-5n for bug-m4@gnu.org; Thu, 06 Nov 2014 05:44:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmKYL-0007ZY-0x for bug-m4@gnu.org; Thu, 06 Nov 2014 05:44:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmKYA-0007YQ-Ga; Thu, 06 Nov 2014 05:44:22 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sA6AiLvj022212 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 6 Nov 2014 05:44:21 -0500 Received: from [10.3.113.57] (ovpn-113-57.phx2.redhat.com [10.3.113.57]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sA6AiKLb003264; Thu, 6 Nov 2014 05:44:20 -0500 Message-ID: <545B5103.7030903@redhat.com> Date: Thu, 06 Nov 2014 11:44:19 +0100 From: Eric Blake Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Kiyoshi KANAZAWA , "bug-m4@gnu.org" , Bug-gnulib Subject: Re: m4-1.4.17 test-mbrtowc3.sh fails on Solaris without European localization References: <987453.48773.qm@web101207.mail.kks.yahoo.co.jp> In-Reply-To: <987453.48773.qm@web101207.mail.kks.yahoo.co.jp> OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qC63uta5gOpXGcWtOwsmTtRIFWb1JKDgo" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 X-BeenThere: bug-m4@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports for the GNU m4 macro processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2014 10:44:44 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --qC63uta5gOpXGcWtOwsmTtRIFWb1JKDgo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable [adding gnulib] On 11/06/2014 11:19 AM, Kiyoshi KANAZAWA wrote: > Hello, >=20 > On Solaris 10 x86/x64, > "test-mbrtowc3.sh" fails if European localization is not installed. > It passes with European localization. Thanks for the report. M4 uses this test unchanged from upstream gnulib; so fixing it there will get it fixed for the next m4 release that uses a newer gnulib. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --qC63uta5gOpXGcWtOwsmTtRIFWb1JKDgo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJUW1EDAAoJEKeha0olJ0NqpAMH/0d2U55+XAbBl37lRhBQh2l4 Ite7QiQ/ZKT4cwB4oWKQF7SuamyIjLEfzct5G1U/QUB5EhBxLvueOfjFB15YSjuu ouC0Uozp00OVx9HD0ZQNk1nCj3Yi+QWRWbwkU09MEx+iBglF0aPf+inp3/6vXgUY qJsl7FIV4JB+JBlE7aatQOdpCiW5yDtp8zY+RomhFwskyG6vBhxkSkx+trGx2gxZ 04Y0Rqt9YqC4uz8IZUDDVOZAQ22JFJp1llYUMD/AtvTYnWVslicYSydU7cNDQW6I tb63dO6dWkl/nAwz/9ehMB20wTQzDJidjWyu1VOKJOeLSP3jbv4mGU5W7AbDzCU= =mmWB -----END PGP SIGNATURE----- --qC63uta5gOpXGcWtOwsmTtRIFWb1JKDgo-- From MAILER-DAEMON Fri Nov 07 03:08:21 2014 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Xmeaj-0005LP-Rj for mharc-bug-m4@gnu.org; Fri, 07 Nov 2014 03:08:21 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53062) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xmeag-0005Ep-Fy for bug-m4@gnu.org; Fri, 07 Nov 2014 03:08:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xmeaf-0001P3-3K for bug-m4@gnu.org; Fri, 07 Nov 2014 03:08:18 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmeaY-0001Mk-Ai; Fri, 07 Nov 2014 03:08:10 -0500 Received: from du-a.org ([2001:e41:db5e:fb14::1]:46121 helo=localhost.localdomain) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1XmeaV-0005Em-9q; Fri, 07 Nov 2014 03:08:07 -0500 Message-ID: From: Daiki Ueno To: Eric Blake Subject: Re: m4-1.4.17 test-mbrtowc3.sh fails on Solaris without European localization References: <987453.48773.qm@web101207.mail.kks.yahoo.co.jp> <545B5103.7030903@redhat.com> Date: Fri, 07 Nov 2014 17:08:02 +0900 In-Reply-To: <545B5103.7030903@redhat.com> (Eric Blake's message of "Thu, 06 Nov 2014 11:44:19 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e Cc: Kiyoshi KANAZAWA , Bug-gnulib , "bug-m4@gnu.org" X-BeenThere: bug-m4@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports for the GNU m4 macro processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2014 08:08:19 -0000 Eric Blake writes: > [adding gnulib] > > On 11/06/2014 11:19 AM, Kiyoshi KANAZAWA wrote: >> Hello, >> >> On Solaris 10 x86/x64, >> "test-mbrtowc3.sh" fails if European localization is not installed. >> It passes with European localization. I can reproduce it, and it seems to be the same issue as: https://lists.gnu.org/archive/html/bug-gnulib/2014-10/msg00000.html which I originally encountered on Solaris 11. (It's curious that you could work it around by installing European localization, while the test checks the mbrtowc behavior under Japanese locale.) Perhaps it would be good to replace mbrtowc on Solaris, though I have no idea how to detect the wrong behavior without depending on particular locale data. Alternatively, we could simply ignore this test failure on Solaris, since the tested calling convention is not very common. Thoughts? Regards, -- Daiki Ueno From MAILER-DAEMON Fri Nov 07 04:25:12 2014 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Xmfn6-00021o-E1 for mharc-bug-m4@gnu.org; Fri, 07 Nov 2014 04:25:12 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xmfmx-0001og-Sk for bug-m4@gnu.org; Fri, 07 Nov 2014 04:25:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xmfms-0001H3-55 for bug-m4@gnu.org; Fri, 07 Nov 2014 04:25:03 -0500 Received: from web101211.mail.kks.yahoo.co.jp ([183.79.100.215]:30669) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Xmfmr-0001GY-Ea for bug-m4@gnu.org; Fri, 07 Nov 2014 04:24:58 -0500 Received: (qmail 1857 invoked by uid 60001); 7 Nov 2014 09:24:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1415352294; bh=KINMtTulYR5+ufuBngFzbmd854vbZ984wMQNLlW2Up0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=NifQ3nUcNtpxmdXheRubC//WINOAJ9CxRlGYsfOZf0cgGI27DgwVkOl6T4GHt0jXXB7XIxysZWGq+ztVOcPuUZTCJW513XBqXufzcfjT7us2y45TAo048a/PXuPTWR7dpug/Qv0vHMWK2fZWVXu0NJGY8fqUZ5PNjvJEi58YP0A= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=WStHAPz51FKzDXTpxi+dkQoHF5OLto4mHydVUTV66oIr2iEa8jU3DBHx5I6E3Dgo25jyh0YVE6onB6ViQffJZXHWRShXC9so6pRfY8J4U4FFGtfhe6z8YdcX6gBu1dM7xzn/eJr/XowHycjZtOgcfnZhcGJfDEL4loieMEYikYI=; Message-ID: <891823.91599.qm@web101211.mail.kks.yahoo.co.jp> X-YMail-OSG: uCzRwWoVM1k9yy8T4mh_nmH6kDVSPznFteePHF0.VWf027r5HXT883qqAx7upq_mmgo4ClfHq9nmc5E3GPdAkJ1HI2tUCMQQRZ.NUr4vSvXdpJYEUmwIHtmPIup5XYPjYUq3UBD770KYuAl46Uf9VCxILv0JfQd82zYJR4vtSPpSoJpPw1v6ZjxbvwGbE_06NRkb0dowQfLKo700SvI.07suA_Vq9se5SWeLU15jKbrX_75zx1CNAyDhkgVW_OgTfqTOGPD10ndvRI2WqLhjwWN.AsPHEb952O0.dLnXKr2CchB0yqBM8vNHWB4uRGRfZDQl10CtN_9zZgju4wE5NT9xsggXK8ES80p5XhPnYlvj2WH88Hr3CPTMsLu1JDKTTjvsb2NVY1U_h1XAhyiwpE5mkW102sbtgE21.HtwpbQGOKh4Wkxs1lJqkaE55WbO3I70RSCoEtYBi7ycGQug1MrK_aL__FtgWzsT6ul2MLohSnZnAGH78dbT43gSEVz40ephrUOOB74ahN0XtSZJjxkoZxctTDAS13cqrkrKxJx.aDC062n9Gm6XLp3Etgr.lklTOaw5sXLdFsI- Received: from [58.188.221.50] by web101211.mail.kks.yahoo.co.jp via HTTP; Fri, 07 Nov 2014 18:24:54 JST X-Mailer: YahooMailWebService/0.8.111_57 X-YMail-JAS: EPwTx58VM1ngOlBBgVFyYHf5W1ITcs4HbWEZGOgz50K2lLaEfT59aKtUI1ExgEtY5rcXtUfvyKhqUOLU1_osTRy8iHJcamtlHbIWHuamtXOfUUlhCyk86qrzO2i2UcqVZ2oB References: <987453.48773.qm@web101207.mail.kks.yahoo.co.jp> <545B5103.7030903@redhat.com> Date: Fri, 7 Nov 2014 18:24:54 +0900 (JST) From: Kiyoshi KANAZAWA Subject: Re: m4-1.4.17 test-mbrtowc3.sh fails on Solaris without European localization To: Daiki Ueno , Eric Blake In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-235463288-1415352294=:91599" X-detected-operating-system: by eggs.gnu.org: iOS iPhone or iPad X-Received-From: 183.79.100.215 Cc: Bug-gnulib , "bug-m4@gnu.org" X-BeenThere: bug-m4@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Kiyoshi KANAZAWA List-Id: Bug reports for the GNU m4 macro processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2014 09:25:11 -0000 --0-235463288-1415352294=:91599 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hello,=0A=0AIf you know which test depends on which locale,=0Athe best way = is to check the locale is installed or not.=0A=0AFor example, test suite of= diffutils-3.3, findutils-4.4.2 and grep-2.20 says:=0A"Skipping test: no tr= aditional french locale is installed"=0A"Skipping test: no french Unicode l= ocale is installed" .=0A=0AI do not know how they do it, but it can be a he= lp.=0AAs far as I tried,=0A% pkginfo | grep -i localization=0Acan be used o= n Solaris.=0A=0AAnother idea is leave the test as it is, but print a messag= e like=0A"This test depends on French locale.=0A=A0You can ignore the error= if you do not installed it."=0A=0A=0A=0A# I usually install all the Europe= an localizations adding to Japanese,=0A# but tried to shrink OS partition a= nd found this.=0A# (Hablo espan~ol, tambien,=A0 und Ich sprach ein bisschen= Deutsch.)=0A=0ARegards,=0A=0A--- Kiyoshi=0A=0A=0A=0A=0A----- Original Mess= age -----=0A>From: Daiki Ueno =0A>=0A>Eric Blake writes:=0A>=0A>> [adding gnulib]=0A>>=0A>> On 11/06/2014 11:19 AM, = Kiyoshi KANAZAWA wrote:=0A>>> Hello,=0A>>> =0A>>> On Solaris 10 x86/x64,=0A= >>> "test-mbrtowc3.sh" fails if European localization is not installed.=0A>= >> It passes with European localization.=0A>=0A>I can reproduce it, and it = seems to be the same issue as:=0A>https://lists.gnu.org/archive/html/bug-gn= ulib/2014-10/msg00000.html=0A>which I originally encountered on Solaris 11.= =0A>(It's curious that you could work it around by installing European=0A>l= ocalization, while the test checks the mbrtowc behavior under Japanese=0A>l= ocale.)=0A>=0A>Perhaps it would be good to replace mbrtowc on Solaris, thou= gh I have no=0A>idea how to detect the wrong behavior without depending on = particular=0A>locale data.=A0 Alternatively, we could simply ignore this te= st failure on=0A>Solaris, since the tested calling convention is not very c= ommon.=0A>=0A>Thoughts?=0A>=0A>Regards,=0A>--=0A>Daiki Ueno=0A>=0A>=0A> --0-235463288-1415352294=:91599 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hello,

If you know which test depends on which locale,
the best way is to c= heck the locale is installed or not.

For example, test suite of diff= utils-3.3, findutils-4.4.2 and grep-2.20 says:
"Skipping test: no tradit= ional french locale is installed"
"Skipping test: no french Unicode loca= le is installed" .

I do not know how they do it, but it can be a hel= p.
As far as I tried,
% pkginfo | grep -i localization
can be used= on Solaris.

Another idea is leave the test as it is, but print a me= ssage like
"This test depends on French locale.
 You can ignore = the error if you do not installed it."


# I usually install all the European= localizations adding to Japanese,
# but tried to shrink OS partition and found this.
=
# (Hablo espan~ol, ta= mbien,  und Ich sprach ein bisschen Deutsch.)

Regards,

--- Kiyoshi


<= font face=3D"Arial" size=3D"2"> ----- Original Message -----=
From: D= aiki Ueno <ueno@gnu.org>

Eric Blake <eblake@redhat.com> writes:

> [adding gnulib]
>
> On 11/06/2014 11= :19 AM, Kiyoshi KANAZAWA wrote:
>> Hello,
>>
>>= On Solaris 10 x86/x64,
>> "test-mbrtowc3.sh" fails if European lo= calization is not installed.
>> It passes with European localizati= on.

I can reproduce it, and it seems to be the same issue as:
https://lists.gnu.org/archive/html/bug-gnulib/2014-10/ms= g00000.html
which I originally encountered on Solaris 11.
(It's c= urious that you could work it around by installing European
localization= , while the test checks the mbrtowc behavior under Japanese
locale.)
=
Perhaps it would be good to replace mbrtowc on Solaris, though I have n= o
idea how to detect the wrong behavior without depending on particular<= br>locale data.  Alternatively, we could simply ignore this test failu= re on
Solaris, since the tested calling convention is not very common.
Thoughts?

Regards,
--
Daiki Ueno


--0-235463288-1415352294=:91599-- From MAILER-DAEMON Fri Nov 07 04:28:56 2014 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Xmfqi-0002SX-UR for mharc-bug-m4@gnu.org; Fri, 07 Nov 2014 04:28:56 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xmfqc-0002RK-Mi for bug-m4@gnu.org; Fri, 07 Nov 2014 04:28:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmfqY-0003J8-F7 for bug-m4@gnu.org; Fri, 07 Nov 2014 04:28:50 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47539) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmfqP-0003GF-M6; Fri, 07 Nov 2014 04:28:37 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sA79SavV018558 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 7 Nov 2014 04:28:37 -0500 Received: from [10.3.113.79] (ovpn-113-79.phx2.redhat.com [10.3.113.79]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sA79SZQS020004; Fri, 7 Nov 2014 04:28:36 -0500 Message-ID: <545C90C3.4080704@redhat.com> Date: Fri, 07 Nov 2014 10:28:35 +0100 From: Eric Blake Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Daiki Ueno Subject: Re: m4-1.4.17 test-mbrtowc3.sh fails on Solaris without European localization References: <987453.48773.qm@web101207.mail.kks.yahoo.co.jp> <545B5103.7030903@redhat.com> In-Reply-To: OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lf3GhBg8E6aVplrcaxW1WTlpuIToJ8Smf" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: Kiyoshi KANAZAWA , Bug-gnulib , "bug-m4@gnu.org" X-BeenThere: bug-m4@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports for the GNU m4 macro processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2014 09:28:55 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --lf3GhBg8E6aVplrcaxW1WTlpuIToJ8Smf Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 11/07/2014 09:08 AM, Daiki Ueno wrote: > Eric Blake writes: >=20 >> [adding gnulib] >> >> On 11/06/2014 11:19 AM, Kiyoshi KANAZAWA wrote: >>> Hello, >>> >>> On Solaris 10 x86/x64, >>> "test-mbrtowc3.sh" fails if European localization is not installed. >>> It passes with European localization. >=20 > I can reproduce it, and it seems to be the same issue as: > https://lists.gnu.org/archive/html/bug-gnulib/2014-10/msg00000.html > which I originally encountered on Solaris 11. > (It's curious that you could work it around by installing European > localization, while the test checks the mbrtowc behavior under Japanese= > locale.) >=20 > Perhaps it would be good to replace mbrtowc on Solaris, though I have n= o > idea how to detect the wrong behavior without depending on particular > locale data. Alternatively, we could simply ignore this test failure o= n > Solaris, since the tested calling convention is not very common. I think it's better to declare the function broken and work around it than to just ignore it in the testsuite; but like you, I'm not sure how to easily expose the brokenness during a configure test, especially if someone is building a binary on a machine with a locale that "fixes" the issue but then wants to run the binary on another machine lacking the locale. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --lf3GhBg8E6aVplrcaxW1WTlpuIToJ8Smf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJUXJDDAAoJEKeha0olJ0Nq2BUH/0BUqCz4ts7pViYm8ONEcMcT rBwnmG33KW5qeoONLPGGiDcB2jXznTRKmrLU77Gxy9VURxlWAxV2hRsVfK3QfyyO cIh3IC0j6eSeLevHGbnGsfO2ZRt46CTwCVdlMLXrguI2McCspnFAfc4TICEBBjCd NFSB6f4ia2ERoSejT/SiSvumX3mkxMnjCBlla494nBfHBJDL1dsHUBZnowKHkasT VS3upgbw4oMvsGAzNmGVtMndlzsMsoxffD0mtupSyPubIg83gtjhi2e3uOwK6va6 I+YNIB0i5ZofISuwIupuSNjScBLTdb3O3eYKt7FfuShM0/sXburtdu5ifSjTtFY= =RbCE -----END PGP SIGNATURE----- --lf3GhBg8E6aVplrcaxW1WTlpuIToJ8Smf-- From MAILER-DAEMON Sat Nov 08 00:23:16 2014 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XmyUW-00027m-8S for mharc-bug-m4@gnu.org; Sat, 08 Nov 2014 00:23:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmyUO-00022o-Ha for bug-m4@gnu.org; Sat, 08 Nov 2014 00:23:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmyUA-0006DD-Ay for bug-m4@gnu.org; Sat, 08 Nov 2014 00:23:08 -0500 Received: from web101218.mail.kks.yahoo.co.jp ([183.79.100.222]:44538) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1XmyU9-0006C4-Ch for bug-m4@gnu.org; Sat, 08 Nov 2014 00:22:54 -0500 Received: (qmail 87450 invoked by uid 60001); 8 Nov 2014 05:22:48 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1415424168; bh=5faOkBYEMO9EbVnLLlC7RzoALhey+TeyFwc/S0K5lRo=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=pBKC0QcNc+cHp1ZNKoHelpqSjl110ji+85DoQXuFUDJcidzqnxAbka4CwwgGLKQ9VLSnaPKYSUSJQ+m63Dcwcc/SY02QrO4MZh43C6FxBeNkJQ4jnsUmoT0xZyYRLhC49jOgAMMUnbjPhaxvkqw/BAAyp3BW1FyKwIS1/uMq4OU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=rk9/AUIjVHucnoh8s2yN6PlEAnpiOXYCeDuQykqHd1q42e3SpvrvOPryYVTyWTB6i6YLnKLVbonH7m/Ho7i3jRbm9hBWNecc88eH6Uvh0IBNA1aw/hvT8lqtWmFgYWwv+UvngJfnkq/aeoeGuOHwqIh+1iPDqCyE7yTa6V7jVto=; Message-ID: <849278.75549.qm@web101218.mail.kks.yahoo.co.jp> X-YMail-OSG: ITaJqGYVM1klzoEcVq2ejZ7BxftYZYC.VHOK1fT0rLsib76z84A5PZwobEf_jCPVt9bbXZz1tEBVDnqhIvq.reevqxUv.YvIOHkDZH80CQfMfkSx60e45z1XLX7ABFMGSd2jL0v7kNqguJr7um4VRn.iRlbOXAjgTedAB_Vmbzd8WhgbulaJnFGBtpMaCk7.IRsxmbOCXETdjghNn1esUnbYw86M9AOzZXuCjSEYkRaZL_S.Tdb3tZCugOexk8lNIns4mniRWGcNWLUItfJjDMOBnwShQ3mWyjv38bTZpCelw9m73780QU8P19unl5WeNZfW0Tt_7WyVaIr917gSdRkoFVX62tbBiHdVCmiDQaH_EO4K81x62C1jZvtg0FPnu.aw.olBfPMgx2ZgIRPLcRYOhZRwIkFOik7GDorGo0qo63lPMIB3LbJwg_Ox5xw67mNr8CBb1.5OmhG5m1A0oKJA.RjuAYn0cHE2V4fWerrZIsSv.BUinMz8SpGKwf51PM5TKpbYupBE3BleFUZiaTiTJz6eIV_oP8ectNrC.3ievEaXk79EhF8mmNuLn1WarWPbJfRyUNfB7jFf1YSg Received: from [58.188.221.253] by web101218.mail.kks.yahoo.co.jp via HTTP; Sat, 08 Nov 2014 14:22:48 JST X-Mailer: YahooMailWebService/0.8.111_57 X-YMail-JAS: X5N5LlYVM1l44AMctE0YrNtD2R17CWcp7nr2F.EMRG1e4jIrHWTdp5BnjMHuysYSGrNaSoLOaFDs3qxd..U05QOqAI7329BTYHCuiYQIUJY2LUdhcezmsaFlzM9EdKLCfC.r References: <987453.48773.qm@web101207.mail.kks.yahoo.co.jp> <545B5103.7030903@redhat.com> Date: Sat, 8 Nov 2014 14:22:48 +0900 (JST) From: Kiyoshi KANAZAWA Subject: Re: m4-1.4.17 test-mbrtowc3.sh fails on Solaris without European localization To: Daiki Ueno , Eric Blake In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-2017258776-1415424168=:75549" X-detected-operating-system: by eggs.gnu.org: iOS iPhone or iPad X-Received-From: 183.79.100.222 Cc: Bug-gnulib , "bug-m4@gnu.org" X-BeenThere: bug-m4@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Kiyoshi KANAZAWA List-Id: Bug reports for the GNU m4 macro processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2014 05:23:14 -0000 --0-2017258776-1415424168=:75549 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hello,=0A=0AI was misunderstanding.=0AAgree with you that this is a bug of = Solaris mbrtowc ().=0A=0ABut, still I can not understand why this issue hap= pen=0Aonly in Japanese locale, without installing European localization.=0A= Could you explain me, if you do not mind, please ?=0A=0AIt would be better = to keep this Solaris bug detected,=0Abut make it clear it is not a bug of G= NU's.=0AOr make it XFAIL on Solaris (with some localizations).=0AOtherwise,= the same bug report will be sent to many GNU projects.=0A=0ARegards,=0A=0A= --- Kiyoshi=0A=0A=0A=0A=0A----- Original Message -----=0A>From: Daiki Ueno = =0A>Subject: Re: m4-1.4.17 test-mbrtowc3.sh fails on Solaris = without European localization=0A> =0A>Eric Blake writes= :=0A>=0A>> [adding gnulib]=0A>>=0A>> On 11/06/2014 11:19 AM, Kiyoshi KANAZA= WA wrote:=0A>>> Hello,=0A>>> =0A>>> On Solaris 10 x86/x64,=0A>>> "test-mbrt= owc3.sh" fails if European localization is not installed.=0A>>> It passes w= ith European localization.=0A>=0A>I can reproduce it, and it seems to be th= e same issue as:=0A>https://lists.gnu.org/archive/html/bug-gnulib/2014-10/m= sg00000.html=0A>which I originally encountered on Solaris 11.=0A>(It's curi= ous that you could work it around by installing European=0A>localization, w= hile the test checks the mbrtowc behavior under Japanese=0A>locale.)=0A>=0A= >Perhaps it would be good to replace mbrtowc on Solaris, though I have no= =0A>idea how to detect the wrong behavior without depending on particular= =0A>locale data.=A0 Alternatively, we could simply ignore this test failure= on=0A>Solaris, since the tested calling convention is not very common.=0A>= =0A>Thoughts?=0A>=0A>Regards,=0A>--=0A>Daiki Ueno=0A>=0A>=0A> --0-2017258776-1415424168=:75549 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hello,
<= br>
I was misunderstanding.
<= span>Agree with you that this is a bug of Solaris mbrtowc ().
<= div>
But, still I can not understand why t= his issue happen
only in Japanese locale, without in= stalling European localization.
Could you explain me, if y= ou do not mind, please ?

It would be better to kee= p this Solaris bug detected,
but make it clear= it is not a bug of GNU's.
Or make it XFAIL on Solar= is (with some localizations).
Otherwise, the same bu= g report will be sent to many GNU projects.

Regards,

--- Kiyoshi


=
= ----- Original Message -----
From: Daiki Ueno <ueno@gnu.org>
= Subject: Re: m4-1.4.1= 7 test-mbrtowc3.sh fails on Solaris without European localization
=

Eric Blake <eblake@redhat.com> writes:

> [adding gnu= lib]
>
> On 11/06/2014 11:19 AM, Kiyoshi KANAZAWA wrote:
>= ;> Hello,
>>
>> On Solaris 10 x86/x64,
>> "t= est-mbrtowc3.sh" fails if European localization is not installed.
>&g= t; It passes with European localization.

I can reproduce it, and it = seems to be the same issue as:
https://lists.gnu.= org/archive/html/bug-gnulib/2014-10/msg00000.html
which I originally= encountered on Solaris 11.
(It's curious that you could work it around = by installing European
localization, while the test checks the mbrtowc b= ehavior under Japanese
locale.)

Perhaps it would be good to repla= ce mbrtowc on Solaris, though I have no
idea how to detect the wrong beh= avior without depending on particular
locale data.  Alternatively, we could simply ignore this test failure on
Solaris, since the tested c= alling convention is not very common.

Thoughts?

Regards,
-= -
Daiki Ueno


=
--0-2017258776-1415424168=:75549--