On 08/01/2018 06:30 PM, Douglas R. Reno wrote:
On Wed, Aug 1, 2018 at 6:26 PM Bruce Dubbs <[email protected] <mailto:[email protected]>> wrote:Trying to insert glibc-2.28 into the book. In chapter 5, m4 will not build. I found one fix: sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c https://github.com/coreutils/gnulib/blob/master/lib/freadahead.c But it still fails at return (fp->_IO_read_end - fp->_IO_read_ptr) + (fp->_flags & _IO_IN_BACKUP ? fp->_IO_save_end - fp->_IO_save_base : because _IO_IN_BACKUP is not defined. It is in bits/libio.h with glibc-2.27, but not in glibc-2.28. Still trying to find a better/more complete fix. If anyone comes across with something, please let me know.
I'm concerned about libarchive. It still uses the macros that were just moved (major, minor, and makedev).
I'm also concerned with many of the packages (e.g. coreutils) that use gnulib. They include the files instead of referencing a separate library and it shows up a lot.
-- Bruce -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
