[Bug 219257] [MAINTAINER] japanese/mh: Fix compilation error on 12.0-CURRENT
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat May 13 13:20:52 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219257
Bug ID: 219257
Summary: [MAINTAINER] japanese/mh: Fix compilation error on
12.0-CURRENT
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: CQG00620 at nifty.ne.jp
Created attachment 182565
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=182565&action=edit
poudriere testport log on 12.0-CURRENT without the patch
On recent 12.0-CURRENT, japanese/mh has failed to build.
It has been occurred with a creation failure of config/version.c.
config/version.c is created with the config/version.sh script.
The version.sh script changes its IFS (Input Field Separators) variable
in the middle of the script from the default value (space, tab, and newline)
to ":".
After some command execution, it restore the IFS variable from ":" to " "
(not the default value). It should be restored to the default value
for usual operation. But the script doesn't do it, and has caused
odd behavior with recent 12.0-CURRENT (after r317559?).
To solve the problem, restore the IFS variable to the default value
appropriately.
* Simplified test script (from config/version.sh)
$ OFS="$IFS" IFS=:
$ LOCAL=`hostname`
$ IFS=" " # Should be 'IFS="$OFS"'
$ echo ' ('$LOCAL') of '`date`'";'
** Result on 12.0-CURRENT (r318250) - Bad.
(aquarius-vm.sign.local) of Sat May 13 17:30:47 JST 2017
";
** Result on 10.3-RELEASE-p19 - Not bad.
(aquarius-vm.sign.local) of Sat May 13 17:44:10 JST 2017";
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list