From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <help-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp12.migadu.com ([2001:41d0:403:4876::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms8.migadu.com with LMTPS
	id sDdiAX7AS2WbIQEAauVa8A:P1
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 08 Nov 2023 18:08:14 +0100
Received: from aspmx1.migadu.com ([2001:41d0:403:4876::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp12.migadu.com with LMTPS
	id sDdiAX7AS2WbIQEAauVa8A
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 08 Nov 2023 18:08:14 +0100
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 38D5358AB8
	for <larch@yhetil.org>; Wed,  8 Nov 2023 18:08:13 +0100 (CET)
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=qYYV4xgU;
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1699463293;
	h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=0Lmrz3mZtp9ZoNXduB8MSG5t1tRfNAEVzhzTAMCgBLE=;
	b=ZSabQTSaP5HsaIR7UnTzfKz8vZyzVR9GVgfpSl/qa4wbhGTx0NgxD8KmWLbMHUHL8542ZK
	mqQqUFBwYdO/Vk7wvEinr46Xy4Ewlc/G5Z6yiF+LIW6oQa5StedG00SklN7Z/Xr616fUTw
	AXe14UDcQohBP8YqzLR4Aai8AlVBa7w38NwGHzdiDpS5n5arvKFGFKpaJHjF00rI6lkBEm
	E27NKJNLo0ya14gvdciRt7x7jtYdJZnf+JIQFuVoacN1I0yPwzUrMtg96TF3tyZBvYx8F0
	RG2NQFVKwCDN2qtI8qYJzo863c9g5Jo1mQWuLC7FYHMQGotfOKf1p+xDvguJUg==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=qYYV4xgU;
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699463293; a=rsa-sha256; cv=none;
	b=NLlo5uW/N8b9nIFuhurjpkdfO1teULPcTDjMM3mCPHtNCZdZp3FUTvBJwT/NLFoXqzDuur
	STGRLhL//bL1k7cUTrz+vZO0jRvuOLiwHd+GvFKJywBnXJlw8lng5r7owLLMmfVS+sZvxT
	lht1mUU6w+8lJtjPf7bZ9NOhI3cxOyNGdujs6LjW/pYIh8RnY8oaH9z+8elXwx0JUFUIXS
	4X70UBi8wTXIVTuslQgzh6xeCyMWY4TyAMCkiFk+w4DN6LQzvo7s+f94WoBD8pT0BYHN8H
	7onCY5xvK/We/+rH6eRdnByOdC3HkbjriEqxJlL8HcDmBn1JnDIOIfNcrBWtpA==
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <help-guix-bounces@gnu.org>)
	id 1r0m1s-0003pj-B1; Wed, 08 Nov 2023 12:07:48 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <felix.lechner@lease-up.com>)
 id 1r0m1q-0003pD-8h
 for help-guix@gnu.org; Wed, 08 Nov 2023 12:07:46 -0500
Received: from sail-ipv4.us-core.com ([208.82.101.137])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <felix.lechner@lease-up.com>)
 id 1r0m1n-00030Y-3H
 for help-guix@gnu.org; Wed, 08 Nov 2023 12:07:45 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=aEj7HF+WldV6uoX
 Dq4fmdWUQljwfbGKbybPrezE2g1Q=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=lease-up.com; b=qYYV4xgU9b1+5kbNuhoeK98ATANf3nuGZhfIiC66
 oTr0tq4ah0W/5k5hA9Yxv/3gJvfDwTM85nk8/s9OnHiRZgms2U3Xe1Hnudli7slhs1cxWZ
 yGPqxhbByumohYOUdWgSaAce6eD+jLS+DIa4aWycUeJcu23xXn4ajqKI5Vrtg=
Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 6ae58c90
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); 
 Wed, 8 Nov 2023 17:07:40 +0000 (UTC)
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: Suhail <suhail@bayesians.ca>, Felix Lechner via <help-guix@gnu.org>,
 Julien Lepiller <julien@lepiller.eu>, Simon Tournier
 <zimon.toutoune@gmail.com>
Subject: Re: Turning off tests leads to a different store item
In-Reply-To: <878r78gv6m.fsf@gmail.com>
References: <65429087.0c0a0220.5908c.4d60SMTPIN_ADDED_BROKEN@mx.google.com>
 <87zfzpie51.fsf@gmail.com> <871qd19cqn.fsf@lease-up.com>
 <878r78gv6m.fsf@gmail.com>
Date: Wed, 08 Nov 2023 09:07:40 -0800
Message-ID: <87ttpw897n.fsf@lease-up.com>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=208.82.101.137;
 envelope-from=felix.lechner@lease-up.com; helo=sail-ipv4.us-core.com
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_NONE=0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: help-guix@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <help-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-guix>,
 <mailto:help-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/help-guix>
List-Post: <mailto:help-guix@gnu.org>
List-Help: <mailto:help-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-guix>,
 <mailto:help-guix-request@gnu.org?subject=subscribe>
Reply-to:  Felix Lechner <felix.lechner@lease-up.com>
From:  Felix Lechner via <help-guix@gnu.org>
Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org
Sender: help-guix-bounces+larch=yhetil.org@gnu.org
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
X-Migadu-Spam-Score: -3.99
X-Spam-Score: -3.99
X-Migadu-Queue-Id: 38D5358AB8
X-Migadu-Scanner: mx10.migadu.com
X-TUID: GdcpyVTe0I+X

Hi Maxim,

On Wed, Nov 08 2023, Maxim Cournoyer wrote:

> A source tree doesn't produce a derivation.  A derivation is the
> complete build recipe that captures the source and the package
> definition, that when built by the daemon produces a store item.

Okay, thanks! Now I'm going to get it right:

The store item that is produced should not change whether build-time
tests run or not.

It does not make sense (and wastes resources) to rebuild a consuming
package because build-time tests were enabled or disabled in an input.

The historical version of openssl gave rise to this thread. It did not
build anymore because the tests no longer worked with the certificates
shipped in that release (a common problem in TLS libraries). Rebuilding
openssl without running the tests rendered the rebuild useless because
it produced a different store item. That should not happen.

Does that make more sense?

Kind regards
Felix