* [gentoo-user] kdevelop broken (llvm slot issue)
@ 2018-08-19 15:21 Alexander Puchmayr
2018-08-19 15:49 ` [gentoo-user] " Nikos Chantziaras
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Alexander Puchmayr @ 2018-08-19 15:21 UTC (permalink / raw
To: gentoo-user
Hi there,
After recent upgrades of mesa, llvm, clang etc kdevelop does not work anymore.
It crashes immediately after start with errors
: CommandLine Error: Option 'help-list' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
This issue is covered by bug https://bugs.gentoo.org/651658, which is open
since March 2018 and no progress since also March 2018.
It seems as if multiple slots of llvm cause the problems. mesa pulls in llvm:
5, while other programs pull in llvm:6 (via clang:6)
Does anyone have an idea how to get a working kdevelop again?
Regards
Alex
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: kdevelop broken (llvm slot issue)
2018-08-19 15:21 [gentoo-user] kdevelop broken (llvm slot issue) Alexander Puchmayr
@ 2018-08-19 15:49 ` Nikos Chantziaras
2018-08-19 15:57 ` [gentoo-user] " Andrew Udvare
2018-08-19 15:58 ` Andrew Udvare
2 siblings, 0 replies; 5+ messages in thread
From: Nikos Chantziaras @ 2018-08-19 15:49 UTC (permalink / raw
To: gentoo-user
On 19/08/18 18:21, Alexander Puchmayr wrote:
> After recent upgrades of mesa, llvm, clang etc kdevelop does not work anymore.
> It crashes immediately after start with errors
> [...]
>
> It seems as if multiple slots of llvm cause the problems. mesa pulls in llvm:
> 5, while other programs pull in llvm:6 (via clang:6)
>
> Does anyone have an idea how to get a working kdevelop again?
Have you tried disabling the llvm USE flag of mesa? AFAIK it's only used
for the software rendering backend, which you probably don't need. Try
disabling it, and then do:
emerge -auDN --changed-deps --with-bdeps=y @world
followed by:
emerge -a --depclean
which should unmerge llvm:5.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] kdevelop broken (llvm slot issue)
2018-08-19 15:21 [gentoo-user] kdevelop broken (llvm slot issue) Alexander Puchmayr
2018-08-19 15:49 ` [gentoo-user] " Nikos Chantziaras
@ 2018-08-19 15:57 ` Andrew Udvare
2018-08-19 16:24 ` Alexander Puchmayr
2018-08-19 15:58 ` Andrew Udvare
2 siblings, 1 reply; 5+ messages in thread
From: Andrew Udvare @ 2018-08-19 15:57 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1.1: Type: text/plain, Size: 1463 bytes --]
On 19/08/18 11:21, Alexander Puchmayr wrote:
>
> This issue is covered by bug https://bugs.gentoo.org/651658, which is open
> since March 2018 and no progress since also March 2018.
>
> It seems as if multiple slots of llvm cause the problems. mesa pulls in llvm:
> 5, while other programs pull in llvm:6 (via clang:6)
>
> Does anyone have an idea how to get a working kdevelop again?
I think you have to not have multiple LLVM/Clang installations,
unfortunately. That's what the bug indicates.
I am not having issues with KDevelop with Clang support and I have
everything on the latest version:
LLVM 6.0.1-r1 libffi ncurses
Clang 6.0.1 +static-analyzer LLVM_TARGETS="AMDGPU BPF NVPTX X86"
KDevelop 5.2.3 gdbui hex plasma qmake welcomepage
kDevelop-php 5.2.3
kdevelop-python 5.2.3
Mesa 18.* classic dri3 egl gallium gbm gles2 llvm wayland
Most of the above are defaults.
I would just ensure everything is built against one version of
Clang/LLVM and get rid of the other versions from the machine.
If you really don't need the Clang features (if you are using KDevelop
for non-C/C++), you can disable it at runtime:
/usr/bin/env KDEV_DISABLE_PLUGINS=kdevclangsupport kdevelop %u
You have to kill all KDevelop instances completely for this to work.
I have this is in my menu because KDevelop gets dumb with QML JS vs
JavaScript for me, making KDevelop nearly impossible to use with Node
projects.
--
Andrew
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] kdevelop broken (llvm slot issue)
2018-08-19 15:21 [gentoo-user] kdevelop broken (llvm slot issue) Alexander Puchmayr
2018-08-19 15:49 ` [gentoo-user] " Nikos Chantziaras
2018-08-19 15:57 ` [gentoo-user] " Andrew Udvare
@ 2018-08-19 15:58 ` Andrew Udvare
2 siblings, 0 replies; 5+ messages in thread
From: Andrew Udvare @ 2018-08-19 15:58 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1.1: Type: text/plain, Size: 1229 bytes --]
On 19/08/18 11:21, Alexander Puchmayr wrote:
>
> This issue is covered by bug https://bugs.gentoo.org/651658, which is open
> since March 2018 and no progress since also March 2018.
>
> It seems as if multiple slots of llvm cause the problems. mesa pulls in llvm:
> 5, while other programs pull in llvm:6 (via clang:6)
>
> Does anyone have an idea how to get a working kdevelop again?
I think you have to not have multiple LLVM/Clang installations,
unfortunately. That's what the bug indicates.
I am not having issues with KDevelop with Clang support and I have
everything on the latest version:
LLVM 6.0.1-r1
Clang 6.0.1
KDevelop 5.2.3 gdbui hex plasma qmake welcomepage
kDevelop-php 5.2.3
kdevelop-python 5.2.3
I would just ensure everything is built against one version of
Clang/LLVM and get rid of the other versions from the machine.
If you really don't need the Clang features (if you are using KDevelop
for non-C/C++), you can disable it at runtime:
/usr/bin/env KDEV_DISABLE_PLUGINS=kdevclangsupport kdevelop %u
I have this is in my menu because KDevelop gets dumb with QML JS vs
JavaScript for me, making KDevelop nearly impossible to use with Node projec
--
Andrew
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] kdevelop broken (llvm slot issue)
2018-08-19 15:57 ` [gentoo-user] " Andrew Udvare
@ 2018-08-19 16:24 ` Alexander Puchmayr
0 siblings, 0 replies; 5+ messages in thread
From: Alexander Puchmayr @ 2018-08-19 16:24 UTC (permalink / raw
To: gentoo-user
Am Sonntag, 19. August 2018, 17:57:55 CEST schrieb Andrew Udvare:
>
> I am not having issues with KDevelop with Clang support and I have
> everything on the latest version:
>
> LLVM 6.0.1-r1 libffi ncurses
> Clang 6.0.1 +static-analyzer LLVM_TARGETS="AMDGPU BPF NVPTX X86"
> KDevelop 5.2.3 gdbui hex plasma qmake welcomepage
> kDevelop-php 5.2.3
> kdevelop-python 5.2.3
> Mesa 18.* classic dri3 egl gallium gbm gles2 llvm wayland
>
Thanks for the quick response. Upgrading to mesa 18 solves the problem.
Regards
Alex
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-08-19 16:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-19 15:21 [gentoo-user] kdevelop broken (llvm slot issue) Alexander Puchmayr
2018-08-19 15:49 ` [gentoo-user] " Nikos Chantziaras
2018-08-19 15:57 ` [gentoo-user] " Andrew Udvare
2018-08-19 16:24 ` Alexander Puchmayr
2018-08-19 15:58 ` Andrew Udvare
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox