bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gettext failing msgconv-3 and lang-c++


From: Paul E Reimer
Subject: Re: gettext failing msgconv-3 and lang-c++
Date: Tue, 13 Feb 2024 10:34:17 -0600
User-agent: Mozilla Thunderbird

Hello

First, thanks for your quick response!

Can you do
     $ cd gettext-tools/tests
     $ make check TESTS=msgconv-3 KEEP=yes
     $ cd `ls -dt gt-msgconv-3.* | sed 1q`
     $ ../../src/msgconv -t ISO-8859-1 mco-test3.po -o mco-test3.out
   Does this command succeed? If it succeeds, please attach mco-test3.out.
mco-test3.out is attached, as well as the console output as gettext-msgconv-3.log.
* Regarding the lang-c++ failure:
   Can you please try to
     1. apply the attached math.h.diff,
     2. run "make" again,
     3. $ cd gettext-tools/tests
        $ make check TESTS=lang-c++
   Does this work?
For this, I was surprised to see that gettext itself contains three different math.h files

[10:24 reimer@CSI358562 gettext-0.22.4] find . -name math.h
./libtextstyle/lib/math.h
./gettext-tools/gnulib-lib/math.h
./gettext-runtime/intl/gnulib-lib/math.h

I assume that I should apply the patch to ./gettext-tools/gnulib-lib/math.h . But this does raise a question as to why are there three?  Running diff on them shows that they are indeed all different, varying by various #if statements.

Again, Thanks for your quick reply,

Paul

On 2/13/24 07:23, Bruno Haible wrote:
Hi,

Paul E Reimer wrote:
I am installing gettext-0.22.4.  I do the following commands after
downloading gettext:

1049  ./configure --prefix=/Users/reimer/local >&
../gettext-0.22.4.configure.log
1050  make -j1 >& ../gettext-0.22.4.make.log
1051  make check -j1 >& ../gettext-0.22.4.make.check.log

Those three logs are attached.  As you can see, "make check" produces
two errors in msgconv-3 and lang-c++

I am doing the install on a MacBook Pro running macOS Sonoma 14.4 with
Xcode 15.2.  I have also attached the gettext-tools/tests/test-suite.log

As I am not really familiar with gettext, please feel free to give me
suggestions or ask for more information.
These two test failures don't have a big impact on the operation of GNU gettext;
you can do a "make install" nonetheless.

* Regarding the msgconv-3 failure:
   According to [1], Apple apparently replaced their entire iconv
   implementation. Before, they were using a fork of GNU libiconv from 2006.
   (They stopped upgrading to newer versions of GNU libiconv when I
   switched the program's license from GPLv2+ to GPLv3+.) Now they are using an
   implementation based on the one from FreeBSD or NetBSD, under the MIT 
license.

   Can you do
     $ cd gettext-tools/tests
     $ make check TESTS=msgconv-3 KEEP=yes
     $ cd `ls -dt gt-msgconv-3.* | sed 1q`
     $ ../../src/msgconv -t ISO-8859-1 mco-test3.po -o mco-test3.out
   Does this command succeed? If it succeeds, please attach mco-test3.out.
   If it fails, please can you show the error output?

* Regarding the lang-c++ failure:
   Can you please try to
     1. apply the attached math.h.diff,
     2. run "make" again,
     3. $ cd gettext-tools/tests
        $ make check TESTS=lang-c++
   Does this work?

Bruno

[1] 
https://discuss.cocos2d-x.org/t/latest-xcode-failing-with-iconv-close/59507/16

Attachment: gettext-msgconv-3.log
Description: Text document

Attachment: mco-test3.out
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]