The new dependency lib32-gcc-libs
is missing from the .SRCINFO
.
Search Criteria
Package Details: pycharm-professional 2024.3.2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/pycharm-professional.git (read-only, click to copy) |
---|---|
Package Base: | pycharm-professional |
Description: | Python IDE for Professional Developers. Professional Edition |
Upstream URL: | https://www.jetbrains.com/pycharm/ |
Keywords: | development editor ide jetbrains python |
Licenses: | custom |
Submitter: | hippojazz |
Maintainer: | Xavier (37h4n) |
Last Packager: | Xavier |
Votes: | 293 |
Popularity: | 1.73 |
First Submitted: | 2013-09-25 03:56 (UTC) |
Last Updated: | 2025-01-28 12:53 (UTC) |
Dependencies (19)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- giflib (giflib-gitAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR)
- libdbusmenu-glib
- python (python37AUR, python311AUR, python310AUR)
- sh (dashbinshAUR, bash-devel-static-gitAUR, zshbinshAUR, bash-devel-gitAUR, busybox-coreutilsAUR, bash-gitAUR, bash)
- ttf-font (neuropol-ttfAUR, ttf-win7-fontsAUR, ttf-ms-win8AUR, ttf-ms-win8-arabicAUR, ttf-ms-win8-hebrewAUR, ttf-ms-win8-seaAUR, ttf-ms-win8-indicAUR, ttf-ms-win8-japaneseAUR, ttf-ms-win8-koreanAUR, ttf-ms-win8-zh_cnAUR, ttf-ms-win8-zh_twAUR, ttf-ms-win8-thaiAUR, ttf-ms-win8-otherAUR, ttf-kidsAUR, ttf-liberation-sans-narrowAUR, ttf-cavafy-scriptAUR, ttf-ms-fontsAUR, ttf-dejavu-ibAUR, ttf-zeldaAUR, ttf-oxygenAUR, ttf-oxygen-gfAUR, ttf-share-gfAUR, ttf-gostAUR, otf-inconsolata-dzAUR, ttf-d2codingAUR, ttf-agaveAUR, ttf-caracteresAUR, ttf-cuprumAUR, ttf-autour-oneAUR, ttf-impallari-milongaAUR, ttf-impallari-miltonianAUR, ttf-clarity-cityAUR, ttf-ms-win10AUR, ttf-ms-win10-japaneseAUR, ttf-ms-win10-koreanAUR, ttf-ms-win10-seaAUR, ttf-ms-win10-thaiAUR, ttf-ms-win10-zh_cnAUR, ttf-ms-win10-zh_twAUR, ttf-ms-win10-otherAUR, ttf-win10AUR, ttf-bmonoAUR, ttf-pt-astra-factAUR, ttf-weblysleekuiAUR, ttf-pt-astra-sansAUR, ttf-pt-astra-serifAUR, ttf-pt-sansAUR, ttf-pt-serifAUR, ttf-pt-monoAUR, ttf-pt-root_uiAUR, ttf-xo-fontsAUR, ttf-paratypeAUR, ttf-plemoljp-binAUR, ttf-dejavu-emojilessAUR, ttf-lucida-fontsAUR, ttf-plemoljpAUR, ttf-juiseeAUR, ttf-ms-win10-autoAUR, ttf-karlaAUR, ttf-ms-win11-autoAUR, ttf-ms-win10-cdnAUR, noto-fonts-liteAUR, ttf-ibm-plex-sans-scAUR, ttf-ms-win11AUR, ttf-ms-win11-japaneseAUR, ttf-ms-win11-koreanAUR, ttf-ms-win11-seaAUR, ttf-ms-win11-thaiAUR, ttf-ms-win11-zh_cnAUR, ttf-ms-win11-zh_twAUR, ttf-ms-win11-otherAUR, noto-fonts-variable-liteAUR, ttf-shangguAUR, noto-fonts-latin-greek-cyrillicAUR, apple-fontsAUR, ttf-noto-sans-vfAUR, ttf-noto-serif-vfAUR, ttf-noto-sans-mono-vfAUR, gnu-free-fonts, noto-fonts, ttf-bitstream-vera, ttf-croscore, ttf-dejavu, ttf-droid, ttf-ibm-plex, ttf-input, ttf-input-nerd, ttf-liberation)
- cython (cython-gitAUR, cython0AUR) (make)
- python-setuptools (make)
- docker-compose (docker-compose-v1-binAUR, docker-compose-gitAUR, docker-desktopAUR) (optional) – For support docker inside Pycharm
- docker-machine (docker-machine-gitlab-binAUR) (optional) – For support docker inside Pycharm
- ipython (ipython-gitAUR) (optional) – For enhanced interactive Python shell inside Pycharm
- jupyter-server (optional) – For Jupyter notebooks and apps
- openssh (openssh-gitAUR, openssh-dotconfigAUR, openssh-dotconfig-binAUR, openssh-selinuxAUR, openssh-hpn-shimAUR, openssh-gssapiAUR, openssh-dnatAUR) (optional) – For deployment and remote connections
- python-coverage (optional) – For support code coverage measurement
- python-pytest (optional) – For support testing inside Pycharm
- python-setuptools (optional) – Packages manager for Python, for project interpreter
- python-tox (optional) – Python environments for testing tool
- vagrant (vagrant-gitAUR) (optional) – For support virtualized development environments
Required by (0)
Sources (4)
Latest Comments
« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 45 Next › Last »
solnce commented on 2021-12-14 15:35 (UTC) (edited on 2021-12-14 15:35 (UTC) by solnce)
huyz commented on 2021-12-10 11:07 (UTC) (edited on 2021-12-10 11:21 (UTC) by huyz)
Feature request: Could you pack the bundled java runtime into a split package pycharm-professional-jre
, just like other Jetbrains IDEs (e.g. datagrip, goland, idea, etc) in AUR.
This can save some disk space for user who uses custom java runtime.
Here's a modified PKGBUILD to pack this:
diff --git a/PKGBUILD b/PKGBUILD
index a498dbc..7e01665 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,14 @@
# Maintainer: MikeBreytenbach <mike.breyten.bach at gmail dot com>
# Maintainer: XavierCLL <xavier.corredor.llano (a) gmail.com>
-pkgname=pycharm-professional
+pkgbase=pycharm-professional
+pkgname=(pycharm-professional pycharm-professional-jre)
pkgver=2021.3
pkgrel=1
pkgdesc="Python IDE for Professional Developers. Professional Edition"
arch=('x86_64')
url='https://www.jetbrains.com/pycharm/'
-conflicts=('pycharm' 'pycharm-community-edition')
-provides=('pycharm')
license=('custom')
-backup=("opt/$pkgname/bin/pycharm64.vmoptions"
- "opt/$pkgname/bin/idea.properties")
-depends=('giflib' 'glibc' 'sh' 'libxtst' 'libxslt' 'libxss' 'nss' 'python' 'libdbusmenu-glib')
source=("https://download.jetbrains.com/python/$pkgname-$pkgver.tar.gz"
"pycharm-professional.desktop"
"charm.desktop"
@@ -22,17 +18,6 @@ sha256sums=('81426f86e1b3de0bd00488e037e9fdcaab4772f1f259ff551ac904d35fb4cd7c'
'6996b38a3c2ba1e472838d7046a4c54a27822fd647be9ca590457e8c6a2d50c8'
'039f0d1dc447fb26bb9df35b3a85145a47ce42193c8b2d56bf7bdf090fff0da9')
makedepends=('python-setuptools' 'cython' 'lib32-gcc-libs')
-optdepends=('ipython: For enhanced interactive Python shell inside Pycharm'
- 'openssh: For deployment and remote connections'
- 'python-setuptools: Packages manager for Python, for project interpreter'
- 'python-coverage: For support code coverage measurement'
- 'cython: For performance debugger'
- 'docker-machine: For support docker inside Pycharm'
- 'docker-compose: For support docker inside Pycharm'
- 'vagrant: For support virtualized development environments'
- 'python-pytest: For support testing inside Pycharm'
- 'python-tox: Python environments for testing tool'
- 'jupyter: For support Jupyter Notebook')
build() {
# clean up and compile PyDev debugger used by PyCharm to speedup debugging
@@ -46,7 +31,26 @@ build() {
rm -r pycharm-${pkgver}/lib/pty4j-native/linux/{mips64el,ppc64le,aarch64,arm,x86}
}
-package() {
+package_pycharm-professional() {
+ depends=('giflib' 'glibc' 'sh' 'libxtst' 'libxslt' 'libxss' 'nss' 'python' 'libdbusmenu-glib')
+ optdepends=('pycharm-professional-jre: JetBrains custom JRE (Recommended)'
+ 'java-environment: Required if pycharm-professional-jre is not installed'
+ 'ipython: For enhanced interactive Python shell inside Pycharm'
+ 'openssh: For deployment and remote connections'
+ 'python-setuptools: Packages manager for Python, for project interpreter'
+ 'python-coverage: For support code coverage measurement'
+ 'cython: For performance debugger'
+ 'docker-machine: For support docker inside Pycharm'
+ 'docker-compose: For support docker inside Pycharm'
+ 'vagrant: For support virtualized development environments'
+ 'python-pytest: For support testing inside Pycharm'
+ 'python-tox: Python environments for testing tool'
+ 'jupyter: For support Jupyter Notebook')
+ conflicts=('pycharm' 'pycharm-community-edition')
+ provides=('pycharm')
+ backup=("opt/$pkgname/bin/pycharm64.vmoptions"
+ "opt/$pkgname/bin/idea.properties")
+
# licenses
install -dm 755 "$pkgdir/usr/share/licenses/$pkgname/"
mv "pycharm-$pkgver/license/"* "$pkgdir/usr/share/licenses/$pkgname/"
@@ -54,6 +58,7 @@ package() {
# base
install -dm 755 "$pkgdir/opt/$pkgname"
mv "pycharm-$pkgver/"* "$pkgdir/opt/$pkgname/"
+ mv "$pkgdir/opt/$pkgname/jbr" "pycharm-$pkgver/"
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/"
@@ -68,3 +73,8 @@ package() {
install -Dm 755 charm "$pkgdir/usr/bin/"
install -Dm 644 charm.desktop "$pkgdir/usr/share/applications/"
}
+
+package_pycharm-professional-jre() {
+ install -dm 755 "$pkgdir/opt/$pkgname"
+ mv "pycharm-$pkgver/jbr" "$pkgdir/opt/$pkgname/"
+}
nadavz commented on 2021-12-06 06:59 (UTC)
@MikeBreytenbach thanks, installing lib32-gcc-libs
did solve the issue. It appears that it might be a missing make dependency.
MikeBreytenbach commented on 2021-12-05 19:05 (UTC)
Thanks @donny and @XavierCLL. Is it possible that gcc-libs is not enough and that PyCharm also needs the 32 bit version to build?
donny commented on 2021-12-05 16:59 (UTC)
@XavierCLL: gcc-libs
is a required dependecy of both base
meta-package and gcc
package from the base-devel
package group. If anyone is missing base
or base-devel
on his arch machine, it's the user's fault and shloudn't be corrected in the PKGBUILD.
Xavier commented on 2021-12-05 14:40 (UTC)
@nadavz the error is because you need gcc-libs
in the system, Mike maybe we need to add that package in the makedepends
list
MikeBreytenbach commented on 2021-12-05 13:11 (UTC)
@nadavz thank you for telling us. Please try (re)installing lib32-gcc-libs. If that does not work try "pacman -S --needed base-devel".
nadavz commented on 2021-12-05 08:36 (UTC)
For me it failed with:
[1/1] Cythonizing _pydevd_bundle/pydevd_cython.pyx
running build_ext
building '_pydevd_bundle.pydevd_cython' extension
creating build
creating build/temp.linux-x86_64-3.9
creating build/temp.linux-x86_64-3.9/_pydevd_bundle
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fno-semantic-interposition -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.9 -c _pydevd_bundle/pydevd_cython.c -o build/temp.linux-x86_64-3.9/_pydevd_bundle/pydevd_cython.o
creating build/lib.linux-x86_64-3.9
creating build/lib.linux-x86_64-3.9/_pydevd_bundle
gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fno-semantic-interposition -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection build/temp.linux-x86_64-3.9/_pydevd_bundle/pydevd_cython.o -L/usr/lib -o build/lib.linux-x86_64-3.9/_pydevd_bundle/pydevd_cython.cpython-39-x86_64-linux-gnu.so
copying build/lib.linux-x86_64-3.9/_pydevd_bundle/pydevd_cython.cpython-39-x86_64-linux-gnu.so -> _pydevd_bundle
[1/1] Cythonizing _pydevd_frame_eval/pydevd_frame_evaluator_common.pyx
running build_ext
building '_pydevd_frame_eval.pydevd_frame_evaluator_common' extension
creating build/temp.linux-x86_64-3.9/_pydevd_frame_eval
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fno-semantic-interposition -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -I_pydevd_frame_eval -I/usr/include/python3.9 -c _pydevd_frame_eval/pydevd_frame_evaluator_common.c -o build/temp.linux-x86_64-3.9/_pydevd_frame_eval/pydevd_frame_evaluator_common.o
In file included from /usr/include/python3.9/internal/pycore_interp.h:13,
from _pydevd_frame_eval/internal_pycore.h:7,
from _pydevd_frame_eval/pydevd_frame_evaluator_common.c:640:
/usr/include/python3.9/internal/pycore_gc.h:61: warning: "_PyGC_FINALIZED" redefined
61 | #define _PyGC_FINALIZED(o) \
|
In file included from /usr/include/python3.9/objimpl.h:208,
from /usr/include/python3.9/Python.h:85,
from _pydevd_frame_eval/pydevd_frame_evaluator_common.c:25:
/usr/include/python3.9/cpython/objimpl.h:131: note: this is the location of the previous definition
131 | # define _PyGC_FINALIZED(o) PyObject_GC_IsFinalized(o)
|
creating build/lib.linux-x86_64-3.9/_pydevd_frame_eval
gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fno-semantic-interposition -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection build/temp.linux-x86_64-3.9/_pydevd_frame_eval/pydevd_frame_evaluator_common.o -L/usr/lib -o build/lib.linux-x86_64-3.9/_pydevd_frame_eval/pydevd_frame_evaluator_common.cpython-39-x86_64-linux-gnu.so
copying build/lib.linux-x86_64-3.9/_pydevd_frame_eval/pydevd_frame_evaluator_common.cpython-39-x86_64-linux-gnu.so -> _pydevd_frame_eval
[1/1] Cythonizing _pydevd_frame_eval/pydevd_frame_evaluator_py39_and_above.pyx
running build_ext
building '_pydevd_frame_eval.pydevd_frame_evaluator_py39_and_above' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fno-semantic-interposition -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -I_pydevd_frame_eval -I./_pydevd_frame_eval -I/usr/include/python3.9 -c _pydevd_frame_eval/pydevd_frame_evaluator_py39_and_above.c -o build/temp.linux-x86_64-3.9/_pydevd_frame_eval/pydevd_frame_evaluator_py39_and_above.o
In file included from /usr/include/python3.9/internal/pycore_interp.h:13,
from _pydevd_frame_eval/internal_pycore.h:7,
from _pydevd_frame_eval/pydevd_frame_evaluator_py39_and_above.c:641:
/usr/include/python3.9/internal/pycore_gc.h:61: warning: "_PyGC_FINALIZED" redefined
61 | #define _PyGC_FINALIZED(o) \
|
In file included from /usr/include/python3.9/objimpl.h:208,
from /usr/include/python3.9/Python.h:85,
from _pydevd_frame_eval/pydevd_frame_evaluator_py39_and_above.c:26:
/usr/include/python3.9/cpython/objimpl.h:131: note: this is the location of the previous definition
131 | # define _PyGC_FINALIZED(o) PyObject_GC_IsFinalized(o)
|
gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fno-semantic-interposition -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection build/temp.linux-x86_64-3.9/_pydevd_frame_eval/pydevd_frame_evaluator_py39_and_above.o -L/usr/lib -o build/lib.linux-x86_64-3.9/_pydevd_frame_eval/pydevd_frame_evaluator_py39_and_above.cpython-39-x86_64-linux-gnu.so
copying build/lib.linux-x86_64-3.9/_pydevd_frame_eval/pydevd_frame_evaluator_py39_and_above.cpython-39-x86_64-linux-gnu.so -> _pydevd_frame_eval
Compiled amd64
Note: may need sudo apt-get install libx32gcc-4.8-dev and sudo apt-get install libc6-dev-i386 and sudo apt-get install g++-multilib to compile 32 bits
In file included from /usr/include/features.h:497,
from /usr/include/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from attach.cpp:7:
/usr/include/gnu/stubs.h:7:11: fatal error: gnu/stubs-32.h: No such file or directory
7 | # include <gnu/stubs-32.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
mv: cannot stat 'attach_linux_x86.so': No such file or directory
I then installed core/lib32-glibc
which provides /usr/include/gnu/stubs-32.h
, but then I got
<SNIP>
Compiled amd64
Note: may need sudo apt-get install libx32gcc-4.8-dev and sudo apt-get install libc6-dev-i386 and sudo apt-get install g++-multilib to compile 32 bits
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/bin/ld: cannot find libgcc_s.so.1
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1
collect2: error: ld returned 1 exit status
mv: cannot stat 'attach_linux_x86.so': No such file or directory
Compiled x86
I'm not in a virtualenv shell.
Xavier commented on 2021-11-23 05:48 (UTC)
Don't build it in a virtualenv
active shell
montemedio commented on 2021-11-22 11:04 (UTC)
As of 2021.2.3, the package build fails for me with
ModuleNotFoundError: No module named 'Cython'
==> ERROR: A failure occurred in build().
Aborting...
Pinned Comments
Xavier commented on 2024-12-20 15:15 (UTC)
MANUAL INTERVENTION FOR v2024.3.1.1:
Due to the latest changes for the cython speed up, this release is going to show a commit transaction conflicting files, to fix this you need to enable Cython Speed Up file overwriting:
[aur helper] pycharm-professional --overwrite '/opt/pycharm-professional/plugins/python-ce/helpers/pydev/*'
or after manual build:
sudo pacman -U pycharm-professional-2024.3.1.1-1-x86_64.pkg.tar.zst --overwrite '/opt/pycharm-professional/plugins/python-ce/helpers/pydev/*'