From owner-freebsd-ports-bugs@freebsd.org Sat Aug 31 19:43:47 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A89A8DA257 for ; Sat, 31 Aug 2019 19:43:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 46LRc342Zrz3Kn7 for ; Sat, 31 Aug 2019 19:43:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8A930DA256; Sat, 31 Aug 2019 19:43:47 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8A580DA255 for ; Sat, 31 Aug 2019 19:43:47 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46LRc339Wkz3Kn6 for ; Sat, 31 Aug 2019 19:43:47 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 51A811DD5B for ; Sat, 31 Aug 2019 19:43:47 +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 x7VJhlAB088748 for ; Sat, 31 Aug 2019 19:43:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x7VJhlSX088747 for ports-bugs@FreeBSD.org; Sat, 31 Aug 2019 19:43:47 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 240237] security/barnyard2: Mark ODBC option as broken, fix options helper usage Date: Sat, 31 Aug 2019 19:43:46 +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: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tobik@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bofh@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc flagtypes.name 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.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Aug 2019 19:43:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240237 Bug ID: 240237 Summary: security/barnyard2: Mark ODBC option as broken, fix options helper usage Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: bofh@freebsd.org Reporter: tobik@freebsd.org CC: bofh@freebsd.org Flags: maintainer-feedback?(bofh@freebsd.org) Assignee: bofh@freebsd.org Attachment #207049 maintainer-approval?(bofh@freebsd.org) Flags: CC: bofh@freebsd.org Created attachment 207049 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D207049&action= =3Dedit barnyard2.diff First there is no ODBC_WITH options helper and it should be ODBC_CONFIGURE_WITH. However while the ODBC feature is now actually activated, the port will no longer build with ODBC=3Don due to lack of support in the code. Let's mark = the ODBC option as broken. Previously turning the option on was a nop. Alternatively, the option could maybe just be removed. spo_database.c:3547:3: error: use of undeclared identifier 'result' result =3D 0; ^ spo_database.c:3841:41: warning: incompatible pointer types passing 'SQLINT= EGER *' (aka 'int *') to parameter of type 'SQLLEN *' (aka 'long *') [-Wincompatible-pointer-types] if(SQLRowCount(data->u_statement, &data->u_rows) =3D=3D SQL_SUCCESS) ^~~~~~~~~~~~~ /usr/local/include/sql.h:768:44: note: passing argument to parameter 'RowCo= unt' here SQLLEN *RowCount); ^ spo_database.c:3849:33: error: use of undeclared identifier 'result' result =3D 0; ^ 1 warning and 2 errors generated. --=20 You are receiving this mail because: You are the assignee for the bug.=