Re: [lfs-support] Problem compiling findutils

2019-08-02 Thread Michael Shell
On Fri, 2 Aug 2019 23:36:36 -0500 Bruce Dubbs wrote: > 4.6.0 does build against the latest glibc with: > > sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' gl/lib/*.c > sed -i '/unistd/a #include ' gl/lib/mountlist.c > echo "#define _IO_IN_BACKUP 0x100" >> gl/lib/stdio-impl.h Yeah, *we* LFS folks can f

Re: [lfs-support] Problem compiling findutils

2019-08-02 Thread Bruce Dubbs
On 8/2/19 10:10 PM, Michael Shell wrote: On Fri, 2 Aug 2019 10:49:07 -0500 Bruce Dubbs wrote: A new version should simplify our instructions. My inclination is to create our own tarball from git. I found this from a year ago on the findutils mailing list: https://lists.gnu.org/archive/html/

Re: [lfs-support] Problem compiling findutils

2019-08-02 Thread Michael Shell
On Fri, 2 Aug 2019 10:49:07 -0500 Bruce Dubbs wrote: > A new version should simplify our instructions. My inclination is to > create our own tarball from git. I found this from a year ago on the findutils mailing list: https://lists.gnu.org/archive/html/bug-findutils/2018-08/msg8.html So,

Re: [lfs-support] Problem compiling findutils

2019-08-02 Thread Bruce Dubbs
On 8/1/19 11:08 PM, Michael Shell wrote: On Wed, 31 Jul 2019 20:47:30 + Niels Terp wrote: fflush.c:42:20: error: '_IO_IN_BACKUP' undeclared (first use in this function) This command in the instructions was missed: echo "#define _IO_IN_BACKUP 0x100" >> gl/lib/stdio-impl.h FWIW, IMHO,

Re: [lfs-support] Problem compiling findutils

2019-08-01 Thread Michael Shell
On Wed, 31 Jul 2019 20:47:30 + Niels Terp wrote: > fflush.c:42:20: error: '_IO_IN_BACKUP' undeclared (first use in this function) FWIW, IMHO, GNU really needs to release a newer version of findutils. The latest release dates to 2015 https://ftp.gnu.org/pub/gnu/findutils/ and won't compile

Re: [lfs-support] Problem compiling findutils

2019-07-31 Thread Ken Moffat
On Wed, Jul 31, 2019 at 08:47:30PM +, Niels Terp wrote: > Hi there, > > > > Following the current lfs, during building I run into a problem with > findutils: During MAKE, I get this error: > > > > fflush.c: In function 'clear_ungetc_buffer_preserving_position': > > fflush.c:42:20: error

[lfs-support] Problem compiling findutils

2019-07-31 Thread Niels Terp
Hi there, Following the current lfs, during building I run into a problem with findutils: During MAKE, I get this error: fflush.c: In function 'clear_ungetc_buffer_preserving_position': fflush.c:42:20: error: '_IO_IN_BACKUP' undeclared (first use in this function) if (fp->_flags & _IO_I