Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 May 2017 13:20:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 219257] [MAINTAINER] japanese/mh: Fix compilation error on 12.0-CURRENT
Message-ID:  <bug-219257-13@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: CQG00620@nifty.ne.jp

Created attachment 182565
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D182565&action=
=3Dedit
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=3D"$IFS" IFS=3D:
$ LOCAL=3D`hostname`
$ IFS=3D" "                               # Should be 'IFS=3D"$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";

--=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-219257-13>