bug-gettext
[Top][All Lists]
Advanced

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

Cannot build getext (starting with 0.20.1) when not AIX7


From: Michael Felt
Subject: Cannot build getext (starting with 0.20.1) when not AIX7
Date: Mon, 27 Jul 2020 12:23:50 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Confusing situation - as it seems to depend on which version of AIX is
used - and no clear logging of the key activity occuring.

@HAVE_NAMELESS_LOCALES@ on AIX 5.3 evaluates to false until version 0.20.
Starting with version 0.20.1 it evaluates to TRUE.

Research: - found in './gettext-runtime/configure' after studying
config.log that:

configure:20706: checking for working fcntl.h
configure:20830: result: no (bad O_NOFOLLOW)

After these two 'checking entries in the config.log'
 #define HAVE_NAMELESS_LOCALES 1

happens - BEFORE -
configure:21052: checking for CFPreferencesCopyAppValue

More (missing .log) details:
+20870      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
uselocale works" >&5
+20871  $as_echo_n "checking whether uselocale works... " >&6; }

does not showup in the log

+20926        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fake
locale system (OpenBSD)" >&5
+20927  $as_echo_n "checking for fake locale system (OpenBSD)... " >&6; }

also not in log

+20981        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for
Solaris 11.4 locale system" >&5
+20982  $as_echo_n "checking for Solaris 11.4 locale system... " >&6; }

likewise - not in log

Then - 'suddenly'

+21042    case "$host_os" in
+21043          aix*)
+21044        gt_nameless_locales=yes
+21045
+21046  $as_echo "#define HAVE_NAMELESS_LOCALES 1" >>confdefs.h
+21047
+21048        ;;
+21049    esac
+21050
+21051
+21052      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for
CFPreferencesCopyAppValue" >&5
+21053  $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }

- and this checking entry does appear!

This is when .log continues with it's actual logging:

* configure:21052: checking for CFPreferencesCopyAppValue

Note: AIX 5.3 and AIX 6.1 do not build with this code: AIX 7.1 will build.

So, at least one bug - lack of logging of three actions;

and I miss that the log does not indicate that it did something.

Lastly, would like to see this not happen for earlier versions of aix
(i.e., aix5*, and aix6*)

Note: same issue in: ./gettext-tools/configure

Note: changing the aix*) to aix7*) allows the build to proceed - and
complete.


Hope this helps - I tried to be terse - I hope the issue is clear enough


Michael


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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