From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4AF7AC04FFE for ; Fri, 17 May 2024 03:31:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id D17DE61296; Fri, 17 May 2024 03:31:40 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Aciy1EkTXasJ; Fri, 17 May 2024 03:31:40 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org D7815612A1 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id D7815612A1; Fri, 17 May 2024 03:31:39 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 065381BF955 for ; Fri, 17 May 2024 03:31:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id E6E2640191 for ; Fri, 17 May 2024 03:31:38 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 07yW9o0Qplek for ; Fri, 17 May 2024 03:31:38 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.167.122; helo=busybox.osuosl.org; envelope-from=bugzilla@busybox.net; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 0F0D840449 Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.122]) by smtp2.osuosl.org (Postfix) with ESMTP id 0F0D840449 for ; Fri, 17 May 2024 03:31:38 +0000 (UTC) Received: by busybox.osuosl.org (Postfix, from userid 81) id ED46A8715D; Fri, 17 May 2024 03:31:37 +0000 (UTC) From: bugzilla@busybox.net To: buildroot@uclibc.org Date: Fri, 17 May 2024 03:31:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: buildroot X-Bugzilla-Component: Other X-Bugzilla-Version: 2024.02 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: craig.anderson@instrumental.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: unassigned@buildroot.uclibc.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: X-Bugzilla-URL: https://bugs.busybox.net/ Auto-Submitted: auto-generated MIME-Version: 1.0 Subject: [Buildroot] [Bug 16078] New: ClamAV: FD_PASSING test fails when it should not. X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" https://bugs.busybox.net/show_bug.cgi?id=16078 Bug ID: 16078 Summary: ClamAV: FD_PASSING test fails when it should not. Product: buildroot Version: 2024.02 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P5 Component: Other Assignee: unassigned@buildroot.uclibc.org Reporter: craig.anderson@instrumental.com CC: buildroot@uclibc.org Target Milestone: --- In ClamAV, there is a CMake test for whether or not the system supports FD_PASSING. In the file CheckFDPassing.cmake, on line 77: if("${test_compile_result}" AND ("${test_run_result}" EQUAL 0)) This fails on: - Host running Ubuntu 22.04 on a late model Intel PC (x86-64). - Target is the same as the host. because $test_run_result is "ON", not 0. $test_run_result is 0 when ClamAV is compiled on the same build machine, but outside of Buildroot. My workaround is to change the line to: if("${test_compile_result}" AND (("${test_run_result}" STREQUAL "ON") OR (("${test_run_result}" EQUAL 0)))) which just accept "ON" as passing. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot