On 08/01/2018 08:08 PM, Bruce Dubbs wrote:
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.

OK, I have workarouds (hacks really) for m4, findutils, and gzip (for Chapters 5 and 6) and have committed the changes. These fixes are quite similar, but not identical in all cases. The problem is gnulib and packages in BLFS that may use gnulib will probably need similar fixes until upstream releases nw versions.

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to