Philipp Marek wrote, On 02/05/08 14:54:
Attached some run-tests errors under CentOS 5 with r1658 (trunk). In
some cases I (can) have to delete /tmp/fsvs-test-0 to reproduce the
errors..
Otherwise I will try to find out what going wrong under CentOS 4.4. fsvs
compiles with some warnings but I get weird errors on make run-tests .
It perhaps related to recent subversion updates ...
Short question - have you thought about going the "easy" way and just using
the chroot helper and a chroot environment?
I know that it's not the best solution - but I'm using that on some machines
that I can't update (because they're still running linux 2.4), and it
works ...
http://fsvs.tigris.org/source/browse/*checkout*/fsvs/trunk/www/doxygen/html/group__howto__chroot.html
If you like I could send you a debian-based chroot (or I could put it for
download even), so most of the work would be done ...
You'd only have to compile the chrooter itself.
I'm using i686 and amd64 - is that enough for you?
If not I could take a look which packages the files are from - then you could
simply extract the needed packages from debian, and be done ...
Will have to read that ... BTW CentOS 4.4 runs kernel 2.6.9...
In file included from /usr/local/apr-1.2.12/include/apr-1/apr_file_io.h:29,
from global.h:20,
from ac_list.c:9:
/usr/local/apr-1.2.12/include/apr-1/apr_file_info.h:200: error: expected
specifier-qualifier-list before ‘apr_ino_t’
...
This sounds like an apr install problem again - apr_file_info.h gives an
error.
It seems that apr_ino_t is not defined. I have it
in /usr/include/apr-1.0/apr.h:275; maybe one of the #ifdef goes wrong for
you?
There is the following comment in
/usr/local/apr-1.2.12/include/apr-1/apr.h. Can it be the explanation?
/* As we don't want to break users who author for 1.2.x, we can't
* present this type until they have included apr_file_info.h
* where it was originally declared in release 1.2.0.
* Mask it from accedental misuse here.
*/
#define apr_ino_t apr_ino_t__requires__apr_file_info_h
$ make run-tests
make -C ../tests BINARY=/usr/src/fsvs-trunk-2/src/fsvs
Preparing default repository.
make[5]: *** [prepare_wc] Error 1
make[5]: *** [prepare_wc] Error 1
make[4]: *** [prepare_wcs] Error 2
make[3]: *** [prepare_clean] Error 2
make[2]: *** [/tmp/fsvs-test-0/default-repos.dump] Error 2
make[1]: *** [run-tests] Error 2
make: *** [run-tests] Error 2
I'd assume that means that prepare_wc gives an error - but why?
Please try this:
touch /tmp/fsvs-test-0/default-repos.dump
make run-tests TEST_LIST=001* VERBOSE=1
# touch /tmp/fsvs-test-0/default-repos.dump
# make run-tests TEST_LIST=001* VERBOSE=1
make -C ../tests BINARY=/usr/src/fsvs-1.1.7/src/fsvs
Running tests...
_______________________________________________________
"001_init_dir":1: (Fri May 2 15:04:49 EDT 2008)
+ set -e
+ make -s -C /usr/src/fsvs-1.1.7/tests prepare_clean
rm: cannot remove
`/tmp/fsvs-test-0/waa/e4/79/8deec02e0e6ad5c46340b8c3ec09//*': No such
file or directory
rm: cannot remove
`/tmp/fsvs-test-0/conf/e4798deec02e0e6ad5c46340b8c3ec09//*': No such
file or directory
An error occurred at 15:04:50.694: Unknown resolver error (6490552)
in main
make[5]: *** [prepare_wc] Error 1
rm: cannot remove
`/tmp/fsvs-test-0/waa/b7/b4/33516382a18f545c01dce608138a//*': No such
file or directory
rm: cannot remove
`/tmp/fsvs-test-0/conf/b7b433516382a18f545c01dce608138a//*': No such
file or directory
An error occurred at 15:04:51.011: Unknown resolver error (6490552)
in main
make[5]: *** [prepare_wc] Error 1
make[4]: *** [prepare_wcs] Error 2
make[3]: *** [prepare_clean] Error 2
----++---- /usr/src/fsvs-1.1.7/tests/001_init_dir failed ----++----
make[2]: *** [run_tests] Error 1
make[1]: *** [run-tests] Error 2
make: *** [run-tests] Error 2
More to follow...
Ben.