=> 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 -Os -D_REENTRANT -I. -Ia52dec-0.7.3/include -Ia52dec-0.7.3/liba52 -g > work/c_flags
echo -pipe -Os -D_REENTRANT -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
In file included from audio/ac3.c:6:
./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 <stdlib.h> or explicitly provide a declaration for 'calloc'
audio/ac3.c:24:2: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration]
        free(audio);
        ^
audio/ac3.c:24:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'
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 where one is of the unique plain 'char' type and the other is not [-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/dct.c -o work/audio/dct.o
In file included from audio/dct.c:30:
./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment]
/* demuxer. */
^
1 warning generated.
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
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, 
                                ^
5 warnings generated.
gcc -c `cat work/c_flags`  audio/layer3.c -o work/audio/layer3.o
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 <stdlib.h> or explicitly provide a declaration for 'calloc'
audio/layer3.c:1627:2: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration]
        free(audio);
        ^
audio/layer3.c:1627:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'
13 warnings 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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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
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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                        unsigned char *input = frame + 
                                                       ^       ~~~~~~~
2 warnings generated.
gcc -c `cat work/c_flags`  audio/synthesizers.c -o work/audio/synthesizers.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);
        ^
3 warnings generated.
gcc -c `cat work/c_flags`  audio/tables.c -o work/audio/tables.o
In file included from audio/tables.c:2:
./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment]
/* demuxer. */
^
1 warning 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:272:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
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 generated.
gcc -c `cat work/c_flags`  mpeg3atrack.c -o work/mpeg3atrack.o
In file included from mpeg3atrack.c:2:
./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment]
/* demuxer. */
^
mpeg3atrack.c:22:3: warning: implicit declaration of function 'mpeg3demux_copy_titles' is invalid in C99 [-Wimplicit-function-declaration]
                mpeg3demux_copy_titles(new_atrack->demuxer, demuxer);
                ^
