!9IQChSjwSHXPPWTa:lix.systems

Lix

1104 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms295 Servers

Load older messages


SenderMessageTime
2 Dec 2025
@xoredg:matrix.orgxoredyeah ok I can't make sense of anything with super verbose lol23:17:52
@xoredg:matrix.orgxored
exit code 1;
       last 14 log lines:
       >
       > trying https://download.samba.org/pub/samba/stable/samba-4.22.6.tar.gz
       >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
       >                                  Dload  Upload   Total   Spent    Left  Speed
       >   0     0   0     0   0     0     0     0  --:--:--  0:00:19 --:--:--     0curl: (6) Could not resolve host: download.samba.org
       > Warning: Problem : timeout. Will retry in 1 second. 3 retries left.
       > curl: (6) Could not resolve host: download.samba.org
       > Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
       > curl: (6) Could not resolve host: download.samba.org
       > Warning: Problem : timeout. Will retry in 4 seconds. 1 retry left.
       > curl: (6) Could not resolve host: download.samba.org
       > error checking the existence of https://tarballs.nixos.org//sha256-jmvrDM6H+zx2OvlMLcIf1HuP0C1Gs8sd6ypy35JZxCU=:
       > curl: (28) Resolving timed out after 15000 milliseconds
       > error: cannot download samba-4.22.6.tar.gz from any mirror
       For full logs, run:
         nix log /nix/store/3c1s384q5z4qvrqxvm9m46jfaklsq45i-samba-4.22.6.tar.gz.drv
23:19:15
@raitobezarius:matrix.orgraitobezariusok nice23:19:30
@raitobezarius:matrix.orgraitobezarius on your host, if you do host download.samba.org what is the result? 23:19:48
@xoredg:matrix.orgxored
host download.samba.org
download.samba.org is an alias for hr2-3.samba.org.
hr2-3.samba.org has address 144.76.82.148
hr2-3.samba.org has IPv6 address 2a01:4f8:192:486::2:3
hr2-3.samba.org has HTTP service bindings 1 . alpn="h3,h2" ipv4hint=144.76.82.148 ipv6hint=2a01:4f8:192:486::2:3
23:20:24
@raitobezarius:matrix.orgraitobezariusyou're running that on the remote builder right?23:21:16
@xoredg:matrix.orgxoredyes23:21:21
@raitobezarius:matrix.orgraitobezarius

nix-build -E 'let pkgs = (import <nixpkgs> {}); in pkgs.runCommand "resolvconf" { outputHashAlgo = "sha256"; outputHashMode = "flat"; outputHash = pkgs.lib.fakeHash; } "${pkgs.bind.host}/bin/host download.samba.org"'

now

23:22:43
@xoredg:matrix.orgxored
[root@shiva:~]# nix-build -E 'let pkgs = (import <nixpkgs> {}); in pkgs.runCommand "resolvconf" { outputHashAlgo = "sha256"; outputHashMode = "flat"; outputHash = pkgs.lib.fakeHash; } "${pkgs.bind.host}/bin/host download.samba.org"'
this derivation will be built:
  /nix/store/q3pxi75g82zl0yx4rayzaqb83fq78mng-resolvconf.drv
building '/nix/store/q3pxi75g82zl0yx4rayzaqb83fq78mng-resolvconf.drv'...
;; UDP setup with 169.254.1.1#53(169.254.1.1) for download.samba.org failed: network unreachable.
;; no servers could be reached
;; UDP setup with 169.254.1.1#53(169.254.1.1) for download.samba.org failed: network unreachable.
;; communications error to 64:ff9b:1:4b8e:472e:a5c8:a9fe:101#53: timed out
;; no servers could be reached
error: builder for '/nix/store/q3pxi75g82zl0yx4rayzaqb83fq78mng-resolvconf.drv' failed with exit code 1;
       last 5 log lines:
       > ;; UDP setup with 169.254.1.1#53(169.254.1.1) for download.samba.org failed: network unreachable.
       > ;; no servers could be reached
       > ;; UDP setup with 169.254.1.1#53(169.254.1.1) for download.samba.org failed: network unreachable.
       > ;; communications error to 64:ff9b:1:4b8e:472e:a5c8:a9fe:101#53: timed out
       > ;; no servers could be reached
       For full logs, run:
         nix log /nix/store/q3pxi75g82zl0yx4rayzaqb83fq78mng-resolvconf.drv
