Sendmail not building

Robert Hulme rob at robhulme.com
Sun Mar 30 03:59:53 PST 2003


Hi,

I wonder if anyone can help me?

I've used cvsup to get the latest ports collection because of the
sendmail vulnerability but sendmail fails to build:

www# make clean
===>  Cleaning for sendmail-8.12.9
www# make
===>  Extracting for sendmail-8.12.9
>> Checksum OK for sendmail.8.12.9.tar.gz.
===>  Patching for sendmail-8.12.9
===>  Applying FreeBSD patches for sendmail-8.12.9
===>  Configuring for sendmail-8.12.9
/usr/bin/sed -e "s,\`-pthread\',\`-pthread\',"  -e "s,\`-O\',\`-O -pipe
\',"  /usr/ports/mail/sendmail/work/sendmail-8.12.9/devtools/OS/FreeBSD.
sed  > /usr/ports/mail/sendmail/work/sendmail-8.12.9/devtools/OS/FreeBSD
/usr/bin/sed -e "s=%%PREFIX%%=/usr/local=" -e
"s=%%LOCALBASE%%=/usr/local="
/usr/ports/mail/sendmail/files/site.config.m4.pre4 /usr/ports/mail/
sendmail/files/site.config.m4
/usr/ports/mail/sendmail/files/site.config.m4.ipv6
/usr/ports/mail/sendmail/files/site.config.m4.milter > /usr/por
ts/mail/sendmail/work/sendmail-8.12.9/devtools/Site/site.config.m4
===>  Building for sendmail-8.12.9
Making all in:
/usr/ports/mail/sendmail/work/sendmail-8.12.9/libsm
Configuration: pfx=, os=FreeBSD, rel=4.5-RELEASE, rbase=4,
rroot=4.5-RELEASE, arch=i386, sfx=, variant=optimized
Using M4=/usr/local/bin/gm4
Creating
/usr/ports/mail/sendmail/work/sendmail-8.12.9/obj.FreeBSD.4.5-RELEASE.i3
86/libsm using /usr/ports/mail/sendmail/work/sendmail-8.12.9/de
vtools/OS/FreeBSD
Including
/usr/ports/mail/sendmail/work/sendmail-8.12.9/devtools/Site/site.config.
m4
Making dependencies in
/usr/ports/mail/sendmail/work/sendmail-8.12.9/obj.FreeBSD.4.5-RELEASE.i3
86/libsm
rm -f sm_os.h
ln -f -s ../../include/sm/os/sm_os_freebsd.h sm_os.h
mkdep -a -f Makefile -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX
assert.c debug.c errstring.c exc.c heap.c match.c rpool.c strdup.c
strerror.
c strl.c clrerr.c fclose.c feof.c ferror.c fflush.c fget.c fpos.c
findfp.c flags.c fopen.c fprintf.c fpurge.c fput.c fread.c fscanf.c
fseek.c fv
write.c fwalk.c fwrite.c get.c makebuf.c put.c refill.c rewind.c
setvbuf.c smstdio.c snprintf.c sscanf.c stdio.c strio.c ungetc.c
vasprintf.c vf
printf.c vfscanf.c vprintf.c vsnprintf.c vsprintf.c vsscanf.c wbuf.c
wsetup.c string.c stringf.c xtrap.c strto.c test.c path.c strcasecmp.c
strr
evcmp.c signal.c clock.c config.c shm.c mbdb.c strexit.c cf.c ldap.c
niprop.c mpeix.c   t-event.c t-exc.c t-rpool.c t-string.c t-smstdio.c
t-mat
ch.c t-strio.c t-heap.c t-fopen.c t-strl.c t-strrevcmp.c t-types.c
t-path.c t-float.c t-scanf.c t-shm.c t-cf.c b-strcmp.c
Making in
/usr/ports/mail/sendmail/work/sendmail-8.12.9/obj.FreeBSD.4.5-RELEASE.i3
86/libsm
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c assert.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c debug.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c
errstring.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c exc.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c heap.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c match.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c rpool.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c strdup.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c strerror.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c strl.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c clrerr.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fclose.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c feof.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c ferror.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fflush.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fget.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fpos.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c findfp.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c flags.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fopen.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fprintf.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fpurge.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fput.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fread.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fscanf.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fseek.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fvwrite.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fwalk.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c fwrite.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c get.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c makebuf.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c put.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c refill.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c rewind.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c setvbuf.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c smstdio.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c snprintf.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c sscanf.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c stdio.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c strio.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c ungetc.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c
vasprintf.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c vfprintf.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c vfscanf.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c vprintf.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c
vsnprintf.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c vsprintf.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c vsscanf.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c wbuf.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c wsetup.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c string.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c stringf.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c xtrap.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c strto.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c test.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c path.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c
strcasecmp.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c
strrevcmp.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c signal.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c clock.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c config.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c shm.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c mbdb.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c strexit.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c cf.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c ldap.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c niprop.c
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c mpeix.c
ar crv libsm.a assert.o debug.o errstring.o exc.o heap.o match.o rpool.o
strdup.o strerror.o strl.o clrerr.o fclose.o feof.o ferror.o fflush.o f
get.o fpos.o findfp.o flags.o fopen.o fprintf.o fpurge.o fput.o fread.o
fscanf.o fseek.o fvwrite.o fwalk.o fwrite.o get.o makebuf.o put.o refill
.o rewind.o setvbuf.o smstdio.o snprintf.o sscanf.o stdio.o strio.o
ungetc.o vasprintf.o vfprintf.o vfscanf.o vprintf.o vsnprintf.o
vsprintf.o v
sscanf.o wbuf.o wsetup.o string.o stringf.o xtrap.o strto.o test.o
path.o strcasecmp.o strrevcmp.o signal.o clock.o config.o shm.o mbdb.o
strexi
t.o cf.o ldap.o niprop.o mpeix.o
a - assert.o
a - debug.o
a - errstring.o
a - exc.o
a - heap.o
a - match.o
a - rpool.o
a - strdup.o
a - strerror.o
a - strl.o
a - clrerr.o
a - fclose.o
a - feof.o
a - ferror.o
a - fflush.o
a - fget.o
a - fpos.o
a - findfp.o
a - flags.o
a - fopen.o
a - fprintf.o
a - fpurge.o
a - fput.o
a - fread.o
a - fscanf.o
a - fseek.o
a - fvwrite.o
a - fwalk.o
a - fwrite.o
a - get.o
a - makebuf.o
a - put.o
a - refill.o
a - rewind.o
a - setvbuf.o
a - smstdio.o
a - snprintf.o
a - sscanf.o
a - stdio.o
a - strio.o
a - ungetc.o
a - vasprintf.o
a - vfprintf.o
a - vfscanf.o
a - vprintf.o
a - vsnprintf.o
a - vsprintf.o
a - vsscanf.o
a - wbuf.o
a - wsetup.o
a - string.o
a - stringf.o
a - xtrap.o
a - strto.o
a - test.o
a - path.o
a - strcasecmp.o
a - strrevcmp.o
a - signal.o
a - clock.o
a - config.o
a - shm.o
a - mbdb.o
a - strexit.o
a - cf.o
a - ldap.o
a - niprop.o
a - mpeix.o
ranlib  libsm.a
cc -O -pipe -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX  -c t-event.c
cc -o t-event   t-event.o libsm.a   -lbind -lutil
/usr/lib/libbind.so: undefined reference to `isc_movefile'
/usr/lib/libbind.so: undefined reference to `pselect'
*** Error code 1

Stop in
/usr/ports/mail/sendmail/work/sendmail-8.12.9/obj.FreeBSD.4.5-RELEASE.i3
86/libsm.
*** Error code 1

Stop in /usr/ports/mail/sendmail/work/sendmail-8.12.9.
*** Error code 1

Stop in /usr/ports/mail/sendmail.

I'm using 4.5-RELEASE
www# uname -r
4.5-RELEASE

It is prefferable not to update FreeBSD to a newer version as the server
is colocated, and it means I will have to drive 50 miles and take a live
server down.

Has anyone got any ideas why it isnt building?

Thankyou!
-Rob



More information about the freebsd-questions mailing list