+ 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/libmpeg3-1.8nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libmpeg3-1.8nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for libmpeg3-1.8nb1 mkdir -p work mkdir -p work/audio mkdir -p work/video echo -pipe -O2 -pthread -I/usr/include -I. -Ia52dec-0.7.3/include -Ia52dec-0.7.3/liba52 -g > work/c_flags echo -pipe -O2 -pthread -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 audio/ac3.c: In function 'mpeg3_new_ac3': audio/ac3.c:13:24: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] mpeg3_ac3_t *result = calloc(1, sizeof(mpeg3_ac3_t)); ^~~~~~ audio/ac3.c:13:24: warning: incompatible implicit declaration of built-in function 'calloc' audio/ac3.c:13:24: note: include '<stdlib.h>' or provide a declaration of 'calloc' audio/ac3.c:9:1: +#include <stdlib.h> audio/ac3.c:13:24: mpeg3_ac3_t *result = calloc(1, sizeof(mpeg3_ac3_t)); ^~~~~~ audio/ac3.c: In function 'mpeg3_delete_ac3': audio/ac3.c:24:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(audio); ^~~~ audio/ac3.c:24:2: warning: incompatible implicit declaration of built-in function 'free' audio/ac3.c:24:2: note: include '<stdlib.h>' or provide a declaration of 'free' gcc -c `cat work/c_flags` audio/huffman.c -o work/audio/huffman.o gcc -c `cat work/c_flags` audio/layer2.c -o work/audio/layer2.o gcc -c `cat work/c_flags` audio/layer3.c -o work/audio/layer3.o audio/layer2.c: In function 'mpeg3audio_dolayer2': audio/layer2.c:392:2: warning: implicit declaration of function 'mpeg3bits_use_ptr'; did you mean 'mpeg3bits_reset'? [-Wimplicit-function-declaration] mpeg3bits_use_ptr(audio->stream, frame); ^~~~~~~~~~~~~~~~~ mpeg3bits_reset audio/layer2.c:419:12: warning: implicit declaration of function 'mpeg3audio_synth_stereo'; did you mean 'mpeg3io_sync_buffer'? [-Wimplicit-function-declaration] mpeg3audio_synth_stereo(audio, ^~~~~~~~~~~~~~~~~~~~~~~ mpeg3io_sync_buffer audio/layer3.c: In function 'dequantize_sample': audio/layer3.c:245:12: warning: implicit declaration of function 'mpeg3bits_getbitoffset'; did you mean 'mpeg3bits_getbits'? [-Wimplicit-function-declaration] int num = mpeg3bits_getbitoffset(audio->stream); ^~~~~~~~~~~~~~~~~~~~~~ mpeg3bits_getbits audio/layer3.c:672:2: warning: implicit declaration of function 'mpeg3bits_start_reverse'; did you mean 'mpeg3bits_getbits_reverse'? [-Wimplicit-function-declaration] mpeg3bits_start_reverse(audio->stream); ^~~~~~~~~~~~~~~~~~~~~~~ mpeg3bits_getbits_reverse audio/layer3.c:674:2: warning: implicit declaration of function 'mpeg3bits_start_forward'; did you mean 'mpeg3demux_start_forward'? [-Wimplicit-function-declaration] mpeg3bits_start_forward(audio->stream); ^~~~~~~~~~~~~~~~~~~~~~~ mpeg3demux_start_forward audio/layer3.c: In function 'hybrid': audio/layer3.c:828:6: warning: implicit declaration of function 'mpeg3audio_dct36'; did you mean 'mpeg3audio_dopcm'? [-Wimplicit-function-declaration] mpeg3audio_dct36(fsIn[0], rawout1, rawout2, mpeg3_win[0], tspnt); ^~~~~~~~~~~~~~~~ mpeg3audio_dopcm audio/layer3.c:840:7: warning: implicit declaration of function 'mpeg3audio_dct12'; did you mean 'mpeg3audio_dopcm'? [-Wimplicit-function-declaration] mpeg3audio_dct12(fsIn[sb] ,rawout1 ,rawout2 ,mpeg3_win[2] ,tspnt); ^~~~~~~~~~~~~~~~ mpeg3audio_dopcm audio/layer3.c: In function 'mpeg3audio_dolayer3': audio/layer3.c:1110:3: warning: implicit declaration of function 'mpeg3bits_use_ptr'; did you mean 'mpeg3bits_reset'? [-Wimplicit-function-declaration] mpeg3bits_use_ptr(audio->stream, audio->bsbuf); ^~~~~~~~~~~~~~~~~ mpeg3bits_reset audio/layer3.c:1299:7: warning: implicit declaration of function 'mpeg3audio_synth_stereo'; did you mean 'mpeg3io_sync_buffer'? [-Wimplicit-function-declaration] mpeg3audio_synth_stereo(audio, ^~~~~~~~~~~~~~~~~~~~~~~ mpeg3io_sync_buffer audio/layer3.c: In function 'mpeg3_layer_reset': audio/layer3.c:1354:2: warning: implicit declaration of function 'mpeg3audio_reset_synths'; did you mean 'mpeg3demux_reset_pts'? [-Wimplicit-function-declaration] mpeg3audio_reset_synths(audio); ^~~~~~~~~~~~~~~~~~~~~~~ mpeg3demux_reset_pts audio/layer3.c: In function 'mpeg3_new_layer': audio/layer3.c:1613:26: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] mpeg3_layer_t *result = calloc(1, sizeof(mpeg3_layer_t)); ^~~~~~ audio/layer3.c:1613:26: warning: incompatible implicit declaration of built-in function 'calloc' audio/layer3.c:1613:26: note: include '<stdlib.h>' or provide a declaration of 'calloc' audio/layer3.c:8:1: +#include <stdlib.h> audio/layer3.c:1613:26: mpeg3_layer_t *result = calloc(1, sizeof(mpeg3_layer_t)); ^~~~~~ audio/layer3.c: In function 'mpeg3_delete_layer': audio/layer3.c:1627:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(audio); ^~~~ audio/layer3.c:1627:2: warning: incompatible implicit declaration of built-in function 'free' audio/layer3.c:1627:2: note: include '<stdlib.h>' or provide a declaration of 'free' gcc -c `cat work/c_flags` audio/mpeg3audio.c -o work/audio/mpeg3audio.o gcc -c `cat work/c_flags` audio/pcm.c -o work/audio/pcm.o gcc -c `cat work/c_flags` audio/synthesizers.c -o work/audio/synthesizers.o audio/synthesizers.c: In function 'mpeg3audio_synth_stereo': audio/synthesizers.c:36:6: warning: implicit declaration of function 'mpeg3audio_dct64'; did you mean 'mpeg3audio_dopcm'? [-Wimplicit-function-declaration] mpeg3audio_dct64(buf[1] + ((audio->bo + 1) & 0xf), buf[0] + audio->bo, bandPtr); ^~~~~~~~~~~~~~~~ mpeg3audio_dopcm gcc -c `cat work/c_flags` audio/tables.c -o work/audio/tables.o gcc -c `cat work/c_flags` libmpeg3.c -o work/libmpeg3.o gcc -c `cat work/c_flags` mpeg3atrack.c -o work/mpeg3atrack.o libmpeg3.c: In function 'mpeg3_get_file_type': libmpeg3.c:319:7: warning: implicit declaration of function 'mpeg3_read_ifo'; did you mean 'mpeg3_read_toc'? [-Wimplicit-function-declaration] if(mpeg3_read_ifo(file, 0)) ^~~~~~~~~~~~~~ mpeg3_read_toc libmpeg3.c: In function 'mpeg3_open_copy': libmpeg3.c:458:3: warning: implicit declaration of function 'mpeg3demux_copy_titles'; did you mean 'mpeg3demux_open_title'? [-Wimplicit-function-declaration] mpeg3demux_copy_titles(file->demuxer, mpeg3_get_demuxer(old_file)); ^~~~~~~~~~~~~~~~~~~~~~ mpeg3demux_open_title libmpeg3.c:470:3: warning: implicit declaration of function 'mpeg3_create_title'; did you mean 'mpeg3_create_strack'? [-Wimplicit-function-declaration] mpeg3_create_title(file->demuxer, 0); ^~~~~~~~~~~~~~~~~~ mpeg3_create_strack libmpeg3.c: In function 'mpeg3_set_cpus': libmpeg3.c:569:3: warning: implicit declaration of function 'mpeg3video_set_cpus'; did you mean 'mpeg3video_next_code'? [-Wimplicit-function-declaration] mpeg3video_set_cpus(file->vtrack[i]->video, cpus); ^~~~~~~~~~~~~~~~~~~ mpeg3video_next_code libmpeg3.c: In function 'mpeg3_set_sample': libmpeg3.c:615:3: warning: implicit declaration of function 'mpeg3audio_seek_sample'; did you mean 'mpeg3_set_sample'? [-Wimplicit-function-declaration] mpeg3audio_seek_sample(file->atrack[stream]->audio, sample); ^~~~~~~~~~~~~~~~~~~~~~ mpeg3_set_sample libmpeg3.c: In function 'mpeg3_set_frame': libmpeg3.c:710:3: warning: implicit declaration of function 'mpeg3video_seek_frame'; did you mean 'mpeg3video_read_frame'? [-Wimplicit-function-declaration] mpeg3video_seek_frame(file->vtrack[stream]->video, frame); ^~~~~~~~~~~~~~~~~~~~~ mpeg3video_read_frame libmpeg3.c: In function 'mpeg3_seek_byte': libmpeg3.c:724:3: warning: implicit declaration of function 'mpeg3video_seek_byte'; did you mean 'mpeg3bits_seek_byte'? [-Wimplicit-function-declaration] mpeg3video_seek_byte(file->vtrack[i]->video, byte); ^~~~~~~~~~~~~~~~~~~~ mpeg3bits_seek_byte libmpeg3.c:730:3: warning: implicit declaration of function 'mpeg3audio_seek_byte'; did you mean 'mpeg3bits_seek_byte'? [-Wimplicit-function-declaration] mpeg3audio_seek_byte(file->atrack[i]->audio, byte); ^~~~~~~~~~~~~~~~~~~~ mpeg3bits_seek_byte libmpeg3.c: In function 'mpeg3_previous_frame': libmpeg3.c:754:10: warning: implicit declaration of function 'mpeg3video_previous_frame'; did you mean 'mpeg3_previous_frame'? [-Wimplicit-function-declaration] return mpeg3video_previous_frame(file->vtrack[stream]->video); ^~~~~~~~~~~~~~~~~~~~~~~~~ mpeg3_previous_frame libmpeg3.c: In function 'mpeg3_colormodel': libmpeg3.c:855:10: warning: implicit declaration of function 'mpeg3video_colormodel'; did you mean 'mpeg3_colormodel'? [-Wimplicit-function-declaration] return mpeg3video_colormodel(file->vtrack[stream]->video); ^~~~~~~~~~~~~~~~~~~~~ mpeg3_colormodel libmpeg3.c: In function 'mpeg3_read_yuvframe': libmpeg3.c:920:12: warning: implicit declaration of function 'mpeg3video_read_yuvframe'; did you mean 'mpeg3video_read_frame'? [-Wimplicit-function-declaration] result = mpeg3video_read_yuvframe(file->vtrack[stream]->video, ^~~~~~~~~~~~~~~~~~~~~~~~ mpeg3video_read_frame libmpeg3.c: In function 'mpeg3_read_yuvframe_ptr': libmpeg3.c:946:12: warning: implicit declaration of function 'mpeg3video_read_yuvframe_ptr'; did you mean 'mpeg3_read_yuvframe_ptr'? [-Wimplicit-function-declaration] result = mpeg3video_read_yuvframe_ptr(file->vtrack[stream]->video, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpeg3_read_yuvframe_ptr libmpeg3.c: In function 'mpeg3_read_audio_chunk': libmpeg3.c:1014:12: warning: implicit declaration of function 'mpeg3audio_read_raw'; did you mean 'mpeg3io_read_char'? [-Wimplicit-function-declaration] result = mpeg3audio_read_raw(file->atrack[stream]->audio, ^~~~~~~~~~~~~~~~~~~ mpeg3io_read_char libmpeg3.c: In function 'mpeg3_read_video_chunk': libmpeg3.c:1033:12: warning: implicit declaration of function 'mpeg3video_read_raw'; did you mean 'mpeg3video_read_frame'? [-Wimplicit-function-declaration] result = mpeg3video_read_raw(file->vtrack[stream]->video, ^~~~~~~~~~~~~~~~~~~ mpeg3video_read_frame mpeg3atrack.c: In function 'mpeg3_new_atrack': mpeg3atrack.c:22:3: warning: implicit declaration of function 'mpeg3demux_copy_titles'; did you mean 'mpeg3demux_open_title'? [-Wimplicit-function-declaration] mpeg3demux_copy_titles(new_atrack->demuxer, demuxer); ^~~~~~~~~~~~~~~~~~~~~~ mpeg3demux_open_title gcc -c `cat work/c_flags` mpeg3bits.c -o work/mpeg3bits.o gcc -c `cat work/c_flags` mpeg3css.c -o work/mpeg3css.o gcc -c `cat work/c_flags` mpeg3demux.c -o work/mpeg3demux.o gcc -c `cat work/c_flags` mpeg3ifo.c -o work/mpeg3ifo.o mpeg3demux.c: In function 'handle_scrambling': mpeg3demux.c:777:6: warning: implicit declaration of function 'mpeg3_decrypt_packet'; did you mean 'mpeg3_read_prev_packet'? [-Wimplicit-function-declaration] if(mpeg3_decrypt_packet(title->fs->css, ^~~~~~~~~~~~~~~~~~~~ mpeg3_read_prev_packet mpeg3demux.c: In function 'mpeg3demux_copy_titles': mpeg3demux.c:2198:3: warning: implicit declaration of function 'mpeg3_copy_title'; did you mean 'mpeg3_new_title'? [-Wimplicit-function-declaration] mpeg3_copy_title(dst_title, src_title); ^~~~~~~~~~~~~~~~ mpeg3_new_title mpeg3demux.c: In function 'mpeg3_delete_demuxer': mpeg3demux.c:2259:3: warning: implicit declaration of function 'mpeg3_delete_title'; did you mean 'mpeg3_delete_subtitle'? [-Wimplicit-function-declaration] mpeg3_delete_title(demuxer->titles[i]); ^~~~~~~~~~~~~~~~~~ mpeg3_delete_subtitle mpeg3ifo.c: In function 'get_ifo_playlist': mpeg3ifo.c:372:2: warning: implicit declaration of function 'mpeg3io_complete_path'; did you mean 'mpeg3io_read_data'? [-Wimplicit-function-declaration] mpeg3io_complete_path(complete_path, file->fs->path); ^~~~~~~~~~~~~~~~~~~~~ mpeg3io_read_data mpeg3ifo.c:373:2: warning: implicit declaration of function 'mpeg3io_get_directory'; did you mean 'mpeg3_get_file_type'? [-Wimplicit-function-declaration] mpeg3io_get_directory(directory, complete_path); ^~~~~~~~~~~~~~~~~~~~~ mpeg3_get_file_type mpeg3ifo.c:374:2: warning: implicit declaration of function 'mpeg3io_get_filename'; did you mean 'mpeg3_get_file_type'? [-Wimplicit-function-declaration] mpeg3io_get_filename(filename, complete_path); ^~~~~~~~~~~~~~~~~~~~ mpeg3_get_file_type mpeg3ifo.c:390:6: warning: implicit declaration of function 'mpeg3io_joinpath'; did you mean 'mpeg3io_read_data'? [-Wimplicit-function-declaration] mpeg3io_joinpath(title_path, directory, new_filename->d_name); ^~~~~~~~~~~~~~~~ mpeg3io_read_data gcc -c `cat work/c_flags` mpeg3io.c -o work/mpeg3io.o gcc -c `cat work/c_flags` mpeg3strack.c -o work/mpeg3strack.o mpeg3io.c: In function 'mpeg3_delete_fs': mpeg3io.c:56:2: warning: implicit declaration of function 'mpeg3_delete_css'; did you mean 'mpeg3_delete_fs'? [-Wimplicit-function-declaration] mpeg3_delete_css(fs->css); ^~~~~~~~~~~~~~~~ mpeg3_delete_fs mpeg3io.c: In function 'mpeg3io_get_total_bytes': mpeg3io.c:71:16: error: storage size of 'ostat' isn't known struct stat64 ostat; ^~~~~ mpeg3io.c:72:2: warning: implicit declaration of function 'stat64'; did you mean 'stat'? [-Wimplicit-function-declaration] stat64(fs->path, &ostat); ^~~~~~ stat mpeg3io.c: In function 'mpeg3io_path_total_bytes': mpeg3io.c:86:16: error: storage size of 'st' isn't known struct stat64 st; ^~ mpeg3io.c: In function 'mpeg3io_open_file': mpeg3io.c:94:2: warning: implicit declaration of function 'mpeg3_get_keys'; did you mean 'mpeg3_seek_phys'? [-Wimplicit-function-declaration] mpeg3_get_keys(fs->css, fs->path); ^~~~~~~~~~~~~~ mpeg3_seek_phys mpeg3io.c:97:16: warning: implicit declaration of function 'fopen64'; did you mean 'fopen'? [-Wimplicit-function-declaration] if(!(fs->fd = fopen64(fs->path, "rb"))) ^~~~~~~ fopen mpeg3io.c:97:14: warning: assignment to 'FILE *' {aka 'struct _IO_FILE *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if(!(fs->fd = fopen64(fs->path, "rb"))) ^ mpeg3io.c: In function 'mpeg3io_read_buffer': mpeg3io.c:197:3: warning: implicit declaration of function 'fseeko64'; did you mean 'fseeko'? [-Wimplicit-function-declaration] fseeko64(fs->fd, new_buffer_position, SEEK_SET); ^~~~~~~~ fseeko mpeg3io.c: In function 'mpeg3io_complete_path': mpeg3io.c:242:3: warning: implicit declaration of function 'getcwd'; did you mean 'getw'? [-Wimplicit-function-declaration] getcwd(current_dir, MPEG3_STRLEN); ^~~~~~ getw mpeg3io.c: In function 'mpeg3io_device': mpeg3io.c:257:16: error: storage size of 'file_st' isn't known struct stat64 file_st, device_st; ^~~~~~~ mpeg3io.c:257:25: error: storage size of 'device_st' isn't known struct stat64 file_st, device_st; ^~~~~~~~~ mpeg3io.c:271:7: warning: implicit declaration of function 'setmntent'; did you mean 'strnlen'? [-Wimplicit-function-declaration] fp = setmntent(MOUNTED, "r"); ^~~~~~~~~ strnlen mpeg3io.c:271:17: error: 'MOUNTED' undeclared (first use in this function) fp = setmntent(MOUNTED, "r"); ^~~~~~~ mpeg3io.c:271:17: note: each undeclared identifier is reported only once for each function it appears in mpeg3io.c:272:24: warning: implicit declaration of function 'getmntent'; did you mean 'getenv'? [-Wimplicit-function-declaration] while(fp && (mnt = getmntent(fp))) ^~~~~~~~~ getenv mpeg3io.c:272:22: warning: assignment to 'struct mntent *' from 'int' makes pointer from integer without a cast [-Wint-conversion] while(fp && (mnt = getmntent(fp))) ^ mpeg3io.c:274:16: error: dereferencing pointer to incomplete type 'struct mntent' if(stat64(mnt->mnt_fsname, &device_st) < 0) continue; ^~ mpeg3io.c:281:2: warning: implicit declaration of function 'endmntent' [-Wimplicit-function-declaration] endmntent(fp); ^~~~~~~~~ mpeg3io.c: In function 'mpeg3io_read_buffer': mpeg3io.c:198:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(fs->buffer, 1, remainder_start, fs->fd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gmake: *** [Makefile:207: work/mpeg3io.o] Error 1 gmake: *** Waiting for unfinished jobs.... *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/multimedia/libmpeg3 *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/multimedia/libmpeg3