Hello.
I cant build 2.2.25, but I can build fine version 2.2.24 with same options:
RedHat based customized distro, 2.6.28.10 kernel
Build options:
export CPPFLAGS
export LDFLAGS
CPPFLAGS=-I/usr/local/ssl/include
LDFLAGS=-L/usr/local/ssl/lib
./configure \
--prefix=/usr \
--with-ssl=openssl \
--with-ssldir=/etc/ssl \
--sysconfdir=/etc \
--without-vpopmail \
--with-pam \
--without-bsdauth \
--without-sql \
--without-nss \
--without-ldap \
--without-pgsql \
--without-mysql \
--without-sqlite \
--with-rundir=/var/run/dovecot\
--without-deliver \
--without-gssapi
Build error:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../..
-I/usr/local/ssl/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -fno-builtin-strftime -MT guid.lo -MD -MP -MF
.deps/guid.Tpo -c guid.c -fPIC -DPIC -o .libs/guid.o
In file included from guid.c:6:
sha1.h:80: error: static or type qualifiers in abstract declarator
make[4]: *** [guid.lo] Error 1
make[4]: Leaving directory `/usr/src/redhat/BUILD/dovecot-2.2.25/src/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/redhat/BUILD/dovecot-2.2.25/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/dovecot-2.2.25/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/dovecot-2.2.25'
make: *** [all] Error 2
Please advise?
--
Mart
Am 02.07.2016 um 17:56 schrieb Mart Pirita:> Hello. > > I cant build 2.2.25, but I can build fine version 2.2.24 with same options: > > RedHat based customized distro, 2.6.28.10 kernelhttp://dovecot.org/pipermail/dovecot/2016-July/104798.html Alexander
> On July 2, 2016 at 6:56 PM Mart Pirita <sysadmin at e-positive.ee> wrote: > > > Hello. > > I cant build 2.2.25, but I can build fine version 2.2.24 with same options: > > RedHat based customized distro, 2.6.28.10 kernel > > Build options: > > export CPPFLAGS > export LDFLAGS > > CPPFLAGS=-I/usr/local/ssl/include > LDFLAGS=-L/usr/local/ssl/lib > > ./configure \ > --prefix=/usr \ > --with-ssl=openssl \ > --with-ssldir=/etc/ssl \ > --sysconfdir=/etc \ > --without-vpopmail \ > --with-pam \ > --without-bsdauth \ > --without-sql \ > --without-nss \ > --without-ldap \ > --without-pgsql \ > --without-mysql \ > --without-sqlite \ > --with-rundir=/var/run/dovecot\ > --without-deliver \ > --without-gssapi > > Build error: > > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. > -I/usr/local/ssl/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes > -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 > -Wbad-function-cast -fno-builtin-strftime -MT guid.lo -MD -MP -MF > .deps/guid.Tpo -c guid.c -fPIC -DPIC -o .libs/guid.o > In file included from guid.c:6: > sha1.h:80: error: static or type qualifiers in abstract declarator > make[4]: *** [guid.lo] Error 1 > make[4]: Leaving directory `/usr/src/redhat/BUILD/dovecot-2.2.25/src/lib' > make[3]: *** [all] Error 2 > make[3]: Leaving directory `/usr/src/redhat/BUILD/dovecot-2.2.25/src/lib' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/usr/src/redhat/BUILD/dovecot-2.2.25/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/redhat/BUILD/dovecot-2.2.25' > make: *** [all] Error 2 > > > Please advise? > > > -- > MartThis has been fixed in https://github.com/dovecot/core/commit/f54d511597447e40f5413716c10520a7229364f1 --- Aki Tuomi Dovecot oy
> On July 2, 2016 at 7:58 PM aki.tuomi at dovecot.fi wrote: > > > > > On July 2, 2016 at 6:56 PM Mart Pirita <sysadmin at e-positive.ee> wrote: > > > > > > Hello. > > > > I cant build 2.2.25, but I can build fine version 2.2.24 with same options: > > > > RedHat based customized distro, 2.6.28.10 kernel > > > > Build options: > > > > export CPPFLAGS > > export LDFLAGS > > > > CPPFLAGS=-I/usr/local/ssl/include > > LDFLAGS=-L/usr/local/ssl/lib > > > > ./configure \ > > --prefix=/usr \ > > --with-ssl=openssl \ > > --with-ssldir=/etc/ssl \ > > --sysconfdir=/etc \ > > --without-vpopmail \ > > --with-pam \ > > --without-bsdauth \ > > --without-sql \ > > --without-nss \ > > --without-ldap \ > > --without-pgsql \ > > --without-mysql \ > > --without-sqlite \ > > --with-rundir=/var/run/dovecot\ > > --without-deliver \ > > --without-gssapi > > > > Build error: > > > > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. > > -I/usr/local/ssl/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes > > -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 > > -Wbad-function-cast -fno-builtin-strftime -MT guid.lo -MD -MP -MF > > .deps/guid.Tpo -c guid.c -fPIC -DPIC -o .libs/guid.o > > In file included from guid.c:6: > > sha1.h:80: error: static or type qualifiers in abstract declarator > > make[4]: *** [guid.lo] Error 1 > > make[4]: Leaving directory `/usr/src/redhat/BUILD/dovecot-2.2.25/src/lib' > > make[3]: *** [all] Error 2 > > make[3]: Leaving directory `/usr/src/redhat/BUILD/dovecot-2.2.25/src/lib' > > make[2]: *** [all-recursive] Error 1 > > make[2]: Leaving directory `/usr/src/redhat/BUILD/dovecot-2.2.25/src' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/usr/src/redhat/BUILD/dovecot-2.2.25' > > make: *** [all] Error 2 > > > > > > Please advise? > > > > > > -- > > Mart > > This has been fixed in https://github.com/dovecot/core/commit/f54d511597447e40f5413716c10520a7229364f1 > > --- > Aki Tuomi > Dovecot oyAh, no it wasn't for CentOS5. Sorry. Aki
Alexander Dalloz wrote:> Am 02.07.2016 um 17:56 schrieb Mart Pirita: >> Hello. >> >> I cant build 2.2.25, but I can build fine version 2.2.24 with same options: >> >> RedHat based customized distro, 2.6.28.10 kernel > http://dovecot.org/pipermail/dovecot/2016-July/104798.html >But config.h does contain #define STATIC_ARRAY and does not contain #define STATIC_ARRAY static And also src/lib/macros.h does include the fix - https://github.com/dovecot/core/commit/f54d511597447e40f5413716c10520a7229364f1 So older systems can't upgrade anymore? -- Mart