Package Base Details: clion

Git Clone URL: https://aur.archlinux.org/clion.git (read-only)
Keywords: C C++ IDE JetBrains
Submitter: rdoursenaud
Maintainer: Zrax
Last Packager: Zrax
Votes: 128
Popularity: 2.961259
First Submitted: 2015-04-14 21:23
Last Updated: 2017-10-03 15:46

Latest Comments

Zrax commented on 2017-09-29 18:14

The file is included with the PKGBUILD. If you cloned the git repo or downloaded the snapshot tarball (rather than just the PKGBUILD file alone), you should already have the .desktop file as well.

nroth commented on 2017-09-29 18:09

I get:

==> ERROR: jetbrains-clion.desktop was not found in the build directory and is not a URL.


Where am I supposed to find this file?

EDIT: Extracted manually. Still, this is annoying.

Zrax commented on 2017-08-28 15:38

claymore: Please see the pinned comment on https://aur.archlinux.org/packages/ncurses5-compat-libs/ to resolve that.

claymore commented on 2017-08-28 12:11

I'm having this issue

"
AUR Packages (6) clion-1:2017.2.1-2 clion-cmake-1:2017.2.1-2 clion-gdb-1:2017.2.1-2 clion-jre-1:2017.2.1-2 clion-lldb-1:2017.2.1-2 ncurses5-compat-libs-6.0+20170827-1

:: Proceed with installation? [Y/n] Y
:: Retrieving package(s)...
:: clion build files are up-to-date -- skipping
:: ncurses5-compat-libs build files are up-to-date -- skipping
:: Checking ncurses5-compat-libs integrity...
==> Making package: ncurses5-compat-libs 6.0+20170827-1 (seg ago 28 13:09:12 WEST 2017)
==> Retrieving sources...
-> Found ncurses-6.0-20170827.tgz
-> Found ncurses-6.0-20170827.tgz.asc
==> Validating source files with md5sums...
ncurses-6.0-20170827.tgz ... Passed
ncurses-6.0-20170827.tgz.asc ... Skipped
==> Verifying source file signatures with gpg...
ncurses-6.0-20170827.tgz ... FAILED (unknown public key 702353E0F7E48EDB)
==> ERROR: One or more PGP signatures could not be verified!
:: Checking clion,clion-cmake,clion-gdb,clion-jre,clion-lldb integrity...
==> Making package: clion 1:2017.2.1-2 (seg ago 28 13:09:17 WEST 2017)
==> Retrieving sources...
-> Found CLion-2017.2.1.tar.gz
-> Found jetbrains-clion.desktop
==> Validating source files with sha256sums...
CLion-2017.2.1.tar.gz ... Passed
jetbrains-clion.desktop ... Passed
:: failed to verify ncurses5-compat-libs integrity
"

KillWolfVlad commented on 2017-08-25 08:30

If you use Bundled LLDB:

/opt/clion/bin/lldb/LLDBFrontend: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

Please, add https://aur.archlinux.org/packages/libtinfo5/ as depends to clion-lldb

conrad784 commented on 2017-07-20 10:31

@JohnRobson
Quoting srki_82:
"@postadelmaga
yaourt don't support split packages, try pacaur instead."

JohnRobson commented on 2017-07-20 00:42

Please, fix the installation process, when updating (maybe installing too) Clion RE-Install ALL the packages 5 times!!! After first re-install I stop and re-run yaourt and it don't do the extra 4 reinstallations.

atriix commented on 2017-05-20 19:27

pacaur 4.7.8-1

:: clion package(s) failed to install. Check .SRCINFO for mismatching data with PKGBUILD.

denniseffing commented on 2017-03-24 19:47

The package jetbrains-toolbox has a conflict with the pycharm professional AUR package found here: https://aur.archlinux.org/packages/pycharm-professional/

Is there any fix for that?

srki_82 commented on 2017-02-16 19:49

@postadelmaga
yaourt don't support split packages, try pacaur instead.

postadelmaga commented on 2016-12-17 05:53

if I try to install using yaourt, I got another packages ...
am I doing something wrong ?

$ yaourt -S clion
resolving dependencies...
looking for conflicting packages...

Packages (1) jetbrains-toolbox-2:1.0.2095-1.2

Pastafarianist commented on 2016-12-16 22:03

I'm getting this when I start the debugger:

=== CTRL+C/CTRL+V START ===
Error during pretty printers setup: Error while executing Python code.
Some features and performance optimizations will not be available.

python
>>>>>>>Traceback (most recent call last):
File "<string>", line 3, in <module>
ImportError: No module named 'default'
Error while executing Python code.
=== CTRL+C/CTRL+V END ===

I guess this is a packaging problem, since the same error is also reported for the clion-eap package.

carmelo12341 commented on 2016-12-15 16:34

