[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Errors building from SRPM

From: Robin Bowes <robin-lists_at_robinbowes.com>
Date: 2006-06-25 16:02:30 CEST

Robin Bowes wrote:
> The next problem I'm not sure about.
>
> This is the last output:
>
> RPM build errors:
> File not found by glob: /var/tmp/subversion-root/usr/lib/site_ruby/*/svn
> File not found by glob:
> /var/tmp/subversion-root/usr/lib/site_ruby/*/*-linux/svn
>
> Any idea what is causing this?

I checked the spec file and saw that the commands that fail are
specified as follows:

# Remove unnecessary ruby libraries
rm -f ${RPM_BUILD_ROOT}%{_libdir}/site_ruby/*/*/svn/ext/*.*a

and

%files ruby
%defattr(-,root,root,-)
%{_libdir}/libsvn_swig_ruby*
%{_libdir}/site_ruby/*/svn
%{_libdir}/site_ruby/*/*-linux/svn

Looking in /var/tmp/subversion-root/usr/lib, I can see that there is no
site_ruby dir but there is a ruby/site_ruby directory.

I changed the above lines from %{_libdir}/site_ruby to
%{_libdir}/ruby/site_ruby and tried the build again.

This time, some tests failed:

At least one test FAILED, checking
/home/robin/rpmbuild/BUILD/subversion-1.3.2/tests.log
FAIL: diff_tests.py 23: diff a file within a renamed directory
At least one test was SKIPPED, checking
/home/robin/rpmbuild/BUILD/subversion-1.3.2/tests.log
SKIP: utf8_tests.py 1: conversion of paths and logs to/from utf8
SKIP: authz_tests.py 1: authz issue #2486 - open root
SKIP: authz_tests.py 2: authz issue #2486 - open directory
make: *** [check] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.8463 (%check)

Not sure what is causing this. Any suggestions?

R.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jun 25 16:03:27 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.