FTBFS 3.5.6-1build1 with gcc-11
Bug #1939353 reported by
Bryce Harrington
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postfix (Ubuntu) |
Fix Released
|
Undecided
|
Miriam España Acebal |
Bug Description
In file included from attr_clnt.c:88:
/usr/include/
363 | extern void closefrom (int __lowfd) __THROW;
| ^~~~~~~~~
In file included from attr_clnt.c:87:
./sys_defs.
1512 | extern int closefrom(int);
| ^~~~~~~~~
make: *** [Makefile:210: attr_clnt.o] Error 1
Builds fine with gcc-10 (c.f. https:/
Related branches
~mirespace/ubuntu/+source/postfix:lp1885403-posttls-finger-postix-impish
Merged
into
ubuntu/+source/postfix:ubuntu/devel
at
revision 65ae3c30985525a28d0002df4dc990382d2c88af
- Christian Ehrhardt (community): Approve
- Canonical Server: Pending requested
-
Diff: 67 lines (+35/-0)4 files modifieddebian/changelog (+8/-0)
debian/patches/postfix-3.6.2-glibc-234-build-fix.patch (+25/-0)
debian/patches/series (+1/-0)
debian/rules (+1/-0)
tags: | added: patch |
Changed in postfix (Ubuntu): | |
assignee: | nobody → Miriam España Acebal (mirespace) |
Changed in postfix (Ubuntu): | |
status: | New → In Progress |
To post a comment you must log in.
Seen by redhat and fixed in postfix- 3.5.9-11. el9: https:/ /bugzilla. redhat. com/show_ bug.cgi? id=1984045.
"closefrom is a new function in glibc 2.34. It follows the Solaris precedent, so it returns void (not int). At the minimum, Postfix needs to adjust its return type. The only caller of the function does not use the returned value anyway."
Fedora's patch attached, I've not tested it yet.