GnuPG 2.1.0 "modern" released

Michael Felt aixtools at gmail.com
Mon Nov 24 19:51:18 CET 2014


I think it has to do with the interpretation of the return value - AIX is
always zero on success, and something different when not a success. What
that is is returned in errno.

See:
for i in 2 4 5
do
cc -o conftest$i conftest$i.c -liconv
echo CONFTEST$i
./conftest$i | od -bc
echo
done
CONFTEST2
./conftest2:iconv_t cd_utf8_to_88591 = iconv_open ("UTF-8", "ISO8859-1");
result: -1
errno: 7
0000000  072 062 060 060 060 060 071 071 070 012 303 242 072 062 060 060
           :   2   0   0   0   0   9   9   8  \n   Ã   ¢   :   2   0   0
0000020  060 060 071 071 070 012 076 076 342 202 254 074 074 012 133 133
           0   0   9   9   8  \n   >   >   â 202   ¬   <   <  \n   [   [
0000040  303 242 135 135 012 060 040 062 012
           Ã   ¢   ]   ]  \n   0       2  \n
0000051

CONFTEST4
./conftest4:iconv_t cd_utf8_to_88591 = iconv_open ("UTF-8", "ISO8859-1");
result: -1
errno: 7
0000000  072 062 060 060 060 060 071 071 070 012 101 102 072 062 060 060
           :   2   0   0   0   0   9   9   8  \n   A   B   :   2   0   0
0000020  060 060 071 071 070 012 076 076 101 102 103 104 074 074 012 133
           0   0   9   9   8  \n   >   >   A   B   C   D   <   <  \n   [
0000040  133 101 102 135 135 012 060 040 062 012
           [   A   B   ]   ]  \n   0       2  \n
0000052

CONFTEST5
./conftest5:iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
result: 0
errno: 0
return 1
0000000  072 062 060 060 060 060 071 071 070 012 032 072 062 060 060 060
           :   2   0   0   0   0   9   9   8  \n 032   :   2   0   0   0
0000020  060 071 071 070 012 076 076 342 202 254 074 074 012 133 133 032
           0   9   9   8  \n   >   >   â 202   ¬   <   <  \n   [   [ 032
0000040  135 135 012 071 040 061 012
           ]   ]  \n   9       1  \n
0000047

Also attached, the config.log as requested.



On Mon, Nov 24, 2014 at 12:51 PM, Werner Koch <wk at gnupg.org> wrote:

> On Sat, 22 Nov 2014 16:30, aixtools at gmail.com said:
>
> > However, configure is reporting - in config.log that AIX does not have
> > libiconv - which it does. So, my question is: to which gnu tool should I
>
> Well, the code does not detect it or it is not usable.  The latter
> should be reported.
>
> The detection code is source copied in GnuPG and used to create the
> configure script.  Some parts have not been updated for a long time and
> thus it might help to update them.  Can you send me the complete
> config.log  by private mail?
>
>
> Shalom-Salam,
>
>    Werner
>
> --
> Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20141124/995095d6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 376789 bytes
Desc: not available
URL: </pipermail/attachments/20141124/995095d6/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: conftest2.c
Type: text/x-csrc
Size: 2608 bytes
Desc: not available
URL: </pipermail/attachments/20141124/995095d6/attachment-0003.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: conftest4.c
Type: text/x-csrc
Size: 2608 bytes
Desc: not available
URL: </pipermail/attachments/20141124/995095d6/attachment-0004.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: conftest5.c
Type: text/x-csrc
Size: 2609 bytes
Desc: not available
URL: </pipermail/attachments/20141124/995095d6/attachment-0005.c>


More information about the Gnupg-users mailing list