+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dmsdos-0.9.2.3pre2alt2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dmsdos-0.9.2.3pre2alt2/work.log ===> Building for dmsdos-0.9.2.3pre2alt2 cd /home/pbulk/build/sysutils/dmsdos/work/dmsdos-0.9.2.3-pre2-alt2/src && gcc -D__DMSDOS_LIB__ mcdmsdos.c dblspace_dec.c lib_interface.c dblspace_interface.c dblspace_chk.c dblspace_tables.c dstacker_alloc.c dblspace_alloc.c dblspace_compr.c dstacker_compr.c dstacker_dec.c dblspace_methsq.c -o mcdmsdos dblspace_dec.c:84:2: warning: #warning USE_GNU_ASM_I386 not defined, using "C" equivalent [-Wcpp] 84 | #warning USE_GNU_ASM_I386 not defined, using "C" equivalent | ^~~~~~~ lib_interface.c: In function 'panic': lib_interface.c:104:3: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 104 | exit(1); | ^~~~ lib_interface.c:76:1: note: include '' or provide a declaration of 'exit' 75 | #include +++ |+#include 76 | int printk(const char *fmt, ...) lib_interface.c:104:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 104 | exit(1); | ^~~~ lib_interface.c:104:3: note: include '' or provide a declaration of 'exit' lib_interface.c: In function 'raw_bread': lib_interface.c:140:6: error: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration] 140 | if(lseek(fd,block*512,SEEK_SET)<0) | ^~~~~ | fseek lib_interface.c:159:6: error: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 159 | if(read(fd,bh->b_data,512)>=0)return bh; | ^~~~ | fread lib_interface.c: In function 'raw_mark_buffer_dirty': lib_interface.c:217:6: error: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 217 | if(write(fd,bh->b_data,512)<0) | ^~~~~ | fwrite lib_interface.c: In function 'open_cvf': lib_interface.c:692:5: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 692 | close(fd); | ^~~~~ | pclose dblspace_chk.c: In function 'stac_bitfat_state': dblspace_chk.c:98:7: error: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration] 98 | if(!memcmp(pp,bitfat_up_to_date_fl,sizeof(bitfat_up_to_date_fl))) | ^~~~~~ dblspace_chk.c:55:1: note: include '' or provide a declaration of 'memcmp' 54 | #include +++ |+#include 55 | #endif dblspace_chk.c:108:7: error: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 108 | memcpy(pp,bitfat_up_to_date_fl,sizeof(bitfat_up_to_date_fl)); | ^~~~~~ dblspace_chk.c:108:7: note: include '' or provide a declaration of 'memcpy' dblspace_chk.c:108:7: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] dblspace_chk.c:108:7: note: include '' or provide a declaration of 'memcpy' dblspace_chk.c:110:7: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 110 | memcpy(pp,bitfat_changing_fl,sizeof(bitfat_changing_fl)); | ^~~~~~ dblspace_chk.c:110:7: note: include '' or provide a declaration of 'memcpy' dblspace_chk.c:111:10: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 111 | else memcpy(pp,bitfat_bad_fl,sizeof(bitfat_bad_fl)); | ^~~~~~ dblspace_chk.c:111:10: note: include '' or provide a declaration of 'memcpy' dblspace_tables.c: In function 'dbl_mdfat_value': dblspace_tables.c:336:11: error: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 336 | memcpy(bh->b_data,mdfat[merk_i].a_buffer->b_data,SECTOR_SIZE); | ^~~~~~ dblspace_tables.c:58:1: note: include '' or provide a declaration of 'memcpy' 57 | #include +++ |+#include 58 | #endif dblspace_tables.c:336:11: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 336 | memcpy(bh->b_data,mdfat[merk_i].a_buffer->b_data,SECTOR_SIZE); | ^~~~~~ dblspace_tables.c:336:11: note: include '' or provide a declaration of 'memcpy' dblspace_tables.c: In function 'dbl_fat_nextcluster': dblspace_tables.c:535:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 535 | memcpy(bh->b_data,dfat[merk_i].a_buffer->b_data,SECTOR_SIZE); | ^~~~~~ dblspace_tables.c:535:9: note: include '' or provide a declaration of 'memcpy' dblspace_alloc.c: In function 'dbl_replace_existing_cluster': dblspace_alloc.c:605:11: error: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 605 | memcpy(fraglist,bh->b_data,4*(fragcount+1)); | ^~~~~~ dblspace_alloc.c:45:1: note: include '' or provide a declaration of 'memcpy' 44 | #include +++ |+#include 45 | #endif dblspace_alloc.c:605:11: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 605 | memcpy(fraglist,bh->b_data,4*(fragcount+1)); | ^~~~~~ dblspace_alloc.c:605:11: note: include '' or provide a declaration of 'memcpy' dblspace_compr.c: In function 'write_fragmented': dblspace_compr.c:395:9: error: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 395 | memcpy(bh->b_data,fraglist,4*(frags+1)); | ^~~~~~ dblspace_compr.c:60:1: note: include '' or provide a declaration of 'memcpy' 59 | #include +++ |+#include 60 | #endif dblspace_compr.c:395:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 395 | memcpy(bh->b_data,fraglist,4*(frags+1)); | ^~~~~~ dblspace_compr.c:395:9: note: include '' or provide a declaration of 'memcpy' dblspace_compr.c:406:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 406 | memcpy(bh->b_data,clusterk,c); | ^~~~~~ dblspace_compr.c:406:9: note: include '' or provide a declaration of 'memcpy' dblspace_compr.c: In function 'dbl_write_cluster': dblspace_compr.c:603:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 603 | memcpy(bh->b_data,&(clusterk[SECTOR_SIZE*i]),SECTOR_SIZE); | ^~~~~~ dblspace_compr.c:603:9: note: include '' or provide a declaration of 'memcpy' dstacker_compr.c:116:2: warning: #warning USE_GNU_ASM_I386 not defined, using "C" equivalent [-Wcpp] 116 | #warning USE_GNU_ASM_I386 not defined, using "C" equivalent | ^~~~~~~ dstacker_compr.c: In function 'sd4_newhash': dstacker_compr.c:231:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 231 | *(hash_hist+((unsigned)p&hash_mask))=hash_cur; | ^ dstacker_compr.c: In function 'sd4_complz': dstacker_compr.c:319:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 319 | }while(--try_cn&&((hash_cur=hash_hist[(unsigned)pc&hash_mask])=0x8000u) {TKWR_CHRS(po,0x8000u);cn-=0x8000u;}; | ^~~~~~~~~ dstacker_compr.c:142:44: error: assignment to '__u8 *' {aka 'unsigned char *'} from incompatible pointer type '__u16 *' {aka 'short unsigned int *'} [-Wincompatible-pointer-types] 142 | #define C_ST_u16(p,v) {put_unaligned(v,p);p=(__u16*)p+1;} | ^ dstacker_compr.c:181:49: note: in expansion of macro 'C_ST_u16' 181 | else {*(p++)=TK_CHRS+15;C_ST_u16(p,v);};} | ^~~~~~~~ dstacker_compr.c:421:20: note: in expansion of macro 'TKWR_CHRS' 421 | if(cn>=0x8000u) {TKWR_CHRS(po,0x8000u);cn-=0x8000u;}; | ^~~~~~~~~ dstacker_compr.c:142:44: error: assignment to '__u8 *' {aka 'unsigned char *'} from incompatible pointer type '__u16 *' {aka 'short unsigned int *'} [-Wincompatible-pointer-types] 142 | #define C_ST_u16(p,v) {put_unaligned(v,p);p=(__u16*)p+1;} | ^ dstacker_compr.c:181:49: note: in expansion of macro 'C_ST_u16' 181 | else {*(p++)=TK_CHRS+15;C_ST_u16(p,v);};} | ^~~~~~~~ dstacker_compr.c:422:3: note: in expansion of macro 'TKWR_CHRS' 422 | TKWR_CHRS(po,cn); | ^~~~~~~~~ dstacker_compr.c: In function 'sd4_comp': dstacker_compr.c:143:44: error: assignment to '__u8 *' {aka 'unsigned char *'} from incompatible pointer type '__u16 *' {aka 'short unsigned int *'} [-Wincompatible-pointer-types] 143 | #define C_LD_u16(p,v) {v=get_unaligned(p);p=(__u16*)p+1;} | ^ dstacker_compr.c:718:7: note: in expansion of macro 'C_LD_u16' 718 | C_LD_u16(lz_pos,u); | ^~~~~~~~ dstacker_compr.c:143:44: error: assignment to '__u8 *' {aka 'unsigned char *'} from incompatible pointer type '__u16 *' {aka 'short unsigned int *'} [-Wincompatible-pointer-types] 143 | #define C_LD_u16(p,v) {v=get_unaligned(p);p=(__u16*)p+1;} | ^ dstacker_compr.c:736:8: note: in expansion of macro 'C_LD_u16' 736 | C_LD_u16(lz_pos,u); | ^~~~~~~~ dstacker_compr.c:143:44: error: assignment to '__u8 *' {aka 'unsigned char *'} from incompatible pointer type '__u16 *' {aka 'short unsigned int *'} [-Wincompatible-pointer-types] 143 | #define C_LD_u16(p,v) {v=get_unaligned(p);p=(__u16*)p+1;} | ^ dstacker_compr.c:742:7: note: in expansion of macro 'C_LD_u16' 742 | C_LD_u16(lz_pos,u); u++; /* history offset */ | ^~~~~~~~ dstacker_compr.c:143:44: error: assignment to '__u8 *' {aka 'unsigned char *'} from incompatible pointer type '__u16 *' {aka 'short unsigned int *'} [-Wincompatible-pointer-types] 143 | #define C_LD_u16(p,v) {v=get_unaligned(p);p=(__u16*)p+1;} | ^ dstacker_compr.c:751:8: note: in expansion of macro 'C_LD_u16' 751 | C_LD_u16(lz_pos,u); /* repeat count */ | ^~~~~~~~ dstacker_compr.c: In function 'sd3_newhash': dstacker_compr.c:825:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 825 | *(hash_hist+((unsigned)p&hash_mask))=hash_cur; | ^ dstacker_compr.c: In function 'sd3_comp': dstacker_compr.c:887:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 887 | }while(--try_cn&&((hash_cur=hash_hist[(unsigned)pc&hash_mask])=0x8000u) {TKWR_CHRS(po,0x8000u);cn-=0x8000u;}; | ^~~~~~~~~ dblspace_methsq.c:72:44: error: assignment to '__u8 *' {aka 'unsigned char *'} from incompatible pointer type '__u16 *' {aka 'short unsigned int *'} [-Wincompatible-pointer-types] 72 | #define C_ST_u16(p,v) {put_unaligned(v,p);p=(__u16*)p+1;} | ^ dblspace_methsq.c:797:49: note: in expansion of macro 'C_ST_u16' 797 | else {*(p++)=TK_CHRS+15;C_ST_u16(p,v);};} | ^~~~~~~~ dblspace_methsq.c:1009:20: note: in expansion of macro 'TKWR_CHRS' 1009 | if(cn>=0x8000u) {TKWR_CHRS(po,0x8000u);cn-=0x8000u;}; | ^~~~~~~~~ dblspace_methsq.c:72:44: error: assignment to '__u8 *' {aka 'unsigned char *'} from incompatible pointer type '__u16 *' {aka 'short unsigned int *'} [-Wincompatible-pointer-types] 72 | #define C_ST_u16(p,v) {put_unaligned(v,p);p=(__u16*)p+1;} | ^ dblspace_methsq.c:797:49: note: in expansion of macro 'C_ST_u16' 797 | else {*(p++)=TK_CHRS+15;C_ST_u16(p,v);};} | ^~~~~~~~ dblspace_methsq.c:1010:3: note: in expansion of macro 'TKWR_CHRS' 1010 | TKWR_CHRS(po,cn); | ^~~~~~~~~ dblspace_methsq.c: In function 'sq_comp': dblspace_methsq.c:73:44: error: assignment to '__u8 *' {aka 'unsigned char *'} from incompatible pointer type '__u16 *' {aka 'short unsigned int *'} [-Wincompatible-pointer-types] 73 | #define C_LD_u16(p,v) {v=get_unaligned(p);p=(__u16*)p+1;} | ^ dblspace_methsq.c:1222:17: note: in expansion of macro 'C_LD_u16' 1222 | if(len==15) C_LD_u16(lz_pos,len); | ^~~~~~~~ dblspace_methsq.c:73:44: error: assignment to '__u8 *' {aka 'unsigned char *'} from incompatible pointer type '__u16 *' {aka 'short unsigned int *'} [-Wincompatible-pointer-types] 73 | #define C_LD_u16(p,v) {v=get_unaligned(p);p=(__u16*)p+1;} | ^ dblspace_methsq.c:1239:13: note: in expansion of macro 'C_LD_u16' 1239 | else { C_LD_u16(lz_pos,len);sq_wrn(&bits,len,sqt_offbln[cod]);}; | ^~~~~~~~ *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/dmsdos *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/dmsdos