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

Re: building subversion from source rpm - failures

From: Kris Deugau <kdeugau_at_vianet.ca>
Date: 2005-02-09 18:24:38 CET

> Kris Deugau wrote:
> > As an aside to this, I would recommend snagging the .src.rpm from
> > Dag Wieers' apt/yum repository, and trying to rebuild that; I
> > found I had trouble rebuilding the particular packages you're
> > trying as well. (Listed at
> > http://dag.wieers.com/packages/subversion/, may need minor
> > tweakage for RH9.)

Steve Cohen wrote:
> Minor tweakage? Care to give me a pointer as to where to look? Glad
> to see I'm not the only one having trouble with these packages.

It's been a while since I bothered rebuilding from source; the binaries
provided work find for me.

To be a little more specific about what to do, you have to indicate
which RH version or variant you're building on. For instance, I could
use "rpmbuild --rebuild --define 'dist el3'
subversion-1.1.3-0.1.rf.src.rpm" on my systems, because I'm running
White Box (derived from RHEL3). For RH9, use --define 'dist rh9'

As far as I can tell from reading the spec file, this just disables
something with respect to SWIG. However, from your other message:

> rpmbuild --rebuild subversion-1.1.3-0.1.rf.src.rpm brought back this
> error message:
> -D_SVID_SOURCE -D_GNU_SOURCE -O2 -g -pipe -march=i386 -mcpu=i686
> -pthread -DNEON_ZLIB -DNEON_SSL -I./subversion/include
> -I./subversion -I/usr/include/neon -I/usr/include/apr-0
> -I/usr/include/apr-0 -fpie -o subversion/clients/cmdline/add-cmd.o
> -c subversion/clients/cmdline/add-cmd.c
> cc1: unrecognized option `-fpie'
> make: *** [subversion/clients/cmdline/add-cmd.o] Error 1
> make: *** Waiting for unfinished jobs....
> error: Bad exit status from /var/tmp/rpm-tmp.70695 (%build)

This looks like some sort of compiler-related error. I can say that the
build should succeed on a stock RHEL3 or any derivative; I just tried
that on my system. In particular, the line "cc1: unrecognized option
`-fpie'" needs further investigation: cc1 is supposedly a component of
gcc, and as far as I can tell should support that option. RH9 should
work as well, as RHEL3 was closely based on RH9 IIRC.

Try with --define 'dist rh9' and see if that fixes the error; if that
works you should then be able to modify the spec file as needed to build
the extra components you're looking for.


Get your mouse off of there!  You don't know where that email has been!
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 9 18:27:00 2005

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

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