Environment variables look correct in the modified environment. I'm able to 
reproduce the issue by just running a simple     : |> emcc |>   . 
Installing emscripten and running it through tup seems to reproduce the 
issue.
Somehow fixed it by prefixing my command with CMD /c. Not really sure why 
that fixes it though.
Have another issue with emcc - it creates an app.wasm.tmp0 file and then 
also deletes that during compilation I believe. Tup throws errors up about 
output dependencies not being declared, but if I declare it as an (extra) 
output dependency I get this error
[ ]   0%tup error: 
GetFileAttributesExW("\\?\C:\Dev\wasm_render_test\build-web\app.wasm.tmp0") 
failed: 0x00000002
* 0) [build-web] CMD /c emcc -g -sUSE_WEBGL2 
--shell-file=configs/index.html build-web/./log.o build-web/./main.o -o 
build-web/./app.html
Everything does build normally but seems like tup doesn't have any 
mechanism for dealing with commands that produce *and* delete files. Maybe 
being able to exclude particular files/extensions from being observed by 
tup would be nice? I get that that sort of bypasses the whole point of tup 
though, so maybe tup needs to check if created files still exist at the end 
of some command before accepting them as a real "dependency"?
On Saturday, June 8, 2024 at 1:44:32 AM UTC-5 Emery Hemingway wrote:

> Are you able to copy and paste the text on your terminal into an email?
> That would give us a chance to diagnose it.
>
> E.
>
> Excerpts from Grayson Clark's message of June 7, 2024 10:35 pm:
> > Here I have a build variant that builds using emscripten and it's giving 
> > this error about not being able to find some file or folder.
> > Emscripten env variables are set up properly as shown by the fact that I 
> > can run emcc.
> > Oddly, copy and pasting that output command into the terminal and just 
> > running it works perfectly normal. Only when it's run through tup does 
> it 
> > give this error.
> > Anyone have any ideas why this might happen? Is this a me issue? Or 
> > something with tup?
> > 
> > [image: Screenshot 2024-06-07 143036.png]
> > 
> > Cheers
> > 
> > -- 
> > -- 
> > 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/c23b3ec3-bd07-4b46-9250-8620e91a9e06n%40googlegroups.com
> .
> > 
>

-- 
-- 
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/835f7bdb-9356-465f-9b45-db180e72a5d2n%40googlegroups.com.

Reply via email to