<gchristensen> Cstrahan can you confirm it is fixed?
<cstrahan> gchristensen: yep, the arithmetic error went away -- thanks!
<gchristensen> Great!
<dtz> yay!!
LnL has quit [Ping timeout: 255 seconds]
LnL has joined #nixos-aarch64
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-aarch64
<Mic92> cstrahan: there is already a github repo for rock64
<Mic92> working fine, but should be upstreamed
<Mic92> I also have a rock64.
<LnL> Mic92: btw, about the rustc test failures
<LnL> some of those look like they could be caused by the overlayfs
<Mic92> LnL: interesting.
<Mic92> do they use hardlinks?
<Mic92> gchristensen: could you make /tmp a tmpfs some time?
<Dezgeg> it used to build on the box fine, what are the failures?
<LnL> just a suspicion, I might be wrong
buovjaga has joined #nixos-aarch64
<Mic92> probably they all have the same root cause
<Dezgeg> there's the #!/bin/sh issue at least
<Dezgeg> try without sandbox
<Dezgeg> (/build/rustc-1.24.0-src/src/etc/cat-and-grep.sh: line 64: syntax error: support for $((arith)) is disabled)
<LnL> yeah, did you fix the getopts stuff?
<Dezgeg> not sure what's the status on that
<Dezgeg> cstrahan: did you append console=ttyS1,115200n8 or replace the other serial console= args? I think the kernel only supports one serial device at a time, so if the ttyAMA0 is earlier in the cmdline it might ignore the later ones
<LnL> that doesn't work in sh
<buovjaga> Yesterday I successfully built an SD image inside qemu, even with KDE Plasma :) Phonon and gstreamer were built from source, but I guess it has something to do with the incomplete Qt5 transition https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/phonon/default.nix
<Mic92> if that would the problem, It would also occure on x86_64
<Mic92> I can replace the particular shebang with a bash one though.
<Dezgeg> x86 might be running a different version of nix
<Dezgeg> just try it without sandbox (for now)
<LnL> depends on the sandbox-paths
<Mic92> Dezgeg: I can't do that on aarch64-build-box
<Dezgeg> --option build-use-sandbox false, no?
<Dezgeg> it worked for me at least
<Dezgeg> (on different stuff)
<Mic92> I though this option is ignored, if NIX_DAEMON is running
<LnL> not if you're a trusted user
<LnL> and you need a trusted user for distributed builds
<Mic92> seems to work
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
<LnL> the --option or the rust build?
<Mic92> disabling sandbox.
<Mic92> Build is still running
buovjaga has quit [Remote host closed the connection]
<LnL> btw, I tested the parallel build for 1.24.0 and that looks a lot better
<LnL> might help a lot for the aarch64 build
<gchristensen> Mic92 perhaps you could send a PR?
<gchristensen> Also
<gchristensen> , what for?
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 248 seconds]
<Mic92> LnL: without sandbox it builds fine, so this is not related to overlayfs
<LnL> hmm, gchristensen the hydra builder has sandboxing enabled right?
<Mic92> yes
<Mic92> LnL: it might be a broken shebang though.
<Mic92> also I don't know why this only happens on aarch64
<Dezgeg> no, this #!/bin/sh in nixUnstable really needs just to be fixed
<Mic92> this is what my next build tries
<Dezgeg> I mean fixing nix
<Dezgeg> not patching tons of packages that used to work just fine previously
<gchristensen> yeah...
<LnL> did something change with 1.12+?
<gchristensen> yeah it uses a janky bash now
<gchristensen> or janky non-bash
<LnL> oh the busybox thing?
<Mic92> gchristensen: so I have to put bash into buildInputs?
<gchristensen> I don't know
<Mic92> Dezgeg: ^
<LnL> meh, people if people use sh they should do so correctly
<Mic92> of course they should, this is step two
<Mic92> the alternative would be to use usr/bin/env bash
<Mic92> This is what go does
<LnL> yeah, just patch the script to make it use bash
<Mic92> I can make this an upstream patch then.
<Mic92> When did this SHELL=/bin/dash change?
<Mic92> LnL: according to shellcheck the script does not contain bashism, just our sh is too limited
<LnL> huh, I'm very sure $(( ... )) is a bashism
<LnL> oh hmm, I'm thinking of if (( $i )); then ...
<dtz> TBH I really wasn't sure until I set to trying to chase down failures I was seeing xD
orivej has joined #nixos-aarch64
<sphalerite_> I'm trying to get an armv7-capable aarch64 machine to build armv7 stuff with nix, but I'm getting "bad system call" at some point. I want to use gdb to work out where exactly this is happening, but I'm not sure how to control it to get the right process. Does anyone know how to make gdb follow a specific fork but not all forks?
orivej has quit [Ping timeout: 248 seconds]