=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for libmpeg3-1.8 mkdir -p work mkdir -p work/audio mkdir -p work/video echo -O2 -pthread -D_THREAD_SAFE -I/usr/include -I. -Ia52dec-0.7.3/include -Ia52dec-0.7.3/liba52 -g > work/c_flags echo -O2 -pthread -D_THREAD_SAFE -I/usr/include -I. -Ia52dec-0.7.3/include -Ia52dec-0.7.3/liba52 -g -DHAVE_CONFIG_H -Ia52dec-0.7.3/ -Ia52dec-0.7.3/include -Ia52dec-0.7.3/liba52 -Ia52dec-0.7.3/libao -Ia52dec-0.7.3/src > work/a52_flags echo work/audio/ac3.o work/audio/dct.o work/audio/huffman.o work/audio/layer2.o work/audio/layer3.o work/audio/mpeg3audio.o work/audio/pcm.o work/audio/synthesizers.o work/audio/tables.o work/libmpeg3.o work/mpeg3atrack.o work/mpeg3bits.o work/mpeg3css.o work/mpeg3demux.o work/mpeg3ifo.o work/mpeg3io.o work/mpeg3strack.o work/mpeg3title.o work/mpeg3tocutil.o work/mpeg3vtrack.o work/video/getpicture.o work/video/headers.o work/video/idct.o work/video/macroblocks.o work/video/mmxtest.o work/video/motion.o work/video/mpeg3cache.o work/video/mpeg3video.o work/video/output.o work/video/reconstruct.o work/video/seek.o work/video/slice.o work/video/subtitle.o work/video/vlc.o work/workarounds.o work/a52dec-0.7.3/liba52/bit_allocate.o work/a52dec-0.7.3/liba52/bitstream.o work/a52dec-0.7.3/liba52/downmix.o work/a52dec-0.7.3/liba52/imdct.o work/a52dec-0.7.3/liba52/parse.o work/a52dec-0.7.3/libao/audio_out_aif.o work/a52dec-0.7.3/libao/audio_out_float.o work/a52dec-0.7.3/libao/audio_out_null.o work/a52dec-0.7.3/libao/audio_out.o work/a52dec-0.7.3/libao/audio_out_oss.o work/a52dec-0.7.3/libao/audio_out_solaris.o work/a52dec-0.7.3/libao/audio_out_wav.o work/a52dec-0.7.3/libao/float2s16.o work/a52dec-0.7.3/src/getopt.o work/a52dec-0.7.3/test/compare.o > work/objs mkdir -p work/audio work/video work/a52dec-0.7.3/liba52/ work/a52dec-0.7.3/libao/ work/a52dec-0.7.3/src/ work/a52dec-0.7.3/test/ gcc -c `cat work/c_flags` audio/ac3.c -o work/audio/ac3.o gcc -c `cat work/c_flags` audio/dct.c -o work/audio/dct.o gcc -c `cat work/c_flags` audio/huffman.c -o work/audio/huffman.o In file included from audio/ac3.c:6: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] /* demuxer. */ ^ In file included from audio/dct.c:30: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] /* demuxer. */ ^ audio/ac3.c:13:24: warning: implicitly declaring library function 'calloc' with type 'void *(unsigned long, unsigned long)' [-Wimplicit-function-declaration] mpeg3_ac3_t *result = calloc(1, sizeof(mpeg3_ac3_t)); ^ audio/ac3.c:13:24: note: include the header or explicitly provide a declaration for 'calloc' audio/ac3.c:24:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(audio); ^ gcc -c `cat work/c_flags` audio/layer2.c -o work/audio/layer2.o audio/ac3.c:95:60: warning: format specifies type 'void *' but the argument has type 'int' [-Wformat] printf("mpeg3_ac3_header: unknown channel code: %p\n", audio->flags & A52_CHANNEL_MASK); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %d audio/ac3.c:116:3: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] frame, ^~~~~ a52dec-0.7.3/include/a52.h:56:47: note: passing argument to parameter 'buf' here int a52_frame (a52_state_t * state, uint8_t * buf, int * flags, ^ 5 warnings generated. gcc -c `cat work/c_flags` audio/layer3.c -o work/audio/layer3.o In file included from audio/layer2.c:8: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] /* demuxer. */ ^ audio/layer2.c:282:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ba = *bita++) ~~~^~~~~~~~~ audio/layer2.c:282:16: note: place parentheses around the assignment to silence this warning if(ba = *bita++) ^ ( ) audio/layer2.c:282:16: note: use '==' to turn this assignment into an equality comparison if(ba = *bita++) ^ == audio/layer2.c:392:2: warning: implicit declaration of function 'mpeg3bits_use_ptr' is invalid in C99 [-Wimplicit-function-declaration] mpeg3bits_use_ptr(audio->stream, frame); ^ audio/layer2.c:419:12: warning: implicit declaration of function 'mpeg3audio_synth_stereo' is invalid in C99 [-Wimplicit-function-declaration] mpeg3audio_synth_stereo(audio, ^ audio/layer2.c:434:12: warning: implicit declaration of function 'mpeg3audio_synth_stereo' is invalid in C99 [-Wimplicit-function-declaration] mpeg3audio_synth_stereo(audio, ^ In file included from audio/layer3.c:3: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] /* demuxer. */ ^ audio/layer3.c:245:12: warning: implicit declaration of function 'mpeg3bits_getbitoffset' is invalid in C99 [-Wimplicit-function-declaration] int num = mpeg3bits_getbitoffset(audio->stream); ^ audio/layer3.c:672:2: warning: implicit declaration of function 'mpeg3bits_start_reverse' is invalid in C99 [-Wimplicit-function-declaration] mpeg3bits_start_reverse(audio->stream); ^ audio/layer3.c:674:2: warning: implicit declaration of function 'mpeg3bits_start_forward' is invalid in C99 [-Wimplicit-function-declaration] mpeg3bits_start_forward(audio->stream); ^ audio/layer3.c:828:6: warning: implicit declaration of function 'mpeg3audio_dct36' is invalid in C99 [-Wimplicit-function-declaration] mpeg3audio_dct36(fsIn[0], rawout1, rawout2, mpeg3_win[0], tspnt); ^ audio/layer3.c:840:7: warning: implicit declaration of function 'mpeg3audio_dct12' is invalid in C99 [-Wimplicit-function-declaration] mpeg3audio_dct12(fsIn[sb] ,rawout1 ,rawout2 ,mpeg3_win[2] ,tspnt); ^ audio/layer3.c:848:7: warning: implicit declaration of function 'mpeg3audio_dct36' is invalid in C99 [-Wimplicit-function-declaration] mpeg3audio_dct36(fsIn[sb], rawout1, rawout2, mpeg3_win[bt], tspnt); ^ audio/layer3.c:1110:3: warning: implicit declaration of function 'mpeg3bits_use_ptr' is invalid in C99 [-Wimplicit-function-declaration] mpeg3bits_use_ptr(audio->stream, audio->bsbuf); ^ audio/layer3.c:1299:7: warning: implicit declaration of function 'mpeg3audio_synth_stereo' is invalid in C99 [-Wimplicit-function-declaration] mpeg3audio_synth_stereo(audio, ^ audio/layer3.c:1312:7: warning: implicit declaration of function 'mpeg3audio_synth_stereo' is invalid in C99 [-Wimplicit-function-declaration] mpeg3audio_synth_stereo(audio, ^ audio/layer3.c:1354:2: warning: implicit declaration of function 'mpeg3audio_reset_synths' is invalid in C99 [-Wimplicit-function-declaration] mpeg3audio_reset_synths(audio); ^ audio/layer3.c:1613:26: warning: implicitly declaring library function 'calloc' with type 'void *(unsigned long, unsigned long)' [-Wimplicit-function-declaration] mpeg3_layer_t *result = calloc(1, sizeof(mpeg3_layer_t)); ^ audio/layer3.c:1613:26: note: include the header or explicitly provide a declaration for 'calloc' audio/layer3.c:1627:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(audio); ^ 1 warning generated. gcc -c `cat work/c_flags` audio/mpeg3audio.c -o work/audio/mpeg3audio.o In file included from audio/mpeg3audio.c:2: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] /* demuxer. */ ^ audio/mpeg3audio.c:362:6: warning: passing 'unsigned char [4096]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] audio->packet_buffer, ^~~~~~~~~~~~~~~~~~~~ ./mpeg3protos.h:194:8: note: passing argument to parameter 'frame' here char *frame, ^ audio/mpeg3audio.c:374:8: warning: passing 'unsigned char [4096]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] audio->packet_buffer, ^~~~~~~~~~~~~~~~~~~~ ./mpeg3protos.h:187:8: note: passing argument to parameter 'frame' here char *frame, ^ audio/mpeg3audio.c:383:8: warning: passing 'unsigned char [4096]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] audio->packet_buffer, ^~~~~~~~~~~~~~~~~~~~ ./mpeg3protos.h:180:8: note: passing argument to parameter 'frame' here char *frame, ^ audio/mpeg3audio.c:397:6: warning: passing 'unsigned char [4096]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] audio->packet_buffer, ^~~~~~~~~~~~~~~~~~~~ ./mpeg3protos.h:202:8: note: passing argument to parameter 'frame' here char *frame, ^ 5 warnings generated. gcc -c `cat work/c_flags` audio/pcm.c -o work/audio/pcm.o 5 warnings generated. In file included from audio/pcm.c:2: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] /* demuxer. */ ^ audio/pcm.c:71:21: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned char *input = frame + ^ ~~~~~~~ gcc -c `cat work/c_flags` audio/synthesizers.c -o work/audio/synthesizers.o 2 warnings generated. gcc -c `cat work/c_flags` audio/tables.c -o work/audio/tables.o In file included from audio/synthesizers.c:2: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] /* demuxer. */ ^ audio/synthesizers.c:36:6: warning: implicit declaration of function 'mpeg3audio_dct64' is invalid in C99 [-Wimplicit-function-declaration] mpeg3audio_dct64(buf[1] + ((audio->bo + 1) & 0xf), buf[0] + audio->bo, bandPtr); ^ audio/synthesizers.c:42:6: warning: implicit declaration of function 'mpeg3audio_dct64' is invalid in C99 [-Wimplicit-function-declaration] mpeg3audio_dct64(buf[0] + audio->bo, buf[1] + audio->bo + 1, bandPtr); ^ In file included from audio/tables.c:2: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] /* demuxer. */ ^ 3 warnings generated. gcc -c `cat work/c_flags` libmpeg3.c -o work/libmpeg3.o In file included from libmpeg3.c:3: ./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment] /* demuxer. */ ^ libmpeg3.c:149:16: warning: '&&' within '||' [-Wlogical-op-parentheses] (!ext || ext && ~~ ~~~~^~ libmpeg3.c:149:16: note: place parentheses around the '&&' expression to silence this warning (!ext || ext && ^ ( libmpeg3.c:181:11: error: expected ';' after expression u_int32_t bits, bits2; ^ ; libmpeg3.c:181:2: error: use of undeclared identifier 'u_int32_t' u_int32_t bits, bits2; ^ libmpeg3.c:181:12: error: use of undeclared identifier 'bits' u_int32_t bits, bits2; ^ libmpeg3.c:181:18: error: use of undeclared identifier 'bits2' u_int32_t bits, bits2; ^ libmpeg3.c:192:2: error: use of undeclared identifier 'bits' bits = mpeg3io_read_int32(fs); ^ libmpeg3.c:193:2: error: use of undeclared identifier 'bits2' bits2 = mpeg3io_read_int32(fs); ^ libmpeg3.c:196:5: error: use of undeclared identifier 'bits' if(bits == MPEG3_TOC_PREFIX) ^ libmpeg3.c:202:11: error: use of undeclared identifier 'bits' if(is_bd(bits, bits2, ext)) ^ libmpeg3.c:202:17: error: use of undeclared identifier 'bits2' if(is_bd(bits, bits2, ext)) ^ libmpeg3.c:207:8: error: use of undeclared identifier 'bits' if((((bits >> 24) & 0xff) == MPEG3_SYNC_BYTE) || ^ libmpeg3.c:208:4: error: use of undeclared identifier 'bits' (bits == MPEG3_PACK_START_CODE) || ^ libmpeg3.c:209:5: error: use of undeclared identifier 'bits' ((bits & 0xfff00000) == 0xfff00000) || ^ libmpeg3.c:210:5: error: use of undeclared identifier 'bits' ((bits & 0xffff0000) == 0xffe30000) || ^ libmpeg3.c:211:4: error: use of undeclared identifier 'bits' (bits == MPEG3_SEQUENCE_START_CODE) || ^ libmpeg3.c:212:4: error: use of undeclared identifier 'bits' (bits == MPEG3_PICTURE_START_CODE) || ^ libmpeg3.c:213:6: error: use of undeclared identifier 'bits' (((bits & 0xffff0000) >> 16) == MPEG3_AC3_START_CODE) || ^ libmpeg3.c:214:5: error: use of undeclared identifier 'bits' ((bits >> 8) == MPEG3_ID3_PREFIX) || ^ libmpeg3.c:215:4: error: use of undeclared identifier 'bits' (bits == MPEG3_RIFF_CODE) || ^ libmpeg3.c:216:10: error: use of undeclared identifier 'bits' (bits == MPEG3_IFO_PREFIX)) ^ libmpeg3.c:319:7: warning: implicit declaration of function 'mpeg3_read_ifo' is invalid in C99 [-Wimplicit-function-declaration] if(mpeg3_read_ifo(file, 0)) ^ libmpeg3.c:458:3: warning: implicit declaration of function 'mpeg3demux_copy_titles' is invalid in C99 [-Wimplicit-function-declaration] mpeg3demux_copy_titles(file->demuxer, mpeg3_get_demuxer(old_file)); ^ libmpeg3.c:470:3: warning: implicit declaration of function 'mpeg3_create_title' is invalid in C99 [-Wimplicit-function-declaration] mpeg3_create_title(file->demuxer, 0); ^ libmpeg3.c:569:3: warning: implicit declaration of function 'mpeg3video_set_cpus' is invalid in C99 [-Wimplicit-function-declaration] mpeg3video_set_cpus(file->vtrack[i]->video, cpus); ^ libmpeg3.c:615:3: warning: implicit declaration of function 'mpeg3audio_seek_sample' is invalid in C99 [-Wimplicit-function-declaration] mpeg3audio_seek_sample(file->atrack[stream]->audio, sample); ^ libmpeg3.c:710:3: warning: implicit declaration of function 'mpeg3video_seek_frame' is invalid in C99 [-Wimplicit-function-declaration] mpeg3video_seek_frame(file->vtrack[stream]->video, frame); ^ libmpeg3.c:724:3: warning: implicit declaration of function 'mpeg3video_seek_byte' is invalid in C99 [-Wimplicit-function-declaration] mpeg3video_seek_byte(file->vtrack[i]->video, byte); ^ libmpeg3.c:730:3: warning: implicit declaration of function 'mpeg3audio_seek_byte' is invalid in C99 [-Wimplicit-function-declaration] mpeg3audio_seek_byte(file->atrack[i]->audio, byte); ^ libmpeg3.c:754:10: warning: implicit declaration of function 'mpeg3video_previous_frame' is invalid in C99 [-Wimplicit-function-declaration] return mpeg3video_previous_frame(file->vtrack[stream]->video); ^ libmpeg3.c:855:10: warning: implicit declaration of function 'mpeg3video_colormodel' is invalid in C99 [-Wimplicit-function-declaration] return mpeg3video_colormodel(file->vtrack[stream]->video); ^ libmpeg3.c:920:12: warning: implicit declaration of function 'mpeg3video_read_yuvframe' is invalid in C99 [-Wimplicit-function-declaration] result = mpeg3video_read_yuvframe(file->vtrack[stream]->video, ^ libmpeg3.c:946:12: warning: implicit declaration of function 'mpeg3video_read_yuvframe_ptr' is invalid in C99 [-Wimplicit-function-declaration] result = mpeg3video_read_yuvframe_ptr(file->vtrack[stream]->video, ^ libmpeg3.c:1014:12: warning: implicit declaration of function 'mpeg3audio_read_raw' is invalid in C99 [-Wimplicit-function-declaration] result = mpeg3audio_read_raw(file->atrack[stream]->audio, ^ libmpeg3.c:1033:12: warning: implicit declaration of function 'mpeg3video_read_raw' is invalid in C99 [-Wimplicit-function-declaration] result = mpeg3video_read_raw(file->vtrack[stream]->video, ^ 16 warnings and 19 errors generated. Makefile:207: recipe for target 'work/libmpeg3.o' failed gmake: *** [work/libmpeg3.o] Error 1 gmake: *** Waiting for unfinished jobs.... 1 warning generated. 13 warnings generated. *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/multimedia/libmpeg3 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/multimedia/libmpeg3