From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EBDXA80bR1+YYwAA0tVLHw (envelope-from ) for ; Thu, 27 Aug 2020 02:34:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yN03O8wbR1/cPAAAB5/wlQ (envelope-from ) for ; Thu, 27 Aug 2020 02:34:52 +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 7FAC89403A0 for ; Thu, 27 Aug 2020 02:34:52 +0000 (UTC) Received: from localhost ([::1]:52476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kB7kX-0004ng-UL for larch@yhetil.org; Wed, 26 Aug 2020 22:34:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kB7kQ-0004nW-RR for help-guix@gnu.org; Wed, 26 Aug 2020 22:34:42 -0400 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:50691) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kB7kO-00057Z-SU for help-guix@gnu.org; Wed, 26 Aug 2020 22:34:42 -0400 Received: by mail-pj1-x1034.google.com with SMTP id i13so1845031pjv.0 for ; Wed, 26 Aug 2020 19:34:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=coN5b+uQpWw3MLMoKhjt4JmBSAIM7MLM5xcxBpy24ss=; b=ERFuwf29Gu6lrj6vZWhot3lc8zyXIG8zbwM74WQdZqsZ87PBYYfOX7m4Tr+lcIbwcz H0cImC+XaDxtYzY+AyWAfYzbh++9IkXcczMHSxgQ/zFcs8oZdEpfETTJwM3atpn7yWnT 6w4fTuenQbpIRyTkHskM9lVO4WYXAgIdgBTOjfGXvDEoX+clHaf4raVWDXDUnRvc6YvX /+KCifdyassdteKFkVx+CtLGuzFAIO7w1H7oA3Oej0zHbVL0KHdScHvMVE1INaZQdBGe L52AIjaywm1aoHiwDtb9CXdtVr9NNqZPk5u8AQVjRDQr9eRaG1z4/KsUJp5Ht6gNvH9N LFlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=coN5b+uQpWw3MLMoKhjt4JmBSAIM7MLM5xcxBpy24ss=; b=ojGPFsraQfTxd1EMInRhElg/Iu8Snetww2Ix2USPBMfN8XthwWp7gD3QZW2srmdqpx DoLdU3Ri+qG2t8IBhz0ML0E+Gci6yoXcserQQccReVRvNZPXKDCOtLHdpiB+eCCjZT9i Dg/mGofchGfbzoOU/fxt4tDM8S6tnjqXz9C+dyo56Oogplbvtmk1Go55lCIQOm9MFwao fPF9drGyncYzG+S5jErlhkCVjZRtfqran708NrgZ6/yhg+isO+LXcM+B94hIEuvA9qUF oLobYdQh3L0fIPk11AKY/VjhVa8gC3gRAe3rSCIq+jSeN8Vuz3ieEU5cFf6kx9tRRqiy N1jg== X-Gm-Message-State: AOAM530/3wgt5Mhq6w+hBO8/FkzcDyO6/85QN/76bccvpOm8qGUS+/dt GhsI7/aNxO7PISiyb1tduAJ11GGnaufIhg== X-Google-Smtp-Source: ABdhPJykHCIlKcwirCczaYAPXnhJ2ZwFSP6gh6ai4mA8EzbNrvFnuIuT+hdYjGXahq+6VFXyzRX2xw== X-Received: by 2002:a17:90a:8a97:: with SMTP id x23mr8727124pjn.195.1598495678597; Wed, 26 Aug 2020 19:34:38 -0700 (PDT) Received: from [192.168.1.25] ([38.141.58.134]) by smtp.gmail.com with ESMTPSA id e17sm571222pfm.60.2020.08.26.19.34.37 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Aug 2020 19:34:37 -0700 (PDT) To: help-guix@gnu.org From: Jesse Gibbons Subject: Am I using --with-source improperly? Message-ID: <15c6eb6d-fb0f-dfc4-c8a2-07fff50c12c8@gmail.com> Date: Wed, 26 Aug 2020 20:34:34 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Icedove/68.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::1034; envelope-from=jgibbons2357@gmail.com; helo=mail-pj1-x1034.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=ERFuwf29; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -0.71 X-TUID: Cz7BDY46Nxx6 I asked about this on the IRC but had no luck. IIUC --with-source=package=source should set the source for "package" to "source" when something being built depends on "package". For example, `guix build --with-soure=python2=/tmp/python2 lci` should build the lci with the python2 source in /tmp/python2, and should work because python2 is a dependency of lci. However, when I try that, I get the message "guix build: warning: transformation 'with-source' had no effect on lci@0.11.2". Am I using the --with-source option incorrectly, or is this some sort of bug? I replace "--with-source=python2=/tmp/python2" with "--with-source=lci=/tmp/python2" when /tmp/python2 doesn't even exist, and it gives me the result I would expect: 'guix build: error: lstat: No such file or directory: "/tmp/python2"' Should I file this as a bug report?