"nomike (they/them)" <nom...@nomike.com> writes:

> On 24.04.25 03:46, nomike (they/them) wrote:
>> I will keep you posted tomorrow, and if I don't find enough time 
>> during the day, I will hopefully be able to write you in the evening 
>> (I'm located in Europe/Vienna (UTC+01:00)).
>
> Hi!
>
> I just managed to have a new compile run finish (it failed again). So 
> unfortunately my latest =substitute*= didn't do the trick...
>
> Please find the build log attached.
>
> BTW: Danny showed me a way to greatly speed things up:
>
> 1. Run =guix shell= as usual
> 2. In the guix shell run =./pre-inst-env guix build prusa-slicer 
> --keep-failed=
> 3. Once the build failed get the build directory out of the kast few log 
> lines, which will be something like =note: keeping build directory 
> =/tmp/guix-build-prusa-slicer-2.9.2.drv-15=.
> 4. If the name of that folder does not end with "-0":
> 4.1. Delete the folder =/tmp/guix-build-prusa-slicer-2.9.2.drv-0=
> 4.2. Run this: =cp -a /tmp/guix-build-prusa-slicer-2.9.2.drv-15 
> /tmp/guix-build-prusa-slicer-2.9.2.drv-0= (by creating a copy, you keep 
> the original to do a diff -r on later or whatever you need)
> 5. cd into that folder
> 6. Optionally get into a nested guix shell by (it helps keep the 
> environment clean, but for the purpose of this troubleshooting, this is 
> not strictly necessary):
> 6.1. Running =guix shell -D guix --container --nesting --network 
> --share=/tmp/guix-build-prusa-slicer-2.9.2.drv-0 
> --share=/home/nomike/coding/guix/=
> 6.2. Within that guix shell running another guix shell: 
> =/home/nomike/coding/guix/pre-inst-env guix shell -D prusa-slicer 
> --container --nesting --no-cwd 
> --share=/tmp/guix-build-prusa-slicer-2.9.2.drv-0=
> 7. Source the env-vriables: =. ./environment-variables=
> 8. As the last step sets $PWD, your shell might get confused, thus you 
> should then run =cd "${PWD}"=.
> 9. Now you can kick off CMake with =cmake ../source= and the actual 
> build with =make=. This should be the same as what guix does, but it 
> resumes from where it left off, so it's only a matter of seconds to 
> reach that linker error, and you can edit files and experiment easily.

Cool trick! Though you should check out my email from yesterday afternoon
where I sent you the fix for your issue!!!

https://lists.gnu.org/archive/html/guix-devel/2025-04/msg00307.html

Good day,
Noé

Attachment: signature.asc
Description: PGP signature

Reply via email to