=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for xvidcap-1.1.3nb22 --- config.h --- --- all --- /usr/pkg/bin/bmake all-recursive --- all-recursive --- Making all in Xw --- Base.o --- --- Box.o --- --- Button.o --- --- Base.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT Base.o -MD -MP -MF ".deps/Base.Tpo" -c -o Base.o `test -f 'Base.c' || echo './'`Base.c; then mv ".deps/Base.Tpo" ".deps/Base.Po"; else rm -f ".deps/Base.Tpo"; exit 1; fi --- Box.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT Box.o -MD -MP -MF ".deps/Box.Tpo" -c -o Box.o `test -f 'Box.c' || echo './'`Box.c; then mv ".deps/Box.Tpo" ".deps/Box.Po"; else rm -f ".deps/Box.Tpo"; exit 1; fi --- Button.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT Button.o -MD -MP -MF ".deps/Button.Tpo" -c -o Button.o `test -f 'Button.c' || echo './'`Button.c; then mv ".deps/Button.Tpo" ".deps/Button.Po"; else rm -f ".deps/Button.Tpo"; exit 1; fi --- Field.o --- --- Label.o --- --- Field.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT Field.o -MD -MP -MF ".deps/Field.Tpo" -c -o Field.o `test -f 'Field.c' || echo './'`Field.c; then mv ".deps/Field.Tpo" ".deps/Field.Po"; else rm -f ".deps/Field.Tpo"; exit 1; fi --- Label.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT Label.o -MD -MP -MF ".deps/Label.Tpo" -c -o Label.o `test -f 'Label.c' || echo './'`Label.c; then mv ".deps/Label.Tpo" ".deps/Label.Po"; else rm -f ".deps/Label.Tpo"; exit 1; fi --- RootIcon.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT RootIcon.o -MD -MP -MF ".deps/RootIcon.Tpo" -c -o RootIcon.o `test -f 'RootIcon.c' || echo './'`RootIcon.c; then mv ".deps/RootIcon.Tpo" ".deps/RootIcon.Po"; else rm -f ".deps/RootIcon.Tpo"; exit 1; fi --- Field.o --- Field.c:1089:31: warning: expression which evaluates to zero treated as a null pointer constant of type 'XtIntervalId *' (aka 'unsigned long *') [-Wnon-literal-null-conversion] ExtendTimer((XtPointer) w, (XtIntervalId) 0); ^~~~~~~~~~~~~~~~ Field.c:1289:5: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtPointer) pos, event->xbutton.time); ^ --- simple.o --- --- testxw.o --- --- simple.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT simple.o -MD -MP -MF ".deps/simple.Tpo" -c -o simple.o `test -f 'simple.c' || echo './'`simple.c; then mv ".deps/simple.Tpo" ".deps/simple.Po"; else rm -f ".deps/simple.Tpo"; exit 1; fi --- testxw.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT testxw.o -MD -MP -MF ".deps/testxw.Tpo" -c -o testxw.o `test -f 'testxw.c' || echo './'`testxw.c; then mv ".deps/testxw.Tpo" ".deps/testxw.Po"; else rm -f ".deps/testxw.Tpo"; exit 1; fi --- simple.o --- simple.c:43:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(0); ^ simple.c:43:2: note: include the header or explicitly provide a declaration for 'exit' 1 warning generated. --- Toggle.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT Toggle.o -MD -MP -MF ".deps/Toggle.Tpo" -c -o Toggle.o `test -f 'Toggle.c' || echo './'`Toggle.c; then mv ".deps/Toggle.Tpo" ".deps/Toggle.Po"; else rm -f ".deps/Toggle.Tpo"; exit 1; fi --- testxw.o --- testxw.c:44:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(0); ^ testxw.c:44:2: note: include the header or explicitly provide a declaration for 'exit' testxw.c:121:5: warning: passing 'unsigned char [26]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] testxw_bits, testxw_width, testxw_height); ^~~~~~~~~~~ /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ 2 warnings generated. --- Field.o --- 2 warnings generated. --- libXw.a --- rm -f libXw.a ar cru libXw.a Base.o Box.o Button.o Field.o Label.o RootIcon.o simple.o testxw.o Toggle.o ranlib libXw.a --- simple --- clang -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib/ffmpeg1 -Wl,-R/usr/pkg/lib/ffmpeg1 -o simple simple.o libXw.a -ljpeg -lpng -lz -lXext -lXmu -lXt -lX11 Making all in src --- xvidcap-main.o --- --- xvidcap-xt_control.o --- --- xvidcap-options.o --- --- xvidcap-main.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -DVERSION=\"1.1.3\" -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT xvidcap-main.o -MD -MP -MF ".deps/xvidcap-main.Tpo" -c -o xvidcap-main.o `test -f 'main.c' || echo './'`main.c; then mv ".deps/xvidcap-main.Tpo" ".deps/xvidcap-main.Po"; else rm -f ".deps/xvidcap-main.Tpo"; exit 1; fi --- xvidcap-options.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -DVERSION=\"1.1.3\" -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT xvidcap-options.o -MD -MP -MF ".deps/xvidcap-options.Tpo" -c -o xvidcap-options.o `test -f 'options.c' || echo './'`options.c; then mv ".deps/xvidcap-options.Tpo" ".deps/xvidcap-options.Po"; else rm -f ".deps/xvidcap-options.Tpo"; exit 1; fi --- xvidcap-xt_control.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -DVERSION=\"1.1.3\" -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT xvidcap-xt_control.o -MD -MP -MF ".deps/xvidcap-xt_control.Tpo" -c -o xvidcap-xt_control.o `test -f 'xt_control.c' || echo './'`xt_control.c; then mv ".deps/xvidcap-xt_control.Tpo" ".deps/xvidcap-xt_control.Po"; else rm -f ".deps/xvidcap-xt_control.Tpo"; exit 1; fi --- xvidcap-options.o --- options.c:36:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern tCodecs; ~~~~~~ ^ options.c:106:25: warning: format string contains '\0' within the string body [-Wformat] sprintf(c_hash, "\0"); ~^~~ options.c:110:25: warning: format string contains '\0' within the string body [-Wformat] sprintf(n_hash, "\0"); ~^~~ 3 warnings generated. --- xvidcap-xt_control.o --- xt_control.c:188:10: warning: implicit declaration of function 'XShmQueryExtension' is invalid in C99 [-Wimplicit-function-declaration] if (!XShmQueryExtension(dpy)) ^ xt_control.c:234:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xt_control.c:444:39: warning: if statement has empty body [-Wempty-body] if (jobp->flags & FLG_RUN_VERBOSE); ^ xt_control.c:444:39: note: put the semicolon on a separate line to silence this warning xt_control.c:496:45: warning: '&&' within '||' [-Wlogical-op-parentheses] if ( jobp->pic_no != jobp->start_no && ( jobp->state & VC_STOP ) > 0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xt_control.c:496:45: note: place parentheses around the '&&' expression to silence this warning if ( jobp->pic_no != jobp->start_no && ( jobp->state & VC_STOP ) > 0 ^ ( ) xt_control.c:982:5: warning: passing 'unsigned char [26]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] stop_bits, stop_width, stop_height); ^~~~~~~~~ /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ xt_control.c:984:5: warning: passing 'unsigned char [26]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] pause_bits, pause_width, pause_height); ^~~~~~~~~~ /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ xt_control.c:986:5: warning: passing 'unsigned char [26]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- xvidcap-xt_options.o --- --- xvidcap-colors.o --- --- xvidcap-xt_control.o --- record_bits, record_width, record_height); ^~~~~~~~~~~ /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ xt_control.c:988:5: warning: passing 'unsigned char [26]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] step_bits, step_width, step_height); ^~~~~~~~~ /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ xt_control.c:990:5: warning: passing 'unsigned char [26]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] prev_bits, prev_width, prev_height); ^~~~~~~~~ /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/X11/Xlib.h:1607:29: note: passing argument to parameter here --- xvidcap-xt_options.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -DVERSION=\"1.1.3\" -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT xvidcap-xt_options.o -MD -MP -MF ".deps/xvidcap-xt_options.Tpo" -c -o xvidcap-xt_options.o `test -f 'xt_options.c' || echo './'`xt_options.c; then mv ".deps/xvidcap-xt_options.Tpo" ".deps/xvidcap-xt_options.Po"; else rm -f ".deps/xvidcap-xt_options.Tpo"; exit 1; fi --- xvidcap-xt_control.o --- _Xconst char* /* data */, ^ xt_control.c:992:5: warning: passing 'unsigned char [26]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] next_bits, next_width, next_height); ^~~~~~~~~ /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ xt_control.c:994:5: warning: passing 'unsigned char [26]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] select_bits, select_width, select_height); ^~~~~~~~~~~ /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ --- xvidcap-colors.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -DVERSION=\"1.1.3\" -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT xvidcap-colors.o -MD -MP -MF ".deps/xvidcap-colors.Tpo" -c -o xvidcap-colors.o `test -f 'colors.c' || echo './'`colors.c; then mv ".deps/xvidcap-colors.Tpo" ".deps/xvidcap-colors.Po"; else rm -f ".deps/xvidcap-colors.Tpo"; exit 1; fi --- xvidcap-xt_control.o --- xt_control.c:996:5: warning: passing 'unsigned char [39]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] animate_bits, animate_width, animate_height); ^~~~~~~~~~~~ /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ xt_control.c:998:5: warning: passing 'unsigned char [26]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] edit_bits, edit_width, edit_height); ^~~~~~~~~ /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ xt_control.c:1000:5: warning: passing 'unsigned char [26]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] move_bits, move_width, move_height); ^~~~~~~~~ /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ xt_control.c:1111:12: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern XVC_frame_lock; ~~~~~~ ^ --- xvidcap-xt_options.o --- xt_options.c:169:18: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] (! job->flags & FLG_MULTI_IMAGE) ) ) { ^ ~ xt_options.c:169:18: note: add parentheses after the '!' to evaluate the bitwise operator first (! job->flags & FLG_MULTI_IMAGE) ) ) { ^ ( ) xt_options.c:169:18: note: add parentheses around left hand side expression to silence this warning (! job->flags & FLG_MULTI_IMAGE) ) ) { ^ ( ) xt_options.c:301:16: warning: implicit declaration of function 'XVC_WriteOptionsFile' is invalid in C99 [-Wimplicit-function-declaration] if ( ! XVC_WriteOptionsFile(job) ) { ^ --- xvidcap-util.o --- --- xvidcap-xt_control.o --- 15 warnings generated. --- xvidcap-frame.o --- --- xvidcap-util.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -DVERSION=\"1.1.3\" -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT xvidcap-util.o -MD -MP -MF ".deps/xvidcap-util.Tpo" -c -o xvidcap-util.o `test -f 'util.c' || echo './'`util.c; then mv ".deps/xvidcap-util.Tpo" ".deps/xvidcap-util.Po"; else rm -f ".deps/xvidcap-util.Tpo"; exit 1; fi --- xvidcap-xt_options.o --- 2 warnings generated. --- xvidcap-frame.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -DVERSION=\"1.1.3\" -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT xvidcap-frame.o -MD -MP -MF ".deps/xvidcap-frame.Tpo" -c -o xvidcap-frame.o `test -f 'frame.c' || echo './'`frame.c; then mv ".deps/xvidcap-frame.Tpo" ".deps/xvidcap-frame.Po"; else rm -f ".deps/xvidcap-frame.Tpo"; exit 1; fi --- xvidcap-xt_frame.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -DVERSION=\"1.1.3\" -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT xvidcap-xt_frame.o -MD -MP -MF ".deps/xvidcap-xt_frame.Tpo" -c -o xvidcap-xt_frame.o `test -f 'xt_frame.c' || echo './'`xt_frame.c; then mv ".deps/xvidcap-xt_frame.Tpo" ".deps/xvidcap-xt_frame.Po"; else rm -f ".deps/xvidcap-xt_frame.Tpo"; exit 1; fi --- xvidcap-capture.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -DVERSION=\"1.1.3\" -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT xvidcap-capture.o -MD -MP -MF ".deps/xvidcap-capture.Tpo" -c -o xvidcap-capture.o `test -f 'capture.c' || echo './'`capture.c; then mv ".deps/xvidcap-capture.Tpo" ".deps/xvidcap-capture.Po"; else rm -f ".deps/xvidcap-capture.Tpo"; exit 1; fi --- xvidcap-xtoxwd.o --- --- xvidcap-xt_frame.o --- xt_frame.c:200:54: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] XGetGeometry(dpy, topwin, &ignore, &px, &py, &pwidth, &pheight, &pborder_width, ^~~~~~~ /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/X11/Xlib.h:2626:37: note: passing argument to parameter here unsigned int* /* width_return */, ^ xt_frame.c:200:63: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] XGetGeometry(dpy, topwin, &ignore, &px, &py, &pwidth, &pheight, &pborder_width, ^~~~~~~~ /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/X11/Xlib.h:2627:38: note: passing argument to parameter here unsigned int* /* height_return */, ^ xt_frame.c:200:73: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] XGetGeometry(dpy, topwin, &ignore, &px, &py, &pwidth, &pheight, &pborder_width, ^~~~~~~~~~~~~~ /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/X11/Xlib.h:2628:44: note: passing argument to parameter here unsigned int* /* border_width_return */, ^ xt_frame.c:201:9: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &pdepth); ^~~~~~~ /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/X11/Xlib.h:2630:1: note: passing argument to parameter here ); ^ --- xvidcap-xtoxwd.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -DVERSION=\"1.1.3\" -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT xvidcap-xtoxwd.o -MD -MP -MF ".deps/xvidcap-xtoxwd.Tpo" -c -o xvidcap-xtoxwd.o `test -f 'xtoxwd.c' || echo './'`xtoxwd.c; then mv ".deps/xvidcap-xtoxwd.Tpo" ".deps/xvidcap-xtoxwd.Po"; else rm -f ".deps/xvidcap-xtoxwd.Tpo"; exit 1; fi --- xvidcap-xt_frame.o --- 4 warnings generated. --- xvidcap-xtopnm.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -DVERSION=\"1.1.3\" -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT xvidcap-xtopnm.o -MD -MP -MF ".deps/xvidcap-xtopnm.Tpo" -c -o xvidcap-xtopnm.o `test -f 'xtopnm.c' || echo './'`xtopnm.c; then mv ".deps/xvidcap-xtopnm.Tpo" ".deps/xvidcap-xtopnm.Po"; else rm -f ".deps/xvidcap-xtopnm.Tpo"; exit 1; fi --- xvidcap-xtoxwd.o --- xtoxwd.c:63:16: warning: incompatible pointer types passing 'CARD32 *' (aka 'unsigned int *') to parameter of type 'unsigned long *' [-Wincompatible-pointer-types] swap_4byte (&color_table[i].pixel); --- xvidcap-capture.o --- capture.c:97:27: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] --- xvidcap-xtoxwd.o --- ^~~~~~~~~~~~~~~~~~~~~ --- xvidcap-capture.o --- x, y, &dummy, &dummy, &dummy)) { ^~~~~~ --- xvidcap-xtopnm.o --- xtopnm.c:221:23: warning: unsequenced modification and access to 'line_ptr' [-Wunsequenced] + (((*line_ptr++<> r_shift2); ^ --- xvidcap-xtoxwd.o --- ./util.h:21:33: note: passing argument to parameter here void swap_4byte (unsigned long *); --- xvidcap-capture.o --- /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/X11/Xlib.h:2993:1: note: passing argument to parameter here --- xvidcap-xtoxwd.o --- ^ --- xvidcap-capture.o --- ); ^ --- xvidcap-xtopnm.o --- xtopnm.c:227:23: warning: unsequenced modification and access to 'line_ptr' [-Wunsequenced] + (((*line_ptr++<> g_shift2); ^ --- xvidcap-xtoxwd.o --- xtoxwd.c:117:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] swap_n_4byte ((char *)&head, sizeof(head)/sizeof(long)); --- xvidcap-capture.o --- capture.c:131:9: warning: format specifies type 'void *' but the argument has type 'Window' (aka 'unsigned long') [-Wformat] --- xvidcap-xtoxwd.o --- ^~~~~~~~~~~~~ --- xvidcap-capture.o --- RootWindow(dpy, DefaultScreen(dpy))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- xvidcap-xtopnm.o --- xtopnm.c:233:23: warning: unsequenced modification and access to 'line_ptr' [-Wunsequenced] + (((*line_ptr++<> b_shift2); ^ --- xvidcap-xtoxwd.o --- ./util.h:23:35: note: passing argument to parameter 'p' here void swap_n_4byte (unsigned char *p, unsigned long n); --- xvidcap-capture.o --- /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/X11/Xlib.h:92:31: note: expanded from macro 'RootWindow' --- xvidcap-xtoxwd.o --- ^ --- xvidcap-capture.o --- #define RootWindow(dpy, scr) (ScreenOfDisplay(dpy,scr)->root) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- xvidcap-xtopnm.o --- xtopnm.c:272:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] line_ptr = image->data + (image->bytes_per_line * row); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- xvidcap-xtoxwd.o --- 2 warnings generated. --- xvidcap-mngutil.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -DVERSION=\"1.1.3\" -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT xvidcap-mngutil.o -MD -MP -MF ".deps/xvidcap-mngutil.Tpo" -c -o xvidcap-mngutil.o `test -f 'mngutil.c' || echo './'`mngutil.c; then mv ".deps/xvidcap-mngutil.Tpo" ".deps/xvidcap-mngutil.Po"; else rm -f ".deps/xvidcap-mngutil.Tpo"; exit 1; fi --- xvidcap-capture.o --- capture.c:147:18: warning: initializing 'uint8_t *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- xvidcap-xtopnm.o --- xtopnm.c:351:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- xvidcap-capture.o --- uint8_t *im_data = image->data; --- xvidcap-xtopnm.o --- col_ptr = image->data + (row * image->bytes_per_line); --- xvidcap-capture.o --- ^ ~~~~~~~~~~~ --- xvidcap-xtopnm.o --- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- xvidcap-mngutil.o --- mngutil.c:56:28: warning: passing 'char [5]' to parameter of type 'png_const_bytep' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] png_write_chunk (png_ptr, "MHDR", buff, (png_size_t)12); ^~~~~~ --- xvidcap-capture.o --- capture.c:310:22: warning: implicit conversion from 'unsigned long' to 'CARD32' (aka 'unsigned int') changes value from 18446744073709551615 to 4294967295 [-Wconstant-conversion] --- xvidcap-xtopnm.o --- xtopnm.c:389:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- xvidcap-capture.o --- req->planeMask = AllPlanes; --- xvidcap-xtopnm.o --- row_ptr = image->data + (row * image->bytes_per_line); --- xvidcap-capture.o --- ~ ^~~~~~~~~ --- xvidcap-xtopnm.o --- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- xvidcap-mngutil.o --- /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/png.h:1021:5: note: passing argument to parameter 'chunk_name' here --- xvidcap-capture.o --- /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/X11/Xlib.h:99:22: note: expanded from macro 'AllPlanes' #define AllPlanes ((unsigned long)~0L) ^~~~~~~~~~~~~~~~~~ --- xvidcap-mngutil.o --- chunk_name, png_const_bytep data, png_size_t length)); ^ mngutil.c:65:28: warning: passing 'char [5]' to parameter of type 'png_const_bytep' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] png_write_chunk (png_ptr, "MEND", NULL, (png_size_t)0); ^~~~~~ /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/png.h:1021:5: note: passing argument to parameter 'chunk_name' here chunk_name, png_const_bytep data, png_size_t length)); ^ mngutil.c:77:28: warning: passing 'char [5]' to parameter of type 'png_const_bytep' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] png_write_chunk (png_ptr, "DEFI", buff, (png_size_t)2); ^~~~~~ /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/png.h:1021:5: note: passing argument to parameter 'chunk_name' here chunk_name, png_const_bytep data, png_size_t length)); ^ mngutil.c:94:9: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] len = strlen (name) + 1; ^ mngutil.c:94:9: note: include the header or explicitly provide a declaration for 'strlen' mngutil.c:98:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy (buff+1, name); ^ mngutil.c:98:3: note: include the header or explicitly provide a declaration for 'strcpy' mngutil.c:98:11: warning: passing 'png_byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (buff+1, name); ^~~~~~ mngutil.c:106:28: warning: passing 'char [5]' to parameter of type 'png_const_bytep' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] png_write_chunk (png_ptr, "FRAM", buff, (png_size_t)(len+9)); ^~~~~~ /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/png.h:1021:5: note: passing argument to parameter 'chunk_name' here chunk_name, png_const_bytep data, png_size_t length)); ^ mngutil.c:130:28: warning: passing 'char [5]' to parameter of type 'png_const_bytep' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] png_write_chunk (png_ptr, "CLON", buff, (png_size_t)len); ^~~~~~ /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/png.h:1021:5: note: passing argument to parameter 'chunk_name' here chunk_name, png_const_bytep data, png_size_t length)); ^ mngutil.c:161:28: warning: passing 'char [5]' to parameter of type 'png_const_bytep' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] png_write_chunk (png_ptr, "nEED", string, (png_size_t)len+1); ^~~~~~ /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/png.h:1021:5: note: passing argument to parameter 'chunk_name' here chunk_name, png_const_bytep data, png_size_t length)); ^ mngutil.c:161:36: warning: passing 'char *' to parameter of type 'png_const_bytep' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] png_write_chunk (png_ptr, "nEED", string, (png_size_t)len+1); ^~~~~~ /var/pkgsrc/work/x11/xvidcap/work/.buildlink/include/png.h:1021:33: note: passing argument to parameter 'data' here chunk_name, png_const_bytep data, png_size_t length)); ^ --- xvidcap-xtopnm.o --- 6 warnings generated. --- xvidcap-mngutil.o --- 10 warnings generated. --- xvidcap-xtomng.o --- --- xvidcap-xutil.o --- --- xvidcap-xtomng.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -DVERSION=\"1.1.3\" -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT xvidcap-xtomng.o -MD -MP -MF ".deps/xvidcap-xtomng.Tpo" -c -o xvidcap-xtomng.o `test -f 'xtomng.c' || echo './'`xtomng.c; then mv ".deps/xvidcap-xtomng.Tpo" ".deps/xvidcap-xtomng.Po"; else rm -f ".deps/xvidcap-xtomng.Tpo"; exit 1; fi --- xvidcap-xutil.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -DVERSION=\"1.1.3\" -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT xvidcap-xutil.o -MD -MP -MF ".deps/xvidcap-xutil.Tpo" -c -o xvidcap-xutil.o `test -f 'xutil.c' || echo './'`xutil.c; then mv ".deps/xvidcap-xutil.Tpo" ".deps/xvidcap-xutil.Po"; else rm -f ".deps/xvidcap-xutil.Tpo"; exit 1; fi --- xvidcap-job.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -DVERSION=\"1.1.3\" -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT xvidcap-job.o -MD -MP -MF ".deps/xvidcap-job.Tpo" -c -o xvidcap-job.o `test -f 'job.c' || echo './'`job.c; then mv ".deps/xvidcap-job.Tpo" ".deps/xvidcap-job.Po"; else rm -f ".deps/xvidcap-job.Tpo"; exit 1; fi --- xvidcap-capture.o --- 4 warnings generated. --- xvidcap-video.o --- --- xvidcap-xtomng.o --- xtomng.c:230:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] row_pointers[row]=image->data+(row * image->bytes_per_line); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xtomng.c:264:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] row_ptr = image->data+(row * image->bytes_per_line); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- xvidcap-video.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -DVERSION=\"1.1.3\" -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT xvidcap-video.o -MD -MP -MF ".deps/xvidcap-video.Tpo" -c -o xvidcap-video.o `test -f 'video.c' || echo './'`video.c; then mv ".deps/xvidcap-video.Tpo" ".deps/xvidcap-video.Po"; else rm -f ".deps/xvidcap-video.Tpo"; exit 1; fi --- xvidcap-xtojpg.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -DVERSION=\"1.1.3\" -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT xvidcap-xtojpg.o -MD -MP -MF ".deps/xvidcap-xtojpg.Tpo" -c -o xvidcap-xtojpg.o `test -f 'xtojpg.c' || echo './'`xtojpg.c; then mv ".deps/xvidcap-xtojpg.Tpo" ".deps/xvidcap-xtojpg.Po"; else rm -f ".deps/xvidcap-xtojpg.Tpo"; exit 1; fi --- xvidcap-xtopng.o --- --- xvidcap-xtomng.o --- xtomng.c:388:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] row_pointers[row] = image->data+(row * image->bytes_per_line); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- xvidcap-xtopng.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -DVERSION=\"1.1.3\" -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -MT xvidcap-xtopng.o -MD -MP -MF ".deps/xvidcap-xtopng.Tpo" -c -o xvidcap-xtopng.o `test -f 'xtopng.c' || echo './'`xtopng.c; then mv ".deps/xvidcap-xtopng.Tpo" ".deps/xvidcap-xtopng.Po"; else rm -f ".deps/xvidcap-xtopng.Tpo"; exit 1; fi --- xvidcap-xtomng.o --- 3 warnings generated. --- xvidcap-xtojpg.o --- xtojpg.c:165:21: warning: unsequenced modification and access to 'line_ptr' [-Wunsequenced] (((*line_ptr++<> r_shift2); ^ --- xvidcap-xtopng.o --- xtopng.c:183:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] row_ptr = image->data+(row * image->bytes_per_line); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- xvidcap-xtojpg.o --- xtojpg.c:171:21: warning: unsequenced modification and access to 'line_ptr' [-Wunsequenced] (((*line_ptr++<> g_shift2); ^ --- xvidcap-xtopng.o --- xtopng.c:286:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] row_ptr = image->data+(row * image->bytes_per_line); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- xvidcap-xtojpg.o --- xtojpg.c:177:21: warning: unsequenced modification and access to 'line_ptr' [-Wunsequenced] (((*line_ptr++<> b_shift2); ^ --- xvidcap-xtopng.o --- 2 warnings generated. --- xvidcap-xtojpg.o --- xtojpg.c:208:23: warning: assigning to 'JSAMPROW' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] row_pointer[row] = image->data+(row * image->width * 3); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xtojpg.c:285:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] col_ptr = image->data + (row * image->bytes_per_line); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xtojpg.c:338:22: warning: assigning to 'JSAMPROW' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] row_pointer[row] = image->data+(row * (image->width+pad)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. --- xvidcap --- clang -DVERSION=\"1.1.3\" -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ffmpeg1 -pthread -lpthread -lrt -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib/ffmpeg1 -Wl,-R/usr/pkg/lib/ffmpeg1 -o xvidcap -pthread -lpthread -lrt xvidcap-main.o xvidcap-xt_control.o xvidcap-options.o xvidcap-xt_options.o xvidcap-colors.o xvidcap-util.o xvidcap-frame.o xvidcap-xt_frame.o xvidcap-capture.o xvidcap-xtoxwd.o xvidcap-xtopnm.o xvidcap-mngutil.o xvidcap-xtomng.o xvidcap-xutil.o xvidcap-job.o xvidcap-video.o xvidcap-xtojpg.o xvidcap-xtopng.o ../Xw/libXw.a -ljpeg -lpng -lz -lXmu -lXext -lSM -lICE /usr/bin/ld: undefined reference to symbol `XtAddEventHandler' (try adding -lXt) /usr/pkg/lib/libXt.so.6: could not read symbols: Bad value clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [xvidcap] Error code 1 bmake[2]: stopped in /var/pkgsrc/work/x11/xvidcap/work/xvidcap-1.1.3/src 1 error bmake[2]: stopped in /var/pkgsrc/work/x11/xvidcap/work/xvidcap-1.1.3/src *** [all-recursive] Error code 1 bmake[1]: stopped in /var/pkgsrc/work/x11/xvidcap/work/xvidcap-1.1.3 1 error bmake[1]: stopped in /var/pkgsrc/work/x11/xvidcap/work/xvidcap-1.1.3 *** [all] Error code 2 bmake: stopped in /var/pkgsrc/work/x11/xvidcap/work/xvidcap-1.1.3 1 error bmake: stopped in /var/pkgsrc/work/x11/xvidcap/work/xvidcap-1.1.3 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/x11/xvidcap *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/x11/xvidcap