Community Packages

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#71710 - [pycharm-community-edition] 2021.2-1 is missing native file watcher executable

Attached to Project: Community Packages
Opened by Brandon (hashstat) - Monday, 02 August 2021, 21:27 GMT
Last edited by Orhun Parmaksız (orhun) - Friday, 06 August 2021, 15:25 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Levente Polyak (anthraxx)
Orhun Parmaksız (orhun)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:

After upgrading pycharm-community-edition from 2021.1.3-1 to 2021.2-1, PyCharm displays the following error in the error logs:

External file changes sync my be slow
Native file watcher executable not found

The following error is also output in the systemd journal:

pycharm.desktop[17813]: 2021-08-02 13:55:14,752 [ 5186] WARN - api.vfs.impl.local.FileWatcher - Native file watcher executable not found

When comparing the two packages, the 2021.2-1 package is missing the file usr/share/pycharm/bin/fsnotifier64. I attempted to extract the file from the previous package as a workaround but it did not correct the issue.

Additional info:
* package version: 2021.2-1

Steps to reproduce:

1. Install pycharm-community-edition 2021.2-1
2. Launch PyCharm Community Edition installed in the previous step
3. Open a Python project if one isn't already open
This task depends upon

Closed by  Orhun Parmaksız (orhun)
Friday, 06 August 2021, 15:25 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in 2021.2-2
Comment by none given (hoban) - Tuesday, 03 August 2021, 16:51 GMT
This *might* be related to https://youtrack.jetbrains.com/issue/IDEA-271408 since the issue lists "Subsystem" as "Core. Installation". If so, we may not see an upstream fix until the 2021.3 release.
For now, downgrading pycharm-community-edition to version 2021.1.3-1 works around the issue.
Comment by Atanas Zhelev (zmeYski) - Wednesday, 04 August 2021, 18:25 GMT
This looks like a packaging issue.

pycharm-community-2021.1.3 contains two files:
bin/fsnotifier
bin/fsnotifier64

The first one is a 32bit executable while the second one is 64 bit.

pycharm-community-2021.2 contains a single file bin/fsnotifier and it is a 64 bit executable

$ file fsnotifier
fsnotifier: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=2624b292f39185b66dda0342772734ce2a94cb41, for GNU/Linux 3.2.0, not stripped


The PKGBUILD deletes fsnotifier thinking it's the 32bit version but that's not the case anymore. Maybe JetBrains dropped 32bit support?
Comment by Orhun Parmaksız (orhun) - Friday, 06 August 2021, 11:21 GMT
https://blog.jetbrains.com/idea/2021/04/end-of-support-for-32-bit-operating-systems-in-intellij-based-ides/

> The final major version that will be guaranteed to run on a 32-bit OS will be v2021.1 for all IntelliJ-based IDEs.

> All bug-fix updates for v2021.1 will be compatible with 32-bit operating systems. However, starting with v2021.2, IntelliJ-based IDEs will no longer be compatible with 32-bit OSes.

<s>I think it explains the disappearance of 32-bit executable (`bin/fsnotifier`).</s>

FWIW they dropped 32-bit support.


Loading...