Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jetbrains update #37328

Closed
wants to merge 10 commits into from
Closed

Jetbrains update #37328

wants to merge 10 commits into from

Conversation

Mic92
Copy link
Member

@Mic92 Mic92 commented Mar 18, 2018

Motivation for this change

cc @edwtjo

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@Mic92
Copy link
Member Author

Mic92 commented Mar 18, 2018

@GrahamcOfBorg build jetbrains.pycharm-community jetbrains.idea-community

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin

The following builds were skipped because they don't evaluate on x86_64-darwin: jetbrains.pycharm-community, jetbrains.idea-community

No log is available.

@GrahamcOfBorg
Copy link

No attempt on aarch64-linux

The following builds were skipped because they don't evaluate on aarch64-linux: jetbrains.pycharm-community, jetbrains.idea-community

No log is available.

@Mic92
Copy link
Member Author

Mic92 commented Mar 18, 2018

When will be this upgraded? https://github.com/JetBrains/jdk8u/releases

@GrahamcOfBorg GrahamcOfBorg added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild 10.rebuild-linux: 1-10 labels Mar 18, 2018
@GrahamcOfBorg
Copy link

No attempt on aarch64-linux

The following builds were skipped because they don't evaluate on aarch64-linux: jetbrains.datagrip, jetbrains.goland, jetbrains.idea-community, jetbrains.idea-ultimate, jetbrains.phpstorm, jetbrains.pycharm-community, jetbrains.pycharm-professional, jetbrains.ruby-mine, jetbrains.webstorm

No log is available.

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin

The following builds were skipped because they don't evaluate on x86_64-darwin: jetbrains.datagrip, jetbrains.goland, jetbrains.idea-community, jetbrains.idea-ultimate, jetbrains.phpstorm, jetbrains.pycharm-community, jetbrains.pycharm-professional, jetbrains.ruby-mine, jetbrains.webstorm

No log is available.

@Mic92
Copy link
Member Author

Mic92 commented Mar 18, 2018

webstorm does not start:

$ webstorm
Start Failed: Internal error. Please report to http://jb.gg/ide/critical-startup-errors
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.intellij.ide.Bootstrap.main(Bootstrap.java:39)
        at com.intellij.idea.Main.main(Main.java:78)
Caused by: java.lang.UnsatisfiedLinkError: /nix/store/v39g3hkkkvzv620xgs3dwikjzm6mg0wg-webstorm-2017.3.5/webstorm-2017.3.5/jre64/lib/amd64/libawt_xawt.so: libXext.so.6: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
        at java.lang.Runtime.load0(Runtime.java:809)
        at java.lang.System.load(System.java:1086)
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1845)
        at java.lang.Runtime.loadLibrary0(Runtime.java:870)
        at java.lang.System.loadLibrary(System.java:1122)
        at java.awt.Toolkit$3.run(Toolkit.java:1636)
        at java.awt.Toolkit$3.run(Toolkit.java:1634)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.loadLibraries(Toolkit.java:1633)
        at java.awt.Toolkit.<clinit>(Toolkit.java:1668)
        at java.awt.Cursor.<clinit>(Cursor.java:195)
        at javax.swing.text.html.HTMLEditorKit.<clinit>(HTMLEditorKit.java:623)
        at com.intellij.util.ui.UIUtil.<clinit>(UIUtil.java:102)
        at com.intellij.ide.plugins.PluginManager.start(PluginManager.java:78)
        ... 6 more
Also, an UI exception occurred on attempt to show above message:
java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
        at java.awt.Component.<clinit>(Component.java:594)
        at com.intellij.idea.Main.showMessage(Main.java:172)
        at com.intellij.idea.Main.showMessage(Main.java:148)
        at com.intellij.idea.Main.main(Main.java:81)

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin

The following builds were skipped because they don't evaluate on x86_64-darwin: jetbrains.clion, jetbrains.datagrip, jetbrains.goland, jetbrains.idea-community, jetbrains.idea-ultimate, jetbrains.phpstorm, jetbrains.pycharm-community, jetbrains.pycharm-professional, jetbrains.ruby-mine, jetbrains.webstorm

No log is available.

@GrahamcOfBorg
Copy link

No attempt on aarch64-linux

The following builds were skipped because they don't evaluate on aarch64-linux: jetbrains.clion, jetbrains.datagrip, jetbrains.goland, jetbrains.idea-community, jetbrains.idea-ultimate, jetbrains.phpstorm, jetbrains.pycharm-community, jetbrains.pycharm-professional, jetbrains.ruby-mine, jetbrains.webstorm

No log is available.

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: jetbrains.pycharm-community, jetbrains.idea-community

Partial log (click to expand)

