=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/multimedia/mpeg_encode", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for mpeg_encode-1.5bnb7 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 mfwddct.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | mp_fwd_dct_block2(data, dest) | ^ mfwddct.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | mp_fwd_dct_fast(data2d, dest2d) | ^postdct.c:193: 1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | Mpost_UnQuantZigBlock(in, out, qscale, iblock) | ^ postdct.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | Mpost_QuantZigBlock(in, out, qscale, iblock) | ^ mfwddct.c:343:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | void reference_fwd_dct(block, dest) | ^ postdct.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | Mpost_RLEHuffIBlock(in, out) | ^ postdct.c:475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | Mpost_RLEHuffPBlock(in, out) | ^ postdct.c:580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | CalcRLEHuffLength(in) | ^ 3 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o huff.o huff.c 5 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o bitio.o bitio.c gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o mheaders.o mheaders.c bitio.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | Bitio_New(filePtr) | ^ bitio.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | Bitio_Free(bbPtr) | ^ bitio.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | Bitio_Write(bbPtr, bits, nbits) | ^ bitio.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | Bitio_Flush(bbPtr) | ^ bitio.c:311:5: warning: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 311 | time(&tempTimeStart); | ^ bitio.c:304:13: warning: variable 'bitsWritten' set but not used [-Wunused-but-set-variable] 304 | int bitsWritten = 0; | ^ bitio.c:389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | Bitio_WriteToSocket(bbPtr, socket) | ^ bitio.c:422:15: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 422 | nitems = write(socket, buffer, numWords * sizeof(uint32)); | ^ bitio.c:444:8: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 444 | if ( write(socket, charBuf, 1) != 1 ) { | ^ bitio.c:397:13: warning: variable 'bitsWritten' set but not used [-Wunused-but-set-variable] 397 | int bitsWritten = 0; | ^ bitio.c:475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | Bitio_BytePad(bbPtr) | ^ bitio.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | Dump(bbPtr) | ^ bitio.c:513:5: warning: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 513 | time(&tempTimeStart); | ^ 13 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o mpeg.o mpeg.c mheaders.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | SetGOPStartTime(index) | ^ mheaders.c:339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | Mhead_GenPictureHeader(bbPtr, frameType, pictCount, f_code) | ^ mheaders.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | Mhead_GenSequenceHeader(bbPtr, hsize, vsize, pratio, pict_rate, bit_rate, | ^ mheaders.c:537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | Mhead_GenSequenceEnder(bbPtr) | ^ mheaders.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | Mhead_GenGOPHeader(bbPtr, drop_frame_flag, tc_hrs, tc_min, tc_sec, tc_pict, | ^ mheaders.c:655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | Mhead_GenSliceHeader(bbPtr, verticalPos, qscale, extra_info, extra_info_size) | ^ mheaders.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | Mhead_GenSliceEnder(bbPtr) | ^ mheaders.c:718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | Mhead_GenMBHeader(bbPtr, pict_code_type, addr_incr, q_scale, | ^ mheaders.c:849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | GenMBType(bbPtr, pict_code_type, mb_quant, motion_forw, motion_back, | ^ mheaders.c:996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | GenMotionCode(bbPtr, vector) | ^ mheaders.c:1027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1027 | GenBlockPattern(bbPtr, mb_pattern) | ^ mheaders.c:1053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1053 | GenMBAddrIncr(bbPtr, addr_incr) | ^ mheaders.c:1080:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | GenPictHead(bbPtr, temp_ref, code_type, vbv_delay, full_pel_forw_flag, | ^ 13 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o subsample.o subsample.c mpeg.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | SetReferenceFrameType(type) | ^ mpeg.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | SetBitRateFileName(fileName) | ^ mpeg.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | GenMPEGStream(whichGOP, frameStart, frameEnd, qtable, niqtable, numFrames, | ^ 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] 604 | if (strlen(userDataFileName) != 0) { | ^~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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] 608 | stat(userDataFileName,&statbuf); | ^~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/stat.h:387:26: note: passing argument to parameter here 387 | 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] 611 | if ((fp = fopen(userDataFileName,"rb")) == NULL) { | ^~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:243:37: note: passing argument to parameter '__filename' here 243 | 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] 641 | /* user_data */ userData, /* user_data_size */ userDataSize); | ^~~~~~~~ headers/mheaders.h:72:41: note: passing argument to parameter 'user_data' here 72 | 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] 310 | int32 bitstreamMode, res; | ^ mpeg.c:778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | SetStatFileName(fileName) | ^ mpeg.c:797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | SetGOPSize(size) | ^ mpeg.c:818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | PrintStartStats(firstFrame, lastFrame) | ^ mpeg.c:926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | NonLocalRefFrame(id) | ^ mpeg.c:1031:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | ComputeDHMSTime(someTime, timeText) | ^ mpeg.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | ComputeGOPFrames(whichGOP, firstFrame, lastFrame, numFrames) | ^ mpeg.c:1146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1146 | PrintEndStats(inputFrameBits, totalBits) | ^ mpeg.c:1226:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1226 | ProcessRefFrame(frame, bb, lastFrame, outputFileName) | ^ mpeg.c:1589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1589 | ReadDecodedRefFrame(frame, frameNumber) | ^ subsample.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | LumMotionErrorA(currentBlock, prevFrame, by, bx, my, mx, bestSoFar) | ^ subsample.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | LumMotionErrorB(currentBlock, prevFrame, by, bx, my, mx, bestSoFar) | ^ subsample.c:447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | LumMotionErrorC(currentBlock, prevFrame, by, bx, my, mx, bestSoFar) | ^ subsample.c:624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | LumMotionErrorD(currentBlock, prevFrame, by, bx, my, mx, bestSoFar) | ^ 4 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o param.o param.c 17 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o rgbtoycc.o rgbtoycc.c param.c:314:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | ReadParamFile(fileName, function) | ^ param.c:556:9: warning: ignoring return value of function declared with const attribute [-Wunused-value] 556 | 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] 711 | strcpy(userDataFileName, charPtr); | ^~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ param.c:821:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | GetNthInputFileName(fileName, n) | ^ param.c:910:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 910 | ReadMachineNames(fpointer) | ^ param.c:953:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | ReadInputFileNames(fpointer, endInput) | ^ param.c:1234:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1234 | SkipSpacesTabs(start) | ^ param.c:1258:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1258 | GetFrameRate(p) | ^ param.c:1295:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1295 | GetAspectRatio(p) | ^ rgbtoycc.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | PNMtoYUV(frame) | ^ rgbtoycc.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | PPMtoYUV(frame) | ^ 2 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o readframe.o readframe.c 9 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o combine.o combine.c readframe.c:209:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | void SetResize(set) | ^ readframe.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | _ReadFrame(frame, fileName, fileHook, conversion, addPath) | ^ readframe.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | SetFileType(conversion) | ^ readframe.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | SetFileFormat(format) | ^ readframe.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | ReadPNM(fp, mf) | ^ readframe.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | ReadIOConvert(fileName) | ^ readframe.c:618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | ReadPPM(mf, fpointer) | ^ readframe.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | ReadEYUV(mf, fpointer, width, height) | ^ readframe.c:802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | ReadAYUV(mf, fpointer, width, height) | ^ 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] 828 | 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] 829 | crptr = &(mf->orig_cr[y>>1][0]); | ^ ~~~~~~~~~~~~~~~~~~~~~~~ readframe.c:860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | SeparateLine(fpointer, lineptr, width) | ^ readframe.c:946:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | ReadY(mf, fpointer, width, height) | ^ readframe.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | ReadSub4(mf, fpointer, width, height) | ^ readframe.c:1058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1058 | ScanNextString(inputLine, string) | ^ readframe.c:1094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | DoGamma(mf, w, h) | ^ readframe.c:1149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1149 | DoKillDim(mf, w, h) | ^ 17 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o jrevdct.o jrevdct.c combine.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | GOPStoMPEG(numGOPS, outputFileName, outputFilePtr) | ^ combine.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | FramesToMPEG(numFrames, outputFileName, outputFile, parallel) | ^ combine.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | AppendFile(outputFile, inputFile) | ^ 3 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o frame.o frame.c jrevdct.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | mpeg_jrevdct(data) | ^ jrevdct.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | mpeg_jrevdct_quick(data) | ^ jrevdct.c:1246:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | void reference_rev_dct(block) | ^ frame.c:104:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | Frame_Resize(omf,mf,insize_x,insize_y,outsize_x,outsize_y) | ^ frame.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | Resize_Width(omfrw,mfrw,in_x,in_y, out_x) | ^ frame.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | Resize_Height(omfrh,mfrh,in_x,in_y,out_y) | ^ frame.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | Resize_Array_Width(inarray,in_x,in_y,outarray,out_x) | ^ frame.c:283:7: warning: variable 'pointA' set but not used [-Wunused-but-set-variable] 283 | uint8 pointA,pointB; | ^ frame.c:283:14: warning: variable 'pointB' set but not used [-Wunused-but-set-variable] 283 | uint8 pointA,pointB; | ^ frame.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | Resize_Array_Height(inarray,in_x,in_y,outarray,out_y) | ^ frame.c:354:8: warning: variable 'slope' set but not used [-Wunused-but-set-variable] 354 | double slope,diff; | ^ frame.c:354:14: warning: variable 'diff' set but not used [-Wunused-but-set-variable] 354 | double slope,diff; | ^ frame.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | Frame_Free(frame) | ^ frame.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | Frame_New(id, type) | ^ frame.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | Frame_AllocPPM(frame) | ^ frame.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | Frame_AllocBlocks(frame) | ^ frame.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | Frame_AllocYCC(frame) | ^ frame.c:657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | Frame_AllocHalf(frame) | ^ frame.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | Frame_AllocDecoded(frame, makeReference) | ^ frame.c:794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 794 | GetNumOfFrames(numOfFrames) | ^ frame.c:844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 844 | ResetFrame(id, type, frame) | ^ frame.c:882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | FreeFrame(frame) | ^ 3 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o fsize.o fsize.c 19 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o frametype.o frametype.c fsize.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | Fsize_Validate(x, y) | ^ fsize.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | Fsize_Note(id, width, height) | ^ 2 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o libpnmrw.o libpnmrw.c frametype.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | FType_Type(frameNum) | ^ frametype.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | FType_FutureRef(currFrameNum) | ^ frametype.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | FType_PastRef(currFrameNum) | ^ frametype.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | SetFramePattern(pattern) | ^ frametype.c:269:17: warning: variable 'lastI' set but not used [-Wunused-but-set-variable] 269 | FrameTable *lastI, *lastIP, *firstB, *secondIP; | ^ 5 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o specifics.o specifics.c libpnmrw.c:63:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | pm_allocrow( cols, size ) | ^ libpnmrw.c:80:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | pm_freerow( itrow ) | ^ libpnmrw.c:87:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | pm_allocarray( cols, rows, size ) | ^ libpnmrw.c:115:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | pm_freearray( its, rows ) | ^ libpnmrw.c:131:16: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 131 | extern char* sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ libpnmrw.c:127:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | pm_perror( reason ) | ^ libpnmrw.c:148:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | pm_openr( name ) | ^ libpnmrw.c:168:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | pm_openw( name ) | ^ libpnmrw.c:182:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | pm_closer( f ) | ^ libpnmrw.c:202:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | pm_closew( f ) | ^ libpnmrw.c:223:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | pbm_getc( file ) | ^ libpnmrw.c:253:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | pbm_getbit( file ) | ^ libpnmrw.c:277:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | pbm_readmagicnumber( file ) | ^ libpnmrw.c:300:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | pbm_getint( file ) | ^ libpnmrw.c:335:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | pbm_readpbminitrest( file, colsP, rowsP ) | ^ libpnmrw.c:349:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | pbm_getrawbyte( file ) | ^ libpnmrw.c:364:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | pbm_readpbmrow( file, bitrow, cols, format ) | ^ libpnmrw.c:409:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | pbm_writepbminit( file, cols, rows, forceplain ) | ^ libpnmrw.c:423:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | pbm_writepbmrowraw( file, bitrow, cols ) | ^ libpnmrw.c:451:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | pbm_writepbmrowplain( file, bitrow, cols ) | ^ libpnmrw.c:474:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | pbm_writepbmrow( file, bitrow, cols, forceplain ) | ^ libpnmrw.c:487:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | pgm_readpgminitrest( file, colsP, rowsP, maxvalP ) | ^ libpnmrw.c:584:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | putus( n, file ) | ^ libpnmrw.c:594:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | pgm_writepgmrowraw( file, grayrow, cols, maxval ) | ^ libpnmrw.c:609:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | pgm_writepgmrowplain( file, grayrow, cols, maxval ) | ^ libpnmrw.c:659:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | ppm_readppminitrest( file, colsP, rowsP, maxvalP ) | ^ libpnmrw.c:771:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | ppm_writeppmrowraw( file, pixelrow, cols, maxval ) | ^ libpnmrw.c:801:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | ppm_writeppmrowplain( file, pixelrow, cols, maxval ) | ^ libpnmrw.c:860:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | pnm_init2( pn ) | ^ libpnmrw.c:870:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | pnm_readpnminit( file, colsP, rowsP, maxvalP, formatP ) | ^ libpnmrw.c:970:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | pnm_readpnm( file, colsP, rowsP, maxvalP, formatP ) | ^ libpnmrw.c:1120:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | ppm_computecolorhist( pixels, cols, rows, maxcolors, colorsP ) | ^ libpnmrw.c:1137:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1137 | ppm_addtocolorhist( chv, colorsP, maxcolors, colorP, value, position ) | ^ libpnmrw.c:1176:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1176 | ppm_computecolorhash( pixels, cols, rows, maxcolors, colorsP ) | ^ libpnmrw.c:1248:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1248 | ppm_addtocolorhash( cht, colorP, value ) | ^ libpnmrw.c:1268:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1268 | ppm_colorhashtocolorhist( cht, maxcolors ) | ^ libpnmrw.c:1301:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1301 | ppm_colorhisttocolorhash( chv, colors ) | ^ libpnmrw.c:1344:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1344 | ppm_lookupcolor( cht, colorP ) | ^ libpnmrw.c:1360:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1360 | ppm_freecolorhist( chv ) | ^ libpnmrw.c:1367:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1367 | ppm_freecolorhash( cht ) | ^ 39 warnings and 1 error generated. gmake: *** [: libpnmrw.o] Error 1 gmake: *** Waiting for unfinished jobs.... specifics.c:194:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | void Parse_Specifics_File(fp) | ^ specifics.c:242:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | void Parse_Specifics_File_v1(fp) | ^ specifics.c:249:7: warning: variable 'num_scanned' set but not used [-Wunused-but-set-variable] 249 | int num_scanned; | ^ specifics.c:300:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | void Parse_Specifics_File_v2(fp) | ^ specifics.c:452:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | void AddSlc(c, snum, qs) | ^ specifics.c:488:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | Block_Specifics *AddBs(c,bnum,rel,qs) | ^ specifics.c:533:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | int SpecLookup(fn,typ,num,info,start_qs) | ^ specifics.c:667:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | int SpecTypeLookup(fn) | ^ 8 warnings generated. *** 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