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

Re: Problem building subversion RPM

From: David Summers <david_at_summersoft.fay.ar.us>
Date: 2003-02-14 01:02:15 CET

Sorry, I've not submitted any patches for the RPM since the
svn-revision.txt went in because I can't get "make check" to pass on
svnserve, it's been hanging on the externals test.

Basically the issue is that the Makefile is assuming that the build
directory is a working copy directory which is not true for the RPM.
So when it tries to run svnversion it bombs.

However, I'll go ahead and check in my patches that I've got as at least
that will let more eyes look at the problem....as it is the RPM won't
build at all.

With my patches I've got in my working copy it will at least build (though
not yet pass "make check"...and you can turn that option off).

I'll try to post the changes here in a bit.

   - David Summers

On Thu, 13 Feb 2003, Chris Croome wrote:

> Hi
>
> <warning type="newbie alert">
>
> This is my first day playing with subversion and I'm probably doing
> something daft, but I have searched for an answer on Google...
>
> </warning>
>
> I'm running a minimal RedHat 8.0 server and I have installed
> Subversion from RPMS and I have created a repository and things
> *seem* to be working OK so far...
>
> I have checked out the latest code:
>
> $ /usr/bin/svn checkout http://svn.collab.net/repos/svn/trunk svn
>
> I have followed the instructions for building an RPM from the code
> and things go OK till the very end where I get this message:
>
> libtool: install: warning: remember to run `libtool --finish /usr/lib'
> subversion/svnversion/svnversion . /repos/svn/trunk > /home/chris/rpms/tmp/subversion-0.17.1-4884/usr/include/subversion-1/svn-revision.txt
> svn: No such file or directory
> svn: svn_io_file_open: can't open `.svn/entries'
> make[1]: *** [revision-install] Error 1
> make[1]: Leaving directory
> `/home/chris/rpms/build/subversion-0.17.1'
> error: Bad exit status from /home/chris/rpms/tmp/rpm-tmp.11400
> (%install)
>
> RPM build errors:
> Bad exit status from /home/chris/rpms/tmp/rpm-tmp.11400
> (%install)
> make: *** [build_rpm_files] Error 1
>
> I have tried chmod 664'ing `.svn/entries' and running make again but
> it makes no difference.
>
> Anyone have any ideas?
>
> Cheers
>
> Chris
>
>

-- 
David Wayne Summers          "Linux: Because reboots are for hardware upgrades!"
david_at_summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 14 01:17:48 2003

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.