I can require clang 15 and mlir-15-tools. Then it will only build on the latest Ubuntu.
You can also update the bug with my comment.
Does this only affect 22.10 or also LTS version 22.04?
I use 22.04 LTS version and I think the two are the most important as far as it concerns Ubuntu. I suppose many have already switched at least to this last LTS version.
I don’t use Ubuntu. Check if your version provides clang 15.
Yes, that seems to be the case:
https://www.ubuntuupdates.org/package/core/jammy/main/proposed/clang-15
According to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021117 the issue should be fixed with:
Control: fixed -1 1:15.0.2-2~exp4
Control: fixed -1 1:15.0.3-1
However this doesn’t seem to be the case. You should open a new bug report, if you want to have this fixed probably.
Debian bug reporting system is apsolute mystery for me. I am also not sure what to specify in terms of content. Is there anyone who uses/develops debian that can help us here?
After installing mlir-15-tools the next error pops up:
[ 363s] CMake Error at /usr/lib/llvm-15/lib/cmake/llvm/LLVMExports.cmake:1634 (message):
[ 363s] The imported target "MLIRSupportIndentedOstream" references the file
[ 363s]
[ 363s] "/usr/lib/llvm-15/lib/libMLIRSupportIndentedOstream.a"
[ 363s]
[ 363s] but this file does not exist. Possible reasons include:
[ 363s]
[ 363s] * The file was deleted, renamed, or moved to another location.
[ 363s]
[ 363s] * An install or uninstall procedure did not complete successfully.
[ 363s]
[ 363s] * The installation package was faulty and contained
[ 363s]
[ 363s] "/usr/lib/llvm-15/lib/cmake/llvm/LLVMExports.cmake"
[ 363s]
[ 363s] but not all the files it references.
[ 363s]
[ 363s] Call Stack (most recent call first):
[ 363s] /usr/lib/llvm-15/cmake/LLVMConfig.cmake:328 (include)
[ 363s] CMakeLists.txt:315 (find_package)
Do they use their own packages?
Which package provides libMLIRSupportIndentedOstream.a
?
It’s libmlir-15-dev
in Debian…
On Ubuntu 22.04:
[ 770s] CMake Error at /usr/lib/llvm-15/lib/cmake/llvm/LLVMExports.cmake:1634 (message):
[ 770s] The imported target "sancov" references the file
[ 770s]
[ 770s] "/usr/lib/llvm-15/bin/sancov"
[ 770s]
[ 770s] but this file does not exist.
The next one, this is all totally broken.
clang-tools-15
?
Basically, probably need to keep checking through this list: Ubuntu – Details of source package llvm-toolchain-15 in jammy-updates
in the past the llvm-dev/clang-dev pulled all those packages automatically
this is kinda whack-a-mole now. if a cmake file in which is in llvm-15-dev is looking for tools. then the tool should be requires by llvm-15-dev. it is as simple as that.
… just pass -DTESTBUILD_OPENCL_PROGRAMS=OFF
?
As somebody already suggested, raise bug(s) w/ Ubuntu/Debian, complaining here is of little use.
darix and I are neither Ubuntu/Debian user nor packagers. If someone cares about that, they should report it, I wont do it.
I will try, thanks!
Checked now OBS master snapshot for UBUNTU is still showing
darktable 4.3.0~git1231.8d70e284-1+9458.1
copyright (c) 2009-2023 johannes hanika
For which Ubuntu version? Only 22.10 can currently build darktable …