Exim 4.43

Hello,

Source RPM:
http://files.directadmin.com/services/da_exim-4.43-1.src.rpm
Code:
wget http://files.directadmin.com/services/da_exim-4.43-1.src.rpm
rpm -ivh da_exim-4.43-1.src.rpm
rpmbuild -bb /usr/src/redhat/SPECS/exim.spec
rpm -Uvh /usr/src/redhat/RPMS/i386/da_exim-4.43-1.i386.rpm

FreeBSD 4.x:
http://files.directadmin.com/services/freebsd4.8/da_exim-4.43-1.tgz

FreeBSD 5.x:
http://files.directadmin.com/services/freebsd5.1/da_exim-4.43-1.tgz
 
I'm having problems with the upgrade.

The first 2 lines work fine.

When I try to use rpmbuild, it runs for about 1 minute and then I get:

+ DOCDIR=/var/tmp/buildexim.fG5iR2/da_exim-4.43-root/usr/share/doc/da_exim-4.43
+ export DOCDIR
+ rm -rf /var/tmp/buildexim.fG5iR2/da_exim-4.43-root/usr/share/doc/da_exim-4.43
+ /bin/mkdir -p /var/tmp/buildexim.fG5iR2/da_exim-4.43-root/usr/share/doc/da_exim-4.43
+ cp -pr doc/ChangeLog doc/dbm.discuss.txt doc/Exim3.upgrade doc/Exim4.upgrade doc/exiscan-acl-examples.txt doc/exiscan-acl-spec.txt doc/filter.txt doc/NewStuff doc/OptionLists.txt doc/pcrepattern.txt doc/pcretest.txt doc/README doc/README.SIEVE doc/spec.txt CHANGES LICENCE NOTICE README README.UPDATING src/configure.default /var/tmp/buildexim.fG5iR2/da_exim-4.43-root/usr/share/doc/da_exim-4.43
cp: will not overwrite just-created `/var/tmp/buildexim.fG5iR2/da_exim-4.43-root/usr/share/doc/da_exim-4.43/README' with `README'
error: Bad exit status from /var/tmp/rpm-tmp.54157 (%doc)
Processing files: da_exim-debuginfo-4.43-1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.54157 (%doc)
[root@server2 html]#

Any ideas for what to try to fix this?
 