I'm not sure if anyone of you has the same problem as I do... Clion shows "can't resolve namespace/variable" errors when including, say, <cstdlib>, that lines is grayed out and the errors appear.
Maybe I should open a ticket in upstream :/

orbital_sfear commented on 2016-11-22 07:26

Is anyone else suddenly getting this error? Am I doing something stupid?

==> Finished making: clion 1:2016.2.3-2 (Mon Nov 21 23:24:05 PST 2016)
loading packages...
error: 'clion-jre-1:2016.2.3-2-x86_64.pkg.tar.xz': duplicate target
error: 'clion-cmake-1:2016.2.3-2-x86_64.pkg.tar.xz': duplicate target
error: 'clion-gdb-1:2016.2.3-2-x86_64.pkg.tar.xz': duplicate target
error: 'clion-lldb-1:2016.2.3-2-x86_64.pkg.tar.xz': duplicate target

-- UPDATE

I investigated further, and found that installing clion with pacaur, instead of packer as I was using above, the installation works fine.

Zrax commented on 2016-11-20 07:05

Great idea, thanks! It should be implemented in the latest (2016.2.3-2)

srki_82 commented on 2016-11-19 21:42

One more thing... CLion works only on x64 systems [1]. You should remove i686 from arch and unconditionally remove 32bit files from package. No need for checking for arch.

[1]: https://intellij-support.jetbrains.com/hc/en-us/community/posts/205823389/comments/207284425

srki_82 commented on 2016-11-19 21:38

@Zrax
Since some of us like to use system libraries, while other want vanilla CMake, you could make split package from CLion archive. You could split it to clion, clion-jre, clion-cmake, clion-gdb and clion-lldb. That way we can easily choose wither to use system or vanilla components without modifying PKGBUILD.

Maybe something like this: https://gist.github.com/anonymous/6815d54584a9c228590a89fd93409837

rdoursenaud commented on 2016-10-05 19:25

As I don't use CLion that much anymore, I'll stop maintaining this package.
If you're keen to take over, just adopt the package!

rdoursenaud commented on 2015-12-31 06:59

@sh4wn Removing the provided GDB, cmake or JRE (Clang is not part of the package) would not change the download size any bit.
Also it may cause issues (It has in the past which is why JetBrains provides them). That's why I prefer to stick to the upstream.
But feel free to edit the PKGBUILD before install, it has all the required commands ready for you to be uncommented.

sh4wn commented on 2015-12-30 20:40

I would also vote for using the system wide GDB and Clang installations by default, now it downloads just a bunch of unnecessary stuff for most of the people.

ChlorideCull commented on 2015-12-26 18:29

Please apply this patch to update the version to 1.2.4, and fix the icon on the shortcut. This also changes the name of the .desktop file so you won't be prompted to create one on first launch.

http://fpaste.org/305098/

f1u77y commented on 2015-11-13 09:27

@Kuci, did you mean java-runtime? java-environment is provided by jdk and java-runtime is provided by jre. clion need jre, not jdk

avu commented on 2015-11-12 07:36

Could you try our (JetBrains) custom build of OpenJDK https://drive.google.com/file/d/0B-XjSlEemtN0bUhia1M2dWpUXzQ/view?usp=sharing

rdoursenaud commented on 2015-11-04 17:10

@Softwayer I believe that the JetBrains team has its reasons to bundle these and want you to be able to use it as upstream intended.
I provided the options to use system components because so many of you have asked for it. I won't make it the default because I don't want to have to deal with the support issues that will be raised using incompatible dependencies.
Faith in upstream is an Arch Linux philosophy I totally embrace.

Softwayer commented on 2015-11-04 15:12

It would probably be logical to use the system-wide JRE, cmake and gdb by default

The_K commented on 2015-11-01 13:08

I think it would be good to add java-environment dependency.

thelinuxguy commented on 2015-10-29 20:24

could you add a backup entry for /opt/clion/bin/idea.properties?

tmplt commented on 2015-10-21 20:09

Works for me too, after installing openjdk.

gagarski commented on 2015-10-15 18:52

There are some workarounds to run it with embedded jdk.

https://bugs.archlinux.org/task/46619

arcanis commented on 2015-10-14 21:33

ah, it works with openjdk

arcanis commented on 2015-10-14 21:13

tried with jdk7 and jdk. In both cases I've got a segfault.

NeveHanter commented on 2015-10-10 11:15

CLion crashes when using it's embedded JRE /opt/clion/jre/bin/java with following exceptions:

