From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yE/fHDtD4mZPFwAAqHPOHw:P1 (envelope-from ) for ; Thu, 12 Sep 2024 01:26:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id yE/fHDtD4mZPFwAAqHPOHw (envelope-from ) for ; Thu, 12 Sep 2024 03:26:19 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=cYZtV5zE; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="UE3/G1mR"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726104379; 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-cc: 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=P7O9WUfDk1+eBAajmuMliSyF3ag5zOXWUUvufrlDYUs=; b=pyyU44/zlpS7gkFWiHySMAvnjwaYXp3kKReYqbBvr90u6dLBYgHtMILsNDcBjHqcyhrvsQ 898Kl2B0VP9fYWa5lylRIQqPL8ugR13TPthAEI2ErhZFyUQ357NpEa77i90lO3/V1+JLFH +QpEt84tUgjvVOoYyEBEZR6jOi0IC7fdiDY9+wlqGuw/38zAOG7qwRGs/B5NTT/fXoBdQU qSkrgrlRQK1EktpI8Ea496TJg4Y+XniGOUYawkWFFeUyz7teEhTCatqzanQN/GkK5TbQqm BVT80dtU6EYvSiVXkOmS1OitoN5VTU10wsBcPDlemfi13h34YgXvSnw0ohn5vw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=cYZtV5zE; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="UE3/G1mR"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726104379; a=rsa-sha256; cv=none; b=KD8pq/m2hdHb8vwpXeVOY1HlGTTECTbmZCB237HoGZ5ouYyXgSi2BOZqU3tQGIcSKHAs+d V5qAYMsKAPWBKyCNXdME9F0VITVqP5BjzkWuQMD1ecYoKurBVkutnfHgfdI49moMx5uH0a X7SVLDSvlYqBYeZ9HfNLMHHdsOlPQD6wnWqFkRxS5ZrxMzyQEkYNB2bt7Q1P8ANk2uiMRL JowhZagxubyQq4c5CnqwwST9Bel+BM03YCsISazQW8New4gdNobieeNAMpMtcX++zpVZNW 75lDA7vdv+IKXB/KGnPAGAX2lRjgQkfAFShrxHi0wyT9DMKPU4H4KNeTLo3jOQ== 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 2432074E9A for ; Thu, 12 Sep 2024 03:26:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1soYau-00028U-O2; Wed, 11 Sep 2024 21:26:00 -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 1soYap-000279-JV for guix-patches@gnu.org; Wed, 11 Sep 2024 21:25:56 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1soYap-0005dR-9b for guix-patches@gnu.org; Wed, 11 Sep 2024 21:25:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=P7O9WUfDk1+eBAajmuMliSyF3ag5zOXWUUvufrlDYUs=; b=cYZtV5zEPt79nQEil/yfQEFfYW0SaB2vkrwZ3reWPw3bTzG7OmsV0U150n3gcxwQgYdKzs0BGzEehBpWCobQfXAA/O8IHPevG2qm6CggHKjUj3og/0obBnbnRg55vlOfAJReYUM8pCCn36UJ0gGECtnZkhHk9daJ7sgTwmbuYSckyxQLxS2hraW983GI/n8iqQQkjhi1ILSWiK9WfZaVK2SCCINtUE55Ev9kKLfuqXd7wlgzyaJmecC6ykBN2fm+JnvD604FSXdZnbT5m0s0mIeVvnFh4j9yQylgFpzKfVg8BIRrmUU+3AogCVSgVFIC1E7thedFwh1Osq/WG4nQZQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1soYaw-0005zp-AE for guix-patches@gnu.org; Wed, 11 Sep 2024 21:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73157] [PATCH] gnu: mscgen: Fix dependencies. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 12 Sep 2024 01:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73157 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: =?UTF-8?Q?S=C3=A9bastien?= Lerique Cc: 73157@debbugs.gnu.org Received: via spool by 73157-submit@debbugs.gnu.org id=B73157.172610435723037 (code B ref 73157); Thu, 12 Sep 2024 01:26:02 +0000 Received: (at 73157) by debbugs.gnu.org; 12 Sep 2024 01:25:57 +0000 Received: from localhost ([127.0.0.1]:39802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1soYaq-0005zV-OK for submit@debbugs.gnu.org; Wed, 11 Sep 2024 21:25:57 -0400 Received: from mail-pl1-f182.google.com ([209.85.214.182]:56508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1soYap-0005zF-4t for 73157@debbugs.gnu.org; Wed, 11 Sep 2024 21:25:55 -0400 Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-205722ba00cso4281605ad.0 for <73157@debbugs.gnu.org>; Wed, 11 Sep 2024 18:25:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726104281; x=1726709081; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=P7O9WUfDk1+eBAajmuMliSyF3ag5zOXWUUvufrlDYUs=; b=UE3/G1mRQYFeN7hOH+p9s64vdNrMmAwk7YWzQ89uWGZyGgcuBaKrYWq0qyZbm6w44W zg3IbavVbXGsVkkP1CBSw7cCCLXxtzhyYSXHLfCIlV7PgVIYmr0M7qEkySxt4Dqk/HNv 7xmvyqjFa0Dk9zxliB5CqF7qiwi0GF8kC7qA9/U9+DKNBptgXIWz3oKCFr8u8Nb+lySF jNslSKVH2Xo1OLB96DhFRBNYyKAfooUTulHavjrpLKf+Eo5jxb6HdSqa0dqr15G0rp/M 9vKvxepSF3/h9/6odW26k1Hro4O/NS0FYNfhg30UGIH094W6Nub7q4Tq69Szaqmxyxfj bHfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726104281; x=1726709081; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=P7O9WUfDk1+eBAajmuMliSyF3ag5zOXWUUvufrlDYUs=; b=HhZa1Poh+kYwe7jJ5dUuSrfnwDeAJ7aS344tkDd/0hb5bCuz0UUnZlEwjt9iBA1J2q rXsGNXoO+2TGC1mmOGL6/yY8/2lO+VvHYMzpyvxwd0LGBaKBNEpL6DvQBz6Fmm9BvirQ J/g1Fzd0EZ6bFeZAVoBct+plk6S+UrjEGH8ZWkJR4ZGKFhdvUaGxE8CcBjr4+kM9wT07 K705qWC574NQfhO5YJRd0U6yQ+IGXiUO4MI0mxqXkGyqRH69hY/lMZDC/YvBSULKrc82 n4IRdehoAuk0pgzhk4MgfvzWTROT0dzJFACBOkd3ZmJDznlGKjLAcYsRF4699o0xvw7S WoBA== X-Gm-Message-State: AOJu0YxYOkhaVfyg40A1EVUBIdm5YWynAFokOcAU+5EfyiLGe3oObIfo 2n4lmkny6KEafU9qv+4rb4+qcFgh6GtqUSKet89c5sIEq0VKoLM/P13U1bkQ X-Google-Smtp-Source: AGHT+IEKLakFZeGsPrO3FrRAZDFa5fimU0b2QqNp9SJhIDeCI91kX5BAySqbxd02fGaLLTmfgn14cQ== X-Received: by 2002:a17:903:1c8:b0:205:5547:92d2 with SMTP id d9443c01a7336-2076e4831camr16873265ad.48.1726104280992; Wed, 11 Sep 2024 18:24:40 -0700 (PDT) Received: from hurd ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2076af491c2sm5219415ad.85.2024.09.11.18.24.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Sep 2024 18:24:40 -0700 (PDT) From: Maxim Cournoyer In-Reply-To: <87seu7diw8.fsf@eauchat.org> ("=?UTF-8?Q?S=C3=A9bastien?= Lerique"'s message of "Tue, 10 Sep 2024 10:15:19 +0200") References: <895158e3b7dfe85ec77db0cb6763bb02b612be7e.1725916543.git.sl@eauchat.org> <87mskg5ajc.fsf@gmail.com> <87seu7diw8.fsf@eauchat.org> Date: Thu, 12 Sep 2024 10:24:38 +0900 Message-ID: <8734m5y889.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) 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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -5.52 X-Migadu-Queue-Id: 2432074E9A X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -5.52 X-TUID: OG7LgjFpQw+9 Hi S=C3=A9bastien, S=C3=A9bastien Lerique writes: > Hi! And thanks. > >> I've built this locally, and checked if references were retained to the >> added inputs; it seems ijg-libjpeg is not retained as a reference, which >> means it is unused at run time and could be left out (or perhaps it >> tries to dynamically load it, in which case the dlopen calls could be >> patched, but I doubt so). >> >> --8<---------------cut here---------------start------------->8--- >> $ guix gc -R /gnu/store/jbdbq8kxy5956wkqg4qrvfdks776gfb1-mscgen-0.20 | >> grep ijg-libjpeg >> -> no output >> --8<---------------cut here---------------end--------------->8--- >> >> Could you verify the above, and if my assumption is correct, send a v2 >> without the added ijg-libjpeg? >> > > So just removing ijg-libjpeg results in > > Package 'libjpeg', required by 'gdlib', not found > > and replacing it with libjpeg-turbo works. "libjpeg" on its own is just > not found (and not defined in the guix source I see > 590904cca15922e6474fbd3a71af9b3a45b268af ). > > Should it be the turbo one? It should be turbo to match the default libjpeg used in Guix; but rather than being propagated from mscgen, it should probably be propagated from gdlib, which seems to have it listed in its pkg-config files: --8<---------------cut here---------------start------------->8--- $ find $(guix build gd) -name '*.pc' -execdir cat {} + refix=3D/gnu/store/8rl0dz3982ms15j2j50myr89dkc3h5y5-gd-2.3.3 exec_prefix=3D${prefix} libdir=3D${exec_prefix}/lib includedir=3D${prefix}/include Name: gd Description: GD graphics library Version: 2.3.3 Requires: Requires.private: zlib libpng freetype2 >=3D 9.8.3 fontconfig libjpeg Cflags: -I${includedir} Libs.private:=20=20 Libs: -L${libdir} -lgd --8<---------------cut here---------------end--------------->8--- Anything listed in pkg-config 'Requires' or 'Requires.private' should be propagated for the pkg-config machinery to work as expected. This topic is brushed in the manual (see info "(guix) package References"), where 'propagated-inputs' are documented. --=20 Thanks, Maxim