| 29 May 2021 |
midchildan | I like how the Nixpkgs packaging policy is relaxed compared to Homebrew, especially with regards to GUI applications. For applications without official binaries, Nix is the only way I can install them without too much hassle. Notably Emacs. | 07:23:17 |
Finn Behrens | does anyone with an m1 has an idea on how I cant troubelshoot/fix this error with java?
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (sharedRuntime.cpp:532), pid=18700, tid=259
# Error: ShouldNotReachHere()
#
# JRE version: OpenJDK Runtime Environment Zulu16.30+15-CA (16.0.1+9) (build 16.0.1+9)
# Java VM: OpenJDK 64-Bit Server VM Zulu16.30+15-CA (16.0.1+9, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/kloenk/Documents/Multimc/instances/1.16.5-Aether-1.0.0/.minecraft/hs_err_pid18700.log
#
# If you would like to submit a bug report, please visit:
# http://www.azulsystems.com/support/
#
| 07:41:30 |
siraben | In reply to @emilazy:matrix.org nix-darwin lets you manage brew bundles for casks etc. now fwiw whoa, is there a guide on this? | 07:42:55 |
emily | there is the best guide of all - the source! https://github.com/LnL7/nix-darwin/blob/007d700e644ac588ad6668e6439950a5b6e2ff64/modules/homebrew.nix | 07:56:54 |
emily | it looks like it's well-enough documented that you could just check the options reference though | 07:57:04 |
thefloweringash | In reply to @kloenk:petabyte.dev
does anyone with an m1 has an idea on how I cant troubelshoot/fix this error with java?
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (sharedRuntime.cpp:532), pid=18700, tid=259
# Error: ShouldNotReachHere()
#
# JRE version: OpenJDK Runtime Environment Zulu16.30+15-CA (16.0.1+9) (build 16.0.1+9)
# Java VM: OpenJDK 64-Bit Server VM Zulu16.30+15-CA (16.0.1+9, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/kloenk/Documents/Multimc/instances/1.16.5-Aether-1.0.0/.minecraft/hs_err_pid18700.log
#
# If you would like to submit a bug report, please visit:
# http://www.azulsystems.com/support/
#
I recently discovered that "openjdk" (8, 11, 16) is using x86_64-darwin binaries even on aarch64-darwin. The upstream (azul) does have aarch64-darwin binaries. See if https://github.com/NixOS/nixpkgs/pull/124576 helps? | 07:59:20 |
thefloweringash | also, wow, I want to reply to give context but it eats a huge amount of space | 08:00:01 |
Finn Behrens | In reply to @thefloweringash:matrix.org I recently discovered that "openjdk" (8, 11, 16) is using x86_64-darwin binaries even on aarch64-darwin. The upstream (azul) does have aarch64-darwin binaries. See if https://github.com/NixOS/nixpkgs/pull/124576 helps? It’s actually the binary version downloaded from azul that chrashes | 08:00:38 |
thefloweringash | oh, not from nix? | 08:01:05 |
Finn Behrens | yes, also tried 1 or 2 versions via nix. they crash as well | 08:01:30 |
LnL | siraben: the option descriptions along with examples are available in man configuration.nix | 08:02:01 |
LnL | but yeah, beyond that checking the source is best | 08:02:21 |
siraben | I see, thanks. | 08:02:29 |
LnL | there's an online version available on github pages but that one doesn't update automatically so it's a bit outdated | 08:03:46 |
Finn Behrens | In reply to @thefloweringash:matrix.org I recently discovered that "openjdk" (8, 11, 16) is using x86_64-darwin binaries even on aarch64-darwin. The upstream (azul) does have aarch64-darwin binaries. See if https://github.com/NixOS/nixpkgs/pull/124576 helps? Same error with .#jdk from this pr | 08:05:29 |
thefloweringash | looks like it's not an easy fix then. not sure where to go from here sorry | 08:06:23 |
Finn Behrens | No worries. Though I would just ask, and maybe get lucky | 08:06:45 |
Finn Behrens | I send a support request to azul. maybe they have an idea | 08:15:29 |
Finn Behrens | The wrote back. It is fixed in Zulu: 16.30.19. thefloweringash would you mind bumping it in your pr? | 09:03:36 |
Jassuko | Umm. I haven’t really been following the discussions too closely. But what is the current overall status on M1? Is it usable in general, excluding some broken pkgs or not there yet to be plausible replacement for eg. Homebrew? | 09:11:22 |
ris_ | hello everyone you'll be happy to know that curl now wants the SystemConfiguration framework to build https://github.com/NixOS/nixpkgs/pull/124502#issuecomment-850834981 ... leading to bootstrapping/reference loop issues | 13:53:49 |
ris_ | anyone know if any of the frameworks are used in any early-stage packages anywhere? | 13:55:09 |
| pr to shade buildscripts rn changed their display name from mtvare6 to pr to shade buildsscripts rn. | 13:56:28 |
| pr to shade buildscripts rn changed their display name from pr to shade buildsscripts rn to pr to shade buildscripts rn. | 14:05:01 |
LnL | openssl needs Security.framework so shouldn't be a problem at that point | 14:33:47 |
ris_ | can't see the security framework stuff in openssl.. do you think we'll need to do a trick where we make the early version of curl build without SystemConfiguration? | 15:23:25 |
LnL | hmm seems you're right the sdk isn't used during bootstrapping at all | 15:31:41 |
LnL | any idea what it's used for? I suspect it's something just for some kind of integration feature which isn't relevant at all during builds | 15:35:32 |
ris_ | hypothetically SystemConfiguration is only used for some NAT64 stuff so could be omitted, however there isn't a flag to disable it | 15:35:56 |
ris_ | https://github.com/curl/curl/pull/7121 is what added it | 15:36:11 |