sharutils-4.15.2 fails to build with glibc-2.28 prerelease
Petr Pisar <[email protected]> Wed, 11 Apr 2018 07:52:39 +0000 (UTC)
| Newsgroups | gmane.comp.gnu.utils.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hello, when rebuilding sharutils in Fedora Rawhide that has glibc 2.28 prerelease, I found it fails to build: 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." The reason is bundled gnulib files need to adapt to changes in glibc. This is the same issue as the one already reported and resolved in gnulib <https://lists.gnu.org/r/bug-gnulib/2018-03/msg00000.html>. Fedora's patch that ports the required changes to sharutils-4.15.2 <https://src.fedoraproject.org/rpms/sharutils/raw/master/f/sharutils-4.15.2-fflush-adjust-to-glibc-2.28-libio.h-removal.patch> fixes it. -- Petr