List Info

Thread: Bug running LFS bash tests with jhalfs-2.3




Bug running LFS bash tests with jhalfs-2.3
user name
2007-08-01 10:29:16
I'm hitting a bug running the testsuite for bash in Ch. 6.
The problem
is that the stylesheet tries to add "-k" to make
tests since I'm using
bomb-testsuite=n. It's ends up being applied to the previous
block
too, and the build bombs because it tries to execute 'sed -i
... -k
tests/intl.tests.

Attached is a patch to fix this. It also means that the
chown command
won't always return successfully with "|| true".
Below is the
difference in the command outputs. I can apply this if you'd
like.

diff -pNur lfs-commands.orig/chapter06/084-bash
lfs-commands/chapter06/084-bash
--- lfs-commands.orig/chapter06/084-bash        2007-08-01
08:05:36.000000000 -0700
+++ lfs-commands/chapter06/084-bash     2007-08-01
08:20:39.000000000 -0700
 -10,8
+10,8  patch -Np1 -i ../bash-3.2-fixes-5.patch
 ./configure --prefix=/usr --bindir=/bin 
     --without-bash-malloc --with-installed-readline
 make
-sed -i 's/LANG/LC_ALL/' -k tests/intl.tests
-chown -Rv nobody ./ >> $TEST_LOG 2>&1 || true
+sed -i 's/LANG/LC_ALL/' tests/intl.tests
+chown -Rv nobody ./
 su-tools nobody -s /bin/bash -c "make -k tests"
>> $TEST_LOG 2>&1 || true
 make install
 exit
 No newline at end of file

--
Dan

-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page

  
Re: Bug running LFS bash tests with jhalfs-2.3
country flaguser name
Spain
2007-08-01 11:40:26
El Miércoles, 1 de Agosto de 2007 17:29, Dan Nicholson
escribió:
> I'm hitting a bug running the testsuite for bash in Ch.
6. The problem
> is that the stylesheet tries to add "-k" to
make tests since I'm using
> bomb-testsuite=n. It's ends up being applied to the
previous block
> too, and the build bombs because it tries to execute
'sed -i ... -k
> tests/intl.tests.

Yeah, my yesterday night build bomb with that same error
(now I see that has 
bomb again in man-db, but not investigated yet the cause).

-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:       http://www.linuxfroms
cratch.org
LFS en castellano: http://www.escomp
oslinux.org/lfs-es http://www.lfs-es.info
TLDP-ES:                           http://es.tldp.org
-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page

Re: Bug running LFS bash tests with jhalfs-2.3
user name
2007-08-01 13:42:37
On 8/1/07, M.Canales.es <macanamacana-es.com> wrote:
> El Miércoles, 1 de Agosto de 2007 17:29, Dan Nicholson
escribió:
> > I'm hitting a bug running the testsuite for bash
in Ch. 6. The problem
> > is that the stylesheet tries to add "-k"
to make tests since I'm using
> > bomb-testsuite=n. It's ends up being applied to
the previous block
> > too, and the build bombs because it tries to
execute 'sed -i ... -k
> > tests/intl.tests.
>
> Yeah, my yesterday night build bomb with that same
error (now I see that has
> bomb again in man-db, but not investigated yet the
cause).

That one's a race condition with MAKEFLAGS > -j1. Is
there support for
overriding the MAKEFLAGS with certain packages? Oh, it looks
like
BLACK_LIST does that.

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )