Closed apprehensions closed 2 years ago
i put this inside patches/
directory and it doesn't seem to work.
try the latest main
still fails for some reason,
CC fusermount-fusermount.o
CC fusermount-mount_util.o
CC ulockmgr_server-ulockmgr_server.o
CC mount.fuse.o
mount_util.c: In function 'mtab_needs_update':
mount_util.c:62:25: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
62 | setreuid(0, -1);
| ^~~~~~~~~~~~~~~
mount_util.c:67:25: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
67 | setreuid(ruid, -1);
| ^~~~~~~~~~~~~~~~~~
mount_util.c: In function 'add_mount':
mount_util.c:102:17: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
102 | setuid(geteuid());
| ^~~~~~~~~~~~~~~~~
mount_util.c: In function 'exec_umount':
mount_util.c:155:17: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
155 | setuid(geteuid());
| ^~~~~~~~~~~~~~~~~
mount_util.c: In function 'remove_mount':
mount_util.c:221:17: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
221 | setuid(geteuid());
| ^~~~~~~~~~~~~~~~~
ulockmgr_server.c:132:12: error: conflicting types for 'closefrom'; have 'int(int)'
132 | static int closefrom(int minfd)
| ^~~~~~~~~
In file included from ulockmgr_server.c:14:
/usr/include/unistd.h:363:13: note: previous declaration of 'closefrom' with type 'void(int)'
363 | extern void closefrom (int __lowfd) __THROW;
| ^~~~~~~~~
ulockmgr_server.c: In function 'main':
ulockmgr_server.c:377:16: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
377 | (void) chdir("/");
| ^~~~~~~~~~
make[2]: *** [Makefile:500: ulockmgr_server-ulockmgr_server.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/wael/.cache/kiss/proc/19046/build/fuse2/util'
make[1]: *** [Makefile:335: all] Error 2
make[1]: Leaving directory '/home/wael/.cache/kiss/proc/19046/build/fuse2/util'
make: *** [Makefile:450: all-recursive] Error 1
-> fuse2 Build failed
-> fuse2 Log stored to /home/wael/.cache/kiss/logs/2022-07-26/fuse2-2022-07-26-19:43-19046
Terminated
/usr/local/kiss/community $ git log --pretty=oneline | head -1
2ce0dbcdcd2b2f6a0ce0853be1bc3c820beee0d0 fuse2: fix build with glibc
865dd29?
yep! i really appreciate the time you took to help fix it.