[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem when packaging Avizo

From: Pier-Hugues Pellerin
Subject: Re: Problem when packaging Avizo
Date: Fri, 25 Mar 2022 15:26:34 -0400


Thanks for your reply, work got in the way of fun and I didn't have time to

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 <>

> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]