=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/news/nn", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for nn-6.7.3nb6 --- ymakefile --- cp xmakefile MF.c tradcpp -DCOMPILER="gcc" -DPREPROC="tradcpp" -DLDEBUG="-L/opt/pkg/lib -Wl,-R/opt/pkg/lib" -DCDEBUG="-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses" -Iconf MF.c | sed -e '1,/MAKE WILL CUT HERE/d' -e '/^#/d' -e 's/^ */ /' -e '/^[ \f ]$/d' -e '/^[ \/]*[*]/d' | sed -n -e '/^..*$/p' > ymakefile In file included from MF.c:7:2: In file included from config.h:101:2: In file included from conf/s-sunos5.h:17:2: In file included from conf/s-sys5-4.h:5:2: In file included from conf/s-sys5.h:21:2: In file included from /usr/include/sys/types.h:37:2: In file included from /usr/include/sys/feature_tests.h:35:2: /usr/include/sys/isa_defs.h:485:2: #error: "ISA not supported" In file included from MF.c:7:2: In file included from config.h:101:2: In file included from conf/s-sunos5.h:17:2: In file included from conf/s-sys5-4.h:17:2: In file included from /usr/include/limits.h:40:2: /usr/include/iso/limits_iso.h:67:2: #error: "chars are signed or unsigned" rm -f MF.c --- all --- /opt/pkg/bin/bmake -j 2 -f ymakefile all --- nn.o --- --- admin.o --- gcc -Iconf -D_MSE_INT_H -D__EXTENSIONS__ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c admin.c --- nn.o --- gcc -Iconf -D_MSE_INT_H -D__EXTENSIONS__ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c nn.c --- admin.o --- admin.c: In function 'get_groupname': admin.c:150:41: error: passing argument 4 of 'get_s' from incompatible pointer type [-Wincompatible-pointer-types] 150 | groupname = get_s(NONE, NONE, NONE, group_completion); | ^~~~~~~~~~~~~~~~ | | | int (*)(char *, int) In file included from admin.c:22: nn_term.h:93:47: note: expected 'fct_type' {aka 'int (*)(void)'} but argument is of type 'int (*)(char *, int)' 93 | char *get_s(char *, char *, char *, fct_type); | ^~~~~~~~ In file included from admin.c:19: group.h:5:17: note: 'group_completion' declared here 5 | int group_completion(char *, int); | ^~~~~~~~~~~~~~~~ In file included from admin.c:15: global.h:30:19: note: 'fct_type' declared here 30 | typedef int (*fct_type) (); | ^~~~~~~~ In file included from admin.c:17: admin.c: In function 'validate_group': db.h:62:28: error: implicit declaration of function 'ntohl' [-Wimplicit-function-declaration] 62 | #define NETW_CROSS_INT(cp) ntohl(cp) | ^~~~~ admin.c:417:26: note: in expansion of macro 'NETW_CROSS_INT' 417 | cross_post = NETW_CROSS_INT(db_data.dh_cross[n]); | ^~~~~~~~~~~~~~ --- nn.o --- nn.c: In function 'read_news': nn.c:331:80: error: passing argument 5 of 'group_menu' from incompatible pointer type [-Wincompatible-pointer-types] 331 | menu_cmd = group_menu(gh, (article_number) (-1), group_mode, mask, menu); | ^~~~ | | | int (*)(int (*)(void)) In file included from nn.c:20: group.h:6:97: note: expected 'fct_type' {aka 'int (*)(void)'} but argument is of type 'int (*)(int (*)(void))' 6 | int group_menu(register group_header *, article_number, register flag_type, char *, fct_type); | ^~~~~~~~ In file included from nn.c:27: menu.h:65:17: note: 'menu' declared here 65 | int menu(fct_type); | ^~~~ In file included from nn.c:13: global.h:30:19: note: 'fct_type' declared here 30 | typedef int (*fct_type) (); | ^~~~~~~~ nn.c: In function 'catch_up': nn.c:458:83: error: passing argument 5 of 'group_menu' from incompatible pointer type [-Wincompatible-pointer-types] 458 | group_menu(gh, (article_number) (-1), access_mode, (char *) NULL, menu); | ^~~~ | | | int (*)(int (*)(void)) group.h:6:97: note: expected 'fct_type' {aka 'int (*)(void)'} but argument is of type 'int (*)(int (*)(void))' 6 | int group_menu(register group_header *, article_number, register flag_type, char *, fct_type); | ^~~~~~~~ menu.h:65:17: note: 'menu' declared here 65 | int menu(fct_type); | ^~~~ global.h:30:19: note: 'fct_type' declared here 30 | typedef int (*fct_type) (); | ^~~~~~~~ --- admin.o --- *** [admin.o] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/work/news/nn/work/nn-6.7.3 --- nn.o --- *** [nn.o] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/work/news/nn/work/nn-6.7.3 bmake[1]: 2 errors bmake[1]: stopped making "all" in /home/pbulk/work/news/nn/work/nn-6.7.3 *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/work/news/nn/work/nn-6.7.3 bmake: 1 error bmake: stopped making "all" in /home/pbulk/work/news/nn/work/nn-6.7.3 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/news/nn *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/news/nn