[LLVMbugs] [Bug 19525] New: libxml2 cache entries pass test when invalid

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 23 06:30:46 PDT 2014


            Bug ID: 19525
           Summary: libxml2 cache entries pass test when invalid
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: emanuelecestari at yahoo.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

When building with all the 5 repos + lldb I noticed that if I set the cache

[ code ]
[ /code ]

the cmake test for libxml2 is ok but the target c-index-test it's being dropped
even if cmake itself says that the target can only link to a "real" library

[ code ]
WARNING: Target "c-index-test" requests linking to directory
"/opt/lib64/libxml2/2.9.1/lib".  Targets may link only to libraries.  CMake is
dropping the item.

[ /code ]

So there is clearly something wrong with the test for libxml2 and it's probably
something inside the lldb repository since this project requires libxml2
explicitly. Of course with

[ code ]

[ /code ]

Everything is ok and cmake says "the test is passed and c-index-test is being
kept" but this is to prove that the "cmake test" for this library serves no
purpose at all.


this is about the r206684 from the svn trunk, I also posted my configuration
and softwares used in a dedicated discussion on llvm-dev here

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140423/623e6365/attachment.html>

More information about the llvm-bugs mailing list