Bug 258058 - mail/sendmail Build Fails due to Missing unicode/ucasemap.h
Summary: mail/sendmail Build Fails due to Missing unicode/ucasemap.h
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-26 13:35 UTC by Ryan Frederick
Modified: 2021-09-03 14:23 UTC (History)
2 users (show)

See Also:
dinoex: maintainer-feedback+


Attachments
patch (356 bytes, patch)
2021-09-03 08:42 UTC, Dirk Meyer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Frederick 2021-08-26 13:35:47 UTC
Building of mail/sendmail 8.17.1 (sendmail+tls+sasl2 specifically) fails due to not finding unicode/ucasemap.h:

---

===>  Configuring for sendmail+tls+sasl2-8.17.1
/usr/bin/sed -i.bak -e "s|\`-O'|\`-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing '|"  -e 's|%%CC%%|cc|' -e 's|%%LD%%|ld|' /us
r/ports/mail/sendmail/work/sendmail-8.17.1/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.ipv6 /usr/ports/mail/sendmail/files/site.config
.m4.dane /usr/ports/mail/sendmail/files/site.config.m4.sasl2 /usr/ports/mail/sendmail/files/site.config.m4.smtputf8 /usr/ports/mail/sen
dmail/files/site.config.m4.milter /usr/ports/mail/sendmail/files/site.config.m4.tls > /usr/ports/mail/sendmail/work/sendmail-8.17.1/dev
tools/Site/site.config.m4
echo  'APPENDDEF(`conf_sendmail_ENVDEF'\'', `-DPICKY_HELO_CHECK'\'')'  >> /usr/ports/mail/sendmail/work/sendmail-8.17.1/devtools/Site/s
ite.config.m4   
===>  Building for sendmail+tls+sasl2-8.17.1
--- all ---
Making all in:  
/usr/ports/mail/sendmail/work/sendmail-8.17.1/libsm
Configuration: pfx=, os=FreeBSD, rel=11.4-RELEASE-p9, rbase=11, rroot=11.4-RELEASE-p9, arch=amd64, sfx=, variant=optimized
Using M4=/usr/local/bin/gm4
Creating /usr/ports/mail/sendmail/work/sendmail-8.17.1/obj.FreeBSD.11.4-RELEASE-p9.amd64/libsm using /usr/ports/mail/sendmail/work/send
mail-8.17.1/devtools/OS/FreeBSD
Including /usr/ports/mail/sendmail/work/sendmail-8.17.1/devtools/Site/site.config.m4
Making dependencies in /usr/ports/mail/sendmail/work/sendmail-8.17.1/obj.FreeBSD.11.4-RELEASE-p9.amd64/libsm
--- sm_os.h --- 
rm -f sm_os.h   
ln -f -s ../../include/sm/os/sm_os_freebsd.h sm_os.h
--- depend ---  
mkdep -a -f Makefile -I. -I../../include -DNEWDB -DNIS -DMAP_REGEX -DUSE_EAI -DNETINET6  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 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 memstat.c util.c inet6_ntop.c notify.c ilenx.c xleni.c utf8_valid.c uxtext_unquote.c lowercase.c strcaseeq.c
lowercase.c:19:11: fatal error: 'unicode/ucasemap.h' file not found
# include <unicode/ucasemap.h>
          ^~~~~~~~~~~~~~~~~~~~
1 error generated.
mkdep: compile failed
*** [depend] Error code 1

make[3]: stopped in /usr/ports/mail/sendmail/work/sendmail-8.17.1/obj.FreeBSD.11.4-RELEASE-p9.amd64/libsm
1 error

make[3]: stopped in /usr/ports/mail/sendmail/work/sendmail-8.17.1/obj.FreeBSD.11.4-RELEASE-p9.amd64/libsm
Making in /usr/ports/mail/sendmail/work/sendmail-8.17.1/obj.FreeBSD.11.4-RELEASE-p9.amd64/libsm
A failure has been detected in another branch of the parallel make

make[3]: stopped in /usr/ports/mail/sendmail/work/sendmail-8.17.1/obj.FreeBSD.11.4-RELEASE-p9.amd64/libsm
*** [all] Error code 2

make[2]: stopped in /usr/ports/mail/sendmail/work/sendmail-8.17.1
1 error

make[2]: stopped in /usr/ports/mail/sendmail/work/sendmail-8.17.1
Comment 1 Dirk Meyer freebsd_committer freebsd_triage 2021-08-31 12:31:28 UTC
I am unable to reproduce your problem.
please "make clean" and try again.
Comment 2 Ryan Frederick 2021-08-31 13:27:07 UTC
I still have the problem after running 'make clean'.

I am experiencing the problem on multiple systems. The affected systems are running 11.4-RELEASE-p13

The following options are configured:
     SHMEM=on: System V shared memory support
     SEM=on: POSIX semaphores support
     LA=on: load averages support
     NIS=on: Network Information Services/YP support
     IPV6=on: IPv6 protocol support
     TLS=on: SMTP-TLS and SMTPS support
     DANE=on: Enable DANE support
     SASL=on: SASL authentication support
     SASLAUTHD=on: SASLAUTHD support
     LDAP=off: LDAP protocol support
     BDB=off: Berkeley DB version 4+ support
     GDBM=off: GNU dbm library support (option COMPAT needed)
     SOCKETMAP=off: Enable socketmap feature
     CYRUSLOOKUP=off: Enable cyruslookup feature
     BLACKLISTD=off: Enable blacklistd support
     SMTPUTF8=on: Enable unicode address support
     PICKY_HELO_CHECK=on: Enable picky HELO check
     MILTER=on: Enable milter support
     DOCS=on: Build and/or install documentation
Comment 3 C. Bern 2021-09-02 21:24:18 UTC
Hi 

I have the exact same problem. With 2 systems running 12.2-RELEASE-p7 
Was using sendmail+tls+sasl2 before (it changed to just sendmail in the past, but 8.16.1 compiled/worked well.

[root@cherub2 ~]# cd /usr/ports/mail/sendmail
[root@cherub2 /usr/ports/mail/sendmail]# ls
Makefile	bsd.milter.mk	distinfo	files		pkg-descr	pkg-plist	work
[root@cherub2 /usr/ports/mail/sendmail]# make install
===>  Building for sendmail-8.17.1
Making all in:
/usr/ports/mail/sendmail/work/sendmail-8.17.1/libsm
Configuration: pfx=, os=FreeBSD, rel=12.2-RELEASE-p7, rbase=12, rroot=12.2-RELEASE-p7, arch=amd64, sfx=, variant=optimized
Making in /usr/ports/mail/sendmail/work/sendmail-8.17.1/obj.FreeBSD.12.2-RELEASE-p7.amd64/libsm
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c assert.c -o assert.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c debug.c -o debug.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c errstring.c -o errstring.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c exc.c -o exc.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c heap.c -o heap.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c match.c -o match.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c rpool.c -o rpool.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c strdup.c -o strdup.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c strerror.c -o strerror.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c strl.c -o strl.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c clrerr.c -o clrerr.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c fclose.c -o fclose.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c feof.c -o feof.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c ferror.c -o ferror.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c fflush.c -o fflush.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c fget.c -o fget.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c fpos.c -o fpos.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c findfp.c -o findfp.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c flags.c -o flags.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c fopen.c -o fopen.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c fprintf.c -o fprintf.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c fpurge.c -o fpurge.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c fput.c -o fput.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c fread.c -o fread.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c fscanf.c -o fscanf.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c fseek.c -o fseek.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c fvwrite.c -o fvwrite.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c fwalk.c -o fwalk.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c fwrite.c -o fwrite.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c get.c -o get.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c makebuf.c -o makebuf.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c put.c -o put.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c refill.c -o refill.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c rewind.c -o rewind.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c setvbuf.c -o setvbuf.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c smstdio.c -o smstdio.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c snprintf.c -o snprintf.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c sscanf.c -o sscanf.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c stdio.c -o stdio.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c strio.c -o strio.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c ungetc.c -o ungetc.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c vasprintf.c -o vasprintf.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c vfprintf.c -o vfprintf.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c vfscanf.c -o vfscanf.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c vprintf.c -o vprintf.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c vsnprintf.c -o vsnprintf.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c wbuf.c -o wbuf.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c wsetup.c -o wsetup.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c string.c -o string.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c stringf.c -o stringf.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c xtrap.c -o xtrap.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c strto.c -o strto.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c test.c -o test.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c strcasecmp.c -o strcasecmp.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c strrevcmp.c -o strrevcmp.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c signal.c -o signal.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c clock.c -o clock.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c config.c -o config.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c shm.c -o shm.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c sem.c -o sem.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c mbdb.c -o mbdb.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c strexit.c -o strexit.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c cf.c -o cf.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c ldap.c -o ldap.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c niprop.c -o niprop.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c mpeix.c -o mpeix.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c memstat.c -o memstat.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c util.c -o util.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c inet6_ntop.c -o inet6_ntop.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c notify.c -o notify.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c ilenx.c -o ilenx.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c xleni.c -o xleni.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c utf8_valid.c -o utf8_valid.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c uxtext_unquote.c -o uxtext_unquote.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -DNEWDB -DMAP_REGEX -DUSE_EAI -DNETINET6  -c lowercase.c -o lowercase.o
lowercase.c:19:11: fatal error: 'unicode/ucasemap.h' file not found
# include <unicode/ucasemap.h>
          ^~~~~~~~~~~~~~~~~~~~
1 error generated.
*** [lowercase.o] Error code 1

make[3]: stopped in /usr/ports/mail/sendmail/work/sendmail-8.17.1/obj.FreeBSD.12.2-RELEASE-p7.amd64/libsm
1 error

make[3]: stopped in /usr/ports/mail/sendmail/work/sendmail-8.17.1/obj.FreeBSD.12.2-RELEASE-p7.amd64/libsm
*** [all] Error code 2

make[2]: stopped in /usr/ports/mail/sendmail/work/sendmail-8.17.1
1 error

make[2]: stopped in /usr/ports/mail/sendmail/work/sendmail-8.17.1
===> Compilation failed unexpectedly.

It needs at least 3 includes file from subdir unicode.
With the .h files from /usr/local/include/unicode it compiles:

[root@beastly /usr/ports/mail/sendmail/work/sendmail-8.17.1/include]# ln -s /usr/local/include/unicode unicode

which looks like this:
[root@beastly /usr/ports/mail/sendmail/work/sendmail-8.17.1/include]# ls -al
total 24
drwxr-xr-x   6 root  wheel   512 Sep  2 22:58 .
drwxr-xr-x  22 root  wheel  1024 Sep  2 22:48 ..
drwxr-xr-x   2 root  wheel   512 Aug 16 08:04 libmilter
drwxr-xr-x   2 root  wheel   512 Aug 16 08:04 libsmdb
drwxr-xr-x   2 root  wheel   512 Aug 16 08:04 sendmail
drwxr-xr-x   3 root  wheel  1024 Aug 16 08:04 sm
lrwxr-xr-x   1 root  wheel    26 Sep  2 22:58 unicode -> /usr/local/include/unicode

Then later ...
Installing sendmail-8.17.1...
...
There stem from icu:
[root@beastly /usr/ports/mail/sendmail/work/sendmail-8.17.1/include]# pkg ver -v | grep icu
icu-69.1,1                         =   up-to-date with index

But seems fine.

Any idea what's the matter?
Both systems were upgraded at least once from earlier FreeBSD versions.
cheers cmb
Comment 4 Dirk Meyer freebsd_committer freebsd_triage 2021-09-03 08:42:47 UTC
Created attachment 227639 [details]
patch
Comment 5 Dirk Meyer freebsd_committer freebsd_triage 2021-09-03 08:44:17 UTC
Problem: LOCALBASE is missing when build with ssl from base.

Please try the patch.
Comment 6 C. Bern 2021-09-03 13:54:58 UTC
patch works fine for me, thanks
Comment 7 Ryan Frederick 2021-09-03 14:11:00 UTC
Patch works fine for me as well.
Comment 8 commit-hook freebsd_committer freebsd_triage 2021-09-03 14:22:53 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9d30c67940afc46db426014e854d0e15fce916d2

commit 9d30c67940afc46db426014e854d0e15fce916d2
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2021-09-03 14:21:46 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2021-09-03 14:22:41 +0000

    mail/sendmail: fix build with option SMTPUTF8

    PR: 258058

 mail/sendmail/files/site.config.m4.smtputf8 | 3 ++-
 mail/sendmail/files/site.config.m4.ssl      | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)
Comment 9 Dirk Meyer freebsd_committer freebsd_triage 2021-09-03 14:23:43 UTC
Committed Thanks