http://bugzilla.suse.com/show_bug.cgi?id=1155416 Bug ID: 1155416 Summary: llvm9 package no longer provides libclangIndex.so, libclangFormat.so, etc. Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: bnc-team-screening@forge.provo.novell.com Reporter: dcermak@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- My package ccls (https://build.opensuse.org/package/show/devel:tools/ccls) recently became FTBFS on all arches except x86_64 as they already got an update to llvm9. The issue is however also reproducible on x86_64 when using llvm from the devel:tools:compiler repository. Example error (trimmed from https://build.opensuse.org/package/live_build_log/devel:tools/ccls/openSUSE_...): ``` /usr/bin/c++ -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -DNDEBUG -O2 -g -DNDEBUG -flto=auto -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now $A_LOT_OF_OBJECT_FILES -o ccls -lclangIndex -lclangFormat -lclangTooling -lclangToolingInclusions -lclangToolingCore -lclangFrontend -lclangParse -lclangSerialization -lclangSema -lclangAST -lclangLex -lclangDriver -lclangBasic /usr/lib64/libLLVM.so.9 -pthread /usr/lib64/gcc/aarch64-suse-linux/9/../../../../aarch64-suse-linux/bin/ld: cannot find -lclangIndex /usr/lib64/gcc/aarch64-suse-linux/9/../../../../aarch64-suse-linux/bin/ld: cannot find -lclangFormat /usr/lib64/gcc/aarch64-suse-linux/9/../../../../aarch64-suse-linux/bin/ld: cannot find -lclangTooling /usr/lib64/gcc/aarch64-suse-linux/9/../../../../aarch64-suse-linux/bin/ld: cannot find -lclangToolingInclusions /usr/lib64/gcc/aarch64-suse-linux/9/../../../../aarch64-suse-linux/bin/ld: cannot find -lclangToolingCore /usr/lib64/gcc/aarch64-suse-linux/9/../../../../aarch64-suse-linux/bin/ld: cannot find -lclangFrontend /usr/lib64/gcc/aarch64-suse-linux/9/../../../../aarch64-suse-linux/bin/ld: cannot find -lclangParse /usr/lib64/gcc/aarch64-suse-linux/9/../../../../aarch64-suse-linux/bin/ld: cannot find -lclangSerialization /usr/lib64/gcc/aarch64-suse-linux/9/../../../../aarch64-suse-linux/bin/ld: cannot find -lclangSema /usr/lib64/gcc/aarch64-suse-linux/9/../../../../aarch64-suse-linux/bin/ld: cannot find -lclangAST /usr/lib64/gcc/aarch64-suse-linux/9/../../../../aarch64-suse-linux/bin/ld: cannot find -lclangLex /usr/lib64/gcc/aarch64-suse-linux/9/../../../../aarch64-suse-linux/bin/ld: cannot find -lclangDriver /usr/lib64/gcc/aarch64-suse-linux/9/../../../../aarch64-suse-linux/bin/ld: cannot find -lclangBasic ``` The issue is that the updated llvm 9 (or more specifically libclang) package simply no longer provides these libraries (libclangIndex.so, libclangFormat.so, etc.). The issue appears to be specific to the openSUSE package, since ccls builds successfully from more or less the same spec file on Fedora 31 and Rawhide (see https://koji.fedoraproject.org/koji/packageinfo?packageID=28482) which both use llvm 9. -- You are receiving this mail because: You are on the CC list for the bug.