Summary: | =sys-devel/m4-1.4.18: build failure against glibc-2.28: fseeko.c:110:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergei Trofimovich (RETIRED) <slyfox> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | erhard_f |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=715880 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 663916 | ||
Attachments: |
sys-devel:m4-1.4.18:20180817-220710.log
allow m4 to compile with glibc-2.28 |
I am seeing this same error in sys-devel/m4-1.4.18 , sys-apps/findutils-4.6.0-r1 , and app-arch/gzip-1.9 . It is because the bundled gnulib is too old. This has been fixed upstream for findutils and gzip, but m4 has not been touched in quite a long time. Created attachment 547520 [details, diff]
allow m4 to compile with glibc-2.28
This allows to compile m4 with glibc-2.28 installed
add epatch_user in ebuild
and put the patch into /etc/portage/patches/sys-devel/m4-1.4.18
Thanks for the patch! Thank you, m4 compiles fine now. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a31c6c21fb030d75256ff042e0352f90330545b2 commit a31c6c21fb030d75256ff042e0352f90330545b2 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2018-10-13 17:21:38 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2018-10-13 17:50:35 +0000 sys-devel/m4: fix build against glibc-2.28, bug #663924 Patch by milan hodoscek. While at it added 'epatch_user'. Closes: https://bugs.gentoo.org/663924 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 sys-devel/m4/files/m4-1.4.18-glibc228.patch | 310 ++++++++++++++++++++++++++++ sys-devel/m4/m4-1.4.18.ebuild | 4 +- 2 files changed, 313 insertions(+), 1 deletion(-) *** Bug 675290 has been marked as a duplicate of this bug. *** Has anyone forwarded the patch upstream? (In reply to Benda Xu from comment #7) > Has anyone forwarded the patch upstream? I believe m4 uses gnulib and just needs to cut a new release against updated upstream gnulib. Probably worth mailing bug-m4@gnu.org to ask for one. Gentoo's m4 maintainer should be able to give more details. |
Created attachment 543858 [details] sys-devel:m4-1.4.18:20180817-220710.log fseeko.c: In function 'rpl_fseeko': fseeko.c:110:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." ^~~~~