about perl syslog.t test failure

yayo yayo.75 at katamail.com
Sun Nov 8 18:23:28 PST 2009


>>   ../ext/Sys/Syslog/t/syslog.......................................
>>   #   Failed test 'setlogsock() should return true: '''
[blahblah..]
>>   DIED. FAILED test 176

>This looks like a socket layer failure. It might be that it's attempting
>to set up some sort of socket connection to something. Is your ethernet
>hooked to anything?

>> If you tell me that this is a critical failure which strictly need to be fixed,
>> then I'll have to investigate deeply about the causes,
>> otherwise I'd install perl as it is. Only 1 failed test seems to me a good result.

>It does not look serious to me, but I'm not an expert on LFS. It looks
>like there is an expected agent to respond to a socket request, but
>which is not there. That's why I wondered about an ethernet chip and
>cable. If you have a chip, then it possibly is trying to make a
>connection to a "well known" IP site, for which there is no access
>on your (preumably) isolated system.
>Mike

Thanks Mike.
yes, I have an ethernet card but I'm not connected anywhere.
I searched the web for info about this error and I found that someone else got the same test failure.
The solution suggested is a sed command which fixes the testfile so that it can properly skips the test as it should in such case.
(..at least this is what I understood of it. :P )
here the pages:

http://lists.diy-linux.org/pipermail/diy-linux-dev/2008-February/001190.html
http://lists.diy-linux.org/pipermail/diy-linux-dev/2008-February/001191.html

So I applied the "patch" and I then got zero errors. : )

Now I'm stuck at automake with another test error. The aclocal5.test fails. *grumbles* >: /
I checked the test-suite.log file as suggested but I don't understend so much of it so far... : (
I guess it's not so important, but I report it here in case someone has useful ideas to fix it. : P


FAIL: aclocal5.test (exit: 1)
=============================

/usr/src/automake/automake-1.11/tests:/usr/lib/pkgusr:/bin:/usr/bin:/tools/bin
aclocal5: running make --version -v | grep GNU
GNU Make 3.81
=== Running test ./aclocal5.test
++ pwd
/usr/src/automake/automake-1.11/tests/aclocal5.dir
+ set -e
+ cat
+ cat
+ mkdir sub
+ :
+ mkdir m4
+ echo 'AC_DEFUN([AM_TEST], [echo $@])'
+ aclocal-1.11 -Werror -I m4
+ autoconf
+ automake-1.11 --foreign -Werror -Wall --copy --add-missing
+ ./configure
checking for a BSD-compatible install... /usr/lib/pkgusr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/lib/pkgusr/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
GREPME
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sub/Makefile
+ make
Making all in sub
make[1]: Entering directory `/usr/src/automake/automake-1.11/tests/aclocal5.dir/sub'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/automake/automake-1.11/tests/aclocal5.dir/sub'
make[1]: Entering directory `/usr/src/automake/automake-1.11/tests/aclocal5.dir'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/usr/src/automake/automake-1.11/tests/aclocal5.dir'
+ echo 'AU_ALIAS([AM_TEST], [AC_SUBST])'
+ cd sub
+ make
cd .. && make  am--refresh
make[1]: Entering directory `/usr/src/automake/automake-1.11/tests/aclocal5.dir'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /usr/src/automake/automake-1.11/tests/aclocal5.dir/missing --run aclocal-1.11 -I m4
 cd . && /bin/sh /usr/src/automake/automake-1.11/tests/aclocal5.dir/missing --run automake-1.11 --foreign
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /usr/src/automake/automake-1.11/tests/aclocal5.dir/missing --run autoconf
make[1]: Leaving directory `/usr/src/automake/automake-1.11/tests/aclocal5.dir'
make[1]: Entering directory `/usr/src/automake/automake-1.11/tests/aclocal5.dir'
make[1]: Leaving directory `/usr/src/automake/automake-1.11/tests/aclocal5.dir'
make: Nothing to be done for `all'.
+ cd ..
+ grep GREPME Makefile
+ exit_status=1
+ cd /usr/src/automake/automake-1.11/tests
+ case $exit_status,$keep_testdirs in
+ test 0 '!=' 0
+ echo ': exit 1'
: exit 1
+ exit 1


: )
yayo

-- 
http://yayoblog.altervista.org/index.php




More information about the lfs-support mailing list