From nobody Thu Jul 14 15:07:00 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LkHs058Wxz2pLYJ for ; Thu, 14 Jul 2022 15:07:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LkHs029WTz4Cdv for ; Thu, 14 Jul 2022 15:07:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LkHs01FQCz16Xy for ; Thu, 14 Jul 2022 15:07:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 26EF70Cm022754 for ; Thu, 14 Jul 2022 15:07:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26EF70qH022753 for ports-bugs@FreeBSD.org; Thu, 14 Jul 2022 15:07:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 265213] textproc/flex Date: Thu, 14 Jul 2022 15:07:00 +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: tobias@strongswan.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mandree@FreeBSD.org 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: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657811220; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8D8soT3F3fCkzLi+FnkZFJu+/tk+Wf9ub2mN0E6Cswc=; b=c1u2YE8dcBZEymMuTEvSSvtGmeM5bbXulnUhJ+xXrH15mWjJYvpg6DOzEmUDVJljVUr60H /efKbUaLWwacif6pZcqI4+dNe9THjbGaQ3sm35gZfHY/VNot6OxayS1LuxKliEGwEq3zPG 6xgFRHgWhYnZSXyGlHRw663ATScNoSaM2dGwxKmAu/f0t3xuSO5MV2S+LmbyoSK2+6Fd0p bzRy4/NwZcgb4FLK2LB/c03d5lNSLpjIPAWd01BNHjUnjdMQmDICNa2JKZ/xx5ShMuQmYb yr/gqVmG29VHYpAh94sS1ae7o5FxnmTCKSO9D0S2tGW24yd0tJPHM9tY45oUiA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657811220; a=rsa-sha256; cv=none; b=teiL5O3/yA8R9tAWP7JUGFaWACm0W0MJ4QYx3M7tP7ZIqsXD+UCxjjntVmD9bjtrKgSBhK 4lXuerdFrLMXO0uTiwcSe5K4YGnTtS8GGpUQ8dPaXjF5ZOeQt6slJy05MbZ6EXAEjz6kTh a5RFrXno3hjIt6OgdDzTgOkycOpN7bcLdUK+3S6oLHNgUX5+FcfKFa4dm9PdoKXtDmI3Fq JTKTWFwYABXYU426K7yYTsdN4d291pO/AC7tJuTO4FC9j5nb5MIIMKMGb5YCYZguuFAu8o ESCiW6sgvBGGKjelR556MId+QhWc8lciF0wEd1Z/pIQXWNcOSlBIxMv1oN6TbQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265213 Bug ID: 265213 Summary: textproc/flex Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: mandree@FreeBSD.org Reporter: tobias@strongswan.org Assignee: mandree@FreeBSD.org Flags: maintainer-feedback?(mandree@FreeBSD.org) The skeleton file (flex.skl) contains some weird indentation that causes compiler warnings, or errors if compiled with -Werror: lex.yy.c:673:13: error: misleading indentation; statement is not part of=20 the previous 'if' [-Werror,-Wmisleading-indentation] if ( ! (yy_state_buf) ) ^ lex.yy.c:671:9: note: previous statement is here if ( ! (yy_state_buf) ) ^ lex.yy.c:1107:3: error: misleading indentation; statement is not part of=20 the previous 'if' [-Werror,-Wmisleading-indentation] return yy_is_jam ? 0 : yy_current_state; ^ lex.yy.c:1104:2: note: previous statement is here if ( ! yy_is_jam ) This is the case for both versions of flex, the port and the one included in the base system (both are based on 2.6.4). The skeleton file has been fixe= d in master, but three hasn't been a flex release since 2017, so not sure how/if= you want to fix it. I noticed this issue when running a configure script that uses the AC_PROG_= LEX macro while I had "-Werror" in CFLAGS. The macro tries to check if any libr= ary is required when using flex, and since the above warnings/errors made the c= heck fail, LEX wasn't set and the lexers were later not generated causing the bu= ild to fail (note that's with a configure script generated with Autoconf 2.71, = it isn't a problem when using Autoconf 2.69): checking for flex... flex checking for lex output file root... lex.yy checking for lex library... not found configure: WARNING: required lex library not found; giving up on flex --=20 You are receiving this mail because: You are the assignee for the bug.=