Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#51557 - [qtcreator] Can't open qtcreator with ClangCodeModel plugin without clang installed

Attached to Project: Arch Linux
Opened by Evgeny Markov (evgenymarkov) - Thursday, 27 October 2016, 19:10 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 30 October 2016, 03:10 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: okay, qtcreator has clang package as optional dependency and ClangCodeModel plugin is optional but opening program with ClangCodeModel without clang installed causes the strange behavior of the system: qtcreator process starts and hangs in background and if you will try to logout from system or install clang then chaos begins (black screen or corrupted windows).

Additional info:
* qtcreator version - 4.1.0-3
* I can't find the log files QtCreator QtCreator and additionally QtCreator writes nothing to stdout

Steps to reproduce:
1. Be sure you have not installed the clang package
2. Install qtcreator
3. Open qtcreator, go to help -> about plugins
4. Turn on ClangCodeModel checkbox
5. Try to open qtcreator from desktop or from terminal
6. Launch "pgrep qtcreator" and make sure that qtcreator works in background (possible endless loop)
8. Install clang package or try to logout
9. Enjoy the chaos

Possible solutions:
1. Make qtcreator directly dependent on clang
2. Compile needed clang libs statically with qtcreator
3. Show error message in qtcreator if clang package isn't provided
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Sunday, 30 October 2016, 03:10 GMT
Reason for closing:  Implemented
Comment by Tatsuyuki Ishi (ishitatsuyuki) - Saturday, 29 October 2016, 12:12 GMT
I have 3.9.0 in testing and it also affects me, please trigger a rebuild for that.
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 30 October 2016, 03:06 GMT
Alright, will make it hard-dep on clang. Most people will probably use it with the Clang code model anyway.

Loading...