[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot build "guix" on aarch64
From: |
Rutherther |
Subject: |
Re: Cannot build "guix" on aarch64 |
Date: |
Wed, 25 Dec 2024 09:28:14 +0100 |
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