[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#981679: marked as done (kdevelop: Clang plugin breaks when clang package bumps version)



Your message dated Thu, 11 Feb 2021 10:18:14 +0100
with message-id <5291564.lL144ORZWD@grummly>
and subject line Closing as per reporter request
has caused the Debian Bug report #981679,
regarding kdevelop: Clang plugin breaks when clang package bumps version
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
981679: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981679
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: kdevelop
Version: 4:5.6.1-1
Severity: normal
X-Debbugs-Cc: brendon@quantumfurball.net

Dear Maintainer,

The Clang plugin seems to be responsible for advanced syntax highlighting and
probably other features. I just updated packages on my system and noticed these
features no longer work. I saw a few copies of the below in the kdevelop output
to console:

kdevplatform.shell: Could not load plugin "kdevclangsupport" , it reported the
error: "The clang builtin include path
\"/usr/lib/llvm-11/lib/clang/11.0.0/include\" is invalid (missing cpuid.h
header).\nTry setting the KDEV_CLANG_BUILTIN_DIR environment variable manually
to fix this.\nSee also: https://bugs.kde.org/show_bug.cgi?id=393779"; Disabling
the plugin now.

So the path it needs is hard-coded and versioned, for 11.0.0 in the present
binary. My latest update pulled in Clang 11.0.1. If I set the
KDEV_CLANG_BUILTIN_DIR variable correctly and run kdevelop, then it works.

The KDE bug linked above does seem related, but ends with closure despite more
run-time checking being a TODO. Until that's implemented, it seems the Clang
plugin has a hard-ish version dependency on Clang, and the kdevelop package
must be rebuilt when Clang updates, or the user has to employ the environment
variable workaround.

Peace,
Brendon



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (990, 'testing-debug'), (990, 'testing'), (500, 'unstable-debug'), (500, 'unstable'), (100, 'experimental-debug'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-1-amd64 (SMP w/16 CPU threads)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kdevelop depends on:
ii  kdevelop-data                    4:5.6.1-1
ii  kdevelop56-libs                  4:5.6.1-1
ii  kinit                            5.78.0-2
ii  kio                              5.78.0-2
ii  libapr1                          1.7.0-6
ii  libaprutil1                      1.6.1-5
ii  libastyle3                       3.1-2+b1
ii  libc6                            2.31-9
ii  libclang1-11                     1:11.0.1-2
ii  libgcc-s1                        10.2.1-6
ii  libgrantlee-templates5           5.2.0-3
ii  libkasten4controllers0           5:0.26.4-2
ii  libkasten4core0                  5:0.26.4-2
ii  libkasten4okteta2controllers0    5:0.26.4-2
ii  libkasten4okteta2core0           5:0.26.4-2
ii  libkasten4okteta2gui0            5:0.26.4-2
ii  libkf5archive5                   5.78.0-2
ii  libkf5bookmarks5                 5.78.0-2
ii  libkf5codecs5                    5.78.0-2
ii  libkf5completion5                5.78.0-3
ii  libkf5configcore5                5.78.0-3
ii  libkf5configgui5                 5.78.0-3
ii  libkf5configwidgets5             5.78.0-2
ii  libkf5coreaddons5                5.78.0-2
ii  libkf5crash5                     5.78.0-3
ii  libkf5declarative5               5.78.0-2
ii  libkf5guiaddons5                 5.78.0-3
ii  libkf5i18n5                      5.78.0-2
ii  libkf5iconthemes5                5.78.0-2
ii  libkf5itemmodels5                5.78.0-2
ii  libkf5itemviews5                 5.78.0-2
ii  libkf5jobwidgets5                5.78.0-2
ii  libkf5kiocore5                   5.78.0-2
ii  libkf5kiofilewidgets5            5.78.0-2
ii  libkf5kiogui5                    5.78.0-2
ii  libkf5kiowidgets5                5.78.0-2
ii  libkf5newstuff5                  5.78.0-2
ii  libkf5parts5                     5.78.0-3
ii  libkf5purpose-bin                5.78.0-2
ii  libkf5purpose5                   5.78.0-2
ii  libkf5service-bin                5.78.0-2
ii  libkf5service5                   5.78.0-2
ii  libkf5sonnetui5                  5.78.0-2
ii  libkf5texteditor5                5.78.0-3
ii  libkf5textwidgets5               5.78.0-2
ii  libkf5threadweaver5              5.78.0-2
ii  libkf5widgetsaddons5             5.78.0-2
ii  libkf5xmlgui5                    5.78.0-2
ii  libkomparediff2-5                4:20.12.0-2
ii  libokteta3core0                  5:0.26.4-2
ii  libokteta3gui0                   5:0.26.4-2
ii  libprocesscore9                  4:5.20.5-1
ii  libprocessui9                    4:5.20.5-1
ii  libqt5core5a                     5.15.2+dfsg-3
ii  libqt5dbus5                      5.15.2+dfsg-3
ii  libqt5gui5                       5.15.2+dfsg-3
ii  libqt5help5                      5.15.2-3
ii  libqt5network5                   5.15.2+dfsg-3
ii  libqt5qml5                       5.15.2+dfsg-3
ii  libqt5quick5                     5.15.2+dfsg-3
ii  libqt5quickwidgets5              5.15.2+dfsg-3
ii  libqt5widgets5                   5.15.2+dfsg-3
ii  libqt5xml5                       5.15.2+dfsg-3
ii  libstdc++6                       10.2.1-6
ii  libsvn1                          1.14.0-3+b2
ii  qml-module-qtquick-controls      5.15.2-2
ii  qml-module-qtquick-layouts       5.15.2+dfsg-3
ii  qml-module-qtquick-window2       5.15.2+dfsg-3
ii  qml-module-qtquick-xmllistmodel  5.15.2-2
ii  qml-module-qtquick2              5.15.2+dfsg-3
ii  qml-module-qtwebkit              5.212.0~alpha4-11

Versions of packages kdevelop recommends:
ii  clang-11      1:11.0.1-2
ii  g++           4:10.2.1-1
ii  gcc           4:10.2.1-1
ii  gdb           10.1-1.7
ii  kapptemplate  4:20.12.0-1
ii  kio-extras    4:20.12.0-1
ii  make          4.3-4

Versions of packages kdevelop suggests:
ii  clang          1:11.0-51+nmu4
ii  clang-tidy     1:11.0-51+nmu4
ii  clazy          1.9-3
ii  cmake          3.18.4-1+b1
ii  cppcheck       2.3-1
ii  git            1:2.30.0-1
ii  heaptrack      1.2.0-1+b1
pn  kdevelop-l10n  <none>
ii  konsole        4:20.12.1-1
pn  meson          <none>
pn  ninja-build    <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
control: fixed -1 4:5.6.2-4

Thanks for the follow up.
Closing as per your request.

What I read from upstream git log is that the commit you mention is on master 
and the fix was actually backported to the 5.6 branch as 
4688d626c145711e35f3676dbd4c827b3b2ea7f6.

It’s not been released on that branch yet but we already have the fix in 
Debian because Pino took care to backport it into 4:5.6.2-4.


Happy hacking !
--
Aurélien

--- End Message ---

Reply to: