nixos-generators icon indicating copy to clipboard operation
nixos-generators copied to clipboard

sd-aarch64(-installer) fails for channels newer than 20.03

Open DavHau opened this issue 5 years ago • 3 comments

Error: builder for '/nix/store/aixbwq9xqwy5b52dmfxj2983b8lvyqa8-ext4-fs.img.zst.drv' failed with exit code 1; last 10 log lines: ERROR: ld.so: object '/nix/store/mpcfc780k9wr50dgvvlq0krnq68c2waz-libfaketime-0.9.8/lib/libfaketime.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

Not sure if this is related to post 20.03 changes in make-ext4-fs

Or maybe libfaketime is broken.

DavHau avatar Oct 09 '20 07:10 DavHau

Not sure if this is related to post 20.03 changes in make-ext4-fs

It was for me. Reverting https://github.com/NixOS/nixpkgs/commit/9ac1ab10c963a86457c2c9b1edf31542ff3737cd and https://github.com/NixOS/nixpkgs/commit/fd2047c642ba44d5c300149f63f68c34da773c04 should pass the build.

tmplt avatar Oct 14 '20 19:10 tmplt

Any updates on this issue? I guess it is a problem caused by the mentioned change in nixpkgs that does not seem to be fixed, at least when I tried a couple of days ago.

It seems like the folks at nixpkgs have kept their change, and thus maybe we should try to do something here on the nixos-generators to make this work again.

I am not very good at nix, or Linux for that matter, I would have loved to be able to build an SD card image using nixos generators with the latest 20.09 nixpkgs. I just want to bring attention to this issue, and with some help, maybe I could try to tackle it as well.

jdbosser avatar Feb 21 '21 12:02 jdbosser

I guess this should be fixed in nixpkgs. Just nobody took care of it. Currently this has no priority for me. It might help if you open an issue at nixpkgs.

DavHau avatar Feb 24 '21 13:02 DavHau