I get a similar error too :(
Code:
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.37364
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd da_exim-4.43
+ DOCDIR=/var/tmp/buildexim.fG5iR2/da_exim-4.43-root/usr/share/doc/da_exim-4.43
+ export DOCDIR
+ rm -rf /var/tmp/buildexim.fG5iR2/da_exim-4.43-root/usr/share/doc/da_exim-4.43
+ /bin/mkdir -p /var/tmp/buildexim.fG5iR2/da_exim-4.43-root/usr/share/doc/da_exim-4.43
+ cp -pr doc/ChangeLog doc/Exim3.upgrade doc/Exim4.upgrade doc/NewStuff doc/OptionLists.txt doc/README doc/README.SIEVE doc/dbm.discuss.txt doc/exiscan-acl-examples.txt doc/exiscan-acl-spec.txt doc/filter.txt doc/pcrepattern.txt doc/pcretest.txt doc/spec.txt CHANGES LICENCE NOTICE README README.UPDATING src/configure.default /var/tmp/buildexim.fG5iR2/da_exim-4.43-root/usr/share/doc/da_exim-4.43
cp: will not overwrite just-created `/var/tmp/buildexim.fG5iR2/da_exim-4.43-root/usr/share/doc/da_exim-4.43/README' with `README'
error: Bad exit status from /var/tmp/rpm-tmp.37364 (%doc)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.37364 (%doc)
 
Hi
i get this trouble at fedora core 2

[]# rpm -ivh da_exim-4.43-1.src.rpm
/etc/security/selinux/file_contexts: No such file or directory
error: cannot create %sourcedir /usr/src/redhat/SOURCES
[]# rpmbuild -bb /usr/src/redhat/SPECS/exim.spec
-bash: rpmbuild: command not found
 
AdminX said:
Hi
i get this trouble at fedora core 2

[]# rpm -ivh da_exim-4.43-1.src.rpm
/etc/security/selinux/file_contexts: No such file or directory
error: cannot create %sourcedir /usr/src/redhat/SOURCES
[]# rpmbuild -bb /usr/src/redhat/SPECS/exim.spec
-bash: rpmbuild: command not found
You need to install rpm-build: up2date -u rpm-build
You are also missing /usr/src/redhat, so create it.

As for the README error, I've uploaded a new source rpm which *should* fix the problem :) If it doesn't, send me an email: [email protected]

John
 
What are the new features or fixed bugs? in the official page i only can see the change log of 4.40.
 
I'm getting problems when doing
rpmbuild -bb /usr/src/redhat/SPECS/exim.spec

I am running Redhat 9

Errors can be see in the attached txt file
 

Attachments

  • exim_errors.txt
    2 KB · Views: 514
Last edited:
thank you for help but still get error at :
PHP:
sed \
  -e "s?PROCESSED_FLAG?This file has been so processed.?"\
  -e "/^# /p" \
  -e "/^# /d" \
  -e "s?CONFIGURE_FILE_USE_NODE??" \
  -e "s?CONFIGURE_FILE?/etc/exim.conf?" \
  -e "s?BIN_DIRECTORY?/usr/sbin?" \
  -e "s?PERL_COMMAND?/usr/bin/perl?" \
  ../src/exim_checkaccess.src > exim_checkaccess-t
>>> exim_checkaccess script built

gcc -c -O -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -o exim_dbmbuild.o exim_dbmbuild.c
In file included from exim.h:379,
                 from exim_dbmbuild.c:31:
dbstuff.h:101:16: db.h: No such file or directory
In file included from exim.h:379,
                 from exim_dbmbuild.c:31:
dbstuff.h:527: error: syntax error before "DB"
dbstuff.h:527: warning: no semicolon at end of struct or union
dbstuff.h:529: error: syntax error before '}' token
dbstuff.h:529: warning: data definition has no type or storage class
In file included from exim.h:383,
                 from exim_dbmbuild.c:31:
dbfunctions.h:11: error: syntax error before '*' token
dbfunctions.h:12: error: syntax error before '*' token
dbfunctions.h:13: error: syntax error before '*' token
dbfunctions.h:13: error: syntax error before "open_db"
dbfunctions.h:13: warning: data definition has no type or storage class
dbfunctions.h:14: error: syntax error before '*' token
dbfunctions.h:15: error: syntax error before '*' token
dbfunctions.h:16: error: syntax error before '*' token
exim_dbmbuild.c: In function `main':
exim_dbmbuild.c:142: error: `DB' undeclared (first use in this function)
exim_dbmbuild.c:142: error: (Each undeclared identifier is reported only once
exim_dbmbuild.c:142: error: for each function it appears in.)
exim_dbmbuild.c:142: error: `d' undeclared (first use in this function)
exim_dbmbuild.c:143: error: `DBT' undeclared (first use in this function)
exim_dbmbuild.c:143: error: syntax error before "key"
exim_dbmbuild.c:196: error: `DB_HASH' undeclared (first use in this function)
exim_dbmbuild.c:276: error: `content' undeclared (first use in this function)
exim_dbmbuild.c:279: error: `key' undeclared (first use in this function)
exim_dbmbuild.c:279: error: `R_NOOVERWRITE' undeclared (first use in this function)
make[1]: *** [exim_dbmbuild.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/da_exim-4.43/build-Linux-i386'
make: *** [go] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.47766 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.47766 (%build)
 
Hello,

I've got all of the binaries up now.. so no need to compile

http://files.directadmin.com/services/7.2/da_exim-4.43-1.i386.rpm
http://files.directadmin.com/services/7.3/da_exim-4.43-1.i386.rpm
http://files.directadmin.com/services/8.0/da_exim-4.43-1.i386.rpm
http://files.directadmin.com/services/9.0/da_exim-4.43-1.i386.rpm
http://files.directadmin.com/services/es_3.0/da_exim-4.43-1.i386.rpm
http://files.directadmin.com/services/fedora_1/da_exim-4.43-1.i386.rpm
http://files.directadmin.com/services/fedora_2/da_exim-4.43-1.i386.rpm
http://files.directadmin.com/services/freebsd4.8/da_exim-4.43-1.tgz
http://files.directadmin.com/services/freebsd5.1/da_exim-4.43-1.tgz

John
 
Back
Top