From: Nicolas Costes (nicolas.costes_at_iut-laroche.univ-nantes.fr)
Date: Wed 13 Jul 2005 - 09:31:04 BST
Hello !
I tried to build util-vserver-0.30.207-1mdk.src.rpm, in a.... Vserver !!!
(Mdk10.2), using the following command:
# rpm -ba /usr/src/RPM/SPECS/util-vserver-0.30.207.spec
All worked fine, only the rpm packaging is not made because the tests
series fail. Oh, only one test fails, but it stop the whole process...
I managed to build the rpms by commenting the "%test" section in the .spec
file.
Here are the errors I got :
...
make[3]: Entering directory `/usr/src/RPM/BUILD/util-vserver-0.30.207'
PASS: lib/testsuite/cflags
PASS: lib/testsuite/personality
PASS: lib/testsuite/fmt
PASS: lib/testsuite/parselimit
PASS: src/testsuite/vunify-functest
PASS: src/testsuite/chcontext-test
Invalid IP number or host name 'localhost'
FAIL: src/testsuite/chbind-test
PASS: src/testsuite/vunify-test.sh
PASS: ensc_vector/testsuite/test1
PASS: ensc_vector/testsuite/test2
PASS: lib_internal/testsuite/filecfg-ml
PASS: lib_internal/testsuite/copy-check
PASS: lib_internal/testsuite/sigbus
========================================================
1 of 13 tests failed
Please report to enrico.scholz_at_informatik.tu-chemnitz.de
========================================================
make[3]: *** [check-TESTS] Erreur 1
make[3]: Leaving directory `/usr/src/RPM/BUILD/util-vserver-0.30.207'
make[2]: *** [check-am] Erreur 2
make[2]: Leaving directory `/usr/src/RPM/BUILD/util-vserver-0.30.207'
make[1]: *** [check-recursive] Erreur 1
make[1]: Leaving directory `/usr/src/RPM/BUILD/util-vserver-0.30.207'
make: *** [check] Erreur 2
erreur: Mauvais status de sortie pour /var/tmp/rpm-tmp.76240 (%check)
This last line mean "Bad return code for /var/tmp/rpm-tmp.76240 (%check)"
What does mean "Invalid IP number or host name 'localhost'" (NOTE: The
vserver used to build the package hasn't got any IP)
Is it a bug, a feature, a plane, superman ? Worse, a mistake I made ?
-- ,, (°> Nicolas Costes /|\ IUT de La Roche / Yon ( ^ ) Clé publique: http://www.keyserver.net/ ^ ^ Musique libre: http://musique-legale.info/ - http://www.jamendo.com/
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver