Bug report: nix build
succeeded in December 2024; now crashes. The upgrade to Vivado 2024 might have broken old builds.
#356
Labels
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/artiq-zynq#356
Loading…
Reference in New Issue
Block a user
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?
Bug report
On 9 January 2025, I successfully compiled 2025_01_09_system_description.json based on artiq-zynq commit a0281e498927d5c8467dd18f28aa497cb75150fd (from 23 December 2024) on Vivado 2022.2 with terminal output 2025_01_09_vivado_build.log.
Now, I try to compile exactly the same
.json
-file with exactly the same artiq-zynq commit on exactly the same computer with exactly the same Vivado version (2022.2) and it crashes with terminal output:(See further below for the full output.)
The
FileNotFoundError
is complete bullshit becausecat [FILE_PATH_FROM_NIX_ERROR]
successfully prints out the contents of the system description file. (Again, see further below for the full output.)The relevant line from the old terminal output 2025_01_09_vivado_build.log reads:
Clearly,
nix
used to copy the.json
-file somewhere into/nix/store/...
but now it doesn't anymore and instead complains that it cannot find the file.Which leads me to my question:
Has the nix environment of artiq-zynq commit a0281e498927d5c8467dd18f28aa497cb75150fd changed between 9 January 2025 and now (4 February 2025)?
I ask because you use
--impure
in your nix build command, so there is no guarantee that the nix environment is exactly the same...Maybe your changes to
flake.nix
and to the packages on the M-Labs server for the upgrade to Vivado 2024.2 caused unwanted changes to the nix environment of older commits, which require Vivado 2022.2?Full error log (today)
The
FileNotFoundError
is complete bullshit because the file is obviously there:Small note: I also tried to compile artiq-zynq commit a0281e498927d5c8467dd18f28aa497cb75150fd with Vivado 2024.2, but it crashed of course because it was looking for Vivado 2022.2's files.
Unless you modified/deleted flake.lock file from sources root, there shouldn't be any new changes affecting your setup.
Another (probably irrelevant) question, did you happen to commit anything via git? Specifically the json file. Also looking at the variant name I have a feeling it is pushing the naming constraints.
/home/m1
is clearly outside the Nix sandbox and this is why it doesn't find the file. Clearly user error.