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

AIX RPM

From: <Steve.Nelson_at_uk.delarue.com>
Date: 2006-11-28 07:30:55 CET

Hello,

Having managed to build my svn client from source on AIX I've set to
making an rpm for the other machines.

Environment is (AIX 5.3):

lpar2:/> gcc --version
gcc (GCC) 4.0.0
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

lpar2:/> rpm -qa | grep rpm
AIX-rpm-5.3.0.10-1
rpm-3.0.5-40
rpm-build-3.0.5-40

Am trying to build a subversion rpm. On the build machine I have this
spec file:

Summary: Subversion Client
Name: subversion
Version: 1.3.2
Release: 1
Source0: %{name}-%{version}.tar.gz
License: GPL
Group: Development/Tools
%description
This is a subversion client for accessing repository; Built with SSL
support.
%prep
%setup -q
%build
./configure --without-berkeley-db --with-ssl --with-libs=/opt/freeware
make
%install
make install
%files
%defattr(-,root,root)
/usr/local/bin/svn
%doc %attr(0444,root,root) /usr/local/man/man1/svn.1
%doc COPYING AUTHORS README NEWS

This builds as a source install using the same instructions.

I then do rpm -ba svn.spec

Ages later I see:

<snip>

+ cp -pr COPYING AUTHORS README NEWS /opt/freeware/doc/subversion-1.3.2
cp: AUTHORS: A file or directory in the path name does not exist.
cp: NEWS: A file or directory in the path name does not exist.
Bad exit status from /var/opt/freeware/tmp/rpm-tmp.7090 (%doc)
Finding Provides: (using /opt/freeware/lib/rpm/find-provides)...
Finding Requires: (using /opt/freeware/lib/rpm/find-requires)...
Requires: libapr-0.so libaprutil-0.so libc.a(shr.o) libnsl.a(shr.o)
libpthread.a(shr_comm.o) libpthread.a(shr_xpg5.o) librtl.a(shr.o)
libsvn_client-1.so libsvn_delta-1.so libsvn_diff-1.so libsvn_fs-1.so
libsvn_fs_fs-1.so libsvn_ra-1.so libsvn_ra_dav-1.so
libsvn_ra_local-1.so libsvn_ra_svn-1.so libsvn_repos-1.so
libsvn_subr-1.so libsvn_wc-1.so
Wrote: /opt/freeware/src/packages/SRPMS/subversion-1.3.2-1.src.rpm
Wrote:
/opt/freeware/src/packages/RPMS/ppc/subversion-1.3.2-1.aix5.3.ppc.rpm

But if I try to install this rpm I get:

error: failed dependencies:
       libapr-0.so is needed by subversion-1.3.2-1
       libaprutil-0.so is needed by subversion-1.3.2-1
       libsvn_client-1.so is needed by subversion-1.3.2-1
       libsvn_delta-1.so is needed by subversion-1.3.2-1
       libsvn_diff-1.so is needed by subversion-1.3.2-1
       libsvn_fs-1.so is needed by subversion-1.3.2-1
       libsvn_fs_fs-1.so is needed by subversion-1.3.2-1
       libsvn_ra-1.so is needed by subversion-1.3.2-1
       libsvn_ra_dav-1.so is needed by subversion-1.3.2-1
       libsvn_ra_local-1.so is needed by subversion-1.3.2-1
       libsvn_ra_svn-1.so is needed by subversion-1.3.2-1
       libsvn_repos-1.so is needed by subversion-1.3.2-1
       libsvn_subr-1.so is needed by subversion-1.3.2-1
       libsvn_wc-1.so is needed by subversion-1.3.2-1

What am I doing wrong?

S.

Steve Nelson
Technical Analyst
De La Rue plc
De La Rue House, Jays Close
Basingstoke, Hampshire, RG22 4BS
(T) +44 (0)1256 605179
(M) +44 7764 286 356
(F) +44 (0)1256 605094
steve.nelson@uk.delarue.com
http://www.delarue.com

**********************************************************************
This e-mail and any files attached are strictly confidential, may be legally privileged
and are intended solely for the addressee. If you are not the intended recipient, note
that any disclosure, copying, distribution, or use of the contents of this message and
attachments is strictly prohibited. Please notify the sender immediately by return email,
phone or fax and then delete the e-mail and any attachments immediately. The views
and or opinions expressed in this e-mail are not necessarily the views of De La Rue plc
or any of its subsidiaries and the De La Rue Group of companies, their directors,
officers and employees make no representation about and accept no liability for its
accuracy or completeness. Please ensure you have adequate virus protection before
you open any attachment as the De La Rue Group of companies do not accept liability
 for any viruses.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 28 07:31:35 2006

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