2 warnings generated.
gcc -c `cat work/c_flags`  mpeg3bits.c -o work/mpeg3bits.o
In file included from mpeg3bits.c:2:
./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment]
/* demuxer. */
^
1 warning generated.
gcc -c `cat work/c_flags`  mpeg3css.c -o work/mpeg3css.o
gcc -c `cat work/c_flags`  mpeg3demux.c -o work/mpeg3demux.o
In file included from mpeg3demux.c:3:
./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment]
/* demuxer. */
^
mpeg3demux.c:777:6: warning: implicit declaration of function 'mpeg3_decrypt_packet' is invalid in C99 [-Wimplicit-function-declaration]
                if(mpeg3_decrypt_packet(title->fs->css, 
                   ^
mpeg3demux.c:1078:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
mpeg3demux.c:1474:1: warning: format specifies type 'unsigned int' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
title->fs->current_byte, 
^~~~~~~~~~~~~~~~~~~~~~~
mpeg3demux.c:1485:1: warning: format specifies type 'unsigned int' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
title->fs->current_byte, 
^~~~~~~~~~~~~~~~~~~~~~~
mpeg3demux.c:1501:1: warning: format specifies type 'unsigned int' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
title->fs->current_byte, 
^~~~~~~~~~~~~~~~~~~~~~~
mpeg3demux.c:1513:1: warning: format specifies type 'unsigned int' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
title->fs->current_byte, 
^~~~~~~~~~~~~~~~~~~~~~~
mpeg3demux.c:1523:1: warning: format specifies type 'unsigned int' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
title->fs->current_byte, 
^~~~~~~~~~~~~~~~~~~~~~~
mpeg3demux.c:1533:1: warning: format specifies type 'unsigned int' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
title->fs->current_byte, 
^~~~~~~~~~~~~~~~~~~~~~~
mpeg3demux.c:1542:1: warning: format specifies type 'unsigned int' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
title->fs->current_byte, 
^~~~~~~~~~~~~~~~~~~~~~~
mpeg3demux.c:1679:15: warning: address of array 'demuxer->titles' will always evaluate to 'true' [-Wpointer-bool-conversion]
        if(!demuxer->titles) return 1;
           ~~~~~~~~~~^~~~~~
mpeg3demux.c:2198:3: warning: implicit declaration of function 'mpeg3_copy_title' is invalid in C99 [-Wimplicit-function-declaration]
                mpeg3_copy_title(dst_title, src_title);
                ^
mpeg3demux.c:2259:3: warning: implicit declaration of function 'mpeg3_delete_title' is invalid in C99 [-Wimplicit-function-declaration]
                mpeg3_delete_title(demuxer->titles[i]);
                ^
mpeg3demux.c:2414:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
mpeg3demux.c:2442:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
15 warnings generated.
gcc -c `cat work/c_flags`  mpeg3ifo.c -o work/mpeg3ifo.o
In file included from mpeg3ifo.c:10:
./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment]
/* demuxer. */
^
mpeg3ifo.c:281:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        *ptr = pgc;
             ^ ~~~
mpeg3ifo.c:329:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        *ptr = get2bytes((unsigned char*)*ptr) + pgc;
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mpeg3ifo.c:372:2: warning: implicit declaration of function 'mpeg3io_complete_path' is invalid in C99 [-Wimplicit-function-declaration]
        mpeg3io_complete_path(complete_path, file->fs->path);
        ^
mpeg3ifo.c:373:2: warning: implicit declaration of function 'mpeg3io_get_directory' is invalid in C99 [-Wimplicit-function-declaration]
        mpeg3io_get_directory(directory, complete_path);
        ^
mpeg3ifo.c:374:2: warning: implicit declaration of function 'mpeg3io_get_filename' is invalid in C99 [-Wimplicit-function-declaration]
        mpeg3io_get_filename(filename, complete_path);
        ^
mpeg3ifo.c:378:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        while(new_filename = readdir(dirstream))
              ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
mpeg3ifo.c:378:21: note: place parentheses around the assignment to silence this warning
        while(new_filename = readdir(dirstream))
                           ^
              (                                )
mpeg3ifo.c:378:21: note: use '==' to turn this assignment into an equality comparison
        while(new_filename = readdir(dirstream))
                           ^
                           ==
mpeg3ifo.c:390:6: warning: implicit declaration of function 'mpeg3io_joinpath' is invalid in C99 [-Wimplicit-function-declaration]
                                        mpeg3io_joinpath(title_path, directory, new_filename->d_name);
                                        ^
mpeg3ifo.c:557:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if(total_cells = get_cellplayinfo((unsigned char*)cell_hdr_start, (unsigned char**)&cell_hdr))
                   ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mpeg3ifo.c:557:18: note: place parentheses around the assignment to silence this warning
                if(total_cells = get_cellplayinfo((unsigned char*)cell_hdr_start, (unsigned char**)&cell_hdr))
                               ^
                   (                                                                                         )
mpeg3ifo.c:557:18: note: use '==' to turn this assignment into an equality comparison
                if(total_cells = get_cellplayinfo((unsigned char*)cell_hdr_start, (unsigned char**)&cell_hdr))
                               ^
                               ==
mpeg3ifo.c:598:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if(total_addresses = bswap_32(cell_addr_hdr->len) / sizeof(ifo_cell_addr_t))
           ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mpeg3ifo.c:598:21: note: place parentheses around the assignment to silence this warning
        if(total_addresses = bswap_32(cell_addr_hdr->len) / sizeof(ifo_cell_addr_t))
                           ^
           (                                                                       )
mpeg3ifo.c:598:21: note: use '==' to turn this assignment into an equality comparison
        if(total_addresses = bswap_32(cell_addr_hdr->len) / sizeof(ifo_cell_addr_t))
                           ^
                           ==
10 warnings generated.
gcc -c `cat work/c_flags`  mpeg3io.c -o work/mpeg3io.o
In file included from mpeg3io.c:2:
./mpeg3protos.h:395:1: warning: '/*' within block comment [-Wcomment]
/* demuxer. */
^
mpeg3io.c:56:2: warning: implicit declaration of function 'mpeg3_delete_css' is invalid in C99 [-Wimplicit-function-declaration]
        mpeg3_delete_css(fs->css);
        ^
mpeg3io.c:71:16: error: variable has incomplete type 'struct stat64'
        struct stat64 ostat;
                      ^
mpeg3io.c:71:9: note: forward declaration of 'struct stat64'
        struct stat64 ostat;
               ^
mpeg3io.c:72:2: warning: implicit declaration of function 'stat64' is invalid in C99 [-Wimplicit-function-declaration]
        stat64(fs->path, &ostat);
        ^
mpeg3io.c:86:16: error: variable has incomplete type 'struct stat64'
        struct stat64 st;
                      ^
mpeg3io.c:86:9: note: forward declaration of 'struct stat64'
        struct stat64 st;
               ^
mpeg3io.c:87:5: warning: implicit declaration of function 'stat64' is invalid in C99 [-Wimplicit-function-declaration]
        if(stat64(path, &st) < 0) return 0;
           ^
mpeg3io.c:94:2: warning: implicit declaration of function 'mpeg3_get_keys' is invalid in C99 [-Wimplicit-function-declaration]
        mpeg3_get_keys(fs->css, fs->path);
        ^
mpeg3io.c:242:3: warning: implicit declaration of function 'getcwd' is invalid in C99 [-Wimplicit-function-declaration]
                getcwd(current_dir, MPEG3_STRLEN);
                ^
6 warnings and 2 errors generated.
gmake: *** [Makefile:207: work/mpeg3io.o] Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/multimedia/libmpeg3
*** Error code 1

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/multimedia/libmpeg3