Fedora10 RPM build from src fails.

From: James A R Brown (no email)
Date: Mon Mar 23 2009 - 10:38:03 EDT

  • Next message: Martin Strand: "Re: header_checks for a specific client or sender"

    Hi,

    Hopefully someone can point me in the right direction to resolving the
    following attempted RPM build on Fedora10 X86_64.

    I have tried this now on 2 F10 machines.

    I also revisited Postfix 2.4.5 src which used to build on F7 ok, but
    this package will also not build on F10 as won't 2.5.6

    Thanks

    James

    Src used :
    http://ftp.wl0.org/official/2.5/SRPMS/postfix-2.5.6-1.src.rpm

    Error is
    -----------
    [root at www SOURCES]# sh make-postfix.spec

    Creating Postfix spec file: /root/rpmbuild/SPECS/postfix.spec
      Checking rpm database for distribution information...
      - if the script gets stuck here:
        check and remove /var/lib/rpm/__db.00? files
      Distribution is: fedora-release-10-1.noarch (fedora-10.0)

      enabling LDAP support in spec file by default (disable with
    POSTFIX_LDAP=0)
      enabling PCRE support in spec file
      enabling MySQL support (RedHat mysql* packages) in spec file
      enabling Dovecot SASL support in spec file
      enabling TLS support in spec file by default (disable with
    POSTFIX_TLS=0)

    [root at www SPECS]# rpmbuild -ba postfix.spec
    Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZgMFpv
    + umask 022
    + cd /root/rpmbuild/BUILD
    + umask 022
    + '[' 0 '!=' 0 ']'
    +++ rpm --eval /root/rpmbuild/SOURCES
    ++ sh /root/rpmbuild/SOURCES/postfix-get-distribution
    + distribution=fedora-10.0
    + '[' fedora-10.0 '!=' fedora-10.0 ']'
    + cd /root/rpmbuild/BUILD
    + rm -rf postfix-2.4.5
    + /usr/bin/gzip -dc /root/rpmbuild/SOURCES/postfix-2.4.5.tar.gz
    + /bin/tar -xf -
    + STATUS=0
    + '[' 0 -ne 0 ']'
    + cd postfix-2.4.5
    + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
    + echo 'Patch #3 (postfix-files.patch):'
    Patch #3 (postfix-files.patch):
    + /bin/cat /root/rpmbuild/SOURCES/postfix-files.patch
    + /usr/bin/patch -s -p1 -b --suffix .alternatives --fuzz=0
    1 out of 2 hunks FAILED -- saving rejects to file conf/postfix-files.rej
    error: Bad exit status from /var/tmp/rpm-tmp.ZgMFpv (%prep)

    RPM build errors:
        Bad exit status from /var/tmp/rpm-tmp.ZgMFpv (%prep)
    ------------


  • Next message: Martin Strand: "Re: header_checks for a specific client or sender"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD