FS#47640 - [qtcreator] installs libs in /usr/libexec

Attached to Project: Arch Linux
Opened by zless (roentgen) - Wednesday, 06 January 2016, 05:05 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 01 March 2017, 08: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 3
Private No

Details

Description:

# pacman -Qo *
/usr/libexec/qtcreator/buildoutputparser este deținut de către qtcreator 3.6.0-1
/usr/libexec/qtcreator/clangbackend este deținut de către qtcreator 3.6.0-1
/usr/libexec/qtcreator/cpaster este deținut de către qtcreator 3.6.0-1
/usr/libexec/qtcreator/qml2puppet este deținut de către qtcreator 3.6.0-1
/usr/libexec/qtcreator/qtcreator_process_stub este deținut de către qtcreator 3.6.0-1
/usr/libexec/qtcreator/qtpromaker este deținut de către qtcreator 3.6.0-1
/usr/libexec/qtcreator/sdktool este deținut de către qtcreator 3.6.0-1

This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Wednesday, 01 March 2017, 08:10 GMT
Reason for closing:  Won't implement
Additional comments about closing:  Going to roll with upstream for now.
Comment by Colin Heinzmann (DepthDeluxe) - Wednesday, 06 January 2016, 20:38 GMT
Investigated this and discovered that qt-creator installs some files into /usr/libexec as part of the build process. Since there is no configuration option to specify where to put libexec (it is hard-coded), I had to create a patch file to change the /usr/libexec to /usr/lib/qtcreator in qt-creator/qt-creator.pri QT build configuration file. In this comment, I have attached an archive of my modifications to the PKGBUILD to get it to install files to the proper location. qtcreator.pri.patch is the patchfile which gets patched before going into the build folder and starting the build process.

I have tested the package a little bit and it appears the proper functionality remains although it was hard for me to find exactly where the programs stored in /usr/libexec get called thus I may have not adequately tested it. Someone who is more familiar with the IDE should probably test it.
Comment by Sven-Hendrik Haase (Svenstaro) - Saturday, 13 February 2016, 14:14 GMT
I'm going to push packages with this patch into [testing]. Please test that everything that uses the stuff that was originally installed to libexec works fine (such as clangbackend and qml2puppet) and that qtcreator can find those tools.
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 22 February 2016, 21:00 GMT
Since I didn't hear back, I went ahead and moved the packages into [extra].
Comment by Ondřej Hruška (MightyPork) - Tuesday, 23 February 2016, 12:11 GMT
After this change, QtCreator no longer highlights functions with Clang model enabled.
Downgrading to previous package release fixes the issue.
Comment by Ondřej Hruška (MightyPork) - Tuesday, 23 February 2016, 12:21 GMT
reported as new issue  FS#48309 
Comment by Ondřej Hruška (MightyPork) - Tuesday, 23 February 2016, 12:46 GMT
I have not tested it, but it appears you should also change line 449 in
qt-creator/src/plugins/coreplugin/icore.cpp

and possibly line 46 in qtcreator.qbs
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 03 April 2016, 17:54 GMT
Can you please report this to QtCreator upstream and ask them to change this? Also, post the link to the bug report here.

Loading...