Summary: | app-editors/emacs-23.4-r18 with gcc-8.2.0-r6: ./s/gnu-linux.h:164:10: error: ‘FILE’ {aka ‘struct _IO_FILE’} has no member named ‘_pptr’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Anthony Mendez <darkdexter> |
Component: | Current packages | Assignee: | GNU Emacs project <gnu-emacs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | darkdexter |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 663916 | ||
Attachments: | Fix compilation with glibc-2.28. |
Description
Anthony Mendez
2019-03-28 02:46:19 UTC
Created attachment 571032 [details, diff]
Fix compilation with glibc-2.28.
Please test if the attached patch fixes the problem.
It's a glibc-2.28 change, not gcc-8: https://wiki.gentoo.org/wiki/Glibc_2.28_porting_notes/libio_h_removal (In reply to Sergei Trofimovich from comment #2) > It's a glibc-2.28 change, not gcc-8: > https://wiki.gentoo.org/wiki/Glibc_2.28_porting_notes/libio_h_removal Indeed, I can reproduce it here: - glibc-2.27-r6, gcc-7.3.0-r6 -> success - glibc-2.27-r6, gcc-8.2.0-r4 -> success - glibc-2.28-r5, gcc-7.4.0-r1 -> failure - glibc-2.28-r5, gcc-8.3.0 -> failure This contradicts the original report, however: (In reply to Anthony Mendez from comment #0) > When building emacs 23.4-r18 with gcc 8.2.0-r6 I get the following build > error. > This error does not occur when building with gcc 7.3.0-r3. (In reply to Ulrich Müller from comment #3) > This contradicts the original report, however: I had not considered the possibility the glibc could have been the culprit here since this problem arose when I switched to gcc 8 and rebuilt my system. I have confirmed that emacs 23 will not build with gcc 7 which agrees with the premised that glibc is the culprit. Sorry for any confusion I may have caused. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5bfb93a0a9a143018319cc59bd8a5f7c96bd5e4 commit b5bfb93a0a9a143018319cc59bd8a5f7c96bd5e4 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2019-03-29 08:07:49 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2019-03-29 08:08:36 +0000 app-editors/emacs: Fix compilation with glibc-2.28. Closes: https://bugs.gentoo.org/681904 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Ulrich Müller <ulm@gentoo.org> app-editors/emacs/Manifest | 2 +- app-editors/emacs/emacs-23.4-r18.ebuild | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) Fixed without revbump (i.e., still at -r18) since this is a build failure. Thank you for reporting! (In reply to Ulrich Müller from comment #6) > Fixed without revbump (i.e., still at -r18) since this is a build failure. > > Thank you for reporting! You're very welcome! Thank you for the quick response! The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64ad6e7961ede65ba19425b8bc264c788912a105 commit 64ad6e7961ede65ba19425b8bc264c788912a105 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2019-08-29 13:47:51 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2019-08-29 13:49:05 +0000 app-editors/emacs: Fix compilation with glibc-2.28 for slot 18. Bug: https://bugs.gentoo.org/681904 Package-Manager: Portage-2.3.73, Repoman-2.3.17 Signed-off-by: Ulrich Müller <ulm@gentoo.org> app-editors/emacs/Manifest | 2 +- app-editors/emacs/emacs-18.59-r12.ebuild | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) |