!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
29 May 2021
@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.orgmTvare changed their display name from mtvare6 to pr to shade buildsscripts rn.13:56:28
@mtvare6:matrix.orgmTvare 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
@r_i_s:matrix.orgris_ we'd essentially have to hack the "skip SystemConfiguration" mechanism into it 15:37:00
@r_i_s:matrix.orgris_i'm leaning towards, in the short term, suggesting we apply the patches for the 3 covered CVEs15:37:53
@daiderd:matrix.orgLnLah that's unfortunate, ideally we'd disable this in curlMinimal and thus avoid all the extra stuff it brings in during bootstrapping15:38:27
@Ericson2314:matrix.orgJohn Ericson joined the room.15:40:57
@daiderd:matrix.orgLnLall the code looks conditional, seems like it would work if the cmake definition only fails with CURL_OSX_CALL_COPYPROXIES15:41:41
@domenkozar:matrix.orgDomen KožarHow come nixpkgs trunk doesn't yet build aarch64-darwin?17:17:17
@daiderd:matrix.orgLnLI don't think the platform stuff was merged yet, so the builds come from a different jobset I assume17:28:42
@andi:kack.itandi-There was some discussion on which Tier the platform is and then I lost track of it18:08:46
@kloenk:petabyte.devFinn Behrens I guess for tier 1 we would need an RFC. I would suggest waiting for the aarch64-Linux tier-1 rfc to get merged, and then somebody should create an aarch64-Darwin rfc 18:15:32
@qyliss:fairydust.spaceAlyssa Rossx86_64-darwin isn't even tier 118:18:26
@kloenk:petabyte.devFinn Behrensoh uff xD18:18:45
@domenkozar:matrix.orgDomen Kožarsince we have 6 builders on hydra it would be a shame they are idle :)18:26:13
@domenkozar:matrix.orgDomen Kožarcreated https://github.com/NixOS/nixpkgs/pull/12488718:33:11
@andi:kack.itandi-Also being Tier1 just means it is allowed to block unspecified channels and requires a large amount of packages to work on the platform. I don't think either is currently desired nor given.18:38:55

Show newer messages


Back to Room ListRoom Version: 6