From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jan 18 19:53:22 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CF6933DC for ; Sun, 18 Jan 2015 19:53:22 +0000 (UTC) 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 B43D385D for ; Sun, 18 Jan 2015 19:53:22 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t0IJrM4U097732 for ; Sun, 18 Jan 2015 19:53:22 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 196848] devel/libedit fails to compile due to a script transforming input into VI_]ERO instead of VI_ZERO when creating ${WRKSRC}/src/fcns.h during the configure step Date: Sun, 18 Jan 2015 19:53:22 +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 Only Me X-Bugzilla-Who: Trond.Endrestol@ximalas.info X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bapt@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2015 19:53:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196848 Bug ID: 196848 Summary: devel/libedit fails to compile due to a script transforming input into VI_]ERO instead of VI_ZERO when creating ${WRKSRC}/src/fcns.h during the configure step Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: bapt@FreeBSD.org Reporter: Trond.Endrestol@ximalas.info Assignee: bapt@FreeBSD.org Flags: maintainer-feedback?(bapt@FreeBSD.org) Some rather strange things are taking place while compiling devel/libedit. I have tracked the issue down to the makelist script while it's creating ${WRKSRC}/src/fcns.h during the configure step. This has occured on amd64 of both base/head and base/stable/10 within the last couple of days. My ports tree is currently at r377334. I guess the issue can be remedied using in-place sed during post-configure or pre-build, but I figure the scripts, makelist in particular, should be analyzed in more detail and the problem solved there. Maybe this port really requires GNU awk, and not the awk found in base. Manually editing ${WRKSRC}/src/fcns.h, replacing VI_]ERO with VI_ZERO solves the problem. See below for more hints. --- chared.lo --- In file included from chared.c:48: In file included from ./el.h:106: In file included from ./chared.h:146: ./fcns.h:105:12: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define VI_]ERO 101 ^ --- common.lo --- In file included from common.c:47: In file included from ./el.h:106: In file included from ./chared.h:146: ./fcns.h:105:12: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define VI_]ERO 101 ^ --- el.lo --- In file included from el.c:59: In file included from ./el.h:106: In file included from ./chared.h:146: ./fcns.h:105:12: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define VI_]ERO 101 ^ --- emacs.lo --- In file included from emacs.c:47: In file included from ./el.h:106: In file included from ./chared.h:146: ./fcns.h:105:12: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define VI_]ERO 101 ^ 1 warning generated. --- el.lo --- 1 warning generated. --- common.lo --- 1 warning generated. --- chared.lo --- 1 warning generated. --- hist.lo --- CC hist.lo --- keymacro.lo --- CC keymacro.lo --- hist.lo --- In file included from hist.c:48: In file included from ./el.h:106: In file included from ./chared.h:146: ./fcns.h:105:12: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define VI_]ERO 101 ^ --- map.lo --- CC map.lo --- chartype.lo --- --- keymacro.lo --- In file included from keymacro.c:69: In file included from ./el.h:106: In file included from ./chared.h:146: ./fcns.h:105:12: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define VI_]ERO 101 ^ --- chartype.lo --- CC chartype.lo --- hist.lo --- 1 warning generated. --- map.lo --- In file included from map.c:48: In file included from ./el.h:106: In file included from ./chared.h:146: ./fcns.h:105:12: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define VI_]ERO 101 ^ map.c:676:12: error: use of undeclared identifier 'VI_ZERO' /* 48 */ VI_ZERO, /* 0 */ ^ 1 warning and 1 error generated. *** [map.lo] Error code 1 make[4]: stopped in /usr/ports/workdirs/usr/ports/devel/libedit/work/libedit-20141029-3.1/src --- chartype.lo --- In file included from chartype.c:43: In file included from ./el.h:106: In file included from ./chared.h:146: ./fcns.h:105:12: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define VI_]ERO 101 ^ --- keymacro.lo --- 1 warning generated. --- chartype.lo --- 1 warning generated. 1 error make[4]: stopped in /usr/ports/workdirs/usr/ports/devel/libedit/work/libedit-20141029-3.1/src *** [all] Error code 2 make[3]: stopped in /usr/ports/workdirs/usr/ports/devel/libedit/work/libedit-20141029-3.1/src 1 error make[3]: stopped in /usr/ports/workdirs/usr/ports/devel/libedit/work/libedit-20141029-3.1/src *** [all-recursive] Error code 1 make[2]: stopped in /usr/ports/workdirs/usr/ports/devel/libedit/work/libedit-20141029-3.1 1 error make[2]: stopped in /usr/ports/workdirs/usr/ports/devel/libedit/work/libedit-20141029-3.1 *** [all] Error code 2 make[1]: stopped in /usr/ports/workdirs/usr/ports/devel/libedit/work/libedit-20141029-3.1 1 error make[1]: stopped in /usr/ports/workdirs/usr/ports/devel/libedit/work/libedit-20141029-3.1 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/devel/libedit --- Comment #1 from Bugzilla Automation --- Auto-assigned to maintainer bapt@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug.