FS#34703 - [intellij-idea-libs] native file watcher broken due to stripped executable

Attached to Project: Community Packages
Opened by Felix Kaiser (fxkr) - Tuesday, 09 April 2013, 16:37 GMT
Last edited by Lukas Jirkovsky (6xx) - Sunday, 29 September 2013, 19:58 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Jirkovsky (6xx)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

IntelliJ IDEA checks the file size of fsnotifier64 to detect if it is outdated.
Makepkg strips the executable, thus changing its size.
This causes the check to fail and thus prevents IDEA from using the native file watcher.

IDEA logs this error, and also shows a popup:

[ 1742] WARN - api.vfs.impl.local.FileWatcher - Native file watcher executable is outdated

This can be fixed by adding "options=(!strip)" to the intellij-idea-libs PKGBUILD (I tested that on x86_64)

Relevant source code: (line 117, grep for isUpToDate)

http://git.jetbrains.org/?p=idea/community.git;a=blob;f=platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/FileWatcher.java;h=004311b96a35df1ffc2c87baba78a8b2a8809f7d;hb=376b939fd6d6ec4c12191a5f90503d9d62c501da
This task depends upon

Closed by  Lukas Jirkovsky (6xx)
Sunday, 29 September 2013, 19:58 GMT
Reason for closing:  Duplicate
Additional comments about closing:  #34752
Comment by Eugene Lipchansky (NSky) - Friday, 12 April 2013, 21:09 GMT
It happens to me too

Loading...