Ludovic Courtès <ludo@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 46650) by debbugs.gnu.org; 26 Feb 2021 21:45:04 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 26 16:45:04 2021 Received: from localhost ([127.0.0.1]:42715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lFkv2-0006yI-JL for submit <at> debbugs.gnu.org; Fri, 26 Feb 2021 16:45:04 -0500 Received: from mail-wr1-f51.google.com ([209.85.221.51]:46766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <zimon.toutoune@HIDDEN>) id 1lFkv1-0006xU-Bi for 46650 <at> debbugs.gnu.org; Fri, 26 Feb 2021 16:45:03 -0500 Received: by mail-wr1-f51.google.com with SMTP id a18so1732604wrc.13 for <46650 <at> debbugs.gnu.org>; Fri, 26 Feb 2021 13:45:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=hzTRt/ETRzlHY33GHUTTvQnrQ8fatGq4hiLXhcI3TPs=; b=l/OTxbxTQKkM1medULnVcD3jkLJVZVhicNsiBw5IexyrPwqtSUxh64guCQtyYh5tML Wg6byOxKlRAVJDI2mFM3amd+Cvm1DkAQGWVcmZNX4LgRxQZGx+jiy2PWOzU9Xmlg0Mnd 6cPYUUizHbDWRvnpFvlz8i4vJRmBOfASh49XGexn/qznAV6O+qg5tvx4If7qk0zUFwUu TyYAZKXuwopzkJ7yNJvMKVCwdPxcbn3qvMKQjTV6u/rfUP4m+W0h8QqeUZXoug+a8FOb omSZVmOXUshmLtOfe7kn88oQNud07LziOmlz17Wt00Us+/B85sYvLknicEI069eVDmd8 pGjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=hzTRt/ETRzlHY33GHUTTvQnrQ8fatGq4hiLXhcI3TPs=; b=Uv0tWLf4X7jMdX5zbXyJxOYBzkiHS3+ovSSn+thdDNN/4rWXv3dT7AdTaeVSwy5jhk nnYjI9KjMGlWXejRHE2tqMlKgBwc7CtIJm4arGpoo6UoDp+VfX55hGLno9fp6P5pS80r 1xt76dWPomcEhmJv8Pfms9cr/A2IzwF5QrlCsqhg/PQn6++3IswwV/h69eLShLNrtRo/ Cy/4X77CFrpr9+Zc6eoLVE1R6O3UKSVcZow9T9dNJkG5S1G4s1qO5bht7Dxt3dzaN0nT JRC98PqZ/InfkXNolZVnO6ffwAoUMxzFqVMwQuboXOdLacyOm1r1ToSFWU7KlQzR0fl6 5RVQ== X-Gm-Message-State: AOAM530c9bqwBxQTHYjWICbVFZblfi2Ulf1xstYvYBxbVGcSvHHThpUi PvLr9welGfrlrGJp9/A3JZAQ2dAZK98= X-Google-Smtp-Source: ABdhPJwkbiEgN05GQYJCxiNcKJbvsiPDgrIL6ak7umjYGFyOFYscAgMrD2IjrpxbDo4zeCE9KU8d6g== X-Received: by 2002:a5d:5141:: with SMTP id u1mr5200332wrt.31.1614375897369; Fri, 26 Feb 2021 13:44:57 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id z3sm15607898wrw.96.2021.02.26.13.44.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Feb 2021 13:44:57 -0800 (PST) From: zimoun <zimon.toutoune@HIDDEN> To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Subject: Re: bug#46650: Extending package transformation options In-Reply-To: <87h7m12xfw.fsf@HIDDEN> References: <A993FD81-6D70-4834-A124-005BD2AD4E22@HIDDEN> <87h7m6j0yi.fsf@HIDDEN> <86pn0qtofg.fsf@HIDDEN> <87sg5l3ekn.fsf@HIDDEN> <CAJ3okZ2xRR5CjcQ7y6jSZ9-XF2qg9cnH4RZZ=U0MJhjJtkr_Xw@HIDDEN> <87h7m12xfw.fsf@HIDDEN> Date: Fri, 26 Feb 2021 22:44:01 +0100 Message-ID: <86czwm1p3y.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46650 Cc: 46650 <at> debbugs.gnu.org, Carl Dong <contact@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi, On Wed, 24 Feb 2021 at 18:21, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote: >> So here, a transformation could be applied. For example, build all >> the dependencies without testing them; at the 'define gnutls' (&co) >> step or in the map. Why not? > > Sure, but how do you get a user-specified transformation to this line? I do not know (yet?). :-) First, we are only speaking about =E2=80=9Cguix time-machine=E2=80=9D and s= econd, only about corner cases which could break in the future, as expiration. Right? We are not talking about general transformations applied to self (even if it could be great). So we could imagine something like =E2=80=99set-build-from-command-line=E2= =80=99 or =E2=80=99set-build-option=E2=80=99 to tweak self only for the inferior. I = have not traced (yet) on the stack of calls from =E2=80=9Cguix time-machine=E2=80=9D= to self via the inferiors, but somehow it looks like passing arguments. Well, be able to tweak how to build Guix via the time-machine appears to me better than configuring a build machine ahead of time. It is like predicting the future and instead we should try to have a flexible present in order to fix the past once in the unpredictable future. :-) Cheers, simon
bug-guix@HIDDEN
:bug#46650
; Package guix
.
Full text available.Received: (at 46650) by debbugs.gnu.org; 24 Feb 2021 17:22:04 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 24 12:22:04 2021 Received: from localhost ([127.0.0.1]:35823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lExrP-00088Z-Q0 for submit <at> debbugs.gnu.org; Wed, 24 Feb 2021 12:22:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1lExrO-000886-57 for 46650 <at> debbugs.gnu.org; Wed, 24 Feb 2021 12:22:02 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38239) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1lExrI-00068Y-UC; Wed, 24 Feb 2021 12:21:56 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=47296 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1lExrI-00084h-CI; Wed, 24 Feb 2021 12:21:56 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: zimoun <zimon.toutoune@HIDDEN> Subject: Re: bug#46650: Extending package transformation options References: <A993FD81-6D70-4834-A124-005BD2AD4E22@HIDDEN> <87h7m6j0yi.fsf@HIDDEN> <86pn0qtofg.fsf@HIDDEN> <87sg5l3ekn.fsf@HIDDEN> <CAJ3okZ2xRR5CjcQ7y6jSZ9-XF2qg9cnH4RZZ=U0MJhjJtkr_Xw@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 =?utf-8?Q?Vent=C3=B4se?= an 229 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 24 Feb 2021 18:21:55 +0100 In-Reply-To: <CAJ3okZ2xRR5CjcQ7y6jSZ9-XF2qg9cnH4RZZ=U0MJhjJtkr_Xw@HIDDEN> (zimoun's message of "Wed, 24 Feb 2021 14:43:56 +0100") Message-ID: <87h7m12xfw.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46650 Cc: 46650 <at> debbugs.gnu.org, Carl Dong <contact@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Hi, zimoun <zimon.toutoune@HIDDEN> skribis: > I am confused. The 'specification->package' returns a regular > package, right?. And then, > > (define gnutls > (specification->package "gnutls")) > > (define dependencies > (append-map transitive-package-dependencies > (list guile-gcrypt gnutls guile-git guile-avahi > guile-json guile-semver guile-ssh guile-sqlite3 > guile-zlib guile-lzlib guile-zstd))) > > So here, a transformation could be applied. For example, build all > the dependencies without testing them; at the 'define gnutls' (&co) > step or in the map. Why not? Sure, but how do you get a user-specified transformation to this line? Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#46650
; Package guix
.
Full text available.Received: (at 46650) by debbugs.gnu.org; 24 Feb 2021 13:44:15 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 24 08:44:15 2021 Received: from localhost ([127.0.0.1]:33908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lEuSd-0002A3-Fg for submit <at> debbugs.gnu.org; Wed, 24 Feb 2021 08:44:15 -0500 Received: from mail-qk1-f170.google.com ([209.85.222.170]:35925) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <zimon.toutoune@HIDDEN>) id 1lEuSb-00029q-J7 for 46650 <at> debbugs.gnu.org; Wed, 24 Feb 2021 08:44:14 -0500 Received: by mail-qk1-f170.google.com with SMTP id v206so2108516qkb.3 for <46650 <at> debbugs.gnu.org>; Wed, 24 Feb 2021 05:44:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=ep4gLNA73cCYMEH7XIP3SwRNbJ4V4EAFTUFqYcfn59c=; b=mY5Who4ZcJ5ZP1JJPos/Te8dLj8jZ+W3jCzEdLhTqqFlPQc//uBX+PMlFK/m1VmaO9 Q0OusNdHiI7BnihcrqD26lDiwYOLFG0NopQAO+eq0pVqvm8VNPByoOchA6Lu5c8gN1JC hxj06KnbZf5JA9Ohwlkw02KCHfIDglyDbxQUWC23Rd04mwqzw/d5zoZcPTJ9S1PIcPr2 Y5r2/uUfQrf6EwEgag9VKvMXoni6F3CKv0DUdovlkTQWQDk7UQByHakRTne3wM3uCUC9 4mAeIjj3iU3Nctd4dS61Sn2hItBlELkZgrpJ8+sVN45P9up/wxidEhNcQZoVoGLxqI51 ZeEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ep4gLNA73cCYMEH7XIP3SwRNbJ4V4EAFTUFqYcfn59c=; b=TkjRlt2IlgmHmvhv3ld30vzTsBUOpQTDezwBbU9CgBoVZQDv7kOl55xn/CuSShzqqB oWmwrXmCZdzy6vujc2Ke233jzEccLpkFpxSZYB2mpcp9z+AGSdy+N6GKqUUfFVyV0Dpc CPpYIyQ8c11DC6GG757T3DVxPH5n96eG0yOwr9yLlP88o4UNItzjMqFua1c0m1PjOL6A DbRa0smKJxnELLiWp0Q9cius4bHY03WWwwQhBG4lwe9Upro6nbIH0kTLlEV6EJqrlsO+ 19Ilz7BSFaRdv+FiI/sqbkPVVe1AaPU1vm0R1a+oSj623j9G46f3K7vGb2n/NCHtNv0x uEEQ== X-Gm-Message-State: AOAM533j7VoiqP5FjBCHRoxaGsgHR9QNh56rLyasbPNwkZV+U/OOoarU tnOzOjHwSrvRessy/NOxcYeEAF8LT3KLUjwpSuc= X-Google-Smtp-Source: ABdhPJxfBpv7RcyzjwDAechfN60HmtFexqIRNIjrF7s4sC4CbJval8UBQHWs8Hkb5MEi422SQXBh6MG6Ux3+7Cceid8= X-Received: by 2002:a05:620a:908:: with SMTP id v8mr31921311qkv.201.1614174247844; Wed, 24 Feb 2021 05:44:07 -0800 (PST) MIME-Version: 1.0 References: <A993FD81-6D70-4834-A124-005BD2AD4E22@HIDDEN> <87h7m6j0yi.fsf@HIDDEN> <86pn0qtofg.fsf@HIDDEN> <87sg5l3ekn.fsf@HIDDEN> In-Reply-To: <87sg5l3ekn.fsf@HIDDEN> From: zimoun <zimon.toutoune@HIDDEN> Date: Wed, 24 Feb 2021 14:43:56 +0100 Message-ID: <CAJ3okZ2xRR5CjcQ7y6jSZ9-XF2qg9cnH4RZZ=U0MJhjJtkr_Xw@HIDDEN> Subject: Re: bug#46650: Extending package transformation options To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46650 Cc: 46650 <at> debbugs.gnu.org, Carl Dong <contact@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi Ludo, On Wed, 24 Feb 2021 at 12:11, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote: > > On Sat, 20 Feb 2021 at 14:57, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote= : > > > >> Guix as returned by =E2=80=98guix pull=E2=80=99 and =E2=80=98guix time= -machine=E2=80=99 depends on > >> GnuTLS. So here, we have a special case: to build Guix itself, you ne= ed > >> to build GnuTLS first, and there=E2=80=99s no way to pass =E2=80=98--w= ithout-tests=E2=80=99 at > >> that level. > >> > >> I=E2=80=99m not sure how to change that because unfortunately, =E2=80= =98guix pull=E2=80=99 and > >> =E2=80=98time-machine=E2=80=99 don=E2=80=99t even know that Guix depen= ds on GnuTLS; only the > >> target Guix knows about this. :-/ > > > > If =C2=AB=E2=80=9Cguix pull=E2=80=9D and =E2=80=99time-machine=E2=80= =99 don=E2=80=99t even know that Guix depends on > > GnuTLS=C2=BB and =C2=ABto build Guix itself, you need to build GnuTLS f= irst=C2=BB, how > > does it work? How does =C2=AByou=C2=BB know that they needs to build G= nuTLS > > first? > > =E2=80=98guix pull=E2=80=99 builds Guix using the method implemented in (= guix self). > The entry point there is =E2=80=98compiled-guix=E2=80=99, which returns a= compiled Guix. Thanks. It perfectly answer to my question. :-) > It=E2=80=99s not a package so the package API doesn=E2=80=99t apply. I am confused. The 'specification->package' returns a regular package, right?. And then, --8<---------------cut here---------------start------------->8--- (define gnutls (specification->package "gnutls")) (define dependencies (append-map transitive-package-dependencies (list guile-gcrypt gnutls guile-git guile-avahi guile-json guile-semver guile-ssh guile-sqlite3 guile-zlib guile-lzlib guile-zstd))) --8<---------------cut here---------------end--------------->8--- So here, a transformation could be applied. For example, build all the dependencies without testing them; at the 'define gnutls' (&co) step or in the map. Why not? Well, just to be able to travel back in time if some expiration changed. Cheers, simon
bug-guix@HIDDEN
:bug#46650
; Package guix
.
Full text available.Received: (at 46650) by debbugs.gnu.org; 24 Feb 2021 11:12:03 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 24 06:12:03 2021 Received: from localhost ([127.0.0.1]:33480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lEs5L-0004Qq-A5 for submit <at> debbugs.gnu.org; Wed, 24 Feb 2021 06:12:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1lEs5I-0004Q8-L4 for 46650 <at> debbugs.gnu.org; Wed, 24 Feb 2021 06:12:00 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59584) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1lEs5D-0001TF-2h; Wed, 24 Feb 2021 06:11:55 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=34036 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1lEs5C-0006eS-Ci; Wed, 24 Feb 2021 06:11:54 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: zimoun <zimon.toutoune@HIDDEN> Subject: Re: bug#46650: Extending package transformation options References: <A993FD81-6D70-4834-A124-005BD2AD4E22@HIDDEN> <87h7m6j0yi.fsf@HIDDEN> <86pn0qtofg.fsf@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 =?utf-8?Q?Vent=C3=B4se?= an 229 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 24 Feb 2021 12:11:52 +0100 In-Reply-To: <86pn0qtofg.fsf@HIDDEN> (zimoun's message of "Tue, 23 Feb 2021 23:22:11 +0100") Message-ID: <87sg5l3ekn.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46650 Cc: 46650 <at> debbugs.gnu.org, Carl Dong <contact@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Hi, zimoun <zimon.toutoune@HIDDEN> skribis: > On Sat, 20 Feb 2021 at 14:57, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote: > >> Guix as returned by =E2=80=98guix pull=E2=80=99 and =E2=80=98guix time-m= achine=E2=80=99 depends on >> GnuTLS. So here, we have a special case: to build Guix itself, you need >> to build GnuTLS first, and there=E2=80=99s no way to pass =E2=80=98--wit= hout-tests=E2=80=99 at >> that level. >> >> I=E2=80=99m not sure how to change that because unfortunately, =E2=80=98= guix pull=E2=80=99 and >> =E2=80=98time-machine=E2=80=99 don=E2=80=99t even know that Guix depends= on GnuTLS; only the >> target Guix knows about this. :-/ > > If =C2=AB=E2=80=9Cguix pull=E2=80=9D and =E2=80=99time-machine=E2=80=99 = don=E2=80=99t even know that Guix depends on > GnuTLS=C2=BB and =C2=ABto build Guix itself, you need to build GnuTLS fir= st=C2=BB, how > does it work? How does =C2=AByou=C2=BB know that they needs to build Gnu= TLS > first? =E2=80=98guix pull=E2=80=99 builds Guix using the method implemented in (gu= ix self). The entry point there is =E2=80=98compiled-guix=E2=80=99, which returns a c= ompiled Guix. It=E2=80=99s not a package so the package API doesn=E2=80=99t apply. HTH, Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#46650
; Package guix
.
Full text available.Received: (at 46650) by debbugs.gnu.org; 23 Feb 2021 22:30:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 23 17:30:46 2021 Received: from localhost ([127.0.0.1]:60828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lEgCc-0002P8-GQ for submit <at> debbugs.gnu.org; Tue, 23 Feb 2021 17:30:46 -0500 Received: from mail-wr1-f46.google.com ([209.85.221.46]:44217) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <zimon.toutoune@HIDDEN>) id 1lEgCb-0002Ou-9t for 46650 <at> debbugs.gnu.org; Tue, 23 Feb 2021 17:30:45 -0500 Received: by mail-wr1-f46.google.com with SMTP id h98so19334918wrh.11 for <46650 <at> debbugs.gnu.org>; Tue, 23 Feb 2021 14:30:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=c/e4Cbc3QXX3OMbNgN2hYMuVTuFterJZDQC7KwpP620=; b=o6hzogDJCk2VCsk7JvDTk3ufwVrsWZgpyYIClqc90BCG0x0xp/8iqrNx1uODDC2S8k Ia7zSNHkYY6UZKXJ6XUkqIOMdtUiKaOX8bpue5k5qZqFBO66Mwwvhm8swlzJTFFQ6s/0 ZX7CExzsFQzGveLbJy49vxCrj5Z3CV7+OeNtN3f/+jDvlwSpL9fLLDqkFwG5jesD/I02 JTLiwddoaNhlIn1POfpbUDj0x10PxpxiJprUuc3Ke2EH1BiTPbmLEn3jBqoXrrzNa3fB XqKZBUP1q5fjC/rCoPliiRrVwo73p0JQIgkjSkjQ5XAZ2+drXUF17flaKOdkLFF8CdyX 7bQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=c/e4Cbc3QXX3OMbNgN2hYMuVTuFterJZDQC7KwpP620=; b=ZiUqqQCA/KKA74x8y9SGm9ToNY8BX7BQ599NGhpySTLtO86gzHX5QPevzZi+AhmXtd QI2H493/JXEuZjBpAe55iRV7DWFaJF4z0LHqr3ymhCZRtSnO9gKDc8XMV1kAufnLQdk1 lZHc91G05tyXKOcY/aRbRcYB0xMtwhuO9dTELMynvG2ePOwVvAx83br/Zv4Nz7P9GjSd GrbBa+BPBp79LSo/wcqE4QfHo6iYHEZhGEDtEXV36hAKLH9R5iK907jvzQ/nC9+5vX4c Vc4in8Q4AvTSG5djY86b/Vqbfvnd6k+GC6VwJNumWEgwrfFWNK3wbLA36kYqa3bJgu9y bVYQ== X-Gm-Message-State: AOAM532iOGCiV5ebJpvev4hiccWZC1OnvaqwOqXPoe9chSkyph00qX5z ArQxjx/U19YO0EFOoildv1h36iY0uT8= X-Google-Smtp-Source: ABdhPJx4iSF9rBi42e4AcldaGTvs33ZxVMkLshoEGtG6uiVXf0/bftnb9/jLzSCnI5nnv+8CL9kXqA== X-Received: by 2002:a5d:6b0a:: with SMTP id v10mr28704606wrw.183.1614119439266; Tue, 23 Feb 2021 14:30:39 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id o124sm4252862wmo.41.2021.02.23.14.30.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Feb 2021 14:30:38 -0800 (PST) From: zimoun <zimon.toutoune@HIDDEN> To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, Carl Dong <contact@HIDDEN> Subject: Re: bug#46650: Extending package transformation options In-Reply-To: <87h7m6j0yi.fsf@HIDDEN> References: <A993FD81-6D70-4834-A124-005BD2AD4E22@HIDDEN> <87h7m6j0yi.fsf@HIDDEN> Date: Tue, 23 Feb 2021 23:22:11 +0100 Message-ID: <86pn0qtofg.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46650 Cc: 46650 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi, On Sat, 20 Feb 2021 at 14:57, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote: > Guix as returned by =E2=80=98guix pull=E2=80=99 and =E2=80=98guix time-ma= chine=E2=80=99 depends on > GnuTLS. So here, we have a special case: to build Guix itself, you need > to build GnuTLS first, and there=E2=80=99s no way to pass =E2=80=98--with= out-tests=E2=80=99 at > that level. > > I=E2=80=99m not sure how to change that because unfortunately, =E2=80=98g= uix pull=E2=80=99 and > =E2=80=98time-machine=E2=80=99 don=E2=80=99t even know that Guix depends = on GnuTLS; only the > target Guix knows about this. :-/ If =C2=AB=E2=80=9Cguix pull=E2=80=9D and =E2=80=99time-machine=E2=80=99 do= n=E2=80=99t even know that Guix depends on GnuTLS=C2=BB and =C2=ABto build Guix itself, you need to build GnuTLS first= =C2=BB, how does it work? How does =C2=AByou=C2=BB know that they needs to build GnuTLS first? Well, I do not know if it is viable, one hack should to use the package Guix to collect this missing knowledge. Why is it not possible to build all the package dependencies of Guix with the option --without-tests? Cheers, simon
bug-guix@HIDDEN
:bug#46650
; Package guix
.
Full text available.Received: (at 46650) by debbugs.gnu.org; 20 Feb 2021 14:00:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 20 09:00:16 2021 Received: from localhost ([127.0.0.1]:51281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lDSnw-0001wh-3n for submit <at> debbugs.gnu.org; Sat, 20 Feb 2021 09:00:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1lDSnu-0001wO-C0 for 46650 <at> debbugs.gnu.org; Sat, 20 Feb 2021 09:00:14 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43978) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1lDSnp-0006tw-0p; Sat, 20 Feb 2021 09:00:09 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35268 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1lDSnk-0001aj-5L; Sat, 20 Feb 2021 09:00:05 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Leo Famulari <leo@HIDDEN> Subject: Re: bug#46650: Extending package transformation options References: <A993FD81-6D70-4834-A124-005BD2AD4E22@HIDDEN> <YDBVJL/lDRIGLG3T@HIDDEN> Date: Sat, 20 Feb 2021 15:00:02 +0100 In-Reply-To: <YDBVJL/lDRIGLG3T@HIDDEN> (Leo Famulari's message of "Fri, 19 Feb 2021 19:17:40 -0500") Message-ID: <87blcej0v1.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46650 Cc: 46650 <at> debbugs.gnu.org, Carl Dong <contact@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Leo Famulari <leo@HIDDEN> skribis: > On Fri, Feb 19, 2021 at 06:24:57PM -0500, Carl Dong wrote: >> One of the main reasons for switching over to Guix is for its bootstrapp= bility and the ability to perform `--bootstrap --no-substitutes` builds. As= mentioned in the gnutls ticket, performing these source-based builds can s= ometimes reveal problems with tests suites: >> 1. Spurious tests >> 2. =E2=80=9CExpiring=E2=80=9D tests (like the gnutls one) >> 3. Foreign distro problems (0zmcam9sdiag9s1qx3xvlf8a3jnm53x2-sed-4.8.drv= fails to build on SELinux-based distros because of a test failure in tests= uite/inplace-selinux) > > I hate to throw a wrench in your plans, but I think that using package > transformation options on the command-line militates against many of the > benefits you are seeking to take advantage of, in terms of an > introspectable and bootstrappable software system. > > Normally when using Guix, our Git tree provides a convenient and > comprehensive view of the entire software system. It also provides an > entry point into the system for making changes. > > When using these command-line package transformations, you diverge from > the Guix Git tree and enter uncharted and untracked territory. If you > install some software or build some system using these transformations, > there is no Git tree you can check out and begin exploring. For example, > there will be no package definition of GnuTLS-without-tests that can be > referred to and shared. I think that=E2=80=99s OK: you=E2=80=99re building a different GnuTLS deriv= ation, true, but how that derivation is computed is fully under control as the transformation option appears on the command line or in your manifest. It=E2=80=99s really equivalent to forking Guix and adding #:tests? #f, only= more flexible. Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#46650
; Package guix
.
Full text available.Received: (at 46650) by debbugs.gnu.org; 20 Feb 2021 13:58:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 20 08:58:13 2021 Received: from localhost ([127.0.0.1]:51277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lDSlx-0001rz-Lb for submit <at> debbugs.gnu.org; Sat, 20 Feb 2021 08:58:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1lDSlo-0001rK-Jz for 46650 <at> debbugs.gnu.org; Sat, 20 Feb 2021 08:58:12 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43898) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1lDSlj-0005rk-8F; Sat, 20 Feb 2021 08:57:59 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35256 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1lDSli-0007o8-8Q; Sat, 20 Feb 2021 08:57:58 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Carl Dong <contact@HIDDEN> Subject: Re: bug#46650: Extending package transformation options References: <A993FD81-6D70-4834-A124-005BD2AD4E22@HIDDEN> Date: Sat, 20 Feb 2021 14:57:57 +0100 In-Reply-To: <A993FD81-6D70-4834-A124-005BD2AD4E22@HIDDEN> (Carl Dong's message of "Fri, 19 Feb 2021 18:24:57 -0500") Message-ID: <87h7m6j0yi.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46650 Cc: 46650 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Hi, Carl Dong <contact@HIDDEN> skribis: > One of the main reasons for switching over to Guix is for its bootstrappb= ility and the ability to perform `--bootstrap --no-substitutes` builds. As = mentioned in the gnutls ticket, performing these source-based builds can so= metimes reveal problems with tests suites: > 1. Spurious tests > 2. =E2=80=9CExpiring=E2=80=9D tests (like the gnutls one) > 3. Foreign distro problems (0zmcam9sdiag9s1qx3xvlf8a3jnm53x2-sed-4.8.drv = fails to build on SELinux-based distros because of a test failure in testsu= ite/inplace-selinux) Yes, these flaky/uncontrolled problems were one of the motivations for =E2=80=98--without-tests=E2=80=99. > However, in the case of our workflow above, there is no way to specify `-= -without-tests=3D` to `guix time-machine`, which insists on building the br= oken `gnutls` package and running its tests. I=E2=80=99ve tried isolating t= he command to just: > > --8<---------------cut here---------------start------------->8--- > $ guix time-machine --commit=3D<pinned-guix> =E2=80=A6 \ > -- --help > --8<---------------cut here---------------end--------------->8=E2=80=94 > > To make sure that it=E2=80=99s `guix time-machine` which is trying to bui= ld gnutls and not the time-machine=E2=80=99d `guix environment`. Package transformation options currently only apply to packages specified on the command line of =E2=80=98guix install=E2=80=99, =E2=80=98g= uix build=E2=80=99, etc. These options are not available to =E2=80=98guix system=E2=80=99, =E2=80=98= guix pull=E2=80=99, and other non-package-oriented commands. Guix as returned by =E2=80=98guix pull=E2=80=99 and =E2=80=98guix time-mach= ine=E2=80=99 depends on GnuTLS. So here, we have a special case: to build Guix itself, you need to build GnuTLS first, and there=E2=80=99s no way to pass =E2=80=98--withou= t-tests=E2=80=99 at that level. I=E2=80=99m not sure how to change that because unfortunately, =E2=80=98gui= x pull=E2=80=99 and =E2=80=98time-machine=E2=80=99 don=E2=80=99t even know that Guix depends on= GnuTLS; only the target Guix knows about this. :-/ Thanks, Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#46650
; Package guix
.
Full text available.Received: (at 46650) by debbugs.gnu.org; 20 Feb 2021 00:17:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 19 19:17:56 2021 Received: from localhost ([127.0.0.1]:50653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lDFy8-0002bw-DS for submit <at> debbugs.gnu.org; Fri, 19 Feb 2021 19:17:56 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:36857) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <leo@HIDDEN>) id 1lDFy3-0002bg-It for 46650 <at> debbugs.gnu.org; Fri, 19 Feb 2021 19:17:55 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 55F6C5C0115; Fri, 19 Feb 2021 19:17:46 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 19 Feb 2021 19:17:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=mesmtp; bh=vzIiv05nNqVTNUu0hO5Rrd0e9+5EW4uzwFXNhQy61oc=; b=sB4v0jZslkpB hKfqLBiRP3TqoMdIwJ4cqWdI+bOhjSNbPCA34Q8ICJ2x9L+72ALg2W4DPLEmD6P7 zDtAtsN1Nm3N9j91agA09yRfinM4qLH8ptRzPj+q7qz/h36Ek4nm4phAPrg//y8/ aq5rY3Ef4PPBCSos1xkoL5cwv9dv+1Q= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=vzIiv05nNqVTNUu0hO5Rrd0e9+5EW4uzwFXNhQy61 oc=; b=W/2sTQ81n/o0RCTgjKgIh61ewZeL+cr/sY03EsFm7lgD/TTysotgyj65P n4/+/DyrkbF19kvqtbdn3asQIwxtHdK0kI5+KINXawazXvw+noHp2iKHepffSscx 0/JPHKDJTK5mbU23BurLuuGw5HH9KvQaAOUf+lQeOScnk6iuEHujH7rNTX1QWbXH L1i1hQApQRPLOfREKIZQhmXkynaW6+k44c9dEXnYrq2x3/TA6UC014ZXLf3rmfNO IlsrRUSLgolmIHRKzT3FqNgxp1QK9JIQQ0ZSpkqfgEMpKbK1UTJf088qGYD2oKNZ Xa0jYiPbRb7zzmJjVs84FkHShIPNg== X-ME-Sender: <xms:KVUwYN3hJ71cmp97oMTPkcFm-85l0xkU0F_6G3kcVy_hlWEh0u5szg> <xme:KVUwYKlYEaJdgDVrw5TX7qTlUbu11c1pb85TXHKQJ7BtT5I-7ZvYLRZ1FwfqGQE6J ZTh8eLHyOcJd7970Q> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrjeejgddulecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtugfgjgesthekre dttddtjeenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgr rhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepgeejgeeghedtudfgffdutddvffefff ejkeffffevffehgedvvdeutdffkeejjeejnecukfhppeeiledruddvtddrledvrddvtdek necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgvoh esfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: <xmx:KVUwYL6gwHkx0483-emxqye2TOE0I0KFSI7_A4VYgy8d1aduwgjICg> <xmx:KVUwYNlwQejxCAQF-9hoK_gt1gWcw1y2RVR9O_F6HbgZ8qdri_5nAg> <xmx:KVUwYGXlOV8PdgKgSkq23ZtirLS9ruJE9wkQ3FWkkW4iPIJadybxjA> <xmx:KlUwYFRMbTnsH44KOwkhbHVTYmfiSwDBDoVWBEE804HmRYuKs7V-KQ> Received: from localhost (ool-45785cd0.dyn.optonline.net [69.120.92.208]) by mail.messagingengine.com (Postfix) with ESMTPA id AB65224005B; Fri, 19 Feb 2021 19:17:45 -0500 (EST) Date: Fri, 19 Feb 2021 19:17:40 -0500 From: Leo Famulari <leo@HIDDEN> To: Carl Dong <contact@HIDDEN> Subject: Re: bug#46650: Extending package transformation options Message-ID: <YDBVJL/lDRIGLG3T@HIDDEN> References: <A993FD81-6D70-4834-A124-005BD2AD4E22@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <A993FD81-6D70-4834-A124-005BD2AD4E22@HIDDEN> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46650 Cc: 46650 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) On Fri, Feb 19, 2021 at 06:24:57PM -0500, Carl Dong wrote: > One of the main reasons for switching over to Guix is for its bootstrappbility and the ability to perform `--bootstrap --no-substitutes` builds. As mentioned in the gnutls ticket, performing these source-based builds can sometimes reveal problems with tests suites: > 1. Spurious tests > 2. “Expiring” tests (like the gnutls one) > 3. Foreign distro problems (0zmcam9sdiag9s1qx3xvlf8a3jnm53x2-sed-4.8.drv fails to build on SELinux-based distros because of a test failure in testsuite/inplace-selinux) I hate to throw a wrench in your plans, but I think that using package transformation options on the command-line militates against many of the benefits you are seeking to take advantage of, in terms of an introspectable and bootstrappable software system. Normally when using Guix, our Git tree provides a convenient and comprehensive view of the entire software system. It also provides an entry point into the system for making changes. When using these command-line package transformations, you diverge from the Guix Git tree and enter uncharted and untracked territory. If you install some software or build some system using these transformations, there is no Git tree you can check out and begin exploring. For example, there will be no package definition of GnuTLS-without-tests that can be referred to and shared.
bug-guix@HIDDEN
:bug#46650
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 19 Feb 2021 23:25:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 19 18:25:05 2021 Received: from localhost ([127.0.0.1]:50618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lDF8z-0001O5-Db for submit <at> debbugs.gnu.org; Fri, 19 Feb 2021 18:25:05 -0500 Received: from lists.gnu.org ([209.51.188.17]:43994) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <contact@HIDDEN>) id 1lDF8w-0001Nx-Mu for submit <at> debbugs.gnu.org; Fri, 19 Feb 2021 18:25:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58246) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <contact@HIDDEN>) id 1lDF8w-0006Zx-Dn for bug-guix@HIDDEN; Fri, 19 Feb 2021 18:25:02 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:48437) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <contact@HIDDEN>) id 1lDF8u-0000nl-JK for bug-guix@HIDDEN; Fri, 19 Feb 2021 18:25:02 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 2259B5C00F8 for <bug-guix@HIDDEN>; Fri, 19 Feb 2021 18:24:58 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 19 Feb 2021 18:24:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=carldong.me; h= from:content-type:content-transfer-encoding:mime-version:subject :message-id:date:to; s=fm3; bh=PgiX/CSQ54EPqoJUY5mIXnivY3MlUnoN2 bm2UPsbegw=; b=tNFMyBE8cqWP2IBJS3E0QqYsWkeC1FWS03PzbHYwdP0EJwoL1 honwwE+a8GGEe5DRS8INL2lYHCUnAbOq6oW0btGPEP12cna3lb7sLd58edZNRsCI mlKfWxHabjsJXO2A5e6du3KpE7W3IGMh/M1uoB6wspQcJxopD2nPI2glMgLHGMI2 Aq01K/J7QjRJRKVSDV3NtWnX7pPVQSf56gTIaIKL1DLPPJU7/DlPnAoJYiHhC472 fKm9WYzuXVOzFLAT1NYoeq4h7hT3C0jC1uclMtbMnZNcz/CdY3NQAc+tCousbTW6 +DdsFbnYH7BvNmvOG7Da4a1JkwIkIS/0JR3Sg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=PgiX/C SQ54EPqoJUY5mIXnivY3MlUnoN2bm2UPsbegw=; b=YPJqKy5bm77D5chH9nfNho t79MRoJm5mvdR/ydM6aW3cDvCDxRwssmHiADrHHzbC38tG4mpDsaGDlzkyL56Xax olMXlcSKwXmDu770Y1Diyd/DpSGym2z+zSiE03prem0qpFl4FQdXWDak2n7Sq5Ur Or64hsbpaiF2i4/KiE9uZdstDyo77dMd39SAPjzuqtGYxZCrZb4Tn3IjQ1AiCvh7 fgkgixSxIDNm+j67syzHb2Auwdt0XrszfKjJEkzq0Sw2KxSaV2Ft5lJsej/UaEtP brTGLz0rbahsO3437hjsE4Q/myZpzYKLbnf4DmbHqIaIhmSeYWRpB2I+vXUU0qfA == X-ME-Sender: <xms:yUgwYER2O4RbXC3Uf7vQHCnC_6aBpgog12TmVbzDjuOhp4knpKFF4w> <xme:yUgwYByPOAA1c_uf1_BYizLXYCndJcQaoTKglVPFwhUDlsCWbj6Jjn2k6Ts2Gay2I k_zcQISAAvxQm9Few> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrjeejgddtlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephfgtgfgguffkfffvofesthhqmhdthh dtjeenucfhrhhomhepvegrrhhlucffohhnghcuoegtohhnthgrtghtsegtrghrlhguohhn ghdrmhgvqeenucggtffrrghtthgvrhhnpeffkedvtdeggfefuefhkeevhffgleduffduvd egheefteehudegueffueduteelffenucfkphepleeirddvfeelrddujedrvdegvdenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegtohhnthgrtg htsegtrghrlhguohhnghdrmhgv X-ME-Proxy: <xmx:yUgwYB1v2BUAf6l3_unGG-QM420O_xS8ndSOrpSVg1D6UZxbOyN6Iw> <xmx:yUgwYIDJmpqfqol8UaJNDw6buplBz8VxAEY6QdVwc3azPXHWT3VxCA> <xmx:yUgwYNiPNOOMATFtEhEWyiutjmiDZuAi3zgbnsrePPkR0bfjB4G4Pg> <xmx:ykgwYIvlQtrMP4z_mDpxnnAIfAZz5WgUGsqtSEworc44QKsO_TBJdg> Received: from [192.168.0.6] (pool-96-239-17-242.nycmny.fios.verizon.net [96.239.17.242]) by mail.messagingengine.com (Postfix) with ESMTPA id E497124005B for <bug-guix@HIDDEN>; Fri, 19 Feb 2021 18:24:57 -0500 (EST) From: Carl Dong <contact@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Extending package transformation options Message-Id: <A993FD81-6D70-4834-A124-005BD2AD4E22@HIDDEN> Date: Fri, 19 Feb 2021 18:24:57 -0500 To: bug-guix@HIDDEN X-Mailer: Apple Mail (2.3608.120.23.2.4) Received-SPF: pass client-ip=66.111.4.26; envelope-from=contact@HIDDEN; helo=out2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.6 (--) Hi Guix! TL;DR Shall we add a `--without-tests` option (or something similar) for = `guix time-machine`? Our release workflow in Bitcoin is planned to shift over to Guix for the = next release, and as such we have a lot more testers who are running = Guix as we speak on their machines! Exciting! Our build workflow basically boils down to something like: --8<---------------cut here---------------start------------->8--- $ guix time-machine --commit=3D<pinned-guix> =E2=80=A6 \ -- environment --manifest=3Dmanifest.scm =E2=80=A6 \ -- <build-command> --8<---------------cut here---------------end--------------->8--- The fact that this is even possible (and allows reproducibility across = time) speaks to the awesomeness of Guix! :-) One of the main reasons for switching over to Guix is for its = bootstrappbility and the ability to perform `--bootstrap = --no-substitutes` builds. As mentioned in the gnutls ticket, performing = these source-based builds can sometimes reveal problems with tests = suites: 1. Spurious tests 2. =E2=80=9CExpiring=E2=80=9D tests (like the gnutls one) 3. Foreign distro problems (0zmcam9sdiag9s1qx3xvlf8a3jnm53x2-sed-4.8.drv = fails to build on SELinux-based distros because of a test failure in = testsuite/inplace-selinux) I think that the package transformation options are the perfect = =E2=80=9Chack-around=E2=80=9D solution for this, namely = `--without-tests`. In fact, since those who experience these problems = are building from source, it makes no difference that the store item = would be change: they would need to build everything anyway! However, in the case of our workflow above, there is no way to specify = `--without-tests=3D` to `guix time-machine`, which insists on building = the broken `gnutls` package and running its tests. I=E2=80=99ve tried = isolating the command to just: --8<---------------cut here---------------start------------->8--- $ guix time-machine --commit=3D<pinned-guix> =E2=80=A6 \ -- --help --8<---------------cut here---------------end--------------->8=E2=80=94 To make sure that it=E2=80=99s `guix time-machine` which is trying to = build gnutls and not the time-machine=E2=80=99d `guix environment`. I=E2=80=99m not too familiar with how package transformation options = work internally, but I=E2=80=99m guessing all we need here is a = `--without-tests` option (or something similar) for `guix time-machine`? = Is there anything else that=E2=80=99s necessary to successfully skip = tests for my workflow? Cheers, Carl Dong contact@HIDDEN "I fight for the users"
Carl Dong <contact@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#46650
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.