From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uPRXLaT/MWIRnwAAgWs5BA (envelope-from ) for ; Wed, 16 Mar 2022 16:17:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oJIVJqT/MWImXgEAG6o9tA (envelope-from ) for ; Wed, 16 Mar 2022 16:17:56 +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 D19FF3B6FD for ; Wed, 16 Mar 2022 16:17:55 +0100 (CET) Received: from localhost ([::1]:36718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUV38-00057r-Uq for larch@yhetil.org; Wed, 16 Mar 2022 10:54:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33532) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUV0w-0003d5-I0 for help-guix@gnu.org; Wed, 16 Mar 2022 10:52:38 -0400 Received: from [2607:f8b0:4864:20::f2a] (port=43921 helo=mail-qv1-xf2a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nUV0v-000377-1O; Wed, 16 Mar 2022 10:52:38 -0400 Received: by mail-qv1-xf2a.google.com with SMTP id kl20so1977891qvb.10; Wed, 16 Mar 2022 07:52:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=gCHav4nPf3faBJIti0XsE2EeNuhizycb0ADNQpaaI5Q=; b=cvheFQ+4A+Izui5bee+5AVJQaoAwt9hZXcPgpUgXCHeBMEu7sGQSteFRXJb0MFh++E US+CKwAD5dDCKYuRlgcnxuRTUSoXAkLFoptAfjIMBWx8V/4oNs5dNB6/waaQtpPEeO2a f4VQKij6J7Xk10MaMggYsWT2GzmMWK/xJLCVDXTOmQrjWZ/9ejgl3OYj0310U7/aDrhK syJFzU3CHTcbtJ0VCwjdWjfc/qypJfqumjkEhEcTrKreE0JpossuhGaQLDX3ZVV8nBZK 5egVVUOOAoSp5UBqrNMEYVT4tNtxJsqOAkJIKn9aubKhabuwC+ggivKdSSUFfp2K+qiF QP7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=gCHav4nPf3faBJIti0XsE2EeNuhizycb0ADNQpaaI5Q=; b=EcR2e2nWip3ahJb9O4cDPNXbcf6f1sI6DwiURKbY6LYCUPP3KxcQKH/+YcRbM4iZ6U x6TQ8BH9TqVH/7IVzEbzievKw3lFB3eLrfwHvu+fMs0ngylCpejcvF4+6RTC4k2QKrHh Yf7jIQk//pRdZbYHrw/mUSYUZqnQ+01VCXY/yoSI/mh01dzj5+OUNQ+RoI1uJJA82xpZ JE9c3hsbnp/7eqpRvIkViAlIA2e1ETMVf6bah/4GB2LrKLTCQTAk1/ofwRylVuVXIgrh FiYdwZqpeG8cyecjWAFgnle29F+JuLsLeeN3Yf98zbEQjDEO7wE1Wp7V3V+9Lbqbqh+7 sMAA== X-Gm-Message-State: AOAM530ElRr73gsQ7pGLB8RAPG5eGDhUZkLdbbAY3FvPe8iQUbH2vrB6 IcEsB8YE2pcKnP0iCWoJ+nb0QTPmB+E= X-Google-Smtp-Source: ABdhPJz51Svc+KrksDSJvS8RWVO6Enln4YIADeQj1o347xdK0o+NO4c7nCTvI9KoTnLuOJjVLB0w2g== X-Received: by 2002:a05:6214:234e:b0:435:944f:44be with SMTP id hu14-20020a056214234e00b00435944f44bemr36913qvb.45.1647442355713; Wed, 16 Mar 2022 07:52:35 -0700 (PDT) Received: from hurd (dsl-10-131-58.b2b2c.ca. [72.10.131.58]) by smtp.gmail.com with ESMTPSA id s131-20020a37a989000000b0067d2e3c51e8sm973390qke.58.2022.03.16.07.52.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 07:52:35 -0700 (PDT) From: Maxim Cournoyer To: Pier-Hugues Pellerin Subject: Re: Problem when packaging Avizo References: <87pmmw67k9.fsf@gnu.org> Date: Wed, 16 Mar 2022 10:52:34 -0400 In-Reply-To: (Pier-Hugues Pellerin's message of "Tue, 8 Mar 2022 11:53:00 -0500") Message-ID: <87mthqar0t.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::f2a (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::f2a; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf2a.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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=1647443875; 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=gCHav4nPf3faBJIti0XsE2EeNuhizycb0ADNQpaaI5Q=; b=mS91e/UYdCDnzfr1LhMfoLrV+vOoBl1stZ+KkMVh5LJHAcVWylRWcvM1llziHmrk4uvuBs rSXWMlDZiEwvKzmr7culZsPYXFJSFqZ5z/S4p1J7Iy+bbWrCEf/z0lnHW2vK5NxO0Z4O9R pDQsdGH4bCXO2CLeghoDe9zX7RJUjLvEzOTngoBkk+PAevcjSoDYhy3EIdLr+zjUTPKBoY mJYwR8EbWBhSBhCu3uiUMgJT7mg42C9h9/M23a7OK6GxAUImlcnsV7ysFjJyZ1j+Yk9zFJ VfjwSYDiEWmK3lYKBwySbasKHsKhpnaBGowPpV78lY7Ccz8IdJcDBNFyEY9Xxw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647443875; a=rsa-sha256; cv=none; b=rNAXwOcxl1x1jkQUoHGxpmWE799wvp60bKhJ5P5dhAIXBe1ofqJSAtdZSnv51oF8jRyxXs PKwitz96qCGPO0XG4pBzz+MPTOUWGmevpCyXgS6cPxRL13RgrDC6iYKLGPYGLx1oBK/xsK IhrTgGeIMMZSlz7KORHxcntAeagvoLrzBJqg6djq9bm67gBaNXI+Boob82nixpOI1BMW3l ZDF++9pv1iVTbAdIE+zMs+Mh+F0580/7jqBvRoxbXGHur53VCpdFod/6uvXrS6VZhRyltR ok/OzhSZUpQ1DjFp90uvAfABe83gUjaBuBI0VI4Fv0bxEPdliaLriPZ3JvGn+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cvheFQ+4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 6.04 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cvheFQ+4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: D19FF3B6FD X-Spam-Score: 6.04 X-Migadu-Scanner: scn1.migadu.com X-TUID: 8d9//lHA3m5H 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