[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


%files ruby

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
FAIL: diff_tests.py 23: diff a file within a renamed directory
At least one test was SKIPPED, checking
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?


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.