Cannot compile Lix on my rackmount server, but I can on my laptop. #569
Labels
No labels
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/store
bug
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
RFD
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
ux
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#569
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
When building
5il3pn3sr03yvjx95ykhg4m3ca7c85lk-lix-2.91.1.drv
, the tests fail to conclude and the build fails, but only on my rackmount server (called Sun): https://0x0.st/XG0P.txtOn my laptop (called Saturn), I have
/nix/store/5il3pn3sr03yvjx95ykhg4m3ca7c85lk-lix-2.91.1.drv
as well, which builds OK: https://0x0.st/XG02.txtSteps To Reproduce
(I have found that running
nixos-rebuild --flake .\#sun build
on saturn does not yield an error) because I have a successful build in my store already, possibly?)1.1.
git clone https://git.sr.ht/~johnhamelink/nix && cd nix && git checkout f28e9788d3e8c668ceacdaeceeb145768a2cf691
1.2.
nixos-rebuild --flake .\#sun build
- Succeeds1.4.
nixos-rebuild --flake .\#saturn build
- Succeeds1.1.
git clone https://git.sr.ht/~johnhamelink/nix && cd nix && git checkout f28e9788d3e8c668ceacdaeceeb145768a2cf691
1.2.
nixos-rebuild --flake .\#sun build
- Fails1.3. See error: https://0x0.st/XG0P.txt
1.4.
nixos-rebuild --flake .\#saturn build
- Fails in exactly the same wayExpected behavior
I would expect the build to complete successfully just as it does on my laptop.
nix --version
outputnix (Nix) 2.24.10
nix (Lix, like Nix) 2.91.1
Additional context
nix log /nix/store/5il3pn3sr03yvjx95ykhg4m3ca7c85lk-lix-2.91.1.drv
: https://0x0.st/XG0P.txtHello, thanks for the information, can you provide more information about the Sun system, e.g. architecture, what is your /tmp filesystem, what is your /nix/store filesystem, can you share the /etc/nix/nix.conf file from that system, enabled experimental features.
If that's not sufficient, we may ask you for more information to try to understand, as we cannot reproduce this error (while building via Lix, I need to see if Nix 2.24.10 is the simple reproducer).
Ah yes, certainly - my server is running a bit different in this regard. I should've thought to include this initially!
Firstly here's the output of
inxi -F
:I am using ZFS to mount my nix store:
The configuration of which can be found here: https://git.sr.ht/~johnhamelink/nix/tree/master/item/os/hosts/sun/zfs.nix and here: https://git.sr.ht/~johnhamelink/nix/tree/master/item/os/hosts/sun/hardware-configuration.nix#L37
My
nix.conf
is (I think) fairly vanilla:If there's anything else I could provide which would be helpful please do let me know 👍
Can we bother you to try to reproduce the build issue with Lix itself, @johnhamelink ?
A "way to achieve" this is to determine what should be the .drv to build, build it on your local system, then
nix copy --to $your_server $lix_store_path
and then you can use it to rebuild your server, and it will automatically pick up this store path without building it on the server and thus failing.Otherwise, we will read your report in parallel and try to figure out things up.