[Bug 2015299] [NEW] cmake advertising wrong mlir-tblgen executable?
Seth Arnold
2015299 at bugs.launchpad.net
Tue Apr 4 19:11:27 UTC 2023
Public bug reported:
Hello, a friend reports that our LLVM 15 cmake files are advertising a
functionality that they can't satisfy:
https://discuss.pixls.us/t/are-the-obs-repos-for-darktable-dead/16928/63
url> asn (Andreas Schneider) March 25, 2023, 4:29pm #76
url>
url> The openSUSE build is fixed, but Ubuntu doesn’t work because of:
url>
url> [ 330s] CMake Error at /usr/lib/llvm-15/lib/cmake/llvm/LLVMExports.cmake:1634 (message):
url> [ 330s] The imported target "mlir-tblgen" references the file
url> [ 330s]
url> [ 330s] "/usr/lib/llvm-15/bin/mlir-tblgen"
url> [ 330s]
url> [ 330s] but this file does not exist. Possible reasons include:
url> [ 330s]
url> [ 330s] * The file was deleted, renamed, or moved to another location.
url> [ 330s]
url> [ 330s] * An install or uninstall procedure did not complete successfully.
url> [ 330s]
url> [ 330s] * The installation package was faulty and contained
url> [ 330s]
url> [ 330s] "/usr/lib/llvm-15/lib/cmake/llvm/LLVMExports.cmake"
url> [ 330s]
url> [ 330s] but not all the files it references.
url>
url> I don’t know what provides mlir-tblgen now, but it looks like something changed on Ubuntu.
url>
url> Someone with Debian/Ubuntu knowlege who can shed some light on this?
That cmake file appears to come from one package:
$ apt-file search /usr/lib/llvm-15/lib/cmake/llvm/LLVMExports.cmake
llvm-15-dev: /usr/lib/llvm-15/lib/cmake/llvm/LLVMExports.cmake
but the mlir-tblgen comes from another package:
$ apt-file search mlir-tblgen
llvm-13: /usr/share/man/man1/mlir-tblgen-13.1.gz
llvm-13-doc: /usr/share/doc/llvm-13-doc/html/CommandGuide/mlir-tblgen.html
llvm-13-doc: /usr/share/doc/llvm-13-doc/html/_sources/CommandGuide/mlir-tblgen.rst.txt
llvm-14: /usr/share/man/man1/mlir-tblgen-14.1.gz
llvm-14-doc: /usr/share/doc/llvm-14-doc/html/CommandGuide/mlir-tblgen.html
llvm-14-doc: /usr/share/doc/llvm-14-doc/html/_sources/CommandGuide/mlir-tblgen.rst.txt
llvm-15: /usr/share/man/man1/mlir-tblgen-15.1.gz
llvm-15-doc: /usr/share/doc/llvm-15-doc/html/CommandGuide/mlir-tblgen.html
llvm-15-doc: /usr/share/doc/llvm-15-doc/html/_sources/CommandGuide/mlir-tblgen.rst.txt
mlir-13-tools: /usr/bin/mlir-tblgen-13
mlir-13-tools: /usr/lib/llvm-13/bin/mlir-tblgen
mlir-14-tools: /usr/bin/mlir-tblgen-14
mlir-14-tools: /usr/lib/llvm-14/bin/mlir-tblgen
mlir-15-tools: /usr/bin/mlir-tblgen-15
mlir-15-tools: /usr/lib/llvm-15/bin/mlir-tblgen
Is our llvm-15-dev missing a Dependency:? Or should this .cmake file be
split apart to only advertise the services that it offers? Or something
else?
Thanks
** Affects: llvm-toolchain-15 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to llvm-toolchain-15 in Ubuntu.
https://bugs.launchpad.net/bugs/2015299
Title:
cmake advertising wrong mlir-tblgen executable?
Status in llvm-toolchain-15 package in Ubuntu:
New
Bug description:
Hello, a friend reports that our LLVM 15 cmake files are advertising a
functionality that they can't satisfy:
https://discuss.pixls.us/t/are-the-obs-repos-for-darktable-
dead/16928/63
url> asn (Andreas Schneider) March 25, 2023, 4:29pm #76
url>
url> The openSUSE build is fixed, but Ubuntu doesn’t work because of:
url>
url> [ 330s] CMake Error at /usr/lib/llvm-15/lib/cmake/llvm/LLVMExports.cmake:1634 (message):
url> [ 330s] The imported target "mlir-tblgen" references the file
url> [ 330s]
url> [ 330s] "/usr/lib/llvm-15/bin/mlir-tblgen"
url> [ 330s]
url> [ 330s] but this file does not exist. Possible reasons include:
url> [ 330s]
url> [ 330s] * The file was deleted, renamed, or moved to another location.
url> [ 330s]
url> [ 330s] * An install or uninstall procedure did not complete successfully.
url> [ 330s]
url> [ 330s] * The installation package was faulty and contained
url> [ 330s]
url> [ 330s] "/usr/lib/llvm-15/lib/cmake/llvm/LLVMExports.cmake"
url> [ 330s]
url> [ 330s] but not all the files it references.
url>
url> I don’t know what provides mlir-tblgen now, but it looks like something changed on Ubuntu.
url>
url> Someone with Debian/Ubuntu knowlege who can shed some light on this?
That cmake file appears to come from one package:
$ apt-file search /usr/lib/llvm-15/lib/cmake/llvm/LLVMExports.cmake
llvm-15-dev: /usr/lib/llvm-15/lib/cmake/llvm/LLVMExports.cmake
but the mlir-tblgen comes from another package:
$ apt-file search mlir-tblgen
llvm-13: /usr/share/man/man1/mlir-tblgen-13.1.gz
llvm-13-doc: /usr/share/doc/llvm-13-doc/html/CommandGuide/mlir-tblgen.html
llvm-13-doc: /usr/share/doc/llvm-13-doc/html/_sources/CommandGuide/mlir-tblgen.rst.txt
llvm-14: /usr/share/man/man1/mlir-tblgen-14.1.gz
llvm-14-doc: /usr/share/doc/llvm-14-doc/html/CommandGuide/mlir-tblgen.html
llvm-14-doc: /usr/share/doc/llvm-14-doc/html/_sources/CommandGuide/mlir-tblgen.rst.txt
llvm-15: /usr/share/man/man1/mlir-tblgen-15.1.gz
llvm-15-doc: /usr/share/doc/llvm-15-doc/html/CommandGuide/mlir-tblgen.html
llvm-15-doc: /usr/share/doc/llvm-15-doc/html/_sources/CommandGuide/mlir-tblgen.rst.txt
mlir-13-tools: /usr/bin/mlir-tblgen-13
mlir-13-tools: /usr/lib/llvm-13/bin/mlir-tblgen
mlir-14-tools: /usr/bin/mlir-tblgen-14
mlir-14-tools: /usr/lib/llvm-14/bin/mlir-tblgen
mlir-15-tools: /usr/bin/mlir-tblgen-15
mlir-15-tools: /usr/lib/llvm-15/bin/mlir-tblgen
Is our llvm-15-dev missing a Dependency:? Or should this .cmake file
be split apart to only advertise the services that it offers? Or
something else?
Thanks
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-15/+bug/2015299/+subscriptions
More information about the foundations-bugs
mailing list