!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

611 Members
122 Servers

Load older messages


SenderMessageTime
15 Oct 2024
@pyrox:pyrox.devPyrox [Fox/It/She] left the room.02:33:59
16 Oct 2024
@akshaykarle:matrix.orgakshaykarle joined the room.09:57:45
@hive:the-apothecary.clubLi-ion changed their profile picture.20:04:47
17 Oct 2024
@phaitonican:matrix.orgphaitonican joined the room.09:24:25
@phaitonican:matrix.orgphaitonicanhelloo09:25:03
@phaitonican:matrix.orgphaitonicani have this flake: https://github.com/phaitonican/orangepi5b-flake09:25:12
@phaitonican:matrix.orgphaitonican

to cross compile nixos. it give me this error:

error: builder for '/nix/store/z10jarpf9vnq5fx8d55zzr18xf0c4zbk-orangepi5-sd-image.drv' failed with exit code 1;       
last 1 log lines:
       > error: executing '/nix/store/wkxn0skvsxqgx73k09aw1nsya8s6gc3f-bash-aarch64-unknown-linux-gnu-5.2p32/bin/sh': Exec format error
       For full logs, run 'nix log /nix/store/z10jarpf9vnq5fx8d55zzr18xf0c4zbk-orangepi5-sd-image.drv'.

somebody help why ?

09:27:05
@elikoga:matrix.orgelikoga

It seems to me like the build process is trying to execute an arm binary on the x86 build system, which doesn't work.

You could activate binfmt emulation for arm, and try again, without or with the cross compilation depending on how you want to proceed.

09:28:47
@phaitonican:matrix.orgphaitonicanhm yea09:29:09
@phaitonican:matrix.orgphaitonicanthing is i compiled the whole thing09:29:21
@elikoga:matrix.orgelikogahttps://search.nixos.org/options?channel=24.05&show=boot.binfmt.emulatedSystems&from=0&size=50&sort=relevance&type=packages&query=Binfmt09:29:22
@phaitonican:matrix.orgphaitonicanif i use binfmt all goes away?09:29:32
@elikoga:matrix.orgelikoga

If you use binfmt you are able to use the native compilation tools

But since your build fails only for the sd card, it could be that only that step is not maintained correctly.

09:30:23
@phaitonican:matrix.orgphaitonicanyes i think so too09:31:19
@phaitonican:matrix.orgphaitonican it tries to run "${nixpkgs}/nixos/lib/make-disk-image.nix" as aarch64 09:34:11
@phaitonican:matrix.orgphaitonican because of the top level nixpkgs.crossSystem.config = "aarch64-unknown-linux-gnu"; 09:34:43
@phaitonican:matrix.orgphaitonicanoh nevermind now i got it09:38:41
@phaitonican:matrix.orgphaitonicanthanks09:38:43
@phaitonican:matrix.orgphaitonican(its other way around)09:38:53
@phaitonican:matrix.orgphaitonicanidk... maybe somebody can help :b09:42:59
@phaitonican:matrix.orgphaitonicanall good fixed by using pkgsCross.aarch64-multiplatform; instead of "globally" set it10:33:47
@bendlas:matrix.orgbendlas changed their profile picture.17:37:57
18 Oct 2024
@ihar.hrachyshka:matrix.orgIhar Hrachyshka joined the room.21:24:03
19 Oct 2024
@hive:the-apothecary.clubLi-ion changed their display name from ion to Li-ion.08:12:23
@jwillikers:matrix.orgjwillikers joined the room.12:07:19
@mwoodpatrickmx:matrix.orgmwoodpatrickmx joined the room.16:54:21
@phaitonican:matrix.orgphaitonican

Hello, I am getting a SSL decryption error trying to use "fetchGit"

error: RPC failed; curl 56 OpenSSL SSL_read: OpenSSL/3.3.2: error:0A000119:SSL routines::decryption failed or bad record mac, errno 0
error: 1576 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

is happen on my orange pi 5 with custom sd image

17:18:21
21 Oct 2024
@kjeremy:matrix.orgkjeremyI've seen that on Windows lately (unrelated to nix) and the solution is https://stackoverflow.com/questions/11941175/git-fetch-pull-clone-hangs-on-receiving-objects14:03:37
@phaitonican:matrix.orgphaitonicanthanks. i workaround for now with fetchGit with shallow=true attribute and extend link with ?shallow=true, because this was a big repo with long history (kernel) and like this it dont download history, but at the end it seems i have internet problems15:41:19
@artur:glasgow.social(artur 'manuel) changed their display name from (lambda (f l) (format nil "~a ~a")) "Artur" "Manuel" to (artur 'manuel).20:03:53

There are no newer messages yet.


Back to Room ListRoom Version: 6