From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mNn4MA0ZPmJFDQAAgWs5BA (envelope-from ) for ; Fri, 25 Mar 2022 20:33:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iIisKQ0ZPmI00QAAG6o9tA (envelope-from ) for ; Fri, 25 Mar 2022 20:33:33 +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 4D35124D4D for ; Fri, 25 Mar 2022 20:33:33 +0100 (CET) Received: from localhost ([::1]:58270 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXpgi-0000MC-FG for larch@yhetil.org; Fri, 25 Mar 2022 15:33:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXpaD-0005r3-5M for help-guix@gnu.org; Fri, 25 Mar 2022 15:26:49 -0400 Received: from [2607:f8b0:4864:20::b32] (port=39583 helo=mail-yb1-xb32.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXpaA-00047R-IV for help-guix@gnu.org; Fri, 25 Mar 2022 15:26:48 -0400 Received: by mail-yb1-xb32.google.com with SMTP id t11so15738918ybi.6 for ; Fri, 25 Mar 2022 12:26:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heykimo-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+E2W729+Z4iMo3aVUeGoXb0UPjAvkpeeQJSS1bpwlxE=; b=xRbVA9xXnnQ5pOnpYfwKdA0BABSpmgV16ctsDXvNKE+/CZEjdA4UeAu8WuOUp7h7AT T73bBska2KQBEjcGXs679tRSiiuF1evVVV72OYberxEH8AFfvSiY8wUjRy5fYpIRDdjI dGmmTuMo/FaKy+kNkLr5t41HVpCTSJnm6itpF4I4UE8z57HNUEaplJfcwFqHcKsqzcPJ Snr0jIwuADzGHNm8YB4ijJJgNA7LhCHQHKdY6tFsu3AXd5o87owQGSbyOo9vr2C7kmMc M5bvPyse9Dd9k7aw4pPa+MI5NP2auq0gKhtHm7Mh04UmqkHHuolsGb6B72YR9yy/HFRe /qmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+E2W729+Z4iMo3aVUeGoXb0UPjAvkpeeQJSS1bpwlxE=; b=7gM0Im5uZ2Bsj3P/5ar8yDWu6DUsOdhuGVWBHfemJVaRWFajbAvqa2w8yQSag5ij7T 8vbOuhmq1LCDvEzmmKjk1On+TPAK0IE7shlJGP9MKBLeyK+NIswE6M9WtHYTTQ7XHULp JYuUplAAcTbky9sqChAry4UvQrv0ZUwjKWLk1RkxpHk+lJTnC8eSvDO8N8N409kNa64s 0Gv8VXaRkHe1GfW9UxsSI90y317UtN9XxsOtLgcLwbDTiGXeVem5i1sgwl1mTENIl8cw stBVnkjDRiWTPWTIx/VNYP2Vt3Kt/blw8FHCtLF2B65gz/MsLLrTn5Q94YAK/cTXxrdF Pa2A== X-Gm-Message-State: AOAM532kZo17v8Ab18ABrPGXf+WeH52OzhEKS7UcF8IbyRpnOmE8vr7O Ik6T/rdWuCkI6COE63QHObfk2bxmHZQPcplw8Z0Qvw== X-Google-Smtp-Source: ABdhPJziR5saiuyBIK4mFTvsTRO7HFHA5egonP4dXnJ1H3TgBNBYZbn0zY1IxBnbF7JHlNYzAlV38eXDhCBbVIFeW7U= X-Received: by 2002:a25:2449:0:b0:633:c9aa:b9de with SMTP id k70-20020a252449000000b00633c9aab9demr11555858ybk.255.1648236405350; Fri, 25 Mar 2022 12:26:45 -0700 (PDT) MIME-Version: 1.0 References: <87pmmw67k9.fsf@gnu.org> <87mthqar0t.fsf@gmail.com> In-Reply-To: <87mthqar0t.fsf@gmail.com> From: Pier-Hugues Pellerin Date: Fri, 25 Mar 2022 15:26:34 -0400 Message-ID: Subject: Re: Problem when packaging Avizo To: Maxim Cournoyer X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::b32 (failed) Received-SPF: none client-ip=2607:f8b0:4864:20::b32; envelope-from=ph@heykimo.com; helo=mail-yb1-xb32.google.com X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648236813; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=BSLTPXQFsQYcnPy1eTvNunBBZx1mS1ifzcVgJh5PTrs=; b=VqerMH3x0TUn9l6gQHs9oSKS7xyNk5D/zz8kaicsaT9h9TgFr72x1XQs2UcTr7uTzRS+kK ovsNYGEy282uD2Rhps207CyVTvUv0LmX4ySM5tYp44eETljivZHuqE92/Qp0fnZLsQk2F0 WfQWj0vvbdq7iyNkbrki7FI7XRLOAV8QF/68tOEh+g3Z2cv8q+spdxo5SBlef1m9bYM0rB EJybV1kWZdBqZtqw9IuAAWMmbjM6sPk4fo/VqNfUwPK7qe3jfr83X6JwCq3u2IuQiHWG7J QorjG7sZsKRIRIXEIdNYRz3EbENrJ21ylZP4VTPPErrvkuizaogWL3acJxRK5A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648236813; a=rsa-sha256; cv=none; b=pF22MYjipNOOuw2hUT4b+RUgs/006Va2F+sWKi0/H0f00+JxhWulOFoh9pnjMMVhI5Wiqc gTSnFDkVjCkLn8y9Nr9ET//ePD3O1N4H3aDPcudH16fZtwBBa2jH7/88bCFHquYmmKcyPE Ils8sRHVsHJlpcxzAL1QnMPNv7t786qOG+LmRaeu5rlTXeFMtkXG8GtATiDb4JNO+9Tqqi 2KrAV2cV3V29vJfaaw/RvFyChCL+IFbajsrxkewyemNiJQAXwsw+U8gWESuyzvazo+Asik aqDeh+Ty6TLYPvnRXlNkE8cB5w5gnh0LHAu7MuqwWmlZ33CSHTt+UIPrQ0BQqQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=heykimo-com.20210112.gappssmtp.com header.s=20210112 header.b=xRbVA9xX; dmarc=none; 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" X-Migadu-Spam-Score: 0.82 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=heykimo-com.20210112.gappssmtp.com header.s=20210112 header.b=xRbVA9xX; dmarc=none; 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" X-Migadu-Queue-Id: 4D35124D4D X-Spam-Score: 0.82 X-Migadu-Scanner: scn0.migadu.com X-TUID: I9DWMVBrdqie Hello, Thanks for your reply, work got in the way of fun and I didn't have time to reply. I've run two different machines: a laptop and a desktop, I've copied the avizo file on the desktop and I was able to build it without any changes or issues using the same command and similar directory structure. I don't know if it's related or not, but when I tried to build the package on my laptop my desktop machine was down and I do use it as a substitute, I believe I've seen errors or warnings but I didn't pay attention to it. I can try later this weekend to reproduce it. I am going to make a patch adding avizo. Thanks everyone. On Wed, Mar 16, 2022 at 10:52 AM Maxim Cournoyer wrote: > Hi Pier-Hugues, > > Pier-Hugues Pellerin writes: > > > Hello Ludo, > > > > It does happen every time, I've added the parameters '--max-jobs=1 > > --no-offload' > > and I get the same results with the same stack trace. Anything else I > could > > give you, should > > I open a bug report? > > I've tested your definition, and it seems the problem is unrelated to > the suggested bug report after all. The issue appears to be adding the > current directory (presumably of your guix checkout) to the load path > with 'L .'; this somehow interferes with Guix's own loading/discovery > mechanism and fails with: > > --8<---------------cut here---------------start------------->8--- > guix build: warning: failed to load '(build-aux build-self)': > no code for module (build-aux build-self) > ./build-aux/build-self.scm:19:0: warning: module name (build-self) does > not match file name 'build-aux/bu' > hint: File `./build-aux/build-self.scm' should probably start with: > > (define-module (build-aux build-self)) > --8<---------------cut here---------------end--------------->8--- > > One way out would be to move your package to somewhere else: > > --8<---------------cut here---------------start------------->8--- > mkdir -p /tmp/avizo > > mv avizo.scm /tmp/avizo > > $ guix build -L /tmp/avizo avizo > /gnu/store/kv6ycqqxv2xqq3kxa9lmv9aczravs5cp-avizo-1.2 > --8<---------------cut here---------------end--------------->8--- > > Alternatively, you could return the package object at the end of your > avizo.scm file, then build it more simply with: > > --8<---------------cut here---------------start------------->8--- > $ guix build -f avizo.scm > /gnu/store/kv6ycqqxv2xqq3kxa9lmv9aczravs5cp-avizo-1.2 > --8<---------------cut here---------------end--------------->8--- > > I hope that helps! > > Thanks, > > Maxim > -- ph, http://heykimo.com