From nobody Wed Dec 14 21:13:10 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 4NXSky6Kr9z4kZfb for ; Wed, 14 Dec 2022 21:13:14 +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 4NXSky5JKhz49rK for ; Wed, 14 Dec 2022 21:13:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671052394; 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: in-reply-to:in-reply-to:references:references; bh=T7cIWEebChzf9rGb9MV2J+Uu+QksVPRoV853I65I/SE=; b=a/jDPLqLXqKFMnRcgoHLjvXzxvDGqixtEStPPtCUxETpfRfv6wlHKjosSHCC6aWVUFx9OZ zcCJMwEn1fB3lmpB3HDqJMN+3gAAHCIKDHV0zBJTtAPpKnIbECCG1TvvROQApOZ38YgO6K as3FhahVnQqTf3xRkwb8Uh7wvU3CTkw0unB/DipZb4gDQVd4QJsIP6bIaP0klvFMgcblP7 qI5nUGoip65iL+qPbDyekFzk6/XRhEuaS5q/MCxBEIL9u+6zQomaRQ/RQoLCONSTzByrAH z2wPv72xTUeRwz0FRyo1i7UogSEU9CP5hhonRXNZMl9HfucUxqLgQYdu7YhEiQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671052394; a=rsa-sha256; cv=none; b=hoyHPQGj/2rkJz/JQq7vVMR3sr+DP78U412+67rhz2fF2pJXZ3wD05YsTo4saxZF/751XT IoQ4JcL+6X37iCpTJ4CU0xHaSxhn9Ix6J/5y0IAybo9kGHzFM8cNlk+0SjAAmFpfFdjRRN m/2hUNdjLJhq6sxxp/UF8DjhclM3eKZLLvc6pmPGfPpFQt8HiMWnnBFE1mesOTmezhs3yg U4PSpknhaPQapIJWv0gvPE5XfVsf+bwn39x88gimqEFTS9k1bBEDKmVPDoMSV8+v+2sM+Z xCObFUmLWpa8tnoFE4YkfTSmr02tN9HuDJv4QZhq6LTbVtzN2zlkz2RdA8JW0Q== 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 4NXSky4Mmnz17rY for ; Wed, 14 Dec 2022 21:13:14 +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 2BELDEYq097085 for ; Wed, 14 Dec 2022 21:13:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BELDEig097084 for ports-bugs@FreeBSD.org; Wed, 14 Dec 2022 21:13:14 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 268069] security/clamav: 1.0.0 does no work with cld and cvd files Date: Wed, 14 Dec 2022 21:13:10 +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: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: fsbruva@yahoo.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created 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=3D268069 fsbruva@yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #238736|0 |1 is obsolete| | --- Comment #28 from fsbruva@yahoo.com --- Created attachment 238795 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D238795&action= =3Dedit clamav: patch to avoid math/tomsfastmath incompatibility (In reply to Yasuhiro Kimura from comment #24) It is related to the header search location used by CMake when it detects security/openssl is installed. My previous patch was an error. I confirmed this a few ways. First method, I re-tried my submitted patch by itself, and it failed to fix= the error. I hadn't tested it alone - I had tested it with a few other CMake fl= ags, and obviously wasn't fully keeping track of which flag fixed it. Adding this (by itself), clamav builds correctly, but fails to start: -DCMAKE_IGNORE_PATH=3D"/usr/local/include/tfm.h;/usr/local/lib/libtfm.a" Second method, I reverted the clamav Makefile, then developed a series of p= ort patches that removed references to tfm.h and TOMSFASTMATH from clamav/bignu= m.h and clamav-config.cmake.in. Resulting clamav 1.0.0 builds successfully, but still errors out. Third method, I removed the patches that modified the clamav source code. I then moved the math/tomsfastmath header (tfm.h) out of /usr/local/include. Resulting clamav 1.0.0 builds and starts successfully. Fourth test, I re-installed the math/tomsfastmath header, and remove the math/tomsfastmath library from /usr/local/lib (libftm.a). Resulting clamav 1.0.0 builds successfully, but fails to start. Fifth method, I re-installed the math/tomsfastmath library, and then added = the following to the clamav Makefile: -DOPENSSL_INCLUDE_DIR=3D"/usr/local/include/openssl" Resulting clamav 1.0.0 builds successfully and starts successfully. My latest theory is the error is induced by CMake, when attempting to compi= le the bundled tomsfastmath in clamav, when security/openssl and math/tomsfast= math are both installed, because CMake adds this to the compile flags for the detected security/openssl:=20 -I/usr/local/include.=20 I cannot find a way to tell CMake to exclude the specific tfm.h header file that is confusing it. --=20 You are receiving this mail because: You are the assignee for the bug.=