From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fischer To: development@lists.ipfire.org Subject: Current 'next' doesn't compile - problems with 'cyrus-imapd' Date: Sun, 21 May 2017 09:33:18 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4592906689579197054==" List-Id: --===============4592906689579197054== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, The current 'next' won't compile. It has problems with 'cyrus-imapd 2.2.12' and after several trys I can't get a grip on this: ***SNIP*** ### Making all in /usr/src/cyrus-imapd-2.2.12/lib make[2]: Entering directory '/usr/src/cyrus-imapd-2.2.12/lib' ./../tools/config2header CC=3Dgcc ./imapopts.c ./imapopts.h < ./imapoptions gcc -c -I.. -DHAVE_CONFIG_H -O2 -pipe -Wall -fexceptions -fPIC -march=3D= i586 -mtune=3Dgeneric -fomit-frame-pointer -Wp,-D_FORTIFY_SOURCE=3D2 -fstack-= protector-strong --param=3Dssp-buffer-size=3D4 -I/usr/include/et \ libconfig.c libconfig.c: In function 'config_read': libconfig.c:184:33: warning: comparison between 'enum opttype' and 'enum imap= opt' [-Wenum-compare] for(opt =3D IMAPOPT_ZERO; opt < IMAPOPT_LAST; opt++) { ^ libconfig.c:187:9: warning: comparison between 'enum opttype' and 'enum imapo= pt' [-Wenum-compare] opt =3D=3D IMAPOPT_CONFIGDIRECTORY) { ^~ libconfig.c: In function 'config_read_file': libconfig.c:348:35: warning: comparison between 'enum opttype' and 'enum imap= opt' [-Wenum-compare] for (opt =3D IMAPOPT_ZERO; opt < IMAPOPT_LAST; opt++) { ^ libconfig.c:360:35: warning: comparison between 'enum opttype' and 'enum imap= opt' [-Wenum-compare] for (opt =3D IMAPOPT_ZERO; opt < IMAPOPT_LAST; opt++) { ^ libconfig.c:370:10: warning: comparison between 'enum opttype' and 'enum imap= opt' [-Wenum-compare] if (opt < IMAPOPT_LAST) { ^ libconfig.c:405:10: warning: comparison between 'enum opttype' and 'enum imap= opt' [-Wenum-compare] if(opt =3D=3D IMAPOPT_CONFIGDIRECTORY) ^~ In file included from /usr/include/stdio.h:939:0, from libconfig.c:47: /usr/include/bits/stdio2.h: In function 'sprintf': /usr/include/bits/stdio2.h:33:10: error: invalid use of '__builtin_va_arg_pac= k ()' return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ =20 /usr/include/bits/stdio2.h: In function 'snprintf': /usr/include/bits/stdio2.h:64:10: error: invalid use of '__builtin_va_arg_pac= k ()' return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ =20 /usr/include/bits/stdio2.h: In function 'fprintf': /usr/include/bits/stdio2.h:97:10: error: invalid use of '__builtin_va_arg_pac= k ()' return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~ =20 /usr/include/bits/stdio2.h: In function 'printf': /usr/include/bits/stdio2.h:104:10: error: invalid use of '__builtin_va_arg_pa= ck ()' return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h: In function 'dprintf': /usr/include/bits/stdio2.h:141:10: error: invalid use of '__builtin_va_arg_pa= ck ()' return __dprintf_chk (__fd, __USE_FORTIFY_LEVEL - 1, __fmt, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~ =20 In file included from /usr/include/sys/syslog.h:207:0, from /usr/include/syslog.h:1, from libconfig.c:51: /usr/include/bits/syslog.h: In function 'syslog': /usr/include/bits/syslog.h:31:3: error: invalid use of '__builtin_va_arg_pack= ()' __syslog_chk (__pri, __USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:121: libconfig.o] Error 1 make[2]: Leaving directory '/usr/src/cyrus-imapd-2.2.12/lib' make[1]: *** [Makefile:68: all] Error 1 make[1]: Leaving directory '/usr/src/cyrus-imapd-2.2.12' make: *** [cyrus-imapd:87: /usr/src/log/cyrus-imapd-2.2.12] Error 2 ***SNAP*** Anyone else to confirm? Best, Matthias --===============4592906689579197054==--