[Mesa-dev] [Bug 109082] meson lmsensors check fails but always returns true

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 18 02:48:04 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=109082

            Bug ID: 109082
           Summary: meson lmsensors check fails but always returns true
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: vlee at freedesktop.org
        QA Contact: mesa-dev at lists.freedesktop.org
                CC: baker.dylan.c at gmail.com

meson -Dlmsensors=true

This is returned even though libsensors is not found.
Library libsensors found: YES

meson-log.txt
[...]
Working directory:  /tmp/tmp6w0ai2pa
Command line:  cc /tmp/tmp6w0ai2pa/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o
/tmp/tmp6w0ai2pa/output.exe -O0 -Wl,--start-group -llibsensors -Wl,--end-gr
oup -Wl,--allow-shlib-undefined 

Code:
 int main(int argc, char **argv) { return 0; }
Compiler stdout:

Compiler stderr:
 /usr/bin/ld: cannot find -llibsensors
collect2: error: ld returned 1 exit status

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181218/a1fca97f/attachment.html>


More information about the mesa-dev mailing list