Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
On 2015-10-15 16:23, Chet Ramey wrote:
The first beta release of bash-4.4 is now available with the URL
ftp://ftp.cwru.edu/pub/bash/bash-4.4-beta.tar.gz
This tar file includes the formatted documentation (you should be able to
generate updated versions yourself).
The summary - there is a 'conflict' between how bash is redefining mbstr
routines included in AIX libc.a since at least 2004 (when AIX 5.3 came out).
These routines may be better - but there seems to be a "typedef naming
scheme" collision that is more than just "unsigned versus signed"
difference.
== Detailed report on build of BASH-4.4-BETA ==
Build environment: As "old" as I can make it - in order to have a single
packaging that will install
on any AIX that is newer (binary compatibility!) - details on build
environment follow the bash report -
1) configure does not see that yacc is not installed, so make fails
immediately
2) after installing yacc, make proceeds but warns at:
"execute_cmd.c", line 4655.16: 1506-068 (W) Operation between types
"struct array*" and "volatile struct array*" is not allowed.
"execute_cmd.c", line 4657.16: 1506-068 (W) Operation between types
"struct array*" and "volatile struct array*" is not allowed.
3) and make stops at:
"/usr/include/mbstr.h", line 47.22: 1506-334 (S) Identifier mbchar_t has
already been defined on line 175 of "./include/shmbchar.h".
make: *** [subst.o] Error 1
/opt/bin/make returned an error (/opt/bin/make is gnu make)
root@x064:[/data/prj/gnu/bash/bash-4.4]make V=1
***********************************************************
* *
* GNU bash, version 4.4.0(1)-beta (powerpc-ibm-aix5.3.0.0)
* *
***********************************************************
rm -f subst.o
xlc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"powerpc"'
-DCONF_OSTYPE='"aix5.3.0.0"' -DCONF_MACHTYPE='"powerpc-ibm-aix5.3.0.0"'
-DCONF_VENDOR='"ibm"' -DLOCALEDIR='"/opt/share/locale"'
-DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DDEBUG -DMALLOC_DEBUG -I.
-I. -I./include -I./lib -I/opt/buildaix/include -I/opt/include
-I/opt/include -I/opt/buildaix/include -O2 -c subst.c
"/usr/include/mbstr.h", line 47.22: 1506-334 (S) Identifier mbchar_t has
already been defined on line 175 of "./include/shmbchar.h".
Makefile:100: recipe for target 'subst.o' failed
make: *** [subst.o] Error 1
/usr/include/mbstr.h:
+47 typedef unsigned int mbchar_t;
./include/shmbchar.h:
+163 struct mbchar
+164 {
+165 const char *ptr; /* pointer to current character */
+166 size_t bytes; /* number of bytes of current
character, > 0 */
+167 int wc_valid; /* true if wc is a valid wide character */
+168 wchar_t wc; /* if wc_valid: the current character */
+169 char buf[MBCHAR_BUF_SIZE]; /* room for the bytes, used for
file input only */
+170 };
+171
+172 /* EOF (not a real character) is represented with bytes = 0 and
+173 wc_valid = false. */
+174
+175 typedef struct mbchar mbchar_t;
These do not look compatible, nor a simple "patch" with an ifdef
= BUILD ENVIRONMENT DETAILS =
root@x064:[/data/prj/gnu/bash/bash-4.4]oslevel -s
5300-07-00-0000
root@x064:[/data/prj/gnu/bash/bash-4.4]xlc -qversion
IBM XL C/C++ for AIX, V11.1 (5724-X13)
Version: 11.01.0000.0020
root@x064:[/data/prj/gnu/bash/bash-4.4]make -v
GNU Make 4.1
Built for powerpc-ibm-aix5.3.0.0
Copyright (C) 1988-2014 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
rpm tools are not installed, only the rpm fileset.
root@x064:[/data/prj/gnu/bash/bash-4.4]rpm -qa
AIX-rpm-5.3.7.0-1
root@x064:[/data/prj/gnu/bash/bash-4.4]lslpp -L | grep rpm
rpm.rte 3.0.5.41 C F RPM Package Manager
AIX-rpm 5.3.7.0-1 C R Virtual Package for
libraries
At the moment I have many additional "aixtools" installed as I have been
working on a different project.
I will test with less later.
root@x064:[/data/prj/gnu/bash/bash-4.4]lslpp -L aixtools.\*
Fileset Level State Type Description
(Uninstaller)
----------------------------------------------------------------------------
aixtools.Python.man 2.7.8.0 C F man pages
2014.Oct.14 07.21
CUT
aixtools.Python.rte 2.7.8.0 C F Python 2014.Oct.14
07.21 CUT
aixtools.buildaix.man.en_US
2.0.3.1 C F man pages
aixtools.buildaix.rte 2.0.3.1 C F 1540 1007 2004
aixtools.expat.man 2.0.1.0 C F built 1507 0215 1556
aixtools.expat.rte 2.0.1.0 C F expat 1507 0215 1556
aixtools.freetype.man.en_US
2.5.5.0 C F man pages
aixtools.freetype.rte 2.5.5.0 C F 1540 1010 1840
aixtools.freetype.share 2.5.5.0 C F universal pages
aixtools.gnu.autoconf.man.en_US
2.69.0.0 C F man pages
aixtools.gnu.autoconf.rte
2.69.0.0 C F 1530 0730 0702
aixtools.gnu.autoconf.share
2.69.0.0 C F universal pages
aixtools.gnu.automake.man.en_US
1.15.0.0 C F man pages
aixtools.gnu.automake.rte
1.15.0.0 C F 1530 0730 0754
aixtools.gnu.automake.share
1.15.0.0 C F universal pages
aixtools.gnu.coreutils.man.en_US
8.24.0.0 C F man pages
aixtools.gnu.coreutils.rte
8.24.0.0 C F 1540 1007 1926
aixtools.gnu.coreutils.share
8.24.0.0 C F universal pages
aixtools.gnu.diffutils.rte
3.3.0.0 C F 1523 0612 2130
aixtools.gnu.gettext.rte 0.19.5.0 C F 1531 0807 0000
aixtools.gnu.gettext.share
0.19.5.0 C F universal pages
aixtools.gnu.m4.rte 1.4.17.0 C F 1523 0613 1221
aixtools.gnu.make.man.en_US
4.1.0.0 C F man pages
aixtools.gnu.make.rte 4.1.0.0 C F 1523 0613 1158
aixtools.gnu.make.share 4.1.0.0 C F universal pages
aixtools.gnu.patch.rte 2.7.5.0 C F 1533 0818 1605
aixtools.gperf.man 3.0.4.0 C F built 1508 0227 0914
aixtools.gperf.rte 3.0.4.0 C F gperf 1508 0227 0914
aixtools.gperf.share 3.0.4.0 C F built 1508 0227 0914
aixtools.libffi.man.en_US
3.0.11.0 C F libffi 3.0.11 man pages
AIXTools
aixtools.libffi.rte 3.0.11.0 C F libffi version
3.0.11 for
powerpc AIXTools
aixtools.libpng.man 1.5.12.0 C F libpng man pages
aixtools.libpng.rte 1.5.12.0 C F libpng version
1.5.12 for
powerpc AIXTools
aixtools.libtool.man 2.4.6.0 C F built 1507 0218 0736
aixtools.libtool.man.en_US
2.4.2.0 C F libtool 2.4.2 man pages
AIXTools
aixtools.libtool.rte 2.4.6.0 C F libtool 1507 0218 0736
aixtools.libtool.share 2.4.6.0 C F built 1507 0218 0736
aixtools.libxml2.rte 2.9.2.0 C F libxml2 1504 0127 2106
aixtools.openbsd.openssh.rte
6.9.0.1601 C F 1537 0917 0928
aixtools.pkgconfig.rte 0.25.0.0 C F pkgconfig 0.25.0.0
2013.Oct.28