!ZUiNnfpRqQMDrPLChM:nixos.org

Nix ♥ la francophonie

207 Members
Salon francographe de NixOS66 Servers

Load older messages


SenderMessageTime
12 Apr 2026
@pinage404:matrix.orgpinage404ça continue de download plein de trucs, sans rebuild, j'ai bon espoir, merci !19:07:02
@pinage404:matrix.orgpinage404par contre, je ne comprends pas pourquoi ça a échoué hier, et continué d'échouer aujourd'hui alors que j'ai éteint mon pc cette nuit et j'ai dormi plus d'1h, donc le cache aurait du etre expiré19:08:15
@alex:tunstall.xyzAlex

Il y a vraiment un problème avec file.src:

alex@alex-pc3 ~> nix build github:nixos/nixpkgs/54170c54449ea4d6725efd30d719c5e505f1c10e#file.src --rebuild --print-build-logs                              [1]
file> 
file> trying https://astron.com/pub/file/file-5.45.tar.gz
file>   % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
file>                                  Dload  Upload  Total   Spent   Left   Speed
file>   0      0   0      0   0      0      0      0                              0
file> curl: (22) The requested URL returned error: 404
file> Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
file>   0      0   0      0   0      0      0      0                              0
file> curl: (22) The requested URL returned error: 404
file> Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries
file> Warning: left.
file>   0      0   0      0   0      0      0      0                              0
file> curl: (22) The requested URL returned error: 404
file> Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
file>   0      0   0      0   0      0      0      0                              0
file> curl: (22) The requested URL returned error: 404
file> 
file> trying https://distfiles.macports.org/file/file-5.45.tar.gz
file>   % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
file>                                  Dload  Upload  Total   Spent   Left   Speed
file> 100  1.18M 100  1.18M   0      0  1.94M      0                              0

Je pense que ce serait une bonne idée de prévenir le mainteneur, sinon sans cache.nixos.org c'est impossible de compléter le build.

19:09:59
@alex:tunstall.xyzAlex *

Il y encore un miroir qui fonctionne:

alex@alex-pc3 ~> nix build github:nixos/nixpkgs/54170c54449ea4d6725efd30d719c5e505f1c10e#file.src --rebuild --print-build-logs                              [1]
file> 
file> trying https://astron.com/pub/file/file-5.45.tar.gz
file>   % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
file>                                  Dload  Upload  Total   Spent   Left   Speed
file>   0      0   0      0   0      0      0      0                              0
file> curl: (22) The requested URL returned error: 404
file> Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
file>   0      0   0      0   0      0      0      0                              0
file> curl: (22) The requested URL returned error: 404
file> Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries
file> Warning: left.
file>   0      0   0      0   0      0      0      0                              0
file> curl: (22) The requested URL returned error: 404
file> Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
file>   0      0   0      0   0      0      0      0                              0
file> curl: (22) The requested URL returned error: 404
file> 
file> trying https://distfiles.macports.org/file/file-5.45.tar.gz
file>   % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
file>                                  Dload  Upload  Total   Spent   Left   Speed
file> 100  1.18M 100  1.18M   0      0  1.94M      0                              0
19:11:38
@pinage404:matrix.orgpinage404pourquoi mon Nix local n'a pas utilisé le miroir ?19:13:34
@gsaurel:laas.frnim65sok, j’avais pas le bon hash parce que je regardais celui de fetchzip et pas fetchurl…19:14:00
@gsaurel:laas.frnim65s

ça c’est bon:

