+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/fuse-lzofs-20060306nb2/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/fuse-lzofs-20060306nb2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for fuse-lzofs-20060306nb2 gcc -o lzo_fs LZOlayer_fs.c -g -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -Wall -D_FILE_OFFSET_BITS=64 -I/usr/pkg/include -fomit-frame-pointer -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lfuse -lz -llzo2 In file included from /home/pbulk/build/filesystems/fuse-lzofs/work/.buildlink/include/fuse/fuse.h:26:0, from /home/pbulk/build/filesystems/fuse-lzofs/work/.buildlink/include/fuse.h:9, from LZOlayer_fs.c:11: /home/pbulk/build/filesystems/fuse-lzofs/work/.buildlink/include/fuse/fuse_common.h:497:4: error: #error Compatibility with API version other than 21, 22, 24, 25 and 11 not supported # error Compatibility with API version other than 21, 22, 24, 25 and 11 not supported ^ LZOlayer_fs.c: In function 'LZOlayer_readdir': LZOlayer_fs.c:150:18: error: 'MAXPATHLEN' undeclared (first use in this function) char dpath[MAXPATHLEN+1]; ^ LZOlayer_fs.c:150:18: note: each undeclared identifier is reported only once for each function it appears in LZOlayer_fs.c:150:12: warning: unused variable 'dpath' [-Wunused-variable] char dpath[MAXPATHLEN+1]; ^ LZOlayer_fs.c: In function 'LZOlayer_packet_sync': LZOlayer_fs.c:303:35: warning: integer overflow in expression [-Woverflow] uLong cblocks = (256*256*256*256)-1; ^ LZOlayer_fs.c: At top level: LZOlayer_fs.c:616:3: error: unknown field 'readdir' specified in initializer .readdir = LZOlayer_readdir, ^ LZOlayer_fs.c:616:3: warning: initialization from incompatible pointer type [enabled by default] LZOlayer_fs.c:616:3: warning: (near initialization for 'LZOlayer_oper.mkdir') [enabled by default] LZOlayer_fs.c:617:3: warning: initialization from incompatible pointer type [enabled by default] .open = LZOlayer_open, ^ LZOlayer_fs.c:617:3: warning: (near initialization for 'LZOlayer_oper.open') [enabled by default] LZOlayer_fs.c:618:3: warning: initialization from incompatible pointer type [enabled by default] .release = LZOlayer_release, ^ LZOlayer_fs.c:618:3: warning: (near initialization for 'LZOlayer_oper.release') [enabled by default] LZOlayer_fs.c:619:3: warning: initialization from incompatible pointer type [enabled by default] .read = LZOlayer_read, ^ LZOlayer_fs.c:619:3: warning: (near initialization for 'LZOlayer_oper.read') [enabled by default] LZOlayer_fs.c:620:3: warning: initialization from incompatible pointer type [enabled by default] .write = LZOlayer_write, ^ LZOlayer_fs.c:620:3: warning: (near initialization for 'LZOlayer_oper.write') [enabled by default] LZOlayer_fs.c: In function 'main': LZOlayer_fs.c:733:3: error: void value not ignored as it ought to be return fuse_main(argc_new, argv_new, &LZOlayer_oper); ^ LZOlayer_fs.c: In function 'LZOlayer_release': LZOlayer_fs.c:337:12: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(filePtr->path, fuse_get_context()->uid, fuse_get_context()->gid); ^ LZOlayer_fs.c:342:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &filePtr->size, sizeof(off_t)); ^ LZOlayer_fs.c: In function 'LZOlayer_packet_sync': LZOlayer_fs.c:310:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &nblock_size, sizeof(off_t)); ^ LZOlayer_fs.c:311:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &cblock_size, sizeof(off_t)); ^ LZOlayer_fs.c:312:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, out, cblock_size); ^ LZOlayer_fs.c: In function 'LZOlayer_block_seek': LZOlayer_fs.c:110:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &nblock_size, sizeof(off_t)); ^ LZOlayer_fs.c:111:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &cblock_size, sizeof(off_t)); ^ LZOlayer_fs.c: In function 'LZOlayer_open': LZOlayer_fs.c:186:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &outLen, sizeof(off_t)); ^ LZOlayer_fs.c: In function 'LZOlayer_truncate': LZOlayer_fs.c:414:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &file_size, sizeof(off_t)); ^ LZOlayer_fs.c:423:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &size, sizeof(off_t)); ^ LZOlayer_fs.c:424:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &size, sizeof(off_t)); ^ LZOlayer_fs.c:425:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &size, sizeof(off_t)); ^ LZOlayer_fs.c:427:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fd, curr); ^ LZOlayer_fs.c:446:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &nblock_size, sizeof(off_t)); ^ LZOlayer_fs.c:447:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &cblock_size, sizeof(off_t)); ^ LZOlayer_fs.c:448:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, out, cblock_size); ^ LZOlayer_fs.c:451:14: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fd, curr_pos); ^ LZOlayer_fs.c:454:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &size, sizeof(off_t)); ^ LZOlayer_fs.c:489:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &nblock_size, sizeof(off_t)); ^ LZOlayer_fs.c:490:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &cblock_size, sizeof(off_t)); ^ LZOlayer_fs.c:491:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, out, cblock_size); ^ LZOlayer_fs.c:495:14: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fd, curr_pos); ^ LZOlayer_fs.c:498:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &size, sizeof(off_t)); ^ LZOlayer_fs.c: In function 'LZOlayer_chown': LZOlayer_fs.c:550:8: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(xPath, uid, gid); ^ LZOlayer_fs.c: In function 'LZOlayer_symlink': LZOlayer_fs.c:559:10: warning: ignoring return value of 'symlink', declared with attribute warn_unused_result [-Wunused-result] symlink(from, xTo); ^ LZOlayer_fs.c: In function 'LZOlayer_mkdir': LZOlayer_fs.c:523:8: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(xPath, fuse_get_context()->uid, fuse_get_context()->gid); ^ LZOlayer_fs.c: In function 'LZOlayer_mknod': LZOlayer_fs.c:395:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &null, sizeof(off_t)); ^ LZOlayer_fs.c:396:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &null, sizeof(off_t)); ^ LZOlayer_fs.c:397:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &null, sizeof(off_t)); ^ LZOlayer_fs.c:400:10: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(xPath, fuse_get_context()->uid, fuse_get_context()->gid); ^ LZOlayer_fs.c: In function 'LZOlayer_getattr': LZOlayer_fs.c:132:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &stbuf->st_size, sizeof(off_t)); ^ LZOlayer_fs.c:138:13: warning: ignoring return value of 'readlink', declared with attribute warn_unused_result [-Wunused-result] readlink(xPath, mem, 4097); ^ LZOlayer_fs.c: In function 'main': LZOlayer_fs.c:734:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make: *** [lzo_fs] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/filesystems/fuse-lzofs *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/filesystems/fuse-lzofs