WARNING: [license.mk] Every package should define a LICENSE.
===> Building for mpeg_encode-1.5bnb6
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/opt/pkg/include  -c -o mfwddct.o mfwddct.c
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/opt/pkg/include  -c -o postdct.o postdct.c
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/opt/pkg/include  -c -o huff.o huff.c
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/opt/pkg/include  -c -o bitio.o bitio.c
bitio.c:311:5: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration]
    time(&tempTimeStart);
    ^
bitio.c:304:13: warning: variable 'bitsWritten' set but not used [-Wunused-but-set-variable]
    int     bitsWritten = 0;
            ^
bitio.c:422:15: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
            nitems = write(socket, buffer, numWords * sizeof(uint32));
                     ^
bitio.c:444:8: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
                if ( write(socket, charBuf, 1) != 1 ) {
                     ^
bitio.c:397:13: warning: variable 'bitsWritten' set but not used [-Wunused-but-set-variable]
    int     bitsWritten = 0;
            ^
bitio.c:513:5: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration]
    time(&tempTimeStart);
    ^
6 warnings generated.
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/opt/pkg/include  -c -o mheaders.o mheaders.c
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/opt/pkg/include  -c -o mpeg.o mpeg.c
mpeg.c:604:17: warning: passing 'unsigned char []' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            if (strlen(userDataFileName) != 0) {
                       ^~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
mpeg.c:608:13: warning: passing 'unsigned char []' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
              stat(userDataFileName,&statbuf);
                   ^~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/stat.h:386:26: note: passing argument to parameter here
int     stat(const char *, struct stat *) __DARWIN_INODE64(stat);
                         ^
mpeg.c:611:24: warning: passing 'unsigned char []' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
              if ((fp = fopen(userDataFileName,"rb")) == NULL) {
                              ^~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:153:37: note: passing argument to parameter '__filename' here
FILE    *fopen(const char * __restrict __filename, const char * __restrict __mode) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen));
                                       ^
mpeg.c:641:53: warning: passing 'char *' to parameter of type 'uint8 *' (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]
                                    /* user_data */ userData, /* user_data_size */ userDataSize);
                                                    ^~~~~~~~
headers/mheaders.h:72:41: note: passing argument to parameter 'user_data' here
            int32 ext_data_size, uint8 *user_data, int32 user_data_size));
                                        ^
mpeg.c:310:26: warning: variable 'res' set but not used [-Wunused-but-set-variable]
    int32 bitstreamMode, res;
                         ^
5 warnings generated.
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/opt/pkg/include  -c -o subsample.o subsample.c
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/opt/pkg/include  -c -o param.o param.c
param.c:556:9: warning: ignoring return value of function declared with const attribute [-Wunused-value]
        log(10.0);
        ^~~ ~~~~
param.c:711:16: warning: passing 'unsigned char [256]' 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]
        strcpy(userDataFileName, charPtr);
               ^~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy'
                __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                        ^~~~
2 warnings generated.
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/opt/pkg/include  -c -o rgbtoycc.o rgbtoycc.c
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/opt/pkg/include  -c -o readframe.o readframe.c
readframe.c:828:8: warning: assigning to 'int8 *' (aka 'char *') from 'uint8 *' (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]
        cbptr = &(mf->orig_cb[y>>1][0]);
              ^ ~~~~~~~~~~~~~~~~~~~~~~~
readframe.c:829:8: warning: assigning to 'int8 *' (aka 'char *') from 'uint8 *' (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]
        crptr = &(mf->orig_cr[y>>1][0]);
              ^ ~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/opt/pkg/include  -c -o combine.o combine.c
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/opt/pkg/include  -c -o jrevdct.o jrevdct.c
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/opt/pkg/include  -c -o frame.o frame.c
frame.c:283:7: warning: variable 'pointA' set but not used [-Wunused-but-set-variable]
uint8 pointA,pointB;
      ^
frame.c:283:14: warning: variable 'pointB' set but not used [-Wunused-but-set-variable]
uint8 pointA,pointB;
             ^
frame.c:354:8: warning: variable 'slope' set but not used [-Wunused-but-set-variable]
double slope,diff;
       ^
frame.c:354:14: warning: variable 'diff' set but not used [-Wunused-but-set-variable]
double slope,diff;
             ^
4 warnings generated.
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/opt/pkg/include  -c -o fsize.o fsize.c
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/opt/pkg/include  -c -o frametype.o frametype.c
frametype.c:269:17: warning: variable 'lastI' set but not used [-Wunused-but-set-variable]
    FrameTable  *lastI, *lastIP, *firstB, *secondIP;
                 ^
1 warning generated.
gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/opt/pkg/include  -c -o libpnmrw.o libpnmrw.c
libpnmrw.c:131:16: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const []'
  extern char* sys_errlist[];
               ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
1 error generated.
gmake: *** [<builtin>: libpnmrw.o] Error 1
*** Error code 2

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

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/multimedia/mpeg_encode