$ nurl -f fetchurl https://distfiles.macports.org/file/file-5.45.tar.gz
$ nix store prefetch-file --json https://distfiles.macports.org/file/file-5.45.tar.gz
fetchurl {
  url = "https://distfiles.macports.org/file/file-5.45.tar.gz";
  hash = "sha256-/Jf1ECm7DiyfTjv/79r2ePDgOe6HK53lwAKm0Jx4TYI=";
}
19:14:18
@pinage404:matrix.orgpinage404 ah ! bah ça vient d'échouer avec la meme erreur 19:19:16
@gsaurel:laas.frnim65sle get de file ou le push sur c.n.o ?19:20:51
@pinage404:matrix.orgpinage404le get de file19:21:25
@gsaurel:laas.frnim65s nix-prefetch-url https://distfiles.macports.org/file/file-5.45.tar.gz dit quelque chose ? 19:22:27
@gsaurel:laas.frnim65s* le get de file ou l’upload sur c.n.o ?19:22:42
@pinage404:matrix.orgpinage404
nix-prefetch-url https://distfiles.macports.org/file/file-5.45.tar.gz
path is '/nix/store/v0m59igyinq3qrbx7fibyal1dx5f6rcq-file-5.45.tar.gz'
10jdg2fd19h2q3jrsaw7xqwy1w3qyvdfzzrv9sgjq3mv548gb5zw
19:22:51
@gsaurel:laas.frnim65set après avoir réussi à le prefetch, il te dit toujours qu’il arrive pas à le télécharger ?19:27:35
@pinage404:matrix.orgpinage404je retente19:27:49
@pinage404:matrix.orgpinage404j'imagine qu'on saura dans une 20aine de minutes au moins19:28:02
@pinage404:matrix.orgpinage404 j'ai une autre erreur

error: unable to download 'https://pkg-config.freedesktop.org/releases/pkg-config-0.29.2.tar.gz': HTTP error 200 (curl error: Failure when receiving data from the peer); retrying from offset 1911963 in 303 ms
error: hash mismatch in fixed-output derivation '/nix/store/d1simrxi41d15h88m043y00yd400fpd4-cb41cbfe717e4c00d7bb70035cda5ee5f0ff9341.tar.gz.drv':
         specified: sha256-MRuqq3TKcfIahtUWdhAcYhqDiGPkAjS8UTMsDE+/jGU=
            got:    sha256-lXtfWoZ+q/FvoOqPEcuw6VCpcGl7lQnaGC5dFZ3PpI8=
19:56:53
@gsaurel:laas.frnim65sc’est dans minimal-bootstrap ça20:21:43
@gsaurel:laas.frnim65sc’est pour un x86_64-linux ?20:23:45
@pinage404:matrix.orgpinage404 oui ! 20:32:05
@pinage404:matrix.orgpinage404 j'ai redémarré ma machine, retenter d'appliquer la mise à jour, et j'ai une nouvelle erreur que je n'avais pas encore vu

error: Cannot build '/nix/store/dhpvfy772qdp7sqmgrmac8wzxb84bchh-stage0-posix-1.9.1-source.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/4f7nm8dblrdy74gmsl62b25rjrh4jcz3-stage0-posix-1.9.1-source
       Last 20 log lines:
       > error: executing '#
       >        #
       >        # Neither your store nor your substituters seems to have:
       >        #
       >        #  /1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9
       >        #
       >        # You can create this path from an already-bootstrapped nixpkgs
       >        # using the following command:
       >        #
       >        #   nix-build '<nixpkgs>' -A make-minimal-bootstrap-sources
       >        #
       >        # Or, if you prefer, you can create this file using only `git`,
       >        # `nix`, and `xz`.  For the commands needed in order to do this,
       >        # see `make-bootstrap-sources.nix`.  Once you have the manual
       >        # result, do:
       >        #
       >        #   nix-store --add-fixed --recursive sha256 ./stage0-posix-1.9.1-source
       >        #
       >        # to add it to your store.
       >        ': No such file or directory
       For full logs, run:
         nix log /nix/store/dhpvfy772qdp7sqmgrmac8wzxb84bchh-stage0-posix-1.9.1-source.drv
21:15:07
@pinage404:matrix.orgpinage404je sais vraiment pas ce que j'ai fait pour tout casser mon nixos comme ça21:16:16
@pinage404:matrix.orgpinage404 j'ai renommé /etc/nix et relancé nix-daemon.socket et nix-daemon.service et relancé

et là, il est en train de compiler bison 🤦
21:21:44
@gsaurel:laas.frnim65sça vaut peut-être le coup de réactiver une génération plus vieille21:22:18
@pinage404:matrix.orgpinage404bonne idée, je vais reboot sur la génération la plus vielle qui n'a pas encore été garbage collectée21:24:58
@pinage404:matrix.orgpinage404ça a fonctionné ! merci pour l'idée !22:20:14
13 Apr 2026
@kidanger:kidanger.net@kidanger:kidanger.net left the room.06:13:15
14 Apr 2026
@pinage404:matrix.orgpinage404 je continue d'avoir des erreurs chelou

