Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New branch's build artifacts stored in /tmp get erased #171

Open
mtolly opened this issue May 22, 2021 · 0 comments
Open

New branch's build artifacts stored in /tmp get erased #171

mtolly opened this issue May 22, 2021 · 0 comments

Comments

@mtolly
Copy link
Contributor

mtolly commented May 22, 2021

Minor issue I ran into with the https://github.com/deech/fltkhs/tree/TheGreatConsolidation branch; on rebooting, my previously working build had a whole bunch of linker errors. Realized that the fltk and binding libraries stored in /tmp/fltkhs-0.8.0.3-third-party-build were gone, because on my Manjaro system at least, /tmp is in memory via tmpfs. I couldn't figure out a way to unregister the fltkhs package from the snapshot folder or get it to rebuild, so I had to delete the snapshot and rebuild the dependency tree. For now I have copied the output folder elsewhere so I can just restore it when necessary, but it seems like /tmp is not an ideal location for it.

(edit) A similar issue seems to happen when I build via Stack's docker mode. In this case it works fine the first time I build fltkhs and my app in one go, but then if I make any change and rebuild it fails. I'm actually not sure where it's storing the fltkhs-0.8.0.3-third-party-build folder in that case (it's not in the host system's /tmp), I guess maybe it's in the Docker image that gets thrown out but only after the executable finishes building?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant