kdevelop (5.4.6 5.5.0 and 5.5.9999) doesn't start with sys-devel/llvm:10 letto@lettohost: ~/devel $ kdevelop Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) : CommandLine Error: Option 'help-list' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options letto@lettohost: ~/devel $ kdevelop #After pressing clear cache on a dialog box that appeared kdevplatform.serialization: "The data-repository at /home/letto/.cache/kdevduchain/kdevelop-{62895a3e-e89e-4f2c-9071-467333e7e0fe} has to be cleared." Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) : CommandLine Error: Option 'help-list' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options letto@lettohost: ~/devel $ rm -rf /home/letto/.cache/kdevduchain/ letto@lettohost: ~/devel $ kdevelop Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) : CommandLine Error: Option 'help-list' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options letto@lettohost: ~/devel $ kdevelop kdevplatform.serialization: version mismatch or no version hint; expected version: 84213761 kdevplatform.serialization: "The data-repository at /home/letto/.cache/kdevduchain/kdevelop-{62895a3e-e89e-4f2c-9071-467333e7e0fe} has to be cleared." Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) : CommandLine Error: Option 'help-list' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options To get it to work I masked the following: =sys-devel/llvm-10.0.0 =sys-devel/llvm-common-10.0.0 =sys-devel/clang-common-10.0.0 sys-devel/clang:10 sys-devel/clang-runtime:10.0.0 sys-libs/compiler-rt:10.0.0 sys-libs/compiler-rt-sanitizers:10.0.0 And then I have to manually unmerge the masked slots: emerge -avuDN @world # to install sys-devel/llvm-common-9.0.1 and sys-devel/clang-common-9.0.1 sudo emerge -aC sys-devel/llvm:10 sudo emerge -aC sys-devel/clang:10 sys-devel/clang-runtime:10.0.0 sudo emerge -aC sys-libs/compiler-rt:10.0.0 sys-libs/compiler-rt-sanitizers:10.0.0 sudo emerge -a @preserved-rebuild # recompiles kdevelop Reproducible: Always
letto@lettohost: ~/devel $ emerge --info kdevelop Portage 2.3.99 (python 3.6.10-final-0, default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.31-r2, 5.6.7-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.6.7-gentoo-x86_64-Intel-R-_Core-TM-_i9-9900K_CPU_@_3.60GHz-with-gentoo-2.7 KiB Mem: 32824128 total, 286448 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Tue, 28 Apr 2020 06:30:01 +0000 Head commit of repository gentoo: eae0fa1836faa9f2224b7f926f575d35c1d9ecda sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p1) 2.34.0 app-shells/bash: 5.0_p17::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.30.2::gentoo dev-lang/python: 2.7.18::gentoo, 3.6.10-r2::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo dev-util/cmake: 3.17.1::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34::gentoo sys-devel/gcc: 9.2.0-r4::gentoo, 9.3.0::gentoo sys-devel/gcc-config: 2.2.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r2::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: no sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 kde location: /var/lib/layman/kde masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=x86-64 -O2 -pipe -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=x86-64 -O2 -pipe -ggdb" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-march=x86-64 -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=x86-64 -O2 -pipe" GENTOO_MIRRORS="http://mirrors.xservers.ro/gentoo/ ftp://mirror.yandex.ru/gentoo-distfiles/ https://mirror.csclub.uwaterloo.ca/gentoo-distfiles/" LANG="en_DE.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j17" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi alsa amd64 attica berkdb branding bzip2 cairo caps cdda cdr cjk cli crypt cxx dbus designer dri dts dvd dvdr elogind emboss encode epub evdev exif ffmpeg flac fortran gdbm gif git gmp gpm iconv icu idn jpeg kde lcms libnotify libtirpc lm-sensors lm_sensors lzma mad mng mp3 mp4 mpeg mpfr multilib ncurses nls nptl ogg openexr opengl openmp pam pango pcre pdf png policykit ppds qml qt5 readline sctp sdl seccomp spell split-usr sqlite ssl startup-notification subversion svg syslog taglib tcpd tiff truetype udev udisks unicode upower usb vaapi vdpau vim-syntax vorbis wayland webp wxwidgets x264 x265 xattr xcb xinerama xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="BPF NVPTX" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= dev-util/kdevelop-5.5.9999::kde was built with the following: USE="gdbui hex qmake subversion -debug -handbook -plasma -reviewboard -test -webkit" ABI_X86="(64)" FEATURES="parallel-fetch unknown-features-warn splitdebug pid-sandbox binpkg-dostrip usersync installsources compressdebug binpkg-logs userfetch xattr ipc-sandbox qa-unresolved-soname-deps news unmerge-orphans sfperms multilib-strict assume-digests merge-sync userpriv usersandbox distlocks config-protect-if-modified sandbox ebuild-locks binpkg-docompress preserve-libs protect-owned strict-keepdir strict unmerge-logs network-sandbox fixlafiles"
I have Kdevelop-5.5.0 built with clang-10 and llvm-10 and it works fine. `LLVM ERROR: inconsistency in registered CommandLine options` means different versions of llvm were loaded in the same process, so something used by kdevelop still uses llvm-9 in your case. On my system I edited the mesa ebuild to allow building with llvm-10 so that I can remove llvm-9 completely and make sure nothing uses it anymore.
Works for me, see also above comment. If mesa is not the reason, do you have clazy installed?
Yes, I have clazy installed, but I don't think that's the reason that I can't remove sys-devel/llvm:9 As far as I can tell (by checking with equery depends), sys-devel/llvm:9 is pulled by media-libs/mesa-20.0.5
So, undoubtedly duplicate of existing bug. Unfortunately there is nothing obvious we can do about it. *** This bug has been marked as a duplicate of bug 651658 ***