custombuild freebsd problems building exim

Chrysalis

Verified User
Joined
Aug 25, 2004
Messages
1,587
Location
uk
ok so using custombuild 1.2 to build exim on freebsd6 32bit.
had same problem also on freebsd7 32bit.

compile stopped here.

Code:
ar cq pdkim.a
ranlib pdkim.a
ar cq pdkim.a
ranlib: 'pdkim.a': No such file
*** Error code 1
1 error
*** Error code 2
ranlib pdkim.a
 
1 error
*** Error code 2
1 error
-e \n*** The make has failed, do you want to try to make again? (y,n):

I then chose yes, reason was on the previous server I had noticed it failed at random times, so wanted to see if failed in the same spot, however to my surprise it carried on from where it left off and finished.

Code:
-e \n*** The make has failed, do you want to try to make again? (y,n): y

Trying to make exim...
`Makefile' is up to date.
 
`lookups.a' is up to date.
 
`routers.a' is up to date.
 
`transports.a' is up to date.
 
`pdkim.a' is up to date.
 
`auths.a' is up to date.
 
gcc -o exim_dbmbuild
gcc -o exim_dumpdb
/usr/bin/strip exim_dbmbuild
/usr/bin/strip exim_dumpdb
>>> exim_dbmbuild utility built
>>> exim_dumpdb utility built
gcc -o exim_fixdb
gcc -o exim_tidydb
/usr/bin/strip exim_fixdb
>>> exim_fixdb utility built
/usr/bin/strip exim_tidydb
awk '{ print ($1+1) }' cnumber.h > cnumber.temp
>>> exim_tidydb utility built
rm -f cnumber.h; mv cnumber.temp cnumber.h
gcc version.c
rm -f exim
gcc -o exim
/usr/bin/strip exim
 
>>> exim binary built
 
Make Complete
Installing exim...

Installation directory is /usr/sbin

cp exim /usr/sbin/exim-4.71-1
/usr/sbin/chown root /usr/sbin/exim-4.71-1
chmod a+x /usr/sbin/exim-4.71-1
chmod u+s /usr/sbin/exim-4.71-1
creation of symlink omitted
(NO_SYMLINK is specified in Local/Makefile)
cp /usr/sbin/exim_dumpdb /usr/sbin/exim_dumpdb.O
cp exim_dumpdb /usr/sbin
cp /usr/sbin/exim_fixdb /usr/sbin/exim_fixdb.O
cp exim_fixdb /usr/sbin
cp /usr/sbin/exim_tidydb /usr/sbin/exim_tidydb.O
cp exim_tidydb /usr/sbin
cp /usr/sbin/exinext /usr/sbin/exinext.O
cp exinext /usr/sbin
cp /usr/sbin/exiwhat /usr/sbin/exiwhat.O
cp exiwhat /usr/sbin
cp /usr/sbin/exim_dbmbuild /usr/sbin/exim_dbmbuild.O
cp exim_dbmbuild /usr/sbin
cp /usr/sbin/exicyclog /usr/sbin/exicyclog.O
cp exicyclog /usr/sbin
cp /usr/sbin/exigrep /usr/sbin/exigrep.O
cp exigrep /usr/sbin
cp /usr/sbin/eximstats /usr/sbin/eximstats.O
cp eximstats /usr/sbin
cp exipick /usr/sbin
cp /usr/sbin/exiqgrep /usr/sbin/exiqgrep.O
cp exiqgrep /usr/sbin
cp /usr/sbin/exiqsumm /usr/sbin/exiqsumm.O
cp exiqsumm /usr/sbin
cp /usr/sbin/exim_lock /usr/sbin/exim_lock.O
cp exim_lock /usr/sbin
cp /usr/sbin/exim_checkaccess /usr/sbin/exim_checkaccess.O
cp exim_checkaccess /usr/sbin

Configuration file /etc/exim.conf already exists

Exim installation complete
Moving exim binary.
Exim 4.71 Installed.
Restarting exim.
Shutting down exim:     [ OK ]
Starting exim:          [ OK ]

any thoughts? my initial guess is custombuild is running multiple compile processes, causing out of order files and the error.
 
Why does your output look so weird. Did you dump it like that on purpose?

Try first:

./build clean
 
whats weird about the output?

and build clean has no affect the error remains and is repeatable.
 
FYI, I've removed the -j ${CPU_CORES} bit from the exim "make" command. It will use a single linear process for the exim compile instead of a parallel process.

John
 
Back
Top