shrinking /nix/store/qmqh70dxms7azkwkqc0zm6nm4w8d1ydr-pycharm-community-2017.3.4/pycharm-community-2017.3.4/jre64/lib/amd64/libsctp.so
shrinking /nix/store/qmqh70dxms7azkwkqc0zm6nm4w8d1ydr-pycharm-community-2017.3.4/pycharm-community-2017.3.4/jre64/lib/amd64/libmlib_image.so
shrinking /nix/store/qmqh70dxms7azkwkqc0zm6nm4w8d1ydr-pycharm-community-2017.3.4/pycharm-community-2017.3.4/jre64/lib/amd64/libdt_socket.so
shrinking /nix/store/qmqh70dxms7azkwkqc0zm6nm4w8d1ydr-pycharm-community-2017.3.4/pycharm-community-2017.3.4/jre64/lib/amd64/libjava_crw_demo.so
shrinking /nix/store/qmqh70dxms7azkwkqc0zm6nm4w8d1ydr-pycharm-community-2017.3.4/pycharm-community-2017.3.4/jre64/lib/amd64/libjavafx_font_pango.so
shrinking /nix/store/qmqh70dxms7azkwkqc0zm6nm4w8d1ydr-pycharm-community-2017.3.4/pycharm-community-2017.3.4/jre64/lib/jexec
shrinking /nix/store/qmqh70dxms7azkwkqc0zm6nm4w8d1ydr-pycharm-community-2017.3.4/pycharm-community-2017.3.4/helpers/pydev/pydevd_attach_to_process/attach_linux_amd64.so
shrinking /nix/store/qmqh70dxms7azkwkqc0zm6nm4w8d1ydr-pycharm-community-2017.3.4/pycharm-community-2017.3.4/helpers/pydev/pydevd_attach_to_process/attach_linux_x86.so
/nix/store/qmqh70dxms7azkwkqc0zm6nm4w8d1ydr-pycharm-community-2017.3.4
/nix/store/8p5zg1jx1590xb39x8kmb5jlph231w8d-idea-community-2017.3.5

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: jetbrains.idea-community, jetbrains.pycharm-community

The following builds were skipped because they don't evaluate on x86_64-linux: jetbrains.clion, jetbrains.datagrip, jetbrains.goland, jetbrains.idea-ultimate, jetbrains.phpstorm, jetbrains.pycharm-professional, jetbrains.ruby-mine, jetbrains.webstorm

Partial log (click to expand)

/nix/store/8p5zg1jx1590xb39x8kmb5jlph231w8d-idea-community-2017.3.5
/nix/store/qmqh70dxms7azkwkqc0zm6nm4w8d1ydr-pycharm-community-2017.3.4

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: jetbrains.idea-community, jetbrains.pycharm-community

The following builds were skipped because they don't evaluate on x86_64-linux: jetbrains.datagrip, jetbrains.goland, jetbrains.idea-ultimate, jetbrains.phpstorm, jetbrains.pycharm-professional, jetbrains.ruby-mine, jetbrains.webstorm

Partial log (click to expand)

shrinking /nix/store/8p5zg1jx1590xb39x8kmb5jlph231w8d-idea-community-2017.3.5/idea-community-2017.3.5/jre64/bin/rmid
shrinking /nix/store/8p5zg1jx1590xb39x8kmb5jlph231w8d-idea-community-2017.3.5/idea-community-2017.3.5/jre64/bin/rmiregistry
shrinking /nix/store/8p5zg1jx1590xb39x8kmb5jlph231w8d-idea-community-2017.3.5/idea-community-2017.3.5/jre64/bin/servertool
shrinking /nix/store/8p5zg1jx1590xb39x8kmb5jlph231w8d-idea-community-2017.3.5/idea-community-2017.3.5/jre64/bin/tnameserv
shrinking /nix/store/8p5zg1jx1590xb39x8kmb5jlph231w8d-idea-community-2017.3.5/idea-community-2017.3.5/jre64/bin/unpack200
shrinking /nix/store/8p5zg1jx1590xb39x8kmb5jlph231w8d-idea-community-2017.3.5/libexec/idea-community-2017.3.5/fsnotifier
shrinking /nix/store/8p5zg1jx1590xb39x8kmb5jlph231w8d-idea-community-2017.3.5/libexec/idea-community-2017.3.5/fsnotifier-arm
shrinking /nix/store/8p5zg1jx1590xb39x8kmb5jlph231w8d-idea-community-2017.3.5/libexec/idea-community-2017.3.5/fsnotifier64
/nix/store/8p5zg1jx1590xb39x8kmb5jlph231w8d-idea-community-2017.3.5
/nix/store/qmqh70dxms7azkwkqc0zm6nm4w8d1ydr-pycharm-community-2017.3.4

@jokogr jokogr mentioned this pull request Mar 19, 2018
8 tasks
@edwtjo
Copy link
Member

edwtjo commented Mar 22, 2018

Some of this was already merged with #36943

@Mic92 Mic92 mentioned this pull request Mar 22, 2018
8 tasks
@Mic92
Copy link
Member Author

Mic92 commented Mar 22, 2018

@edwtjo yeah, but the other pull request breaks webstorm too.

Mic92 added a commit that referenced this pull request Mar 22, 2018
it tried to use its own jre, which is not patched

fixes #36943 #37328
@Mic92
Copy link
Member Author

Mic92 commented Mar 22, 2018

webstorm fixed in b9b08f8

@Mic92 Mic92 closed this Mar 22, 2018
@Mic92 Mic92 deleted the jetbrains-update branch March 22, 2018 11:34
Mic92 added a commit that referenced this pull request Apr 8, 2018
it tried to use its own jre, which is not patched

fixes #36943 #37328

(cherry picked from commit b9b08f8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.rebuild-darwin: 0 This PR does not cause any packages to rebuild 10.rebuild-linux: 1-10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants