Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 16078] New: ClamAV: FD_PASSING test fails when it should not.
@ 2024-05-17  3:31 bugzilla
  2024-06-15 15:21 ` [Buildroot] [Bug 16078] " bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2024-05-17  3:31 UTC (permalink / raw)
  To: 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] [Bug 16078] ClamAV: FD_PASSING test fails when it should not.
  2024-05-17  3:31 [Buildroot] [Bug 16078] New: ClamAV: FD_PASSING test fails when it should not bugzilla
@ 2024-06-15 15:21 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2024-06-15 15:21 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=16078

Yann E. MORIN <yann.morin.1998@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |MOVED
                 CC|                            |yann.morin.1998@free.fr
             Status|NEW                         |RESOLVED

--- Comment #1 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Thank you for your report.

The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
    https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.

Thank you!

-- 
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-15 15:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-17  3:31 [Buildroot] [Bug 16078] New: ClamAV: FD_PASSING test fails when it should not bugzilla
2024-06-15 15:21 ` [Buildroot] [Bug 16078] " bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox