!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

343 Members
107 Servers

Load older messages


SenderMessageTime
1 Jun 2023
@artemis:arty.chatartemisso libtoolize.in is not rebuilt. but it is newer than doc/libtoolize.1 which does rebuild21:38:21
@trofi:matrix.orgtrofi Aha. Then some other prerequisite is stale if it still wants to rebuild doc/libtoolize.1. Maybe a few lines earlier. 21:38:39
@artemis:arty.chatartemishmm? no it says that libtoolize.in is newer21:39:01
@artemis:arty.chatartemisand is the reason for the rebuild21:39:09
@artemis:arty.chatartemishere is the full evaluation of libtoolize.1 https://dpaste.com/G93P2BJ5X21:40:51
@trofi:matrix.orgtrofi Hm. If you add --keep-failed you can check both files' timestamps in temp dir. I wonder if one of them matches build time. 21:41:53
@artemis:arty.chatartemisyeah how do i find the temp dir21:42:10
@artemis:arty.chatartemisoh it tells me21:42:52
@artemis:arty.chatartemiswhat it says note: keeping build directory '/tmp/nix-build-libtool-riscv64-unknown-linux-gnu-2.4.7.drv-0' but that directory does not exist21:43:30
@trofi:matrix.orgtrofiShould be there.21:44:03
@artemis:arty.chatartemisit is not21:44:11
@artemis:arty.chatartemisvi@philomena ~/z/nixpkgs (nixos-22.11)> ls -a /tmp | grep nix .font-unix .ICE-unix nix-shell-5258-0 .X11-unix .XIM-unix21:44:54
@trofi:matrix.orgtrofi https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/misc/libtool/libtool2.nix#L34 should make sure that doc/libtoolize.1 is newer that just patched libtoolize.in. 21:45:43
@artemis:arty.chatartemisah that would explain it then. 22.11 has the substituteInPlace but not the touch21:47:40
@artemis:arty.chatartemisok trying with that touch added but it will be awhile because i have to rebuild everything since now libtool is changed for the x86 toolchain too haha21:49:02
@trofi:matrix.orgtrofiYeah, https://github.com/NixOS/nixpkgs/commit/6becbd39707fbf8306b35af1828893eec0d03646 was a bit large to backport21:49:07
@trofi:matrix.orgtrofi you can do target-specific hack as well: postPatch = ''...'' + lib.optionalString stdenv.hostPlatform.isRiscV "touch foo" 21:50:34
@trofi:matrix.orgtrofiThat way it should rebuild a bit less.21:50:47
@artemis:arty.chatartemisah ty21:52:01
@artemis:arty.chatartemisthat fixes it!21:52:21
@trofi:matrix.orgtrofi \o/ 21:52:25
@trofi:matrix.orgtrofi I wonder why the build for me Just Works without the change. My attempt: $ nix build --no-link github:NixOS/nixpkgs/9af373a61647257d16ae6062cddaa9094d24920c#pkgsCross.riscv64.libtool --rebuild -L. Yields this log: https://bpa.st/raw/TCIB4 23:04:13
2 Jun 2023
@artemis:arty.chatartemis
In reply to @trofi:matrix.org
I wonder why the build for me Just Works without the change. My attempt: $ nix build --no-link github:NixOS/nixpkgs/9af373a61647257d16ae6062cddaa9094d24920c#pkgsCross.riscv64.libtool --rebuild -L. Yields this log: https://bpa.st/raw/TCIB4
it is maybe interesting information they we're using nix from gentoo
03:26:46
@artemis:arty.chatartemisand not nixos03:26:47
@artemis:arty.chatartemisim not sure if that would change anything03:27:15
@artemis:arty.chatartemisanyways, the image builds and boots!03:28:07
@artemis:arty.chatartemis20230601_20h26m11s_grim.png
Download 20230601_20h26m11s_grim.png
03:28:09
@artemis:arty.chatartemisthough. DHCP never succeeds for some reason so i am forever stuck with the DHCP 169.whatever address03:28:24
@artemis:arty.chatartemisbut that is a challenge for another day03:30:14
@neuroserve:matrix.orgneuroserve joined the room.06:14:04

Show newer messages


Back to Room ListRoom Version: 6