On 08/06/17 12:21, Stuart Henderson wrote: > On 2017/08/04 16:09, Christian Weisgerber wrote: >> Here's the list of ports still broken on amd64 due to the clang switch: >> ... >> telephony/asterisk > (fixed)
telephony/asterisk-g729 fails amd64 /usr/bin/make all-am /usr/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include -DG72X_ASTERISK=130 -I"/usr/local/include" -DG72X_BCG729 -Wall -D_GNU_SOURCE -DG72X_9 -O2 -pipe -MT codec_g729_la-codec_g72x.lo -MD -MP -MF .deps/codec_g729_la-codec _g72x.Tpo -c -o codec_g729_la-codec_g72x.lo `test -f 'codec_g72x.c' || echo './'`codec_g72x.c cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include -DG72X_ASTERISK=130 -I/usr/local/include -DG72X_BCG729 -Wall -D_GNU_SOURCE -DG72X_9 -O2 -pipe -MT codec_g729_la-codec_g72x.lo -MD -MP -MF .deps/codec_g729_la-codec_g72x.Tpo -c codec_g72x.c -fPIC -DPIC -o .libs/codec _g729_la-codec_g72x.o In file included from codec_g72x.c:25: In file included from /usr/local/include/asterisk/module.h:39: /usr/local/include/asterisk/utils.h:1049:15: error: blocks support disabled - compile with -fblocks or pick a deployment target that supports them typedef void (^_raii_cleanup_block_t)(void); ^ codec_g72x.c:694:133: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, G72X_DESC, .load = load_module, .unload = unload_module, .buildopt_sum = ""); ^~ /usr/local/include/asterisk/module.h:445:3: note: expanded from macro 'AST_MODULE_INFO' fields \ ^~~~~~ codec_g72x.c:694:5: note: previous initialization is here AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, G72X_DESC, .load = load_module, .unload = unload_module, .buildopt_sum = ""); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/asterisk/module.h:444:19: note: expanded from macro 'AST_MODULE_INFO' .buildopt_sum = AST_BUILDOPT_SUM, \ ^~~~~~~~~~~~~~~~ /usr/local/include/asterisk/buildopts.h:7:26: note: expanded from macro 'AST_BUILDOPT_SUM' #define AST_BUILDOPT_SUM "da6642af068ee5e6490c5b1d2cc1d238" Looks to be same problem hit on telephony/asterisk as using the include files from asterisk.