On Sun, 2020-05-03 at 01:18 -0500, Bruce Dubbs via lfs-dev wrote:
> On 5/2/20 11:44 PM, Ken Moffat via lfs-dev wrote:
> > On Sun, May 03, 2020 at 12:02:12PM +0800, Xi Ruoyao via lfs-dev
> > wrote:
> > > On 2020-05-03 04:18 +0100, Ken Moffat via lfs-dev wrote:
> > > > I'm building with LFS as at 25th April.  My previous build was
> > > > in
> > > > early April, and I think this is the first time I've seen a
> > > > failure
> > > > in the man-db tests.  With man-db-2.9.1 :
> > > > 
> > > > FAIL: man-missing-locales
> > > > 
> > > > and src/tests/test-suite.log has:
> > > > 
> > > > FAIL: man-missing-locales
> > > > =========================
> > > > 
> > > > col: failed on line 319: Invalid or incomplete multibyte or
> > > > wide character
> > > > man: command exited with status 127: LC_CTYPE=en_US.UTF-8 col
> > > > -b -p -x | sed
> > > > -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }'
> > > >    FAIL: missing locales
> > > > FAIL man-missing-locales (exit status: 1)
> > > > 
> > > > Given that things have changed since my previous build, is
> > > > anyone
> > > > else seeing this ?  I suspect the error might be "mine, all
> > > > mine",
> > > > so I'm reluctant to add to the noise by reporting iti upstream
> > > > unless it really is common.  Looking at my glibc log I did
> > > > apparently install the en_US.UTF-8 locale.
> > > 
> > > I've seen this many times (almost each time I built LFS).
> > 
> > I'm surprised - as I just replied to Doug, this is the first time
> > this has hit me.  Will take a look on the completed system, to see
> > if it breaks there.
> 
> The man-db test failure may be due to some other package that we've 
> added since 9.1. However
> 
> http://www.linuxfromscratch.org/lfs/build-logs/9.1/i7-5820K/test-logs/135-man-db-2.9.0
> 
> shows no failures.  But the systemd log Doug uploaded (i5-6600k)
> does 
> show it.  AFAICT, the differences are minor.  In my sysv system 
> util-linux was not built in Chapter 5, but it is built in Doug's
> systemd 
> build.
> 
> I will also note that the sysv instructions have the extra
> configuration 
> items:
> 
> --with-systemdtmpfilesdir=           \
> --with-systemdsystemunitdir=
> 
> and there is a sed in systemd version that is not in the sysv
> version. 
> A cursory look at those changes doesn't indicate to me an issue that 
> would cause  the man-missing-locales test to fail.
> 
> If someone really wants to track this down, look at
> src/tests/testlib.sh 
> and src/tests/man-missing-locales.  They are relatively short sh
> scripts.

The log alludes to "col" which is an util-linux program. And util-linux 
has been in chapter 5 for a while in the systemd book, while it has
been added recently to the SysV book (to "clean" ICA). So it really
looks like a candidate to explain the failure!

Note also that on a completed system, the tests pass, so my guess is
that it works after util-linux is installed in chapter 6 (to be
verified).

Now the call to col is internal to "man", so it may take some time to
find how to print more explicit errors...

Will try to remove util-linux and run the tests on a completed system.

Pierre


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

Reply via email to