23:23:39
@raitobezarius:matrix.orgraitobezariusargh23:23:53
@xoredg:matrix.orgxoredin the issue you linked me to someone disabled the 127.0.0.1 and stub23:24:08
@raitobezarius:matrix.orgraitobezariusyes there's a bug23:24:17
@raitobezarius:matrix.orgraitobezarius nix-build -E 'let pkgs = (import <nixpkgs> {}); in pkgs.runCommand "resolvconf" { outputHashAlgo = "sha256"; outputHashMode = "flat"; outputHash = pkgs.lib.fakeHash; } "${pkgs.iproute2}/bin/ip a' 23:24:23
@xoredg:matrix.orgxoredbut yeah since I have you here 😉23:24:25
@raitobezarius:matrix.orgraitobezariusi suppose this will show only the ipv6 addr23:24:32
@xoredg:matrix.orgxored
[root@shiva:~]# nix-build -E 'let pkgs = (import <nixpkgs> {}); in pkgs.runCommand "resolvconf" { outputHashAlgo = "sha256"; outputHashMode = "flat"; outputHash = pkgs.lib.fakeHash; } "${pkgs.iproute2}/bin/ip a"'
this derivation will be built:
  /nix/store/gkcn6z55jgdan2pallqh3dznyj02f2mm-resolvconf.drv
building '/nix/store/gkcn6z55jgdan2pallqh3dznyj02f2mm-resolvconf.drv'...
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host proto kernel_lo 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 65520 qdisc fq_codel state UNKNOWN group default qlen 1000
    link/ether 7a:26:aa:74:3a:20 brd ff:ff:ff:ff:ff:ff
    inet6 64:ff9b:1:4b8e:472e:a5c8:a9fe:102/64 scope global nodad 
       valid_lft forever preferred_lft forever
    inet6 fe80::7826:aaff:fe74:3a20/64 scope link nodad tentative proto kernel_ll 
       valid_lft forever preferred_lft forever
error: builder for '/nix/store/gkcn6z55jgdan2pallqh3dznyj02f2mm-resolvconf.drv' failed to produce output path for output 'out' at '/nix/store/gkcn6z55jgdan2pallqh3dznyj02f2mm-resolvconf.drv.chroot/nix/store/cyy08glb0lpa2sjaqq1rcxg1kyh11ra3-resolvconf'
23:25:53
@raitobezarius:matrix.orgraitobezariusbingo thanks23:26:26
@raitobezarius:matrix.orgraitobezariushave you tried to disable pasta?23:26:32
@raitobezarius:matrix.orgraitobezariusto see if this is a valid workaround23:26:36
@xoredg:matrix.orgxoredcan I do it from the remote machine?23:26:48
@raitobezarius:matrix.orgraitobezarius nix-build ... --pasta-path "" ... disables pasta 23:26:49
@raitobezarius:matrix.orgraitobezariusyou can do it on the local machine23:26:53
@raitobezarius:matrix.orgraitobezariusi think this should work out23:26:56
@raitobezarius:matrix.orgraitobezarius if this doesn't, you need to set pasta-path = "" in your /etc/nix/nix.conf on the remote builder yes 23:27:09
@raitobezarius:matrix.orgraitobezarius nix.settings.pasta-path = ""; works from NixOS as well 23:27:17
@raitobezarius:matrix.orgraitobezarius https://git.lix.systems/lix-project/lix/issues/1065 23:28:40
@raitobezarius:matrix.orgraitobezariusit will be fixed in 2.94.123:29:10
@raitobezarius:matrix.orgraitobezariusthanks for your patience!23:29:35
@xoredg:matrix.orgxoredamazing fam23:29:50
@xoredg:matrix.orgxoredhmm disabling pasta didn't work though23:30:01

Show newer messages


Back to Room ListRoom Version: 10