This package appears to hang forever on
-> Compressing package...
EDIT: I have observed this on multiple packages. Suspecting a problem on my end/with yay
| Git Clone URL: | https://aur.archlinux.org/pycharm.git (read-only, click to copy) |
|---|---|
| Package Base: | pycharm |
| Description: | The only Python IDE you need. Bundled with the official JetBrains Runtime (JBR) |
| Upstream URL: | https://www.jetbrains.com/pycharm/ |
| Licenses: | custom |
| Conflicts: | pycharm-community-edition, pycharm-professional |
| Provides: | pycharm |
| Replaces: | pycharm-professional |
| Submitter: | Xavier |
| Maintainer: | Zpecter (Meaulnes) |
| Last Packager: | Zpecter |
| Votes: | 309 |
| Popularity: | 1.10 |
| First Submitted: | 2025-10-04 18:47 (UTC) |
| Last Updated: | 2026-07-03 19:20 (UTC) |
« First ‹ Previous 1 .. 15 16 17 18 19 20 21 22 23 24 25 .. 49 Next › Last »
This package appears to hang forever on
-> Compressing package...
EDIT: I have observed this on multiple packages. Suspecting a problem on my end/with yay
@edacval fixed, thanks
Build fails with :
install: cannot stat '/opt/pycharm-professional/bin/pycharm.png': No such file or directory
Fix:
diff --git a/PKGBUILD b/PKGBUILD
index 6912f8b..fc3ec0c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -66,8 +66,8 @@ package() {
install -dm 755 "$pkgdir/usr/share/applications"
install -Dm 644 "$pkgname.desktop" "$pkgdir/usr/share/applications/"
install -dm 755 "$pkgdir/usr/share/icons/hicolor/"{128x128,scalable}"/apps/"
- install -Dm 644 "/opt/$pkgname/bin/pycharm.png" "$pkgdir/usr/share/icons/hicolor/128x128/apps/pycharm.png"
- install -Dm 644 "/opt/$pkgname/bin/pycharm.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/pycharm.svg"
+ install -Dm 644 "$pkgdir/opt/$pkgname/bin/pycharm.png" "$pkgdir/usr/share/icons/hicolor/128x128/apps/pycharm.png"
+ install -Dm 644 "$pkgdir/opt/$pkgname/bin/pycharm.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/pycharm.svg"
# exec
install -dm 755 "$pkgdir/usr/bin/"
@Singularity yeah I know that pixmap is deprecated I did it due to a request by one user but I think in the hicolor folder is the correct place, fixed, thanks. @nickb937 I checked it and I added some of them, nspr is provided by nss and jre-openjdk-headless is not necessary, this pycharm version uses the bundle package with JRE inside provided by them.
The following packages are required dependencies:
libxss, nspr, nssutil, jre-openjdk-headless
See: ldd /opt/pycharm-professional/jbr/lib/libjcef.so
why hardcoded the icon path in desktop file?
I just looked over the last changes. You placed a link to the icon in /usr/share/pixmaps. However, you also hardcoded the icon path in the desktop files now. If you wouldn't do that, the icon theme could provide it's own icon, and the one from pixmaps would be used if it doesn't. Also, I think using the pixmaps directory is deprecated, /usr/share/icons/hicolor/scalable/apps/ is the new location.
PS: I also wouldn't hardcode the executable's path either, because then I can override it by placing my own in /usr/local/bin … (For example, I do that with java applications which still need java8, to set there a different JAVA_HOME and then calling the real binary from there.)
@donny thanks for the reply. I had cython installed and did a clean build. The problem was that I was working in a virtualenv. In this virtualenv there was no Cython installed.
So I deactivated and it worked, like a charm :)
@klaasjanelzinga: Make sure your system is up to date (pacman -Suy) and cython package is installed (it's in makedepends), it's in the [community] repo. Also if you use yay or some similar aur helper, do a clean build, don't re-use your old build files.
Hi, I am getting an error when updating:
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Traceback (most recent call last):
File "pycharm-2020.3/plugins/python/helpers/pydev/setup_cython.py", line
112, in <module>
build_extension("_pydevd_bundle", extension_name, target_pydevd_name,
force_cython, extension_folder, True)
File "pycharm-2020.3/plugins/python/helpers/pydev/setup_cython.py", line
69, in build_extension
from Cython.Build import cythonize # @UnusedImport
ModuleNotFoundError: No module named 'Cython'
==> ERROR: A failure occurred in build().
Aborting...
error making: pycharm-professional
Pinned Comments
Meaulnes commented on 2026-03-27 16:37 (UTC)
This comment from @AvacadoCookie should be pinned, IMO.
If anyone is getting errors about
Cythonorsetuptools, and they are usingConda, that comment has the answer.If anyone is getting errors about
Cythonorsetuptools, and they are usingpyenv, there are 2 possible ways to fix it:pyenv local systemto set Python back to the system installed Python for this session.pip install Cython setuptoolsto install the necessary packages to your preferred python installation.AvocadoCookie commented on 2025-12-14 16:22 (UTC)
For all users with
ModuleNotFoundError: No module named 'Cython'or'setuptools'reported, please try the following methods to address the problem:condaenvironment. Now afterwhich pythontyped in console, the output should be/usr/bin/python.pacman -S cython python-setuptools.