Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#79449 - [fuse2] FTBFS
Attached to Project:
Arch Linux
Opened by Levi Zim (kxxt) - Wednesday, 23 August 2023, 06:51 GMT
Last edited by Jelle van der Waa (jelly) - Wednesday, 30 August 2023, 11:53 GMT
Opened by Levi Zim (kxxt) - Wednesday, 23 August 2023, 06:51 GMT
Last edited by Jelle van der Waa (jelly) - Wednesday, 30 August 2023, 11:53 GMT
|
DetailsDescription:
A glibc change added closefrom to unistd.h[1], which causes a collision with closefrom function in ulockmgr_server.c. I attached a fix that rename the closefrom function in ulockmgr_server.c to closefrom_ to avoid the collision. Another possible solution could be removing closefrom function from ulockmgr_server.c and using the one from unistd.h. 1: https://github.com/bminor/glibc/commit/607449506f197cc9514408908f41f22537a47a8c ulockmgr_server.c:127:12: error: conflicting types for ‘closefrom’; have ‘int(int)’ 127 | 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:371:16: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 371 | (void) chdir("/"); | ^~~~~~~~~~ make[2]: *** [Makefile:500: ulockmgr_server-ulockmgr_server.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/build/fuse2/src/fuse-2.9.9/util' make[1]: *** [Makefile:335: all] Error 2 make[1]: Leaving directory '/build/fuse2/src/fuse-2.9.9/util' make: *** [Makefile:450: all-recursive] Error 1 Additional info: * package version(s) 2.9.9-4 * patch attached. |
This task depends upon
Closed by Jelle van der Waa (jelly)
Wednesday, 30 August 2023, 11:53 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in git.
Wednesday, 30 August 2023, 11:53 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in git.
PKGBUILD.diff
[1] https://src.fedoraproject.org/rpms/fuse/blob/rawhide/f/fuse2-0007-util-ulockmgr_server.c-conditionally-define-closefro.patch
[2] https://sources.debian.org/patches/fuse/2.9.9-6/0001-util-ulockmgr_server.c-conditionally-define-closefro.patch/
[3] https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-fs/fuse/files/fuse-2.9.9-closefrom-glibc-2-34.patch
[4] https://build.opensuse.org/package/view_file/openSUSE:Factory/fuse/closefrom.patch?expand=1
[1] https://github.com/libfuse/libfuse/commit/5a43d0f724c56f8836f3f92411e0de1b5f82db32
I checked the fuse-2_9_bugfix branch [1] which does not have the patch and missed there being such a similarly named branch [2].
[1] https://github.com/libfuse/libfuse/commits/fuse-2_9_bugfix
[2] https://github.com/libfuse/libfuse/commits/fuse_2_9_bugfix