On Sat, Sep 25, 2021 at 7:16 AM kmickle <[email protected]> wrote:
> Gave it a run. The following happened: tup did not block GhostScript, and > it terminated correctly. However, tup was unable to detect the files GS > wrote to, so the build recipe failed. > It seems the hook on GS is now non-functional. > > Here's the trace: > https://yadi.sk/d/niplINUFbxnONw > You're still expecting the output to be test.pdf, right? I see lilypond call SetRenameInformationFile (or really NtSetInformationFile with FileInformationClass == FileRenameInformation) to rename a temporary file to c:\test\test.pdf. Tup should be hooking that function, and I do see the write to c:\test\.tup\tmp\deps-3035 after that call, which should be when it is saving the file info. I'm a bit stumped why that wouldn't be working now. Does calling ghostscript directly work for you, or does that fail to detect the output too? Here are the rules I was testing with: : ok.ps |> gswin32 -dNOSAFER -dNOPAUSE -dBATCH -dAutoRotatePages=/None -dPrinted=false -sDEVICE=pdfwrite -o %o %f |> test-gswin32.pdf ^/gswin32.ini : ok.ps |> gswin64 -dNOSAFER -dNOPAUSE -dBATCH -dAutoRotatePages=/None -dPrinted=false -sDEVICE=pdfwrite -o %o %f |> test-gswin64.pdf ^/gswin64.ini With the older version, both failed with the hang that you described. With the one I posted (v0.7.11-50 or later), both succeed (and detect the file writes). -Mike -- -- tup-users mailing list email: [email protected] unsubscribe: [email protected] options: http://groups.google.com/group/tup-users?hl=en --- You received this message because you are subscribed to the Google Groups "tup-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tup-users/CA%2B6x0LViPaGbCEbGRbPW%2B9CEc%3Df90d0saGLprY6cUz99rR389Q%40mail.gmail.com.
