[Bug 263416] Sendmail make cf failed then hostname contains dnl substring
Date: Tue, 19 Apr 2022 09:55:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263416 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_=/usr/share/sendmail/cf/ /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: 1. Fix the line like this: echo "define(\`__HOST__', \`$host')dnl" 2. Remove this line because __HOST__ not used anymore. -- You are receiving this mail because: You are the assignee for the bug.