+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/herbe-1.0.0nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/herbe-1.0.0nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for herbe-1.0.0nb1 --- config.h --- cp config.def.h config.h --- herbe --- cc herbe.c -pipe -O2 -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -Wall -Wextra -pedantic -I/usr/pkg/include -L/usr/pkg/lib -lX11 -lXft -I/usr/pkg/include/freetype2 -pthread -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o herbe In file included from /home/pbulk/build/x11/herbe/work/.buildlink/include/freetype2/freetype/config/ftconfig.h:46:0, from /home/pbulk/build/x11/herbe/work/.buildlink/include/freetype2/freetype/freetype.h:24, from /home/pbulk/build/x11/herbe/work/.buildlink/include/X11/Xft/Xft.h:41, from herbe.c:2: /home/pbulk/build/x11/herbe/work/.buildlink/include/freetype2/freetype/config/integer-types.h:66:50: warning: use of C99 long long integer constant [-Wlong-long] #if defined( FT_ULLONG_MAX ) && FT_ULLONG_MAX >= 0xFFFFFFFFFFFFFFFFULL ^ herbe.c: In function 'get_max_len': herbe.c:52:2: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < eol; i++) ^ herbe.c:52:2: note: use option -std=c99 or -std=gnu99 to compile your code herbe.c:62:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int temp = eol; ^ herbe.c: In function 'main': herbe.c:90:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] struct sigaction act_expire, act_ignore; ^ herbe.c:110:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int screen = DefaultScreen(display); ^ herbe.c:119:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] XftColor color; ^ herbe.c:125:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] int num_of_lines = 0; ^ herbe.c:132:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] XftFont *font = XftFontOpenName(display, screen, font_pattern); ^ herbe.c:134:2: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 1; i < argc; i++) ^ herbe.c:136:3: error: 'for' loop initial declarations are only allowed in C99 mode for (unsigned int eol = get_max_len(argv[i], font, max_text_width); eol; argv[i] += eol, num_of_lines++, eol = get_max_len(argv[i], font, max_text_width)) ^ herbe.c:154:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] unsigned int x = pos_x; ^ herbe.c:168:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] XftDraw *draw = XftDrawCreate(display, window, visual, colormap); ^ herbe.c:174:2: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] sem_t *mutex = sem_open("/herbe", O_CREAT, 0644, 1); ^ herbe.c:191:4: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < num_of_lines; i++) ^ herbe.c:210:11: error: redefinition of 'i' for (int i = 0; i < num_of_lines; i++) ^ herbe.c:134:11: note: previous definition of 'i' was here for (int i = 1; i < argc; i++) ^ herbe.c:210:2: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < num_of_lines; i++) ^ *** [herbe] Error code 1 bmake: stopped in /home/pbulk/build/x11/herbe/work/herbe-1.0.0 1 error bmake: stopped in /home/pbulk/build/x11/herbe/work/herbe-1.0.0 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/x11/herbe *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/x11/herbe