>>> Building on exopi-6 under misc/buffer BDEPENDS = [archivers/bzip2] DIST = [misc/buffer:buffer-1.17.1.tar.bz2] FULLPKGNAME = buffer-1.17.1p1 Avoided depends for bzip2-1.0.8p0 distfiles size=16096 >>> Running build in misc/buffer at 1735132945.29 ===> misc/buffer ===> Building from scratch buffer-1.17.1p1 ===> buffer-1.17.1p1 depends on: bzip2-* -> bzip2-1.0.8p0 ===> Verifying specs: c ===> found c.100.3 ===> Checking files for buffer-1.17.1p1 `/exopi-cvs/ports/distfiles/buffer-1.17.1.tar.bz2' is up to date. >> (SHA256) all files: OK ===> Extracting for buffer-1.17.1p1 ===> Patching for buffer-1.17.1p1 ===> Applying OpenBSD patch patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Makefile.orig Sat Oct 30 10:51:23 1999 |+++ Makefile Fri Jun 25 00:12:47 2004 -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 23. done ===> Applying OpenBSD patch patch-buffer_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: buffer.c |--- buffer.c.orig |+++ buffer.c -------------------------- Patching file buffer.c using Plan A... Hunk #1 succeeded at 118. Hunk #2 succeeded at 170. Hunk #3 succeeded at 187. Hunk #4 succeeded at 450. Hunk #5 succeeded at 493. Hunk #6 succeeded at 537. Hunk #7 succeeded at 601. Hunk #8 succeeded at 614. Hunk #9 succeeded at 640. Hunk #10 succeeded at 651. Hunk #11 succeeded at 706. Hunk #12 succeeded at 723. Hunk #13 succeeded at 743. Hunk #14 succeeded at 754. done ===> Applying OpenBSD patch patch-sem_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sem.c.orig Wed Jul 14 17:59:18 1993 |+++ sem.c Thu Apr 13 23:20:09 2017 -------------------------- Patching file sem.c using Plan A... Hunk #1 succeeded at 26. Hunk #2 succeeded at 95. 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 buffer-1.17.1p1 ===> Configuring for buffer-1.17.1p1 ===> Building for buffer-1.17.1p1 cc -O2 -pipe -c buffer.c buffer.c:217:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main( argc, argv ) ^ int buffer.c:221:2: warning: call to undeclared function 'parse_args'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] parse_args( argc, argv ); ^ buffer.c:223:2: warning: call to undeclared function 'set_handlers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] set_handlers(); ^ buffer.c:225:2: warning: call to undeclared function 'buffer_allocate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] buffer_allocate(); ^ buffer.c:229:6: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee( 0 ); ^ buffer.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main( argc, argv ) ^ buffer.c:232:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] parse_args( argc, argv ) ^ int buffer.c:263:5: warning: call to undeclared function 'report_proc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] report_proc(); ^ buffer.c:265:9: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee( -1 ); ^ buffer.c:268:5: warning: call to undeclared function 'report_proc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] report_proc(); ^ buffer.c:271:10: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee ( -1 ); ^ buffer.c:277:5: warning: call to undeclared function 'report_proc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] report_proc(); ^ buffer.c:279:9: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee( -1 ); ^ buffer.c:282:5: warning: call to undeclared function 'report_proc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] report_proc(); ^ buffer.c:285:10: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee ( -1 ); ^ buffer.c:290:16: warning: call to undeclared function 'do_size'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] showevery = do_size( optarg ); ^ buffer.c:308:9: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee( -1 ); ^ buffer.c:317:9: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee( -1 ); ^ buffer.c:325:9: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee( -1 ); ^ buffer.c:338:9: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee( -1 ); ^ buffer.c:355:8: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee( -1 ); ^ buffer.c:366:8: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee( -1 ); ^ buffer.c:370:8: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee( -1 ); ^ buffer.c:376:3: warning: call to undeclared function 'report_proc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] report_proc(); ^ buffer.c:378:7: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee( -1 ); ^ buffer.c:382:3: warning: call to undeclared function 'report_proc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] report_proc(); ^ buffer.c:384:7: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee( -1 ); ^ buffer.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_args( argc, argv ) ^ buffer.c:387:1: warning: non-void function does not return a value [-Wreturn-type] } ^ buffer.c:403:6: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee( -1 ); ^ buffer.c:424:8: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee( 0 ); ^ buffer.c:429:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] set_handlers() ^ int buffer.c:445:1: warning: non-void function does not return a value [-Wreturn-type] } ^ buffer.c:447:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] buffer_allocate() ^ int buffer.c:460:3: warning: call to undeclared function 'report_proc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] report_proc(); ^ buffer.c:462:7: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee( -1 ); ^ buffer.c:465:2: warning: call to undeclared function 'get_buffer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] get_buffer(); ^ buffer.c:470:4: warning: format specifies type 'unsigned int' but the argument has type 'char *' [-Wformat] (char *)pbuffer, buffer_size, blocks, blocksize ); ^~~~~~~~~~~~~~~ buffer.c:481:19: warning: call to undeclared function 'new_sems'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] pbuffer->semid = new_sems( 2 ); /* Get a read and a write sem */ ^ buffer.c:484:2: warning: call to undeclared function 'lock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] lock( pbuffer->semid, pbuffer->blocks_used_lock ); ^ buffer.c:489:2: warning: call to undeclared function 'sem_set'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] sem_set( pbuffer->semid, pbuffer->blocks_free_lock, blocks - 1 ); ^ buffer.c:494:1: warning: non-void function does not return a value [-Wreturn-type] } ^ buffer.c:514:3: warning: call to undeclared function 'get_buffer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] get_buffer(); ^ buffer.c:518:2: warning: call to undeclared function 'remove_sems'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] remove_sems( pbuffer->semid ); ^ buffer.c:521:3: warning: call to undeclared function 'report_proc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] report_proc(); ^ buffer.c:526:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] get_buffer() ^ int buffer.c:533:3: warning: call to undeclared function 'report_proc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] report_proc(); ^ buffer.c:535:7: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee( -1 ); ^ buffer.c:548:1: warning: non-void function does not return a value [-Wreturn-type] } ^ buffer.c:557:3: warning: call to undeclared function 'report_proc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] report_proc(); ^ buffer.c:559:7: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee( -1 ); ^ buffer.c:569:3: warning: call to undeclared function 'writer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] writer(); ^ buffer.c:573:3: warning: call to undeclared function 'reader'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] reader(); ^ buffer.c:575:3: warning: call to undeclared function 'wait_for_writer_end'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] wait_for_writer_end(); ^ buffer.c:580:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] reader() ^ int buffer.c:588:3: warning: call to undeclared function 'get_next_free_block'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] get_next_free_block(); ^ buffer.c:589:9: warning: call to undeclared function 'fill_block'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if( ! fill_block() ) ^ buffer.c:595:1: warning: non-void function does not return a value [-Wreturn-type] } ^ buffer.c:597:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] get_next_free_block() ^ int buffer.c:599:2: warning: call to undeclared function 'test_writer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] test_writer(); ^ buffer.c:602:2: warning: call to undeclared function 'lock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] lock( pbuffer->semid, pbuffer->blocks_free_lock ); ^ buffer.c:607:1: warning: non-void function does not return a value [-Wreturn-type] } ^ buffer.c:609:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fill_block() ^ int buffer.c:618:3: warning: call to undeclared function 'unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unlock( pbuffer->semid, pbuffer->blocks_used_lock ); ^ buffer.c:636:3: warning: call to undeclared function 'report_proc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] report_proc(); ^ buffer.c:638:7: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee( -1 ); ^ buffer.c:650:41: warning: format specifies type 'int' but the argument has type 'int *' [-Wformat] fprintf( stderr, "R: got %d bytes\n", curr_block->bytes ); ~~ ^~~~~~~~~~~~~~~~~ buffer.c:652:2: warning: call to undeclared function 'unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unlock( pbuffer->semid, pbuffer->blocks_used_lock ); ^ buffer.c:658:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] writer() ^ int buffer.c:674:3: warning: call to undeclared function 'get_next_filled_block'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] get_next_filled_block(); ^ buffer.c:675:8: warning: call to undeclared function 'data_to_write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if( !data_to_write() ) ^ buffer.c:684:4: warning: call to undeclared function 'write_blocks_to_stdout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] write_blocks_to_stdout( filled, first_block ); ^ buffer.c:689:2: warning: call to undeclared function 'write_blocks_to_stdout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] write_blocks_to_stdout( filled, first_block ); ^ buffer.c:692:3: warning: call to undeclared function 'pr_out'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] pr_out(); ^ buffer.c:702:1: warning: non-void function does not return a value [-Wreturn-type] } ^ buffer.c:704:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] get_next_filled_block() ^ int buffer.c:707:2: warning: call to undeclared function 'lock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] lock( pbuffer->semid, pbuffer->blocks_used_lock ); ^ buffer.c:712:1: warning: non-void function does not return a value [-Wreturn-type] } ^ buffer.c:714:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] data_to_write() ^ int buffer.c:719:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] write_blocks_to_stdout( filled, first_block ) ^ int buffer.c:728:3: warning: call to undeclared function 'write_block_to_stdout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] write_block_to_stdout(); ^ buffer.c:719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_blocks_to_stdout( filled, first_block ) ^ buffer.c:730:1: warning: non-void function does not return a value [-Wreturn-type] } ^ buffer.c:732:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] write_block_to_stdout() ^ int buffer.c:741:66: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] fprintf( stderr, "W: next_k = %lu showevery = %lu\n", next_k, showevery ); ~~~ ^~~~~~~~~ %d buffer.c:747:3: warning: call to undeclared function 'report_proc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] report_proc(); ^ buffer.c:749:83: warning: format specifies type 'int' but the argument has type 'int *' [-Wformat] fprintf( stderr, "bytes to write=%d, bytes written=%d, total written %10luK\n", curr_block->bytes, written, outk ); ~~ ^~~~~~~~~~~~~~~~~ buffer.c:750:7: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee( -1 ); ^ buffer.c:779:4: warning: call to undeclared function 'pr_out'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] pr_out(); ^ buffer.c:784:2: warning: call to undeclared function 'unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unlock( pbuffer->semid, pbuffer->blocks_free_lock ); ^ buffer.c:785:1: warning: non-void function does not return a value [-Wreturn-type] } ^ buffer.c:797:4: warning: call to undeclared function 'end_writer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] end_writer(); ^ buffer.c:799:3: warning: call to undeclared function 'wait_for_writer_end'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] wait_for_writer_end(); ^ buffer.c:789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee( exit_val ) ^ buffer.c:130:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void byee(); ^ buffer.c:819:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] end_writer() ^ int buffer.c:823:1: warning: non-void function does not return a value [-Wreturn-type] } ^ buffer.c:825:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] wait_for_writer_end() ^ int buffer.c:833:1: warning: non-void function does not return a value [-Wreturn-type] } ^ buffer.c:835:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] test_writer() ^ int buffer.c:842:1: warning: non-void function does not return a value [-Wreturn-type] } ^ buffer.c:850:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] do_size( arg ) ^ int buffer.c:850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer.c:877:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] pr_out() ^ int buffer.c:879:21: warning: flag ' ' results in undefined behavior with 'u' conversion specifier [-Wformat] fprintf( stderr, "% 10luK\r", outk ); ~^~~~~ buffer.c:880:1: warning: non-void function does not return a value [-Wreturn-type] } ^ buffer.c:912:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] report_proc() ^ int buffer.c:915:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 108 warnings generated. cc -O2 -pipe -c sem.c sem.c:73:7: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee( -1 ); ^ sem.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sem_set( sem_id, semn, val ) ^ sem.c:88:7: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee( -1 ); ^ sem.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new_sems( nsems ) ^ sem.c:114:8: warning: passing arguments to 'byee' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byee( -1 ); ^ sem.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_sem( sem_id, pbuf, err ) ^ sem.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lock( sem_id, semn ) ^ sem.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unlock( sem_id, semn ) ^ sem.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] remove_sems( sem_id ) ^ 9 warnings generated. cc -o buffer -O2 -pipe buffer.o sem.o >>> Running package in misc/buffer at 1735132946.91 ===> misc/buffer ===> Faking installation for buffer-1.17.1p1 /exopi-obj/pobj/buffer-1.17.1/bin/install -c -s -m 755 buffer /exopi-obj/pobj/buffer-1.17.1/fake-amd64/usr/local/bin/buffer /exopi-obj/pobj/buffer-1.17.1/bin/install -c -m 644 buffer.man /exopi-obj/pobj/buffer-1.17.1/fake-amd64/usr/local/man/man1/buffer.1 ===> Building package for buffer-1.17.1p1 Create /exopi-cvs/ports/packages/amd64/all/buffer-1.17.1p1.tgz Creating package buffer-1.17.1p1 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|****** | 10% checksumming|************ | 20% checksumming|****************** | 30% checksumming|************************ | 40% checksumming|******************************* | 50% checksumming|************************************* | 60% checksumming|******************************************* | 70% checksumming|************************************************* | 80% checksumming|******************************************************* | 90% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|** | 3% archiving|**************************************************** | 81% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/buffer-1.17.1p1.tgz >>> Running clean in misc/buffer at 1735132948.44 ===> misc/buffer ===> Cleaning for buffer-1.17.1p1 >>> Ended at 1735132948.83 max_stuck=0.00/build=1.62/package=1.53/clean=0.43