slony1-bugs at lists.slony.info slony1-bugs at lists.slony.info
Tue Dec 16 07:53:34 PST 2008
http://www.slony.info/bugzilla/show_bug.cgi?id=68

           Summary: MAKE RPM  doesn't work (slony 2.0.0)
           Product: Slony-I
           Version: devel
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: high
         Component: rpm
        AssignedTo: slony1-bugs at lists.slony.info
        ReportedBy: andrewoconnell at lineone.net
                CC: devrim at commandprompt.com
   Estimated Hours: 0.0


Hi, the rpm build process doesn't work properly, I can kinda see what's wrong
(I think) but have don't know how to fix it :

I'm running on a centos 5 box, the same thing happens on my Centos 4 box as
well..


I submitted anther bug due to the spec file attacking the wrong tar file
earlier this month :)


At the end of ./configure --with-pgconfigdir=/usr/bin/pg_config && make rpm

I get

Processing files: slony1-2.0.0-1_PG8.3.0
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.59017
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd slony1-2.0.0
+ DOCDIR=/var/tmp/slony1-2.0.0-1_PG8.3.0-root-root/usr/share/doc/slony1-2.0.0
+ export DOCDIR
+ rm -rf /var/tmp/slony1-2.0.0-1_PG8.3.0-root-root/usr/share/doc/slony1-2.0.0
+ /bin/mkdir -p
/var/tmp/slony1-2.0.0-1_PG8.3.0-root-root/usr/share/doc/slony1-2.0.0
+ cp -pr COPYRIGHT UPGRADING HISTORY-1.1 INSTALL SAMPLE RELEASE-2.0
/var/tmp/slony1-2.0.0-1_PG8.3.0-root-root/usr/share/doc/slony1-2.0.0
+ exit 0
Provides: config(slony1) = 2.0.0-1_PG8.3.0 slony1_funcs.so
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /bin/bash /bin/sh /etc/slon_tools.conf /usr/bin/perl /usr/bin/sh
/usr/lib/pgsql/slon-tools.pm config(slony1) = 2.0.0-1_PG8.3.0 libc.so.6
libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.2)
libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3)
libc.so.6(GLIBC_2.3.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libpq.so.5
libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1)
libpthread.so.0(GLIBC_2.3.2) perl(@@PGLIBDIR@@::slon-tools) perl(DBI)
perl(File::Temp) perl(Getopt::Long) perl(strict) postgresql-server = 8.3.0
rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/var/tmp/slony1-2.0.0-1_PG8.3.0-root-root
Wrote: /usr/src/redhat/SRPMS/slony1-2.0.0-1_PG8.3.0.src.rpm
Wrote: /usr/src/redhat/RPMS/i386/slony1-2.0.0-1_PG8.3.0.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.55567
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd slony1-2.0.0
+ rm -rf /var/tmp/slony1-2.0.0-1_PG8.3.0-root-root
+ exit 0



I try 

rpm -Uhv /usr/src/redhat/RPMS/i386/slony1-2.0.0-1_PG8.3.0.i386.rpm
error: Failed dependencies:
        /usr/bin/sh is needed by slony1-2.0.0-1_PG8.3.0.i386
        perl(@@PGLIBDIR@@::slon-tools) is needed by slony1-2.0.0-1_PG8.3.0.i386



I think that the /usr/bin/sh  dependency is not needed as you have two sh
checks at the start

I have no idea what's up with perl(@@PGLIBDIR@@::slon-tools !!!!

Can anyone shed any more light on this as I'd really rather use RPMs than make
install 


Thanks,

Andrew


-- 
Configure bugmail: http://www.slony.info/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Slony1-bugs mailing list