From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +Fo4H/6TU2TcDQAASxT56A (envelope-from ) for ; Thu, 04 May 2023 13:16:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4GH5Hv6TU2T7fAAAauVa8A (envelope-from ) for ; Thu, 04 May 2023 13:16:14 +0200 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 1B2B02F210 for ; Thu, 4 May 2023 13:16:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puWwO-0005ua-Kh; Thu, 04 May 2023 07:16:04 -0400 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 ) id 1puWwM-0005u5-95 for bug-guix@gnu.org; Thu, 04 May 2023 07:16:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1puWwL-0000b2-W6 for bug-guix@gnu.org; Thu, 04 May 2023 07:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1puWwL-0005yv-Rl for bug-guix@gnu.org; Thu, 04 May 2023 07:16:01 -0400 Subject: bug#63043: texlive-font-maps.drv build failure when profiles lacks texlive-* packages Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Thu, 04 May 2023 11:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 63043 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: Ricardo Wurmus , 63043-done@debbugs.gnu.org Mail-Followup-To: 63043@debbugs.gnu.org, ludo@gnu.org, ludo@gnu.org Received: via spool by 63043-done@debbugs.gnu.org id=D63043.168319890322900 (code D ref 63043); Thu, 04 May 2023 11:16:01 +0000 Received: (at 63043-done) by debbugs.gnu.org; 4 May 2023 11:15:03 +0000 Received: from localhost ([127.0.0.1]:48717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puWvP-0005xH-G8 for submit@debbugs.gnu.org; Thu, 04 May 2023 07:15:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puWvO-0005wX-Kc for 63043-done@debbugs.gnu.org; Thu, 04 May 2023 07:15:02 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puWvJ-00007w-76; Thu, 04 May 2023 07:14:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=YJNT4Rzoy3/gve57fgok0BntN4BzpqKSQSLs/Xuy//w=; b=f9/CAO0qOc0TTzLOJR5P F8+By7CVBTtm3d+FPcEZJ9F85VRnvyJxwZpn5S0zsPlxZJ1unp3KLHyOw7ywfdS9u9yB/YkoL6T9p fbjRoRWFNJ8wh8PEeUh4baEEW6ki4b6R4jX3VD9/I+UQdxv86FLvjTXYS5BHG6kEDJDlCP0F+7osb 8Tcf9yvdNoW2btUOQkp0gjHGo5fhaTs16GIGVvg44wNuoyLCihgo4KP6uzbluyN+iDZJzG9eb9NUZ iLdmjktXnOxPPpPY++B/hOuZcya5kbOCGwqct1wF1EF9FESk4AON8BsqA1AWhJXQfyNL3TBwatHhh 8WcJieEWJeTqew==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puWvI-0003C2-P8; Thu, 04 May 2023 07:14:57 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87o7nefba4.fsf@inria.fr> <87zg6yt6ro.fsf@gmail.com> <878reh0yo8.fsf@gnu.org> <87edo8sppa.fsf@gmail.com> <87354hqejq.fsf@gnu.org> <87sfcg5je3.fsf@gmail.com> Date: Thu, 04 May 2023 13:14:55 +0200 In-Reply-To: <87sfcg5je3.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 01 May 2023 08:24:52 -0400") Message-ID: <87lei4s5zk.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683198974; a=rsa-sha256; cv=none; b=KWLteZ6t36bdaCO/sT/GKdP5O3TNN/z0YFf/ehW7UaY2AjgQ7nCKLLct9+taqzNHCyEItr YsO3hS3Kqi7G/jEMhLCPXHIykpNYuSVd17hgTVtHqGJD+EHclLJAzI1ARi7iNa5CIO85cV hMfOV30nPPz/RQ/2ROIHqDRzyKapMzi9hkhD8Vp9wL1jlibpxDTsD+CgODDw3xhUQRPy3O sFSRCksvFVcJXw4sqPlWFbSjzkAqy+As7mJUwGlHPZahIJNXNv7e6sHj2HNMPnj7+r1NHi 9jIU07uhgog2s0kUrJsoL6MgvkBxgHtHiaDMb4WO9MoVGGwF9Y5c/SJ6JEPQzg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="f9/CAO0q"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683198974; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YJNT4Rzoy3/gve57fgok0BntN4BzpqKSQSLs/Xuy//w=; b=KvyBq2uTVMQTtuYVlZII59W+ohyDD/04kl7OCTdUzR2DCfM/R9hMYwc1DNP8dXe2ByS2lL hSwM58jT2U11LnqbEwGbseIOpZhqS1Pq38mMWq2uVqDvhp5hJd510IZyY8fSZJg2niAM1b MbHjQF4GaklAQET+hFXX/wtOeDb6p2UzlVnIVM+49ugcOEhtJ7rDS0neuliIcPF18kn9fj UykRXP/YvqnuakR08bL1th07udRV4QfocoIxdJxcYuZob/jWMG18GkelLEsoLXAs6xj19Q J3AdnppCwYIkGYyvoPBmaq25Eag+lxP0T5GfG53ixVwQNBjOGRhV6+UUewvd3w== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="f9/CAO0q"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.61 X-Spam-Score: -2.61 X-Migadu-Queue-Id: 1B2B02F210 X-TUID: R9X7HbYvYJPw Hi Maxim, Maxim Cournoyer skribis: > Ludovic Court=C3=A8s writes: [...] >>> That is equivalent, but it doesn't address the core problem in my >>> opinion. There's no use to run hooks for things which aren't propagated >>> at the level of the profile, I think. If texlive-base in is the >>> profile, the person wants to use tex and friends. But if it's wrapped >>> by some package deep down, we shouldn't care. >>> >>> I see it the same way as when using libraries and compilers in a >>> profile; the compiler (consumer) needs to be present else no search path >>> is created. >>> >>> Does it make sense? >> >> I agree with the reasoning; I think it doesn=E2=80=99t apply to the GLib= schemas >> and GDK pixbuf caches though. > > It does, for the simple reasons that both GDK pixbufs and GLib schemas > are collected using manifest-inputs, which means only direct inputs from > the profile and the ones they propagate. So if you look deep in the > profile graph for the 'glib-compile-schemas' command, there is a chance > that it is found while no schemas were collected, and this is the kind > of case that'd lead to an empty derivation output (because there's no > schema to compile). Ah yes, that=E2=80=99s right. I was looking at it the other way around: GLib and GDK caches need to be built even if glib/gdk-pixbuf does not appear in the manifest. >> For TeX Live font maps, maybe it applies, though I=E2=80=99m not entirel= y sure >> (I wouldn=E2=80=99t be surprised if things other than =E2=80=98texlive-b= ase=E2=80=99 are >> consumers of font maps). Plus, since the patch I proposed is simple, >> I=E2=80=99m inclined to just do that. >> >> Thoughts? > > I still think that my proposition is better, but I don't mind if you > apply your fix now and we revisit this at a later time. If we get to > it, this change could be reverted as it wouldn't be necessary anymore. Right. I pushed it as 916c6e5716bd14cb328f7dcce5405ba9100bb908. Thanks, Ludo=E2=80=99.