From nobody Mon Sep 06 11:31:45 2021 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 CCED317B4B0A for ; Mon, 6 Sep 2021 11:31:45 +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 4H35p95LT3z3qNn for ; Mon, 6 Sep 2021 11:31:45 +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 98B581E2D7 for ; Mon, 6 Sep 2021 11:31:45 +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 186BVjDr004747 for ; Mon, 6 Sep 2021 11:31:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 186BVjZ0004746 for ports-bugs@FreeBSD.org; Mon, 6 Sep 2021 11:31:45 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 258294] security/suricata: Respect CC Date: Mon, 06 Sep 2021 11:31:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: evgeniy@khramtsov.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258294 --- Comment #2 from Evgeniy Khramtsov --- (In reply to Kubilay Kocak from comment #1) > Are environment/user CFLAGS and other flags (LDFLAGS, etc) honoured? Yes. Checked via build log: [...] #### /usr/local/etc/poudriere.d/130-amd64-make.conf #### -CFLAGS+=3D-O0 -LDFLAGS+=3D-Wl,--as-needed +CFLAGS+=3D-O3 +LDFLAGS+=3D-Wl,--no-as-needed [...] - CFLAGS -O2 -pipe -O0=20 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing=20 -DOS_FREEBSD -std=3Dc11 -I${srcdir}/../rust/gen -I${srcdir}/../rust/dist + CFLAGS -O2 -pipe -O3=20 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing=20 -DOS_FREEBSD -std=3Dc11 -I${srcdir}/../rust/gen -I${srcdir}/../rust/dist [...] -/bin/sh ../../libtool --tag=3DCC --mode=3Dlink cc -I../.. -D_GNU_SOURCE= -g -Wall -Wextra -std=3Dgnu99 -pedantic -Wextra -Wno-missing-field-initializers -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-unused-parameter -O2 -pipe -O0 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2 -Wstrict-overflow=3D1 -fstack-protector -D_FORTIFY_SOURCE=3D2 -Wformat -Wformat-security -fPIC=20 -Wl,--as-needed -fstack-protector-strong -L/usr/local/lib -o liblzma-c.la= =20=20=20 LzFind.lo LzmaDec.lo -lz -L/usr/local/lib +/bin/sh ../../libtool --tag=3DCC --mode=3Dlink cc -I../.. -D_GNU_SOURCE= -g -Wall -Wextra -std=3Dgnu99 -pedantic -Wextra -Wno-missing-field-initializers -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-unused-parameter -O2 -pipe -O3 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2 -Wstrict-overflow=3D1 -fstack-protector -D_FORTIFY_SOURCE=3D2 -Wformat -Wformat-security -fPIC=20 -Wl,--no-as-needed -fstack-protector-strong -L/usr/local/lib -o liblzma-c.= la=20=20 LzFind.lo LzmaDec.lo -lz -L/usr/local/lib [...] I didn't expose rust related build log via cargo.mk verbosity due to unfamiliarity with cargo, though the difference can be observed via build s= peed (-O0 vs -O3): [...] Compiling suricata v6.0.3 (/wrkdirs/usr/ports/security/suricata/work/suricata-6.0.3/rust) - Finished release [optimized + debuginfo] target(s) in 39.10s + Finished release [optimized + debuginfo] target(s) in 36.99s [...] > needs-qa Can you clarify what QA does this change need? This port does not have consumers and I already did QA on Tier 1 platforms and made sure that the package contents did not change. --=20 You are receiving this mail because: You are the assignee for the bug.=