!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1171 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org190 Servers

Load older messages


SenderMessageTime
29 May 2021
@midchildan:matrix.orgmidchildanI 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
@kloenk:petabyte.devFinn 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:matrix.orgsiraben
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
@emilazy:matrix.orgemilythere is the best guide of all - the source! https://github.com/LnL7/nix-darwin/blob/007d700e644ac588ad6668e6439950a5b6e2ff64/modules/homebrew.nix07:56:54
@emilazy:matrix.orgemilyit looks like it's well-enough documented that you could just check the options reference though07:57:04
@thefloweringash:matrix.orgthefloweringash
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:matrix.orgthefloweringashalso, wow, I want to reply to give context but it eats a huge amount of space08:00:01
@kloenk:petabyte.devFinn 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:matrix.orgthefloweringashoh, not from nix?08:01:05
@kloenk:petabyte.devFinn Behrensyes, also tried 1 or 2 versions via nix. they crash as well08:01:30
@daiderd:matrix.orgLnLsiraben: the option descriptions along with examples are available in man configuration.nix08:02:01
@daiderd:matrix.orgLnLbut yeah, beyond that checking the source is best08:02:21
@siraben:matrix.orgsirabenI see, thanks.08:02:29
@daiderd:matrix.orgLnLthere's an online version available on github pages but that one doesn't update automatically so it's a bit outdated08:03:46
@kloenk:petabyte.devFinn 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:matrix.orgthefloweringashlooks like it's not an easy fix then. not sure where to go from here sorry08:06:23
@kloenk:petabyte.devFinn BehrensNo worries. Though I would just ask, and maybe get lucky08:06:45
@kloenk:petabyte.devFinn BehrensI send a support request to azul. maybe they have an idea08:15:29
@kloenk:petabyte.devFinn Behrens The wrote back. It is fixed in Zulu: 16.30.19. thefloweringash would you mind bumping it in your pr? 09:03:36
@jassu:kumma.juttu.asiaJassukoUmm. 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
@r_i_s:matrix.orgris_ 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
@r_i_s:matrix.orgris_ anyone know if any of the frameworks are used in any early-stage packages anywhere? 13:55:09
@mtvare6:matrix.orgpr to shade buildscripts rn changed their display name from mtvare6 to pr to shade buildsscripts rn.13:56:28
@mtvare6:matrix.orgpr to shade buildscripts rn changed their display name from pr to shade buildsscripts rn to pr to shade buildscripts rn.14:05:01
@daiderd:matrix.orgLnLopenssl needs Security.framework so shouldn't be a problem at that point14:33:47
@r_i_s:matrix.orgris_ 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
@daiderd:matrix.orgLnLhmm seems you're right the sdk isn't used during bootstrapping at all15:31:41
@daiderd:matrix.orgLnLany 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
@r_i_s:matrix.orgris_ 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
@r_i_s:matrix.orgris_https://github.com/curl/curl/pull/7121 is what added it15:36:11

There are no newer messages yet.


Back to Room ListRoom Version: 6