+ 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 -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, 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_packet_sync': LZOlayer_fs.c:304:35: warning: integer overflow in expression of type 'int' results in '0' [-Woverflow] uLong cblocks = (256*256*256*256)-1; ^ LZOlayer_fs.c: At top level: LZOlayer_fs.c:617:4: error: 'struct fuse_operations_compat1' has no member named 'readdir'; did you mean 'readlink'? .readdir = LZOlayer_readdir, ^~~~~~~ readlink LZOlayer_fs.c:617:15: warning: initialization of 'int (*)(const char *, mode_t)' {aka 'int (*)(const char *, unsigned int)'} from incompatible pointer type 'int (*)(const char *, void *, int (*)(void *, const char *, const struct stat *, off_t), off_t, struct fuse_file_info *)' {aka 'int (*)(const char *, void *, int (*)(void *, const char *, const struct stat *, long int), long int, struct fuse_file_info *)'} [-Wincompatible-pointer-types] .readdir = LZOlayer_readdir, ^~~~~~~~~~~~~~~~ LZOlayer_fs.c:617:15: note: (near initialization for 'LZOlayer_oper.mkdir') LZOlayer_fs.c:618:15: warning: initialization of 'int (*)(const char *, int)' from incompatible pointer type 'int (*)(const char *, struct fuse_file_info *)' [-Wincompatible-pointer-types] .open = LZOlayer_open, ^~~~~~~~~~~~~ LZOlayer_fs.c:618:15: note: (near initialization for 'LZOlayer_oper.open') LZOlayer_fs.c:619:15: warning: initialization of 'int (*)(const char *, int)' from incompatible pointer type 'int (*)(const char *, struct fuse_file_info *)' [-Wincompatible-pointer-types] .release = LZOlayer_release, ^~~~~~~~~~~~~~~~ LZOlayer_fs.c:619:15: note: (near initialization for 'LZOlayer_oper.release') LZOlayer_fs.c:620:15: warning: initialization of 'int (*)(const char *, char *, size_t, off_t)' {aka 'int (*)(const char *, char *, long unsigned int, long int)'} from incompatible pointer type 'int (*)(const char *, char *, size_t, off_t, struct fuse_file_info *)' {aka 'int (*)(const char *, char *, long unsigned int, long int, struct fuse_file_info *)'} [-Wincompatible-pointer-types] .read = LZOlayer_read, ^~~~~~~~~~~~~ LZOlayer_fs.c:620:15: note: (near initialization for 'LZOlayer_oper.read') LZOlayer_fs.c:621:15: warning: initialization of 'int (*)(const char *, const char *, size_t, off_t)' {aka 'int (*)(const char *, const char *, long unsigned int, long int)'} from incompatible pointer type 'int (*)(const char *, const char *, size_t, off_t, struct fuse_file_info *)' {aka 'int (*)(const char *, const char *, long unsigned int, long int, struct fuse_file_info *)'} [-Wincompatible-pointer-types] .write = LZOlayer_write, ^~~~~~~~~~~~~~ LZOlayer_fs.c:621:15: note: (near initialization for 'LZOlayer_oper.write') In file included from /home/pbulk/build/filesystems/fuse-lzofs/work/.buildlink/include/fuse.h:9, from LZOlayer_fs.c:11: LZOlayer_fs.c: In function 'main': /home/pbulk/build/filesystems/fuse-lzofs/work/.buildlink/include/fuse/fuse.h:1050:25: error: void value not ignored as it ought to be # define fuse_main fuse_main_compat1 LZOlayer_fs.c:734:10: note: in expansion of macro 'fuse_main' return fuse_main(argc_new, argv_new, &LZOlayer_oper); ^~~~~~~~~ LZOlayer_fs.c: In function 'LZOlayer_release': LZOlayer_fs.c:338:7: 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:343:5: 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:311:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &nblock_size, sizeof(off_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:312:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &cblock_size, sizeof(off_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:313:5: 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:111:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &nblock_size, sizeof(off_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:112:5: 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:187:3: 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:415:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &file_size, sizeof(off_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:424:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &size, sizeof(off_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:425:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &size, sizeof(off_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:426:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &size, sizeof(off_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:428:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fd, curr); ^~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:447:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &nblock_size, sizeof(off_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:448:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &cblock_size, sizeof(off_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:449:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, out, cblock_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:452:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fd, curr_pos); ^~~~~~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:455:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &size, sizeof(off_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:490:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &nblock_size, sizeof(off_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:491:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &cblock_size, sizeof(off_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:492:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, out, cblock_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:496:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fd, curr_pos); ^~~~~~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:499:5: 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:551:3: 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:560:3: 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:524:3: 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:396:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &null, sizeof(off_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:397:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &null, sizeof(off_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:398:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &null, sizeof(off_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:401:5: 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:133:5: 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:139:5: warning: ignoring return value of 'readlink', declared with attribute warn_unused_result [-Wunused-result] readlink(xPath, mem, 4097); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gmake: *** [Makefile:12: lzo_fs] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/filesystems/fuse-lzofs *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/filesystems/fuse-lzofs