Andoriyu has joined #nixos-aarch64
rajivr has joined #nixos-aarch64
h0m1 has quit [Ping timeout: 250 seconds]
h0m1 has joined #nixos-aarch64
bridge[evilred] has quit [Remote host closed the connection]
bridge[evilred] has joined #nixos-aarch64
tgunnoe has joined #nixos-aarch64
<tgunnoe> hello, for my Pinebook Pro I keep getting this error when trying to update
<tgunnoe> No Android SDK tarballs are available for system architecture: aarch64-linux
<tgunnoe> but i dont have any android stuff in my configuration
<tgunnoe> i'm not sure where to look
<samueldr> adb enabled?
<tgunnoe> no
<samueldr> e.g. through programs.adb.enable
<samueldr> hmm
<samueldr> do you have a --show-trace output?
<samueldr> not sure it'll help though
<tgunnoe> ugh
<tgunnoe> that was it
<samueldr> :)
<tgunnoe> missed it, feel dumb
<samueldr> nah
<samueldr> easy to miss
<samueldr> it's adb
<samueldr> that's not an android thing, it just stands for...
<samueldr> ;)
<tgunnoe> lol
<samueldr> and it's just one line, what could one line like that do?
<tgunnoe> conquer your system
<samueldr> I assume it's coming from another system's config you're importing to aarch64?
<samueldr> or was it building previously?
<tgunnoe> sign a stack of papers
<tgunnoe> i havent tried to update my pinebook pro in about 6 months
<tgunnoe> i'm going to try to switch it to my flakes config
<tgunnoe> and last i was trying, had to do a lot of compiling
<tgunnoe> but now i head arm64 is becoming a nixos 1st class citizen
<samueldr> yeah, haven't really had a need to use it so it spent a good while not doing anything
<samueldr> but I just started the other day reviewing the u-boot stuff, and now that suspend with mainline *could* work... that could get interesting
mla has joined #nixos-aarch64
<samueldr> still haven't tested with the changes reported on the issue
<tgunnoe> i saw the issue for sure, exactly
monk has left #nixos-aarch64 ["Error from remote client"]
monk has joined #nixos-aarch64
tgunnoe has quit [Remote host closed the connection]
apache8080 has joined #nixos-aarch64
apache8080 has quit [Ping timeout: 268 seconds]
<simpson> Tangent to my actual issue: Has anybody started packaging devkitARM or devkitA64? These are patched GCCs used to make video game console homebrew.
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos-aarch64
alpernebbi has joined #nixos-aarch64
cole-h has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
<sphalerite> simpson: I started once upon a time, but didn't get it into a working state.
<patagonicus1> edrex: I don't want to, no, my work contract has some very weird clauses about publishing stuff. I think it'd be fine here, but still. But I can tell you the patches.
<patagonicus1> My latest successful build was on top of 764448055551a4c664a1b0e2cecfc61731b32c5d (nixos-unstable-small last weekend or so). On top of that I have a version bump for the hardkernel kernel (only relevant for a few Odroid devices)
<patagonicus1> In https://github.com/NixOS/nixpkgs/blob/764448055551a4c664a1b0e2cecfc61731b32c5d/pkgs/development/tools/misc/binutils/default.nix I removed the ./R_ARM_COPY.patch because it breaks 32-bit arm builds.
<patagonicus1> In https://github.com/NixOS/nixpkgs/blob/764448055551a4c664a1b0e2cecfc61731b32c5d/pkgs/development/libraries/gnutls/default.nix I removed the ./gix-gnulib-tests-arm.patch. I think this has been fixed upstream so now the patch fails to apply
<patagonicus1> And finally in https://github.com/NixOS/nixpkgs/blob/764448055551a4c664a1b0e2cecfc61731b32c5d/nixos/modules/system/boot/stage-1.nix I changed "allowMissing = false;" to true because I haven't cleaned up my module list for arm
<patagonicus1> In my configuration I also use an overlay to disable doCheck for llvm_11 (at least one test fails on armv7, but it seems to work fine), disable x11 and similar for cairo (I think it was pulling in wayland which was pulling in something that didn't build and this is a headless machine). There's some more overlay + disables in here, but I think those
<patagonicus1> are just to speed up compilation, not to make it work.
patagonicus1 is now known as patagonicus
patagonicus has quit [Quit: The Lounge - https://thelounge.chat]
patagonicus has joined #nixos-aarch64
<patagonicus> But I really need to untangle my configuration for the arm devices, split it into (headless) arm settings, odroid HC2 specific settings and then the actual system configuration and merge all of that into my shared set of modules ...
zupo has joined #nixos-aarch64
zupo_ has joined #nixos-aarch64
zupo has quit [Ping timeout: 246 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
<bpye> I'm trying to do a cross build of NixOS, from aarch64-linux to a crossSystem also of aarch64-linux. I realise this is weird but it's mostly just a PoC. As far as I can tell we are building a broken binutils though, we expect the binaries to be prefixed with aarch64-unknown-linux-gnu (in bintools-wrapper) however checking the binutils on disk that
<bpye> ...aarch64-unknown-linux-gnu-binutils-wrapper-2.35.1 references shows that the binaries are built without the prefix - am I missing something or is cross to yourself broken?
<bpye> Oh I wonder if it's this https://github.com/NixOS/nixpkgs/pull/87909/files ...
luxemboye has quit [Ping timeout: 240 seconds]
luxemboye has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
juhe has joined #nixos-aarch64
alpernebbi has quit [Quit: alpernebbi]
bdju has quit [Read error: Connection reset by peer]
bdju has joined #nixos-aarch64
zupo has joined #nixos-aarch64
adisbladis has joined #nixos-aarch64
juhe has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 252 seconds]
juhe has joined #nixos-aarch64
cole-h has joined #nixos-aarch64
jumper149 has joined #nixos-aarch64
ryantrinkle has quit [Ping timeout: 240 seconds]
<simpson> sphalerite: I'm hacking on devkitPPC. It looks like I'll have to patch gcc and binutils. I kind of want to not bother; I'm just writing Nix to package Wii homebrew and could probably avoid compiling for now.
alpernebbi has joined #nixos-aarch64
monk has left #nixos-aarch64 ["Error from remote client"]
monk has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
zupo has quit [Ping timeout: 246 seconds]
<edrex> patagonicus: thanks, that works :) i'll put it up. sorry for the blunt ask anyway.
monk has left #nixos-aarch64 ["Error from remote client"]
monk has joined #nixos-aarch64
jumper149 has quit [Quit: WeeChat 3.1]
<patagonicus> No worries, it was a fair request. :)
monk has left #nixos-aarch64 ["Error from remote client"]
monk has joined #nixos-aarch64
<bpye> Bah no - that wasn't the issue...
quinn has joined #nixos-aarch64
zupo has joined #nixos-aarch64
monk has left #nixos-aarch64 ["Error from remote client"]
orivej has joined #nixos-aarch64
monk has joined #nixos-aarch64
rajivr has quit [Quit: Connection closed for inactivity]
luxemboye has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
luxemboye has joined #nixos-aarch64
tdeo has joined #nixos-aarch64
v0|d has joined #nixos-aarch64
monk has left #nixos-aarch64 ["Error from remote client"]
monk has joined #nixos-aarch64
monk has left #nixos-aarch64 ["Error from remote client"]
monk has joined #nixos-aarch64
alpernebbi has quit [Quit: alpernebbi]
zupo has joined #nixos-aarch64
<bpye> I guess it's https://github.com/NixOS/nixpkgs/issues/116260 - it would only occur when crossSystem is what your localSystem is, it looks like pkgs/top-level/default.nix tries to avoid this (it checks if crossSystem0 == args.localSystem) but at this point I think localSystem has already been elaborated, tracing it I see - cross = { config =
<bpye> "aarch64-unknown-linux-gnu"; system = "aarch64-linux"; }; local = <CODE>; - and so it obviously uses crossSystem because they are not equal. It seems that maybe what we really want though is to force binutils to build with the target prefix, but I'm not sure how we would achieve that
<{^_^}> #116260 (by jcumming, 4 weeks ago, closed): aarch64 stage-static-gcc-10.2.0 fails with missing assembler.
<{^_^}> #21471 (by Ericson2314, 4 years ago, open): Always cross compile
<samueldr> bpye: not sure if relevant
<{^_^}> #87909 (by Gaelan, 47 weeks ago, open): WIP: stdenv: always pass --build, --host to configure
<bpye> Yeah, I did actually try applying that PR locally, but I still get the same break
<Ericson2314> samueldr: bpye https://github.com/NixOS/nixpkgs/pull/119625/files is another part of that
<Ericson2314> that is brand new
<Ericson2314> I think we can merge that one soon
<samueldr> #119625 (the bot doesn't expand with /files fragment)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/119625 (by sternenseemann, 4 hours ago, open): binutils-unwrapped: force targetPrefix if cross compiling
<bpye> Oh damn yes that does look like what I've been hitting
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
monk has left #nixos-aarch64 ["Error from remote client"]
monk has joined #nixos-aarch64
clever has quit [Ping timeout: 240 seconds]
clever has joined #nixos-aarch64
cole-h has quit [Ping timeout: 265 seconds]
v0|d has quit [Remote host closed the connection]
luxemboye has quit [Remote host closed the connection]
luxemboye has joined #nixos-aarch64
luxemboye has quit [Remote host closed the connection]
luxemboye has joined #nixos-aarch64
juhe has quit [Remote host closed the connection]
<Ericson2314> #119625 is now merged!
<{^_^}> https://github.com/NixOS/nixpkgs/pull/119625 (by sternenseemann, 6 hours ago, merged): binutils-unwrapped, gcc, gdb: force targetPrefix if cross compiling
zupo has joined #nixos-aarch64
<Ericson2314> Still would like to see #87909 land, but I assume if the toolchain is at least doing the right platform, silly auto-detection is less likely to go wrong.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/87909 (by Gaelan, 48 weeks ago, open): WIP: stdenv: always pass --build, --host to configure
monk has left #nixos-aarch64 ["Error from remote client"]
monk has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fooker has quit [Ping timeout: 260 seconds]
fooker has joined #nixos-aarch64
<colemickens> I can't tell if that change helps bash-wrapped cross-compiled programs.
<colemickens> The issue where the wrong bash gets used but it often goes unnoticed.
<colemickens> I still have some brain-worm that we don't have an all-up issue for that
orivej has quit [Ping timeout: 260 seconds]
nicoo has quit [Ping timeout: 240 seconds]
nicooo has joined #nixos-aarch64
<samueldr> colemickens: "that change" which change?
<samueldr> the runtimeshell treewide that broke a lot?
<samueldr> we indeed have no tracking issue
<samueldr> (AFAIK)