quand j'essaie d'utiliser pkgs.dockerTools.streamLayeredImage ou pkgs.dockerTools.buildLayeredImage

error: Cannot build '/nix/store/w5cpkahs6ch7gwv9fip2m36hqgwgjcia-catalog.xml.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/2crhfrb8pqy61d32jaajpw33jjmny6xz-catalog.xml
       Last 17 log lines:
       >
       > trying https://docbook.org/xml/4.2/catalog.xml
       >   % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
       >                                  Dload  Upload  Total   Spent   Left   Speed
       >   0      0   0      0   0      0      0      0                              0
       > curl: (22) The requested URL returned error: 404
       > Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
       >   0      0   0      0   0      0      0      0                              0
       > curl: (22) The requested URL returned error: 404
       > Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries
       > Warning: left.
       >   0      0   0      0   0      0      0      0                              0
       > curl: (22) The requested URL returned error: 404
       > Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
       >   0      0   0      0   0      0      0      0                              0
       > curl: (22) The requested URL returned error: 404
       > error: cannot download catalog.xml from any mirror
       For full logs, run:
         nix log /nix/store/w5cpkahs6ch7gwv9fip2m36hqgwgjcia-catalog.xml.drv
error: Cannot build '/nix/store/sa1p1cipazcjaam1h8018p271wpidhk4-docbook-xml-4.1.2.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/d7kjnk1bhpqcpxj64qhm23wyffhrvqsv-docbook-xml-4.1.2

là, en changeant d'autres trucs dans ma config

error: Cannot build '/nix/store/2kbbzfsz1hzd21yj0h989s3z40cgrp58-stage0-posix-1.9.1-source.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/4f7nm8dblrdy74gmsl62b25rjrh4jcz3-stage0-posix-1.9.1-source
       Last 20 log lines:
       > error: executing '#
       >        #
       >        # Neither your store nor your substituters seems to have:
       >        #
       >        #  /1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9
       >        #
       >        # You can create this path from an already-bootstrapped nixpkgs
       >        # using the following command:
       >        #
       >        #   nix-build '<nixpkgs>' -A make-minimal-bootstrap-sources
       >        #
       >        # Or, if you prefer, you can create this file using only `git`,
       >        # `nix`, and `xz`.  For the commands needed in order to do this,
       >        # see `make-bootstrap-sources.nix`.  Once you have the manual
       >        # result, do:
       >        #
       >        #   nix-store --add-fixed --recursive sha256 ./stage0-posix-1.9.1-source
       >        #
       >        # to add it to your store.
       >        ': No such file or directory
       For full logs, run:
         nix log /nix/store/2kbbzfsz1hzd21yj0h989s3z40cgrp58-stage0-posix-1.9.1-source.drv

cette dernière erreur, je l'ai eu sur différents paquets selon ce que je changeais dans ma config

je fais des trucs ultra haut niveau, je ne comprends pas pourquoi des paquets, qui me semble en bas de la stack qui sont très indirect par rapport à ce que je touche, cassent
23:24:40
@alex:tunstall.xyzAlex

Quand je reçois des erreurs bizarres, je vérifie que le Nix store n'a pas de corruption :

nix-store --verify --check-contents --repair

Ça prendra un bon moment parce-qu'il faut que ça traverse tout le Nix store, mais en attendant tu peux chercher d'autres solutions ou faire autre chose.

Si cette commande trouve quelque-chose, après il faut réessayer ce qui ne marchait pas et chercher d'où vient la corruption (en mon cas, la dernière fois était due à une alimentation insuffisante).

23:43:30
@pinage404:matrix.orgpinage404 merci, je testerai plus tard (si ça prends du temps, j'aimerais dormir dans pas trop longtemps)

en attendant, j'ai tenté de supprimer nix.settings.substituters = [ "https://handy-computer.cachix.org" ]; car c'est le dernier truc que j'ai touché dans mon cache récemment
23:56:31

There are no newer messages yet.


Back to Room ListRoom Version: 6