>>> Building on exopi-6 under archivers/unarj DIST = [archivers/unarj:unarj-2.43.tgz] FULLPKGNAME = unarj-2.43p3 distfiles size=20728 >>> Running build in archivers/unarj at 1764613859.72 ===> archivers/unarj ===> Building from scratch unarj-2.43p3 ===> Verifying specs: c ===> found c.102.2 ===> Checking files for unarj-2.43p3 `/exopi-cvs/ports/distfiles/unarj-2.43.tgz' is up to date. >> (SHA256) all files: OK ===> Extracting for unarj-2.43p3 ===> Patching for unarj-2.43p3 ===> Applying OpenBSD patch patch-environ_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- environ.c.orig Mon Sep 29 12:00:24 1997 |+++ environ.c Fri Nov 4 10:57:45 2011 -------------------------- Patching file environ.c using Plan A... Hunk #1 succeeded at 40. Hunk #2 succeeded at 435. Hunk #3 succeeded at 541. Hunk #4 succeeded at 562. Hunk #5 succeeded at 620. done ===> Applying OpenBSD patch patch-unarj_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- unarj.c.orig Mon Sep 29 12:00:24 1997 |+++ unarj.c Fri Nov 4 14:25:17 2011 -------------------------- Patching file unarj.c using Plan A... Hunk #1 succeeded at 104. done ===> Applying OpenBSD patch patch-unarj_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- unarj.h.orig Mon Sep 29 06:00:24 1997 |+++ unarj.h Wed Mar 3 22:24:35 1999 -------------------------- Patching file unarj.h using Plan A... Hunk #1 succeeded at 106. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for unarj-2.43p3 ===> Configuring for unarj-2.43p3 ===> Building for unarj-2.43p3 cc -O2 -pipe -DUNIX -c unarj.c In file included from unarj.c:48: ./unarj.h:205:1: warning: '/*' within block comment [-Wcomment] 205 | /* Structure of archive main header (low order byte first): | ^ ./unarj.h:206:1: warning: '/*' within block comment [-Wcomment] 206 | /* | ^ ./unarj.h:207:1: warning: '/*' within block comment [-Wcomment] 207 | /* 2 header id (comment and local file) = 0x60, 0xEA | ^ ./unarj.h:208:1: warning: '/*' within block comment [-Wcomment] 208 | /* 2 basic header size (from 'first_hdr_size' thru 'comment' below) | ^ ./unarj.h:209:1: warning: '/*' within block comment [-Wcomment] 209 | /* = first_hdr_size + strlen(filename) + 1 + strlen(comment) + 1 | ^ ./unarj.h:210:1: warning: '/*' within block comment [-Wcomment] 210 | /* = 0 if end of archive | ^ ./unarj.h:211:1: warning: '/*' within block comment [-Wcomment] 211 | /* | ^ ./unarj.h:212:1: warning: '/*' within block comment [-Wcomment] 212 | /* 1 first_hdr_size (size up to 'extra data') | ^ ./unarj.h:213:1: warning: '/*' within block comment [-Wcomment] 213 | /* 1 archiver version number | ^ ./unarj.h:214:1: warning: '/*' within block comment [-Wcomment] 214 | /* 1 minimum archiver version to extract | ^ ./unarj.h:215:1: warning: '/*' within block comment [-Wcomment] 215 | /* 1 host OS (0 = MSDOS, 1 = PRIMOS, 2 = UNIX, 3 = AMIGA, 4 = MACDOS) | ^ ./unarj.h:216:1: warning: '/*' within block comment [-Wcomment] 216 | /* (5 = OS/2, 6 = APPLE GS, 7 = ATARI ST, 8 = NEXT) | ^ ./unarj.h:217:1: warning: '/*' within block comment [-Wcomment] 217 | /* (9 = VAX VMS) | ^ ./unarj.h:218:1: warning: '/*' within block comment [-Wcomment] 218 | /* 1 arj flags (0x01 = GARBLED_FLAG, 0x02 = OLD_SECURED_FLAG) | ^ ./unarj.h:219:1: warning: '/*' within block comment [-Wcomment] 219 | /* (0x04 = VOLUME_FLAG, 0x08 = EXTFILE_FLAG) | ^ ./unarj.h:220:1: warning: '/*' within block comment [-Wcomment] 220 | /* (0x10 = PATHSYM_FLAG, 0x20 = BACKUP_FLAG) | ^ ./unarj.h:221:1: warning: '/*' within block comment [-Wcomment] 221 | /* (0x40 = SECURED_FLAG) | ^ ./unarj.h:222:1: warning: '/*' within block comment [-Wcomment] 222 | /* 1 arj security version (2 = current) | ^ ./unarj.h:223:1: warning: '/*' within block comment [-Wcomment] 223 | /* 1 file type (2 = comment header) | ^ ./unarj.h:224:1: warning: '/*' within block comment [-Wcomment] 224 | /* 1 ? ] | ^ ./unarj.h:225:1: warning: '/*' within block comment [-Wcomment] 225 | /* 4 date time stamp created | ^ ./unarj.h:226:1: warning: '/*' within block comment [-Wcomment] 226 | /* 4 date time stamp modified | ^ ./unarj.h:227:1: warning: '/*' within block comment [-Wcomment] 227 | /* 4 archive size up to the end of archive marker | ^ ./unarj.h:228:1: warning: '/*' within block comment [-Wcomment] 228 | /* 4 file position of security envelope data | ^ ./unarj.h:229:1: warning: '/*' within block comment [-Wcomment] 229 | /* 2 entryname position in filename | ^ ./unarj.h:230:1: warning: '/*' within block comment [-Wcomment] 230 | /* 2 length in bytes of trailing security data | ^ ./unarj.h:231:1: warning: '/*' within block comment [-Wcomment] 231 | /* 2 host data | ^ ./unarj.h:232:1: warning: '/*' within block comment [-Wcomment] 232 | /* ? extra data | ^ ./unarj.h:233:1: warning: '/*' within block comment [-Wcomment] 233 | /* | ^ ./unarj.h:234:1: warning: '/*' within block comment [-Wcomment] 234 | /* ? archive filename (null-terminated) | ^ ./unarj.h:235:1: warning: '/*' within block comment [-Wcomment] 235 | /* ? archive comment (null-terminated) | ^ ./unarj.h:236:1: warning: '/*' within block comment [-Wcomment] 236 | /* | ^ ./unarj.h:237:1: warning: '/*' within block comment [-Wcomment] 237 | /* 4 basic header CRC | ^ ./unarj.h:238:1: warning: '/*' within block comment [-Wcomment] 238 | /* | ^ ./unarj.h:239:1: warning: '/*' within block comment [-Wcomment] 239 | /* 2 1st extended header size (0 if none) | ^ ./unarj.h:240:1: warning: '/*' within block comment [-Wcomment] 240 | /* ? 1st extended header | ^ ./unarj.h:241:1: warning: '/*' within block comment [-Wcomment] 241 | /* 4 1st extended header's CRC | ^ ./unarj.h:242:1: warning: '/*' within block comment [-Wcomment] 242 | /* ... | ^ ./unarj.h:243:1: warning: '/*' within block comment [-Wcomment] 243 | /* | ^ ./unarj.h:244:1: warning: '/*' within block comment [-Wcomment] 244 | /* | ^ ./unarj.h:245:1: warning: '/*' within block comment [-Wcomment] 245 | /* Structure of archive file header (low order byte first): | ^ ./unarj.h:246:1: warning: '/*' within block comment [-Wcomment] 246 | /* | ^ ./unarj.h:247:1: warning: '/*' within block comment [-Wcomment] 247 | /* 2 header id (comment and local file) = 0x60, 0xEA | ^ ./unarj.h:248:1: warning: '/*' within block comment [-Wcomment] 248 | /* 2 basic header size (from 'first_hdr_size' thru 'comment' below) | ^ ./unarj.h:249:1: warning: '/*' within block comment [-Wcomment] 249 | /* = first_hdr_size + strlen(filename) + 1 + strlen(comment) + 1 | ^ ./unarj.h:250:1: warning: '/*' within block comment [-Wcomment] 250 | /* = 0 if end of archive | ^ ./unarj.h:251:1: warning: '/*' within block comment [-Wcomment] 251 | /* | ^ ./unarj.h:252:1: warning: '/*' within block comment [-Wcomment] 252 | /* 1 first_hdr_size (size up to 'extra data') | ^ ./unarj.h:253:1: warning: '/*' within block comment [-Wcomment] 253 | /* 1 archiver version number | ^ ./unarj.h:254:1: warning: '/*' within block comment [-Wcomment] 254 | /* 1 minimum archiver version to extract | ^ ./unarj.h:255:1: warning: '/*' within block comment [-Wcomment] 255 | /* 1 host OS (0 = MSDOS, 1 = PRIMOS, 2 = UNIX, 3 = AMIGA, 4 = MACDOS) | ^ ./unarj.h:256:1: warning: '/*' within block comment [-Wcomment] 256 | /* (5 = OS/2, 6 = APPLE GS, 7 = ATARI ST, 8 = NEXT) | ^ ./unarj.h:257:1: warning: '/*' within block comment [-Wcomment] 257 | /* (9 = VAX VMS) | ^ ./unarj.h:258:1: warning: '/*' within block comment [-Wcomment] 258 | /* 1 arj flags (0x01 = GARBLED_FLAG, 0x02 = NOT USED) | ^ ./unarj.h:259:1: warning: '/*' within block comment [-Wcomment] 259 | /* (0x04 = VOLUME_FLAG, 0x08 = EXTFILE_FLAG) | ^ ./unarj.h:260:1: warning: '/*' within block comment [-Wcomment] 260 | /* (0x10 = PATHSYM_FLAG, 0x20 = BACKUP_FLAG) | ^ ./unarj.h:261:1: warning: '/*' within block comment [-Wcomment] 261 | /* (0x40 = NOT USED) | ^ ./unarj.h:262:1: warning: '/*' within block comment [-Wcomment] 262 | /* 1 method (0 = stored, 1 = compressed most ... 4 compressed fastest) | ^ ./unarj.h:263:1: warning: '/*' within block comment [-Wcomment] 263 | /* 1 file type (0 = binary, 1 = text, 2 = comment header, 3 = directory) | ^ ./unarj.h:264:1: warning: '/*' within block comment [-Wcomment] 264 | /* (4 = label) | ^ ./unarj.h:265:1: warning: '/*' within block comment [-Wcomment] 265 | /* 1 garble password modifier | ^ ./unarj.h:266:1: warning: '/*' within block comment [-Wcomment] 266 | /* 4 date time stamp modified | ^ ./unarj.h:267:1: warning: '/*' within block comment [-Wcomment] 267 | /* 4 compressed size | ^ ./unarj.h:268:1: warning: '/*' within block comment [-Wcomment] 268 | /* 4 original size | ^ ./unarj.h:269:1: warning: '/*' within block comment [-Wcomment] 269 | /* 4 original file's CRC | ^ ./unarj.h:270:1: warning: '/*' within block comment [-Wcomment] 270 | /* 2 entryname position in filename | ^ ./unarj.h:271:1: warning: '/*' within block comment [-Wcomment] 271 | /* 2 file access mode | ^ ./unarj.h:272:1: warning: '/*' within block comment [-Wcomment] 272 | /* 2 host data | ^ ./unarj.h:273:1: warning: '/*' within block comment [-Wcomment] 273 | /* ? extra data | ^ ./unarj.h:274:1: warning: '/*' within block comment [-Wcomment] 274 | /* 4 bytes for extended file position | ^ ./unarj.h:275:1: warning: '/*' within block comment [-Wcomment] 275 | /* | ^ ./unarj.h:276:1: warning: '/*' within block comment [-Wcomment] 276 | /* ? filename (null-terminated) | ^ ./unarj.h:277:1: warning: '/*' within block comment [-Wcomment] 277 | /* ? comment (null-terminated) | ^ ./unarj.h:278:1: warning: '/*' within block comment [-Wcomment] 278 | /* | ^ ./unarj.h:279:1: warning: '/*' within block comment [-Wcomment] 279 | /* 4 basic header CRC | ^ ./unarj.h:280:1: warning: '/*' within block comment [-Wcomment] 280 | /* | ^ ./unarj.h:281:1: warning: '/*' within block comment [-Wcomment] 281 | /* 2 1st extended header size (0 if none) | ^ ./unarj.h:282:1: warning: '/*' within block comment [-Wcomment] 282 | /* ? 1st extended header | ^ ./unarj.h:283:1: warning: '/*' within block comment [-Wcomment] 283 | /* 4 1st extended header's CRC | ^ ./unarj.h:284:1: warning: '/*' within block comment [-Wcomment] 284 | /* ... | ^ ./unarj.h:285:1: warning: '/*' within block comment [-Wcomment] 285 | /* ? compressed file | ^ ./unarj.h:286:1: warning: '/*' within block comment [-Wcomment] 286 | /* | ^ ./unarj.h:287:1: warning: '/*' within block comment [-Wcomment] 287 | /* ********************************************************* */ | ^ unarj.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | crc_buf(str, len) | ^ unarj.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 | error(fmt, arg) | ^ unarj.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | strparity(p) | ^ unarj.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | fopen_msg(name, mode) | ^ unarj.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | fget_byte(f) | ^ unarj.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | fget_word(f) | ^ unarj.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | fget_longword(f) | ^ unarj.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | fread_crc(p, n, f) | ^ unarj.c:352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | fwrite_txt_crc(p, n) | ^ unarj.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | fillbuf(n) /* Shift bitbuf n bits left, read n bits */ | ^ unarj.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | getbits(n) | ^ unarj.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | decode_path(name) | ^ unarj.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | get_date_str(str, tstamp) | ^ unarj.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | parse_path(pathname, path, entry) | ^ unarj.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | strncopy(to, from, len) | ^ unarj.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | strlower(s) | ^ unarj.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | strupper(s) | ^ unarj.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | malloc_msg(size) | ^ unarj.c:542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | find_header(fd) | ^ unarj.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | read_header(first, fd, name) | ^ unarj.c:690:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 690 | printf(M_ENCRYPT); | ^~~~~~~~~ unarj.c:690:16: note: treat the string as an argument to avoid this 690 | printf(M_ENCRYPT); | ^ | "%s", unarj.c:754:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 754 | printf(M_DIFFHOST); | ^~~~~~~~~~ unarj.c:754:16: note: treat the string as an argument to avoid this 754 | printf(M_DIFFHOST); | ^ | "%s", unarj.c:770:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 770 | printf(M_CRCOK); | ^~~~~~~ unarj.c:770:16: note: treat the string as an argument to avoid this 770 | printf(M_CRCOK); | ^ | "%s", unarj.c:773:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 773 | printf(M_CRCERROR); | ^~~~~~~~~~ unarj.c:773:16: note: treat the string as an argument to avoid this 773 | printf(M_CRCERROR); | ^ | "%s", unarj.c:799:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 799 | printf(M_CRCOK); | ^~~~~~~ unarj.c:799:16: note: treat the string as an argument to avoid this 799 | printf(M_CRCOK); | ^ | "%s", unarj.c:802:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 802 | printf(M_CRCERROR); | ^~~~~~~~~~ unarj.c:802:16: note: treat the string as an argument to avoid this 802 | printf(M_CRCERROR); | ^ | "%s", unarj.c:809:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | ratio(a, b) | ^ unarj.c:837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | list_arc(count) | ^ unarj.c:949:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 949 | printf(M_USAGE[i]); | ^~~~~~~~~~ unarj.c:949:16: note: treat the string as an argument to avoid this 949 | printf(M_USAGE[i]); | ^ | "%s", unarj.c:964:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 964 | printf(M_VERSION); | ^~~~~~~~~ unarj.c:964:12: note: treat the string as an argument to avoid this 964 | printf(M_VERSION); | ^ | "%s", unarj.c:953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | main(argc, argv) | ^ 114 warnings generated. cc -O2 -pipe -DUNIX -c decode.c In file included from decode.c:30: ./unarj.h:205:1: warning: '/*' within block comment [-Wcomment] 205 | /* Structure of archive main header (low order byte first): | ^ ./unarj.h:206:1: warning: '/*' within block comment [-Wcomment] 206 | /* | ^ ./unarj.h:207:1: warning: '/*' within block comment [-Wcomment] 207 | /* 2 header id (comment and local file) = 0x60, 0xEA | ^ ./unarj.h:208:1: warning: '/*' within block comment [-Wcomment] 208 | /* 2 basic header size (from 'first_hdr_size' thru 'comment' below) | ^ ./unarj.h:209:1: warning: '/*' within block comment [-Wcomment] 209 | /* = first_hdr_size + strlen(filename) + 1 + strlen(comment) + 1 | ^ ./unarj.h:210:1: warning: '/*' within block comment [-Wcomment] 210 | /* = 0 if end of archive | ^ ./unarj.h:211:1: warning: '/*' within block comment [-Wcomment] 211 | /* | ^ ./unarj.h:212:1: warning: '/*' within block comment [-Wcomment] 212 | /* 1 first_hdr_size (size up to 'extra data') | ^ ./unarj.h:213:1: warning: '/*' within block comment [-Wcomment] 213 | /* 1 archiver version number | ^ ./unarj.h:214:1: warning: '/*' within block comment [-Wcomment] 214 | /* 1 minimum archiver version to extract | ^ ./unarj.h:215:1: warning: '/*' within block comment [-Wcomment] 215 | /* 1 host OS (0 = MSDOS, 1 = PRIMOS, 2 = UNIX, 3 = AMIGA, 4 = MACDOS) | ^ ./unarj.h:216:1: warning: '/*' within block comment [-Wcomment] 216 | /* (5 = OS/2, 6 = APPLE GS, 7 = ATARI ST, 8 = NEXT) | ^ ./unarj.h:217:1: warning: '/*' within block comment [-Wcomment] 217 | /* (9 = VAX VMS) | ^ ./unarj.h:218:1: warning: '/*' within block comment [-Wcomment] 218 | /* 1 arj flags (0x01 = GARBLED_FLAG, 0x02 = OLD_SECURED_FLAG) | ^ ./unarj.h:219:1: warning: '/*' within block comment [-Wcomment] 219 | /* (0x04 = VOLUME_FLAG, 0x08 = EXTFILE_FLAG) | ^ ./unarj.h:220:1: warning: '/*' within block comment [-Wcomment] 220 | /* (0x10 = PATHSYM_FLAG, 0x20 = BACKUP_FLAG) | ^ ./unarj.h:221:1: warning: '/*' within block comment [-Wcomment] 221 | /* (0x40 = SECURED_FLAG) | ^ ./unarj.h:222:1: warning: '/*' within block comment [-Wcomment] 222 | /* 1 arj security version (2 = current) | ^ ./unarj.h:223:1: warning: '/*' within block comment [-Wcomment] 223 | /* 1 file type (2 = comment header) | ^ ./unarj.h:224:1: warning: '/*' within block comment [-Wcomment] 224 | /* 1 ? ] | ^ ./unarj.h:225:1: warning: '/*' within block comment [-Wcomment] 225 | /* 4 date time stamp created | ^ ./unarj.h:226:1: warning: '/*' within block comment [-Wcomment] 226 | /* 4 date time stamp modified | ^ ./unarj.h:227:1: warning: '/*' within block comment [-Wcomment] 227 | /* 4 archive size up to the end of archive marker | ^ ./unarj.h:228:1: warning: '/*' within block comment [-Wcomment] 228 | /* 4 file position of security envelope data | ^ ./unarj.h:229:1: warning: '/*' within block comment [-Wcomment] 229 | /* 2 entryname position in filename | ^ ./unarj.h:230:1: warning: '/*' within block comment [-Wcomment] 230 | /* 2 length in bytes of trailing security data | ^ ./unarj.h:231:1: warning: '/*' within block comment [-Wcomment] 231 | /* 2 host data | ^ ./unarj.h:232:1: warning: '/*' within block comment [-Wcomment] 232 | /* ? extra data | ^ ./unarj.h:233:1: warning: '/*' within block comment [-Wcomment] 233 | /* | ^ ./unarj.h:234:1: warning: '/*' within block comment [-Wcomment] 234 | /* ? archive filename (null-terminated) | ^ ./unarj.h:235:1: warning: '/*' within block comment [-Wcomment] 235 | /* ? archive comment (null-terminated) | ^ ./unarj.h:236:1: warning: '/*' within block comment [-Wcomment] 236 | /* | ^ ./unarj.h:237:1: warning: '/*' within block comment [-Wcomment] 237 | /* 4 basic header CRC | ^ ./unarj.h:238:1: warning: '/*' within block comment [-Wcomment] 238 | /* | ^ ./unarj.h:239:1: warning: '/*' within block comment [-Wcomment] 239 | /* 2 1st extended header size (0 if none) | ^ ./unarj.h:240:1: warning: '/*' within block comment [-Wcomment] 240 | /* ? 1st extended header | ^ ./unarj.h:241:1: warning: '/*' within block comment [-Wcomment] 241 | /* 4 1st extended header's CRC | ^ ./unarj.h:242:1: warning: '/*' within block comment [-Wcomment] 242 | /* ... | ^ ./unarj.h:243:1: warning: '/*' within block comment [-Wcomment] 243 | /* | ^ ./unarj.h:244:1: warning: '/*' within block comment [-Wcomment] 244 | /* | ^ ./unarj.h:245:1: warning: '/*' within block comment [-Wcomment] 245 | /* Structure of archive file header (low order byte first): | ^ ./unarj.h:246:1: warning: '/*' within block comment [-Wcomment] 246 | /* | ^ ./unarj.h:247:1: warning: '/*' within block comment [-Wcomment] 247 | /* 2 header id (comment and local file) = 0x60, 0xEA | ^ ./unarj.h:248:1: warning: '/*' within block comment [-Wcomment] 248 | /* 2 basic header size (from 'first_hdr_size' thru 'comment' below) | ^ ./unarj.h:249:1: warning: '/*' within block comment [-Wcomment] 249 | /* = first_hdr_size + strlen(filename) + 1 + strlen(comment) + 1 | ^ ./unarj.h:250:1: warning: '/*' within block comment [-Wcomment] 250 | /* = 0 if end of archive | ^ ./unarj.h:251:1: warning: '/*' within block comment [-Wcomment] 251 | /* | ^ ./unarj.h:252:1: warning: '/*' within block comment [-Wcomment] 252 | /* 1 first_hdr_size (size up to 'extra data') | ^ ./unarj.h:253:1: warning: '/*' within block comment [-Wcomment] 253 | /* 1 archiver version number | ^ ./unarj.h:254:1: warning: '/*' within block comment [-Wcomment] 254 | /* 1 minimum archiver version to extract | ^ ./unarj.h:255:1: warning: '/*' within block comment [-Wcomment] 255 | /* 1 host OS (0 = MSDOS, 1 = PRIMOS, 2 = UNIX, 3 = AMIGA, 4 = MACDOS) | ^ ./unarj.h:256:1: warning: '/*' within block comment [-Wcomment] 256 | /* (5 = OS/2, 6 = APPLE GS, 7 = ATARI ST, 8 = NEXT) | ^ ./unarj.h:257:1: warning: '/*' within block comment [-Wcomment] 257 | /* (9 = VAX VMS) | ^ ./unarj.h:258:1: warning: '/*' within block comment [-Wcomment] 258 | /* 1 arj flags (0x01 = GARBLED_FLAG, 0x02 = NOT USED) | ^ ./unarj.h:259:1: warning: '/*' within block comment [-Wcomment] 259 | /* (0x04 = VOLUME_FLAG, 0x08 = EXTFILE_FLAG) | ^ ./unarj.h:260:1: warning: '/*' within block comment [-Wcomment] 260 | /* (0x10 = PATHSYM_FLAG, 0x20 = BACKUP_FLAG) | ^ ./unarj.h:261:1: warning: '/*' within block comment [-Wcomment] 261 | /* (0x40 = NOT USED) | ^ ./unarj.h:262:1: warning: '/*' within block comment [-Wcomment] 262 | /* 1 method (0 = stored, 1 = compressed most ... 4 compressed fastest) | ^ ./unarj.h:263:1: warning: '/*' within block comment [-Wcomment] 263 | /* 1 file type (0 = binary, 1 = text, 2 = comment header, 3 = directory) | ^ ./unarj.h:264:1: warning: '/*' within block comment [-Wcomment] 264 | /* (4 = label) | ^ ./unarj.h:265:1: warning: '/*' within block comment [-Wcomment] 265 | /* 1 garble password modifier | ^ ./unarj.h:266:1: warning: '/*' within block comment [-Wcomment] 266 | /* 4 date time stamp modified | ^ ./unarj.h:267:1: warning: '/*' within block comment [-Wcomment] 267 | /* 4 compressed size | ^ ./unarj.h:268:1: warning: '/*' within block comment [-Wcomment] 268 | /* 4 original size | ^ ./unarj.h:269:1: warning: '/*' within block comment [-Wcomment] 269 | /* 4 original file's CRC | ^ ./unarj.h:270:1: warning: '/*' within block comment [-Wcomment] 270 | /* 2 entryname position in filename | ^ ./unarj.h:271:1: warning: '/*' within block comment [-Wcomment] 271 | /* 2 file access mode | ^ ./unarj.h:272:1: warning: '/*' within block comment [-Wcomment] 272 | /* 2 host data | ^ ./unarj.h:273:1: warning: '/*' within block comment [-Wcomment] 273 | /* ? extra data | ^ ./unarj.h:274:1: warning: '/*' within block comment [-Wcomment] 274 | /* 4 bytes for extended file position | ^ ./unarj.h:275:1: warning: '/*' within block comment [-Wcomment] 275 | /* | ^ ./unarj.h:276:1: warning: '/*' within block comment [-Wcomment] 276 | /* ? filename (null-terminated) | ^ ./unarj.h:277:1: warning: '/*' within block comment [-Wcomment] 277 | /* ? comment (null-terminated) | ^ ./unarj.h:278:1: warning: '/*' within block comment [-Wcomment] 278 | /* | ^ ./unarj.h:279:1: warning: '/*' within block comment [-Wcomment] 279 | /* 4 basic header CRC | ^ ./unarj.h:280:1: warning: '/*' within block comment [-Wcomment] 280 | /* | ^ ./unarj.h:281:1: warning: '/*' within block comment [-Wcomment] 281 | /* 2 1st extended header size (0 if none) | ^ ./unarj.h:282:1: warning: '/*' within block comment [-Wcomment] 282 | /* ? 1st extended header | ^ ./unarj.h:283:1: warning: '/*' within block comment [-Wcomment] 283 | /* 4 1st extended header's CRC | ^ ./unarj.h:284:1: warning: '/*' within block comment [-Wcomment] 284 | /* ... | ^ ./unarj.h:285:1: warning: '/*' within block comment [-Wcomment] 285 | /* ? compressed file | ^ ./unarj.h:286:1: warning: '/*' within block comment [-Wcomment] 286 | /* | ^ ./unarj.h:287:1: warning: '/*' within block comment [-Wcomment] 287 | /* ********************************************************* */ | ^ decode.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | make_table(nchar, bitlen, tablebits, table, tablesize) | ^ decode.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | read_pt_len(nn, nbit, i_special) | ^ 85 warnings generated. cc -O2 -pipe -DUNIX -c environ.c In file included from environ.c:37: ./unarj.h:205:1: warning: '/*' within block comment [-Wcomment] 205 | /* Structure of archive main header (low order byte first): | ^ ./unarj.h:206:1: warning: '/*' within block comment [-Wcomment] 206 | /* | ^ ./unarj.h:207:1: warning: '/*' within block comment [-Wcomment] 207 | /* 2 header id (comment and local file) = 0x60, 0xEA | ^ ./unarj.h:208:1: warning: '/*' within block comment [-Wcomment] 208 | /* 2 basic header size (from 'first_hdr_size' thru 'comment' below) | ^ ./unarj.h:209:1: warning: '/*' within block comment [-Wcomment] 209 | /* = first_hdr_size + strlen(filename) + 1 + strlen(comment) + 1 | ^ ./unarj.h:210:1: warning: '/*' within block comment [-Wcomment] 210 | /* = 0 if end of archive | ^ ./unarj.h:211:1: warning: '/*' within block comment [-Wcomment] 211 | /* | ^ ./unarj.h:212:1: warning: '/*' within block comment [-Wcomment] 212 | /* 1 first_hdr_size (size up to 'extra data') | ^ ./unarj.h:213:1: warning: '/*' within block comment [-Wcomment] 213 | /* 1 archiver version number | ^ ./unarj.h:214:1: warning: '/*' within block comment [-Wcomment] 214 | /* 1 minimum archiver version to extract | ^ ./unarj.h:215:1: warning: '/*' within block comment [-Wcomment] 215 | /* 1 host OS (0 = MSDOS, 1 = PRIMOS, 2 = UNIX, 3 = AMIGA, 4 = MACDOS) | ^ ./unarj.h:216:1: warning: '/*' within block comment [-Wcomment] 216 | /* (5 = OS/2, 6 = APPLE GS, 7 = ATARI ST, 8 = NEXT) | ^ ./unarj.h:217:1: warning: '/*' within block comment [-Wcomment] 217 | /* (9 = VAX VMS) | ^ ./unarj.h:218:1: warning: '/*' within block comment [-Wcomment] 218 | /* 1 arj flags (0x01 = GARBLED_FLAG, 0x02 = OLD_SECURED_FLAG) | ^ ./unarj.h:219:1: warning: '/*' within block comment [-Wcomment] 219 | /* (0x04 = VOLUME_FLAG, 0x08 = EXTFILE_FLAG) | ^ ./unarj.h:220:1: warning: '/*' within block comment [-Wcomment] 220 | /* (0x10 = PATHSYM_FLAG, 0x20 = BACKUP_FLAG) | ^ ./unarj.h:221:1: warning: '/*' within block comment [-Wcomment] 221 | /* (0x40 = SECURED_FLAG) | ^ ./unarj.h:222:1: warning: '/*' within block comment [-Wcomment] 222 | /* 1 arj security version (2 = current) | ^ ./unarj.h:223:1: warning: '/*' within block comment [-Wcomment] 223 | /* 1 file type (2 = comment header) | ^ ./unarj.h:224:1: warning: '/*' within block comment [-Wcomment] 224 | /* 1 ? ] | ^ ./unarj.h:225:1: warning: '/*' within block comment [-Wcomment] 225 | /* 4 date time stamp created | ^ ./unarj.h:226:1: warning: '/*' within block comment [-Wcomment] 226 | /* 4 date time stamp modified | ^ ./unarj.h:227:1: warning: '/*' within block comment [-Wcomment] 227 | /* 4 archive size up to the end of archive marker | ^ ./unarj.h:228:1: warning: '/*' within block comment [-Wcomment] 228 | /* 4 file position of security envelope data | ^ ./unarj.h:229:1: warning: '/*' within block comment [-Wcomment] 229 | /* 2 entryname position in filename | ^ ./unarj.h:230:1: warning: '/*' within block comment [-Wcomment] 230 | /* 2 length in bytes of trailing security data | ^ ./unarj.h:231:1: warning: '/*' within block comment [-Wcomment] 231 | /* 2 host data | ^ ./unarj.h:232:1: warning: '/*' within block comment [-Wcomment] 232 | /* ? extra data | ^ ./unarj.h:233:1: warning: '/*' within block comment [-Wcomment] 233 | /* | ^ ./unarj.h:234:1: warning: '/*' within block comment [-Wcomment] 234 | /* ? archive filename (null-terminated) | ^ ./unarj.h:235:1: warning: '/*' within block comment [-Wcomment] 235 | /* ? archive comment (null-terminated) | ^ ./unarj.h:236:1: warning: '/*' within block comment [-Wcomment] 236 | /* | ^ ./unarj.h:237:1: warning: '/*' within block comment [-Wcomment] 237 | /* 4 basic header CRC | ^ ./unarj.h:238:1: warning: '/*' within block comment [-Wcomment] 238 | /* | ^ ./unarj.h:239:1: warning: '/*' within block comment [-Wcomment] 239 | /* 2 1st extended header size (0 if none) | ^ ./unarj.h:240:1: warning: '/*' within block comment [-Wcomment] 240 | /* ? 1st extended header | ^ ./unarj.h:241:1: warning: '/*' within block comment [-Wcomment] 241 | /* 4 1st extended header's CRC | ^ ./unarj.h:242:1: warning: '/*' within block comment [-Wcomment] 242 | /* ... | ^ ./unarj.h:243:1: warning: '/*' within block comment [-Wcomment] 243 | /* | ^ ./unarj.h:244:1: warning: '/*' within block comment [-Wcomment] 244 | /* | ^ ./unarj.h:245:1: warning: '/*' within block comment [-Wcomment] 245 | /* Structure of archive file header (low order byte first): | ^ ./unarj.h:246:1: warning: '/*' within block comment [-Wcomment] 246 | /* | ^ ./unarj.h:247:1: warning: '/*' within block comment [-Wcomment] 247 | /* 2 header id (comment and local file) = 0x60, 0xEA | ^ ./unarj.h:248:1: warning: '/*' within block comment [-Wcomment] 248 | /* 2 basic header size (from 'first_hdr_size' thru 'comment' below) | ^ ./unarj.h:249:1: warning: '/*' within block comment [-Wcomment] 249 | /* = first_hdr_size + strlen(filename) + 1 + strlen(comment) + 1 | ^ ./unarj.h:250:1: warning: '/*' within block comment [-Wcomment] 250 | /* = 0 if end of archive | ^ ./unarj.h:251:1: warning: '/*' within block comment [-Wcomment] 251 | /* | ^ ./unarj.h:252:1: warning: '/*' within block comment [-Wcomment] 252 | /* 1 first_hdr_size (size up to 'extra data') | ^ ./unarj.h:253:1: warning: '/*' within block comment [-Wcomment] 253 | /* 1 archiver version number | ^ ./unarj.h:254:1: warning: '/*' within block comment [-Wcomment] 254 | /* 1 minimum archiver version to extract | ^ ./unarj.h:255:1: warning: '/*' within block comment [-Wcomment] 255 | /* 1 host OS (0 = MSDOS, 1 = PRIMOS, 2 = UNIX, 3 = AMIGA, 4 = MACDOS) | ^ ./unarj.h:256:1: warning: '/*' within block comment [-Wcomment] 256 | /* (5 = OS/2, 6 = APPLE GS, 7 = ATARI ST, 8 = NEXT) | ^ ./unarj.h:257:1: warning: '/*' within block comment [-Wcomment] 257 | /* (9 = VAX VMS) | ^ ./unarj.h:258:1: warning: '/*' within block comment [-Wcomment] 258 | /* 1 arj flags (0x01 = GARBLED_FLAG, 0x02 = NOT USED) | ^ ./unarj.h:259:1: warning: '/*' within block comment [-Wcomment] 259 | /* (0x04 = VOLUME_FLAG, 0x08 = EXTFILE_FLAG) | ^ ./unarj.h:260:1: warning: '/*' within block comment [-Wcomment] 260 | /* (0x10 = PATHSYM_FLAG, 0x20 = BACKUP_FLAG) | ^ ./unarj.h:261:1: warning: '/*' within block comment [-Wcomment] 261 | /* (0x40 = NOT USED) | ^ ./unarj.h:262:1: warning: '/*' within block comment [-Wcomment] 262 | /* 1 method (0 = stored, 1 = compressed most ... 4 compressed fastest) | ^ ./unarj.h:263:1: warning: '/*' within block comment [-Wcomment] 263 | /* 1 file type (0 = binary, 1 = text, 2 = comment header, 3 = directory) | ^ ./unarj.h:264:1: warning: '/*' within block comment [-Wcomment] 264 | /* (4 = label) | ^ ./unarj.h:265:1: warning: '/*' within block comment [-Wcomment] 265 | /* 1 garble password modifier | ^ ./unarj.h:266:1: warning: '/*' within block comment [-Wcomment] 266 | /* 4 date time stamp modified | ^ ./unarj.h:267:1: warning: '/*' within block comment [-Wcomment] 267 | /* 4 compressed size | ^ ./unarj.h:268:1: warning: '/*' within block comment [-Wcomment] 268 | /* 4 original size | ^ ./unarj.h:269:1: warning: '/*' within block comment [-Wcomment] 269 | /* 4 original file's CRC | ^ ./unarj.h:270:1: warning: '/*' within block comment [-Wcomment] 270 | /* 2 entryname position in filename | ^ ./unarj.h:271:1: warning: '/*' within block comment [-Wcomment] 271 | /* 2 file access mode | ^ ./unarj.h:272:1: warning: '/*' within block comment [-Wcomment] 272 | /* 2 host data | ^ ./unarj.h:273:1: warning: '/*' within block comment [-Wcomment] 273 | /* ? extra data | ^ ./unarj.h:274:1: warning: '/*' within block comment [-Wcomment] 274 | /* 4 bytes for extended file position | ^ ./unarj.h:275:1: warning: '/*' within block comment [-Wcomment] 275 | /* | ^ ./unarj.h:276:1: warning: '/*' within block comment [-Wcomment] 276 | /* ? filename (null-terminated) | ^ ./unarj.h:277:1: warning: '/*' within block comment [-Wcomment] 277 | /* ? comment (null-terminated) | ^ ./unarj.h:278:1: warning: '/*' within block comment [-Wcomment] 278 | /* | ^ ./unarj.h:279:1: warning: '/*' within block comment [-Wcomment] 279 | /* 4 basic header CRC | ^ ./unarj.h:280:1: warning: '/*' within block comment [-Wcomment] 280 | /* | ^ ./unarj.h:281:1: warning: '/*' within block comment [-Wcomment] 281 | /* 2 1st extended header size (0 if none) | ^ ./unarj.h:282:1: warning: '/*' within block comment [-Wcomment] 282 | /* ? 1st extended header | ^ ./unarj.h:283:1: warning: '/*' within block comment [-Wcomment] 283 | /* 4 1st extended header's CRC | ^ ./unarj.h:284:1: warning: '/*' within block comment [-Wcomment] 284 | /* ... | ^ ./unarj.h:285:1: warning: '/*' within block comment [-Wcomment] 285 | /* ? compressed file | ^ ./unarj.h:286:1: warning: '/*' within block comment [-Wcomment] 286 | /* | ^ ./unarj.h:287:1: warning: '/*' within block comment [-Wcomment] 287 | /* ********************************************************* */ | ^ environ.c:445:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 445 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ environ.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | file_open(name, mode) | ^ environ.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | file_read(buf, size, nitems, stream) | ^ environ.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | file_seek(stream, offset, mode) | ^ environ.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | file_tell(stream) | ^ environ.c:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | file_write(buf, size, nitems, stream) | ^ environ.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | xmalloc(size) | ^ environ.c:498:27: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | return (voidp *)malloc((uint) size); | ^ environ.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | case_path(name) | ^ environ.c:505:5: warning: expression result unused [-Wunused-value] 505 | (char *) name; | ^ ~~~~ environ.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | default_case_path(name) | ^ environ.c:516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | file_exists(name) | ^ environ.c:528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | get_mode_str(str, mode) | ^ environ.c:544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | gettz(stamp) /* returns the offset from GMT in seconds */ | ^ environ.c:569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | mstonix(tstamp) | ^ environ.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | set_ftime_mode(name, tstamp, attribute, host) | ^ environ.c:630:12: warning: call to undeclared function 'utime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 630 | return utime(name, &tb); | ^ environ.c:619:5: warning: expression result unused [-Wunused-value] 619 | (char *) name; | ^ ~~~~ environ.c:620:5: warning: expression result unused [-Wunused-value] 620 | (uint) attribute; | ^ ~~~~~~~~~ environ.c:621:5: warning: expression result unused [-Wunused-value] 621 | (uint) host; | ^ ~~~~ 103 warnings generated. cc unarj.o decode.o environ.o -o unarj ld: warning: unarj.c(unarj.o:(main)): warning: strcat() is almost always misused, please use strlcat() ld: warning: unarj.c(unarj.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: unarj.c(unarj.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() >>> Running package in archivers/unarj at 1764613861.43 ===> archivers/unarj ===> Faking installation for unarj-2.43p3 /exopi-obj/pobj/unarj-2.43/bin/install -d -m 755 /exopi-obj/pobj/unarj-2.43/fake-amd64/usr/local/share/doc/unarj cd /exopi-obj/pobj/unarj-2.43/unarj-2.43; /exopi-obj/pobj/unarj-2.43/bin/install -c -s -m 755 unarj /exopi-obj/pobj/unarj-2.43/fake-amd64/usr/local/bin cd /exopi-obj/pobj/unarj-2.43/unarj-2.43; /exopi-obj/pobj/unarj-2.43/bin/install -c -m 644 unarj.doc technote.doc /exopi-obj/pobj/unarj-2.43/fake-amd64/usr/local/share/doc/unarj ===> Building package for unarj-2.43p3 Create /exopi-cvs/ports/packages/amd64/all/unarj-2.43p3.tgz Creating package unarj-2.43p3 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|***** | 8% checksumming|********** | 17% checksumming|*************** | 25% checksumming|******************** | 33% checksumming|************************* | 42% checksumming|******************************* | 50% checksumming|************************************ | 58% checksumming|***************************************** | 67% checksumming|********************************************** | 75% checksumming|*************************************************** | 83% checksumming|******************************************************** | 92% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving| | 1% archiving|************************************** | 59% archiving|************************************************** | 78% archiving|****************************************************************|100% >>> Running clean in archivers/unarj at 1764613862.91 ===> archivers/unarj ===> Cleaning for unarj-2.43p3 >>> Ended at 1764613863.16 max_stuck=0.00/build=1.71/package=1.48/clean=0.27