Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Apr 2022 09:55:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 263416] Sendmail make cf failed then hostname contains dnl substring
Message-ID:  <bug-263416-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263416

            Bug ID: 263416
           Summary: Sendmail make cf failed then hostname contains dnl
                    substring
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: maxim.shalomikhin@kaspersky.com

Steps to reproduce:
install freebsd;
set any hostname with "dnl" substring;
Try to "cd /etc/mail; make".

# hostname dnl-0.localdomain
# cd /etc/mail
# make
cp -f freebsd.mc dnl-0.localdomain.mc
/usr/bin/m4 -D_CF_DIR_=3D/usr/share/sendmail/cf/=20=20
/usr/share/sendmail/cf/m4/cf.m4 dnl-0.localdomain.mc > dnl-0.localdomain.cf
m4: unexpected end of input, unclosed parenthesis:
   /usr/share/sendmail/cf/m4/cf.m4 at line 29
*** Error code 1

Stop.
make: stopped in /etc/mail



It looks like the issue is in last string of
/usr/share/sendmail/cf/sh/makeinfo.sh:
echo "define(\`__HOST__', $host)dnl"

I see two options:=20
1. Fix the line like this: echo "define(\`__HOST__', \`$host')dnl"
2. Remove this line because __HOST__ not used anymore.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263416-227>