sendmail port compilation failed in jail

Dave dmehler26 at woh.rr.com
Tue Sep 20 16:52:20 PDT 2005


    Hello,
    I've cvsupped my ports tree on 5.4-p6 to the latest, and am trying to 
get sendmail 8.13.5 going in a jail. The compilation appeared to go well, 
then a test failed. Any suggestions appreciated.
Thanks.
    Dave.

#make SENDMAIL_WITHOUT_IPV6=yes SENDMAIL_W
ITHOUT_NIS=yes   SENDMAIL_WITH_TLS=yes SENDMAIL_WITH_SMTPS=yes 
SENDMAIL_WITH_SASL2
=yes install clean
===>  Vulnerability check disabled, database not found
=> sendmail.8.13.5.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from ftp://ftp.sendmail.org/pub/sendmail/.

sendmail.8.13.5.tar.gz                          0% of 1931 kB    0  Bps
sendmail.8.13.5.tar.gz                          7% of 1931 kB  195 kBps
sendmail.8.13.5.tar.gz                         25% of 1931 kB  283 kBps
sendmail.8.13.5.tar.gz                         43% of 1931 kB  309 kBps
sendmail.8.13.5.tar.gz                         61% of 1931 kB  318 kBps
sendmail.8.13.5.tar.gz                         78% of 1931 kB  324 kBps
sendmail.8.13.5.tar.gz                         96% of 1931 kB  328 kBps
sendmail.8.13.5.tar.gz                        100% of 1931 kB  329 kBps
===>  Extracting for sendmail+tls+sasl2-8.13.5
=> Checksum OK for sendmail.8.13.5.tar.gz.
===>  Patching for sendmail+tls+sasl2-8.13.5
===>  Applying FreeBSD patches for sendmail+tls+sasl2-8.13.5
===>   sendmail+tls+sasl2-8.13.5 depends on shared library: sasl2.2 - found
===>  Configuring for sendmail+tls+sasl2-8.13.5
/usr/bin/sed -e "s;\`-pthread\';\`-pthread\';"  -e 
"s;\`-O\';\`-O -pipe -march=pentiumpro\';" -e "s;-DNIS ;;" 
/usr/ports/mail/sendmail/work/sendmail-8.13.5/devtools/OS/FreeBSD.sed  > 
/usr/ports/mail/sendmail/work/sendmail-8.13.5/devtools/OS/FreeBSD
/usr/bin/sed -e "s=%%PREFIX%%=/usr/local=g"  -e 
"s=%%LOCALBASE%%=/usr/local=g" 
/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.sasl2 
/usr/ports/mail/sendmail/files/site.config.m4.milter 
/usr/ports/mail/sendmail/files/site.config.m4.tls > 
/usr/ports/mail/sendmail/work/sendmail-8.13.5/devtools/Site/site.config.m4
echo  'APPENDDEF(`conf_sendmail_ENVDEF'\'', `-D_FFR_SMTP_SSL'\'')'  >> 
/usr/ports/mail/sendmail/work/sendmail-8.13.5/devtools/Site/site.config.m4
===>  Building for sendmail+tls+sasl2-8.13.5
Making all in:
/usr/ports/mail/sendmail/work/sendmail-8.13.5/libsm
Configuration: pfx=, os=FreeBSD, rel=5.4-RELEASE-p6, rbase=5, 
rroot=5.4-RELEASE-p6, arch=i386, sfx=, variant=optimized
Using M4=/usr/bin/m4
Creating 
/usr/ports/mail/sendmail/work/sendmail-8.13.5/obj.FreeBSD.5.4-RELEASE-p6.i386/libsm 
using /usr/ports/mail/sendmail/work/sendmail-8.13.5/devtools/OS/FreeBSD
Including 
/usr/ports/mail/sendmail/work/sendmail-8.13.5/devtools/Site/site.config.m4
Making dependencies in 
/usr/ports/mail/sendmail/work/sendmail-8.13.5/obj.FreeBSD.5.4-RELEASE-p6.i386/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 -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 fvwrite.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 vfprintf.c 
vfscanf.c vprintf.c vsnprintf.c wbuf.c wsetup.c string.c stringf.c xtrap.c 
strto.c test.c path.c strcasecmp.c strrevcmp.c signal.c clock.c config.c 
shm.c sem.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-match.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-sem.c t-cf.c b-strcmp.c
Making in 
/usr/ports/mail/sendmail/work/sendmail-8.13.5/obj.FreeBSD.5.4-RELEASE-p6.i386/libsm
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
assert.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
debug.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
errstring.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
exc.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
heap.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
match.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
rpool.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
strdup.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
strerror.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
strl.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
clrerr.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
fclose.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
feof.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
ferror.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
fflush.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
fget.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
fpos.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
findfp.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
flags.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
fopen.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
fprintf.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
fpurge.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
fput.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
fread.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
fscanf.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
fseek.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
fvwrite.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
fwalk.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
fwrite.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
get.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
makebuf.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
put.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
refill.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
rewind.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
setvbuf.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
smstdio.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
snprintf.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
sscanf.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
stdio.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
strio.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
ungetc.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
vasprintf.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
vfprintf.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
vfscanf.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
vprintf.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
vsnprintf.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
wbuf.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
wsetup.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
string.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
stringf.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
xtrap.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
strto.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
test.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
path.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
strcasecmp.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
strrevcmp.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
signal.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
clock.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
config.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
shm.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
sem.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
mbdb.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
strexit.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
cf.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
ldap.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
niprop.c
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -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 fget.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 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 sem.o mbdb.o strexit.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 - 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 - sem.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 -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
t-event.c
cc -o t-event  -L/usr/local/lib t-event.o libsm.a   -lutil
============================================================
./t-event
This test may hang. If there is no output within twelve seconds, abort it
and recompile with -DSM_CONF_SETITIMER=0
8 of 8 tests completed successfully
============================================================
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
t-exc.c
cc -o t-exc  -L/usr/local/lib t-exc.o libsm.a   -lutil
============================================================
./t-exc
4 of 4 tests completed successfully
============================================================
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
t-rpool.c
cc -o t-rpool  -L/usr/local/lib t-rpool.o libsm.a   -lutil
============================================================
./t-rpool
2 of 2 tests completed successfully
============================================================
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
t-string.c
cc -o t-string  -L/usr/local/lib t-string.o libsm.a   -lutil
============================================================
./t-string
4 of 4 tests completed successfully
============================================================
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
t-smstdio.c
cc -o t-smstdio  -L/usr/local/lib t-smstdio.o libsm.a   -lutil
============================================================
./t-smstdio
6 of 6 tests completed successfully
============================================================
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
t-match.c
cc -o t-match  -L/usr/local/lib t-match.o libsm.a   -lutil
============================================================
./t-match
12 of 12 tests completed successfully
============================================================
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
t-strio.c
cc -o t-strio  -L/usr/local/lib t-strio.o libsm.a   -lutil
============================================================
./t-strio
1 of 1 tests completed successfully
============================================================
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
t-heap.c
cc -o t-heap  -L/usr/local/lib t-heap.o libsm.a   -lutil
============================================================
./t-heap
3 of 3 tests completed successfully
============================================================
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
t-fopen.c
cc -o t-fopen  -L/usr/local/lib t-fopen.o libsm.a   -lutil
============================================================
./t-fopen
3 of 3 tests completed successfully
============================================================
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
t-strl.c
cc -o t-strl  -L/usr/local/lib t-strl.o libsm.a   -lutil
============================================================
./t-strl
44 of 44 tests completed successfully
============================================================
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
t-strrevcmp.c
cc -o t-strrevcmp  -L/usr/local/lib t-strrevcmp.o libsm.a   -lutil
============================================================
./t-strrevcmp
6 of 6 tests completed successfully
============================================================
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
t-types.c
t-types.c: In function `main':
t-types.c:64: warning: integer overflow in expression
cc -o t-types  -L/usr/local/lib t-types.o libsm.a   -lutil
============================================================
./t-types
Your C compiler maybe issued a warning during compilation,
please IGNORE the compiler warning!.
13 of 13 tests completed successfully
============================================================
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
t-path.c
cc -o t-path  -L/usr/local/lib t-path.o libsm.a   -lutil
============================================================
./t-path
4 of 4 tests completed successfully
============================================================
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
t-float.c
cc -o t-float  -L/usr/local/lib t-float.o libsm.a   -lutil
============================================================
./t-float
4 of 4 tests completed successfully
============================================================
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
t-scanf.c
cc -o t-scanf  -L/usr/local/lib t-scanf.o libsm.a   -lutil
============================================================
./t-scanf
If tests for "h == 2" fail, check whether size_t is signed on your OS.
If that is the case, add -DSM_CONF_BROKEN_SIZE_T to confENVDEF
and start over. Otherwise contact sendmail.org.
6 of 6 tests completed successfully
============================================================
cc -O -pipe -march=pentiumpro -I. -I../../include -DNEWDB -DMAP_REGEX  -c 
t-shm.c
cc -o t-shm  -L/usr/local/lib t-shm.o libsm.a   -lutil
============================================================
./t-shm
shminit failed: Function not implemented
shminit failed: Function not implemented
1..bad! t-shm.c:260 r == 0
add -DSM_CONF_SHM=0 to confENVDEF in devtools/Site/site.config.m4
and start over.
0 of 1 tests completed successfully
*** 1 error in test! ***
1..bad! t-shm.c:260 r == 0
add -DSM_CONF_SHM=0 to confENVDEF in devtools/Site/site.config.m4
and start over.
0 of 1 tests completed successfully
*** 1 error in test! ***
*** Error code 1

Stop in 
/usr/ports/mail/sendmail/work/sendmail-8.13.5/obj.FreeBSD.5.4-RELEASE-p6.i386/libsm.
*** Error code 1

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

Stop in /usr/ports/mail/sendmail.



More information about the freebsd-questions mailing list