Internal exceptions (10 events):
Event: 1,191 Thread 0x00007fcb185a1800 Exception <a 'java/io/FileNotFoundException'> (0x000000008300a3d8) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u51/3951/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 1,191 Thread 0x00007fcb185a1800 Exception <a 'java/io/FileNotFoundException'> (0x000000008300abb8) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u51/3951/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 1,195 Thread 0x00007fcb185a1800 Exception <a 'java/io/FileNotFoundException'> (0x000000008303a3a8) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u51/3951/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 1,195 Thread 0x00007fcb185a1800 Exception <a 'java/io/FileNotFoundException'> (0x000000008303ab88) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u51/3951/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 1,195 Thread 0x00007fcb185a1800 Exception <a 'java/io/FileNotFoundException'> (0x000000008303b368) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u51/3951/hotspot/src/share/vm/prims/jni.cpp, line 709]
Event: 1,201 Thread 0x00007fca9c1da000 Implicit null exception at 0x00007fcb12401e35 to 0x00007fcb12402019
Event: 1,201 Thread 0x00007fca9c1da000 Implicit null exception at 0x00007fcb123c4e6f to 0x00007fcb123c4ed9
Event: 1,288 Thread 0x00007fca8809d000 Implicit null exception at 0x00007fcb1222e19e to 0x00007fcb1222e7f1
Event: 1,288 Thread 0x00007fca8809d000 Implicit null exception at 0x00007fcb1220c07d to 0x00007fcb1220c8d9
Event: 1,288 Thread 0x00007fca8809d000 Implicit null exception at 0x00007fcb1222f8fd to 0x00007fcb12230159

Setting JAVA_HOME or any of the specified in clion.sh environment variables to point to default JVM i.e. /usr/lib/jvm/default fixes problem

rdoursenaud commented on 2015-08-21 22:01

Thanks for your insights @Huulivoide.

The missing i686 is intentional. CLion does not support 32 bit JVM AFAIK.

I have left comments in the PKGBUILD so you can remove the components you don't like.

Huulivoide commented on 2015-07-12 13:11

The Version-key in desktop files is not for the program version.
The specifications says:
"Version: Version of the Desktop Entry Specification that the desktop entry conforms with"

Also you are still missing 'i686' from archs.

The reason everything is bundled inn the package is to make it a standalone
package that you can just extract somewhere on the system in any distro,
without having to install any dependencies. I can agree to including gdb
in the package, although I myself prefer to have gdb that uses the system
python instead. But for cmake and especially the java-runtime one should use
the system one. Exception being the future 1.1 branch that is bundled with a
OpenJDK that has been patched for speed. But that too only till those patches
are upstreamed and Arch's OpenJDK ships with them or jetbrains fixes Clion
to work properly with the upstream runtime.

rdoursenaud commented on 2015-07-11 17:44

@Huulivoide
@Huulivoide Sorry, I forgot your comments.
You made some good points.
I just updated the package.
But I won't remove bundled apps by default because of the Arch Way.
Upstream has its reasons to bundle some dependencies.
I'll keep the .desktop generated to save my ass from forgetting to update it.

Thanks!

Huulivoide commented on 2015-07-11 16:05

Again a better PKGBUILDfor 1.0.5 using system java and cmake is available here:

https://www.dropbox.com/s/pvwmnhm1yp9x06y/clion-1.0.5-1.src.tar.gz?dl=0

Huulivoide commented on 2015-06-18 11:33

A proper PKGBUILD for 1.0.4:
https://www.dropbox.com/s/4tdv1pdau4x9h5x/clion-1.0.4-1.src.tar.gz?dl=0

I will be uploading the gdb78 package to aur4 soon.

pandada8 commented on 2015-06-05 05:24

@Huulivoide Seems the gdb in the Arch repo is newer than the bundled one. and clion complain about it

pandada8 commented on 2015-06-05 05:24

@Huulivoide Seems the gdb in the Arch repo is newer than the bundled one. and clion complain about it

Huulivoide commented on 2015-06-01 18:51

Revamped PKGBUILD: https://www.dropbox.com/s/l28x25cydb1b5yh/clion-1.0.3-2.src.tar.gz?dl=0

* Removed all '|| return 1's they haven't been in use since
nobody knows when.
* Bundle .desktop file as a file instead of echoing it.
* Don't extract the tarball to srcdir, but instead extract it
straight to pkgdir, this way we won't end up having 3 copies
of 440Mb worth of data.
* Remove bundled JRE, CMake and GDB. Add system-wide packages
as dependencies instead. This brings the installed size from
440MB to mere 220MB.
* Enclose every ${pkgdir} and ${srcdir} in quotes, so that building
in directory trees that have spaces in them wont fail.

ansar commented on 2015-05-19 14:49

checksum is: c92c86273bdbf28b3fc7b4b7e9136d28ad04ec13796e9057c96cdd70e8d334ad

ansar commented on 2015-05-19 14:44

version 1.0.2 is out: http://blog.jetbrains.com/clion/2015/05/clion-1-0-2-update/

niki commented on 2015-04-28 18:31

version 1.0.1 is up, with checksum 393839097527a0aebe3de957f05ef37968bfe5e12e6266f11e36f9c38db20d9e

Sir.Tiddlesworth commented on 2015-04-20 12:27

Awesome stuff!
*Thumbs up*