From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aNwzDxc9wmHuWwEAgWs5BA (envelope-from ) for ; Tue, 21 Dec 2021 21:46:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cBXoChc9wmEHYAAA1q6Kng (envelope-from ) for ; Tue, 21 Dec 2021 20:46:15 +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 CA1E426BC1 for ; Tue, 21 Dec 2021 21:46:14 +0100 (CET) Received: from localhost ([::1]:39172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzm1V-0003Ik-0g for larch@yhetil.org; Tue, 21 Dec 2021 15:46:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzm0P-0002uT-1c for bug-guix@gnu.org; Tue, 21 Dec 2021 15:45:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44278) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mzm0M-0004FW-Gd for bug-guix@gnu.org; Tue, 21 Dec 2021 15:45:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mzm0M-0002ec-Fm for bug-guix@gnu.org; Tue, 21 Dec 2021 15:45:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52684: [BUG] Multiple Packages Failing to Build Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 21 Dec 2021 20:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52684 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Rodriguez , 52684@debbugs.gnu.org Received: via spool by 52684-submit@debbugs.gnu.org id=B52684.164011947310107 (code B ref 52684); Tue, 21 Dec 2021 20:45:02 +0000 Received: (at 52684) by debbugs.gnu.org; 21 Dec 2021 20:44:33 +0000 Received: from localhost ([127.0.0.1]:55816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzlzt-0002cw-8A for submit@debbugs.gnu.org; Tue, 21 Dec 2021 15:44:33 -0500 Received: from andre.telenet-ops.be ([195.130.132.53]:37600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzlzo-0002cj-FQ for 52684@debbugs.gnu.org; Tue, 21 Dec 2021 15:44:32 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by andre.telenet-ops.be with bizsmtp id Z8kS260014UW6Th018kSMY; Tue, 21 Dec 2021 21:44:26 +0100 Message-ID: From: Maxime Devos Date: Tue, 21 Dec 2021 20:44:26 +0000 In-Reply-To: <2e523b0b-e1f2-682f-7afb-fe90dd350669@gmail.com> References: <7ee7ed76-4676-6c86-87f0-8d7ab886fc50@gmail.com> <2e523b0b-e1f2-682f-7afb-fe90dd350669@gmail.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1640119466; bh=3vGCYIgaMmlAf1miKy+ISwT67bxjFNWhLOGSa0wRlMs=; h=Subject:From:To:Date:In-Reply-To:References; b=h0QxBROYd3sIllT2Yz/Kg1CSU64Heee/XcyahgYEniacaqSMYfhZ1xkR0qGDVIGOY sJiTrlkyGxTOtsLCXP/4V65IacTbcVDIt+nvxRNRum/Ho3gHN9CTw0Lp/U8x5VbQGv dojWoxxg6vu0cHNLrwW3JsUkIJRRjC/S5huhnclTu+8+TdMKuPHhx6qLWdi1hty9pv LREExo6XZdSMr/tE0N0ZqNg+Ts9vSpRuzl2f6WZq+higfUB8787h5gbLj9HmPtQ8oD YbEm+ourD/0MAjW0Ca2Ib47bORyQjHd6FIrNpTai9wh3nJHsZUpIpEwTh1tMNbNpKc cFOcZ9Iyvz6IA== 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640119574; 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: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=3vGCYIgaMmlAf1miKy+ISwT67bxjFNWhLOGSa0wRlMs=; b=V4M4Q7RVhDNRJiGOQStCth0kQ9UUxICU5HxkjRAMtwtPyyVt7luMMsiNt/el+Z/cMcPgI6 PbClkCtDgpxIt/OkZAz6yt6DMksuQ2NORPfqRXfoDCHzSy4eu5HDCbtH7zAc4R+K/98KiA LsydcAd7E6UavU64CfYzPFwYRiWM2V9BYBtjJeNC045iOPZCsFLduTywDRMuEiieMr0q/0 HFy4E+20UqDEL4ubbOzSG2x0N21yC3HVfw1KIXKSRUYwZSEiNF3kBYG8iG4nM0DA7vBjSG taZZg/gpACyLAEKTzSTuUEhIfHHLJ0+Q2SrHFztO+a0fnakcWNK696nVHiiRGA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640119574; a=rsa-sha256; cv=none; b=ip7NrclxRn/9iShriYAM7MUuvywKiUnRldsBbdUP1auZlsSvdQjtnIDO0iz8ZVSSLvoekY fNINTgzamVbpHIjPO4DqUXtkzrxVsl8aFmabjmR/BklMVAtHJh5eKrqdVbhasPahTQ626S /XCzalLxzEEZFKIeV+D/g94opWCdAVdiaR4Gk0sDge0FD3FBfkvL/y5fb+q3W7Yrxa0dxH Qot4FEavxHBM3W37ytv5cdZ7Fr4nt3v03tCkb+ludJoL2mDaWnC5tXv+1LjiRHvhc3sFkm n67mOxukY3Kqyk8Gghb9RQuHqygIoHf8BB1ClIV5Vne+A9AQdIpGCyrezgOn7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=h0QxBROY; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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.83 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=h0QxBROY; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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-Queue-Id: CA1E426BC1 X-Spam-Score: -2.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: purWRXOp/c5a Hi, Christopher Rodriguez schreef op di 21-12-2021 om 14:47 [-0500]: > I believe the issue was indeed beets-bandcamp missing needed > beets-related inputs. I started by copying all of the inputs from beets, > and then removed each one to see if it was required for beets-bandcamp > to build successfully. [...] Seems like the issue is that beets-bandcamp depends on beets, and beets depends on a number of python packages in inputs not in propagated-inputs. So beets-bandcamp can't find indirect dependencies IIUC. Moving things back to propagated-inputs is not ideal because beets is a ‘user-facing’ package with a command, not ‘merely’ a library and propagation can cause problems (conflicts, slower profile building ...). beets-bandcamp is also user-facing, being a plug-in, so it should also preferably not have propagated-inputs. There is no ideal solution here, but I think it would be acceptable to do something like (inputs ;; Avoid propagation, here and in beets, because this package is ;; ‘user-facing’ and not ‘merely’ a library, see ;; . (modify-inputs (package-inputs beets) (append beets python-six python-requests python-beautifulsoup4 python-isodate))) An additional problem is that 'beets' does not have GUIX_PYTHONPATH in its search paths. As such, if you create a minimal environment with only beets and beets-bandcamp and without python, GUIX_PYTHONPATH won't contain beets-bandcamp and hence beets cannot find beets-bandcamp (untested). Even better would be to let 'beets' have its own search path (e.g. GUIX_BEETSPATH) independent of GUIX_PYTHONPATH. This is implementable by wrapping 'beets' to set GUIX_PYTHPONPATH to "dependencies of beets:$GUIX_BEETSPATH". I don't know if wrap-program supports that though. Greetings, Maxime.