Bug#1021857: CMake Error at /usr/lib/llvm-14/lib/cmake/llvm/LLVMExports.cmake:1598 (message):

Mathieu Malaterre malat at debian.org
Thu Dec 1 07:46:46 GMT 2022


Salut Sylvestre !

On Wed, Nov 30, 2022 at 9:21 PM Sylvestre Ledru <sylvestre at debian.org> wrote:
>
> btw, do you know what caused this in cmake? (seems that it is caused by
> a new cmake version).
>
> (or not to make sure that all binaries aren't exported?)

If you have a build-tree of llvm-14, here is what I would do:

$ cd obj-*
$ DESTDIR=/tmp/sylvestre make install
$ find /tmp/sylvestre -name mlir-tblgen
 output1
$ grep mlir-tblgen
/tmp/sylvestre/usr/lib/llvm-14/lib/cmake/llvm/LLVMExports.cmake
 output2
-> verify output1 & output2 matches


>
> Le 28/11/2022 à 12:07, Mathieu Malaterre a écrit :
> > Control: found 1021857 1:14.0.6-2
> >
> > -- Found LibXml2: /usr/lib/x86_64-linux-gnux32/libxml2.so (found
> > version "2.9.14")
> > CMake Error at /usr/lib/llvm-14/lib/cmake/llvm/LLVMExports.cmake:1598 (message):
> >    The imported target "mlir-tblgen" references the file
> >
> >       "/usr/lib/llvm-14/bin/mlir-tblgen"
> >
> >    but this file does not exist.  Possible reasons include:
> >
> >    * The file was deleted, renamed, or moved to another location.
> >
> >    * An install or uninstall procedure did not complete successfully.
> >
> >    * The installation package was faulty and contained
> >
> >       "/usr/lib/llvm-14/lib/cmake/llvm/LLVMExports.cmake"
> >
> >    but not all the files it references.
> >
> > Call Stack (most recent call first):
> >    /usr/lib/llvm-14/cmake/LLVMConfig.cmake:323 (include)
> >    openvdb_ax/openvdb_ax/CMakeLists.txt:105 (find_package)
> >
> >
> >
> > * https://buildd.debian.org/status/fetch.php?pkg=openvdb&arch=x32&ver=10.0.0-7&stamp=1669627540&raw=0
> >
> > _______________________________________________
> > Pkg-llvm-team mailing list
> > Pkg-llvm-team at alioth-lists.debian.net
> > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-llvm-team



More information about the Pkg-llvm-team mailing list