From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +JpADobvCmFIawAAgWs5BA (envelope-from ) for ; Wed, 04 Aug 2021 21:50:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uI3YCYbvCmGoFgAA1q6Kng (envelope-from ) for ; Wed, 04 Aug 2021 19:50:30 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5D67017B44 for ; Wed, 4 Aug 2021 21:50:29 +0200 (CEST) Received: from localhost ([::1]:39878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBMuK-0002d5-EW for larch@yhetil.org; Wed, 04 Aug 2021 15:50:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBMu8-0002cs-1R for help-guix@gnu.org; Wed, 04 Aug 2021 15:50:16 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:43478) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBMu4-0000Km-JR for help-guix@gnu.org; Wed, 04 Aug 2021 15:50:15 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id ff2e03b8; Wed, 4 Aug 2021 19:50:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=Sp+92IVxS5Vf pVb0TpVju2oKTIaXXiDJCrVDhI2Q35o=; b=I2uXOVSrrmkIXF68BI/TPdKmLJIr AmanwH1GdfhTkjySE/iDj/pYH2Yl/c45EIgZu6j5PnDOGgD4kUC6BP6Yzxw8ZTw7 m773WU3At/uz8cESQhhOJ51ZNNd/re4AcuE7Z7ks22lTtBQfwzAWPhuOWqUx+znp pjm9n6YsfmQpdyeNLxfc+gYn9C71TP69cnqcNr6pfyPkoMxflZz3ZXjVb6XOgBBZ Wza2un8clkDddpG1W15DIkepUwimF8eIdLIQz6T2q4GLGvdyhtWsDpohoUpH61IQ PH/euUKyp8Wm4NNZnflz481jDw8fr3j16xF7oUDE8QXRaTDYdMJWX2966Q== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id f7ded09b (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 4 Aug 2021 19:50:06 +0000 (UTC) Date: Wed, 04 Aug 2021 15:50:00 -0400 From: Julien Lepiller To: phodina , phodina via , help-guix Subject: Re: Non deterministic package User-Agent: K-9 Mail for Android In-Reply-To: References: Message-ID: <25E731BD-DF0D-4A60-9440-E53DE1FC6FE0@lepiller.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628106630; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Sp+92IVxS5VfpVb0TpVju2oKTIaXXiDJCrVDhI2Q35o=; b=ANtmnyaF5USL5WL44GoTNcCbGWk1cumM5w46d8kbsWza3IGoRomX5j7pK+uyIbLt0fLYkD dzA8qs8TttpS4d9lL6Hx6VkiboNJG1P2Th39cwK6tXWIQWwIDIGzHsgwKeFdOrPhjuhiVc UgNq3N6oG9XhPmb25eTxX7E3G7ackVQJ+fTz/X35CTSE61AG5ktm4y9VJ4ffP8OaPMwOro i4A8DPeV8zPVLOyTCWctfsW2J2P07Z5LMS6syTqVFkpwoXq7kOFWhoX0RUa+c5fS0+iyfj n0QH97pVWFjStvgp0awFuDqflo5GnQJkMQT26KykbadSErC0pgdLDZ+lpg/aTw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628106630; a=rsa-sha256; cv=none; b=NAxyHGR2EQ5gBDNAMldU5aOcTwodtulaZjzBnFOAzvkM1bggtRh+7ZdnOgOs57rlmajUCF JiZQ9oCzb4MXzltqS/lzLZNbJurSqrNqt6Z1TB9It/jcB+0z+kCi92Wp9nPzWyPquHmFjo YLKpijk+N+5UgOVM1+NKv5Dm6ZrSzHg4gfqY48eWkx7Y7RIuKfyEHmEw5E2qPIjytvPhV9 YBi7Tx4BQJf9YSgTpeKOJE+GPUGpdjNVptFHQnOUBqMwka3R3BMjFRSE/arjuX39NqqHtK lLcH0Wglkcco1bVVWWE5WGoLZDS+sVpAehUvKNr8KIwwYgYpl/cRM+u5ang8+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b=I2uXOVSr; dmarc=pass (policy=none) header.from=lepiller.eu; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b=I2uXOVSr; dmarc=pass (policy=none) header.from=lepiller.eu; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 5D67017B44 X-Spam-Score: -3.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: OqrOpoEqEEuH Le 4 ao=C3=BBt 2021 15:14:16 GMT-04:00, phodina via = a =C3=A9crit=C2=A0: >Hi, > >I came across a package in the Guix repository which fails to build=2E Th= e package in question here is rust-brotli-sys-0=2E3=2E So the obvious quest= ion comes up=2E How does this happen? > >I just ran =3Dguix build rust-brotli-sys=3D with the following output: > >=2E=2E=2E >phase `reset-gzip-timestamps' succeeded after 0=2E0 seconds >starting phase `compress-documentation' >phase `compress-documentation' succeeded after 0=2E0 seconds >guix build: error: derivation `/gnu/store/kf8kwl7yn8jqpwc9p97bw8vs5g5bvas= 4-rust-brotli-sys-0=2E3=2E2=2Edrv' may not be deterministic: output `/gnu/s= tore/yrrdr6rrc1s4b9lf7wz40c2gnv5kvxff-rust-brotli-sys-0=2E3=2E2' differs >Also this is my guix channel: > >guix: >repository URL: https://git=2Esavannah=2Egnu=2Eorg/git/guix=2Egit >branch: master >commit: b95fb85f593d377864fc1bfb3c118e54d03783be > >I tried to run the build with the flag --check and multiple rounds, but g= ot the same result=2E >So could it be caused by not running =3D=2E/pre-inst-env guix build --rou= nds=3D2 =3D when submitting the patch? You need to use=2E /pre-inst-env to test your patches, otherwise you'll on= ly run your current guix=2E For an added package, it will be missing, for a= n updated package it will not build the newer version, etc=2E > >Or when somebody updates some pkg that this pkg depends on and does not r= un =3D=2E/pre-inst-env guix --refresh --list-dependent=3D and then check th= e dependent pkgs? It can also happen when only the current day is recorded in the output: if= you use =E2=80=94rounds=3D2, it is likely run on the same day, so the outp= ut will be the same (don't bother though, last time I found such an issue i= t was in january because only the year was recorded ^^") You should now use -K to keep the different version and run diffoscope to = analyze the differences=2E Then we should be able to fix the non determinis= m=2E > >Could also sombody please share what kind of CI pipeline is there impleme= nted on applying the patch on the mainter's side? The maentainer is responsible for testing the patch (at a minimum that it = builds), and sometimes we forget to check it's reproducible=2E The only aut= omated thing is to check the patch is signed=2E > >Thanks >Petr > >PS: Yes, I do have more questions regading how Guix works lately=2E I tri= ed to search the mailing list but haven't found answers to them