Bug 1984776 - fuse: FTBFS due to closefrom identifier (glibc 2.34 related)
Summary: fuse: FTBFS due to closefrom identifier (glibc 2.34 related)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: fuse
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1984778
TreeView+ depends on / blocked
 
Reported: 2021-07-22 08:30 UTC by Florian Weimer
Modified: 2021-07-27 19:54 UTC (History)
3 users (show)

Fixed In Version: fuse-2.9.9-13.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 19:54:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Florian Weimer 2021-07-22 08:30:06 UTC
glibc 2.34 introduces the closefrom function from Solaris (and BSD), but this conflicts with the use of the closefrom identifier in fuse:

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)'

The function probably needs to be removed. Later upstream versions do not have the file anymore.

Comment 1 Peter Lemenkov 2021-07-27 19:54:42 UTC
Fixed in fuse-2.9.9-13.fc35


Note You need to log in before you can comment on or make changes to this bug.