From owner-freebsd-ports-bugs@freebsd.org Sat May 13 13:20:52 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 57DACD6A9A0 for ; Sat, 13 May 2017 13:20:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2DB975E6 for ; Sat, 13 May 2017 13:20:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v4DDKqrq063266 for ; Sat, 13 May 2017 13:20:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 219257] [MAINTAINER] japanese/mh: Fix compilation error on 12.0-CURRENT Date: Sat, 13 May 2017 13:20:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: CQG00620@nifty.ne.jp X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 May 2017 13:20:52 -0000 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.=