all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Cannot build "guix" on aarch64
@ 2024-12-13  7:44 Ethan Reece
  2024-12-15 19:28 ` Rutherther
  0 siblings, 1 reply; 5+ messages in thread
From: Ethan Reece @ 2024-12-13  7:44 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 456 bytes --]

Hello,

I am trying to build the `guix` package on Fedora Asahi Remix 41 (aarch64) using `guix build --verbosity=3 guix` and `guix home reconfigure` and in both instances the build has been failing. This has been an issue for around a week despite running `guix pull` every time. I am confused on why this is happening and also about the log output, but I think it has something to do with `FAIL: tests/store-deduplication` when it runs the tests.

- Ethan

[-- Attachment #2: s9liz3p22z25wqsink1qdnynhlq570-guix-1.4.0-29.3032221.drv --]
[-- Type: application/octet-stream, Size: 1553626 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cannot build "guix" on aarch64
  2024-12-13  7:44 Cannot build "guix" on aarch64 Ethan Reece
@ 2024-12-15 19:28 ` Rutherther
  2024-12-15 23:06   ` Ethan Reece
  2024-12-23 20:07   ` Ethan Reece
  0 siblings, 2 replies; 5+ messages in thread
From: Rutherther @ 2024-12-15 19:28 UTC (permalink / raw)
  To: Ethan Reece; +Cc: help-guix


> Hello,

> I am trying to build the `guix` package on Fedora Asahi Remix 41 (aarch64) using `guix build --verbosity=3 guix` and `guix home reconfigure` and in both instances the build has been failing. This has been an issue for around a week despite running
> `guix pull` every time. I am confused on why this is happening and also about the log output, but I think it has something to do with `FAIL: tests/store-deduplication` when it runs the tests.

Hi Ethan,

there has been an issue with guix lately even on x86_64, but gone
with new minor guix version that was added, I think, later on Friday.

Can you try once more after pulling? I don't have aarch64 linux
machine, and emulation would take too long - I will leave it running,
but I think it won't finish in hours, so I can't test the issue
has been resolved with aarch64 as well. And cuirass hasn't gotten
to it yet.

Regards,
Rutherther


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cannot build "guix" on aarch64
  2024-12-15 19:28 ` Rutherther
@ 2024-12-15 23:06   ` Ethan Reece
  2024-12-23 20:07   ` Ethan Reece
  1 sibling, 0 replies; 5+ messages in thread
From: Ethan Reece @ 2024-12-15 23:06 UTC (permalink / raw)
  To: Rutherther; +Cc: help-guix

> > 
> > Hello,
> >
> > I am trying to build the `guix` package on Fedora Asahi Remix 41 (aarch64) using `guix build --verbosity=3 guix` and `guix home reconfigure` and in both instances the build has been failing. This has been an issue for around a week despite running
> > `guix pull` every time. I am confused on why this is happening and also about the log output, but I think it has something to do with `FAIL: tests/store-deduplication` when it runs the tests.
> 
> Hi Ethan,
> 
> there has been an issue with guix lately even on x86_64, but gone
> with new minor guix version that was added, I think, later on Friday.
> 
> Can you try once more after pulling? I don't have aarch64 linux
> machine, and emulation would take too long - I will leave it running,
> but I think it won't finish in hours, so I can't test the issue
> has been resolved with aarch64 as well. And cuirass hasn't gotten
> to it yet.
> 
> Regards,
> Rutherther
> 

Hi Rutherther,

I just reran `guix pull` and `guix build --verbosity=3 guix` and got the same error. Is there anything I can do to help with the testing process?

- Ethan



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cannot build "guix" on aarch64
  2024-12-15 19:28 ` Rutherther
  2024-12-15 23:06   ` Ethan Reece
@ 2024-12-23 20:07   ` Ethan Reece
  2024-12-25  8:28     ` Rutherther
  1 sibling, 1 reply; 5+ messages in thread
From: Ethan Reece @ 2024-12-23 20:07 UTC (permalink / raw)
  To: Rutherther; +Cc: help-guix

> 
> > Hello,
> 
> > I am trying to build the `guix` package on Fedora Asahi Remix 41 (aarch64) using `guix build --verbosity=3 guix` and `guix home reconfigure` and in both instances the build has been failing. This has been an issue for around a week despite running
> > `guix pull` every time. I am confused on why this is happening and also about the log output, but I think it has something to do with `FAIL: tests/store-deduplication` when it runs the tests.
> 
> Hi Ethan,
> 
> there has been an issue with guix lately even on x86_64, but gone
> with new minor guix version that was added, I think, later on Friday.
> 
> Can you try once more after pulling? I don't have aarch64 linux
> machine, and emulation would take too long - I will leave it running,
> but I think it won't finish in hours, so I can't test the issue
> has been resolved with aarch64 as well. And cuirass hasn't gotten
> to it yet.
> 
> Regards,
> Rutherther
> 

Hi Rutherther,

I did some more tests and found out that the `guix` package compiles successfully if I make my /tmp directory use my root BTRFS partition instead of Tmpfs. Somebody on Github[1] thinks this has to do with the 16kb Tmpfs sector sizes that Asahi Linux uses due to having a 16k page size instead of 4k that x86 machines use and also filed a report on debbugs[2]. I'm not sure why Guix worked previously, but I also noticed while testing that I couldn't compile an old (August) version of the Guix repo either so I'm guessing that an Asahi Fedora update changed the /tmp configuration and that's when the issue started.

- Ethan


[1] https://github.com/asahi-guix/channel/issues/5#issuecomment-2559688479
[2] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74862


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cannot build "guix" on aarch64
  2024-12-23 20:07   ` Ethan Reece
@ 2024-12-25  8:28     ` Rutherther
  0 siblings, 0 replies; 5+ messages in thread
From: Rutherther @ 2024-12-25  8:28 UTC (permalink / raw)
  To: Ethan Reece; +Cc: help-guix

Hi Ethan,

Nice to hear you got it fixed after all!

>
> Hi Rutherther,
>
> I did some more tests and found out that the `guix` package compiles successfully if I make my /tmp directory use my root BTRFS partition instead of Tmpfs. Somebody on Github[1] thinks this has to do with the 16kb Tmpfs sector sizes that Asahi Linux uses due to having a 16k page size instead of 4k that x86 machines use and also filed a report on debbugs[2]. I'm not sure why Guix worked previously, but I also noticed while testing that I couldn't compile an old (August) version of the Guix repo either so I'm guessing that an Asahi Fedora update changed the /tmp configuration and that's when the issue started.

That is interesting, I don't know why sector size would matter, but I
suppose it could be plausible. Note that with guix it's usually not so
good to have /tmp as tmpfs in general. The thing is that guix builds
there, and some builds can take up a lot of space + they are building,
so even consume ram by running the processes. So it's quite easy to
get out of RAM unless you have a lot of RAM. But if you were able
to build previously and the size of your /tmp tmpfs did not change,
I suppose that was not the issue here.

Regrads,
Rutherther


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-12-25  9:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-13  7:44 Cannot build "guix" on aarch64 Ethan Reece
2024-12-15 19:28 ` Rutherther
2024-12-15 23:06   ` Ethan Reece
2024-12-23 20:07   ` Ethan Reece
2024-12-25  8:28     ` Rutherther

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.