+ 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:10: error: #error Compatibility with API version other than 21, 22, 24, 25 and 11 not supported 497 | # 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] 304 | 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' 617 | .readdir = LZOlayer_readdir, | ^~~~~~~ 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] 617 | .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] 618 | .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] 619 | .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] 620 | .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] 621 | .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 1050 | # define fuse_main fuse_main_compat1 LZOlayer_fs.c:734:10: note: in expansion of macro 'fuse_main' 734 | 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] 338 | 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] 343 | 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] 311 | 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] 312 | 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] 313 | 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] 111 | 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] 112 | 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] 187 | 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] 415 | 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] 424 | 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] 425 | 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] 426 | 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] 428 | ftruncate(fd, curr); | ^~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:447:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 447 | 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] 448 | 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] 449 | write(fd, out, cblock_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:452:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 452 | ftruncate(fd, curr_pos); | ^~~~~~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:455:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 455 | 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] 490 | 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] 491 | 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] 492 | write(fd, out, cblock_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:496:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 496 | ftruncate(fd, curr_pos); | ^~~~~~~~~~~~~~~~~~~~~~~ LZOlayer_fs.c:499:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 499 | 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] 551 | 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] 560 | 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] 524 | 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] 396 | 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] 397 | 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] 398 | 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] 401 | 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] 133 | 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] 139 | readlink(xPath, mem, 4097); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:12: lzo_fs] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/filesystems/fuse-lzofs *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/filesystems/fuse-lzofs